:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --text: #2f3f63;
  --muted: #5e6b86;
  --primary: #2f3f63;
  --primary-dark: #253451;
  --accent: #d62839;
  --accent-dark: #b31f2f;
  --line: #d4dbe8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, #dff5ff 0, transparent 35%),
    radial-gradient(circle at 90% 0, #fde3e6 0, transparent 40%),
    var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 247, 251, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.logo-img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.menu-btn {
  display: none;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin: 0;
}

.lead {
  color: var(--muted);
  max-width: 60ch;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 16px 40px rgba(17, 35, 58, 0.08);
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0.6rem 0 0;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 1rem;
}

.section-image-wide {
  display: block;
  width: min(100%, 860px);
  margin-left: auto;
  margin-right: auto;
  max-height: 360px;
  object-fit: contain;
  padding: 0.4rem;
}

.actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-ghost:hover {
  color: #fff;
  background: var(--primary);
}

.section {
  padding: 3.2rem 0;
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.cards .card {
  display: flex;
  flex-direction: column;
}

.cards .card .btn {
  margin-top: auto;
  align-self: center;
}

.section-alt {
  background: #eaf0f8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.steps div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.stack {
  color: var(--muted);
}

.section-contact {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}

input,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.62rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #c4d2e6;
}

input:focus,
textarea:focus {
  outline: 2px solid #8ecbdb;
  border-color: transparent;
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.support-wrap {
  padding: 2.2rem 0 3rem;
}

.support-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.2rem;
}

.support-side {
  border-radius: 14px;
  overflow: hidden;
  min-height: 620px;
  padding: 2rem;
  color: #fff;
  background:
    linear-gradient(rgba(47, 63, 99, 0.88), rgba(47, 63, 99, 0.88)),
    url("assets/img/ilustracion-soporte.svg") center/cover no-repeat;
}

.support-side p {
  margin: 0 0 0.8rem;
  font-size: 1.9rem;
}

.support-side h1 {
  margin: 0;
  font-size: 3rem;
}

.support-grid {
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.support-cell {
  min-height: 206px;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.support-cell:nth-child(2n) {
  border-right: 0;
}

.support-cell:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.support-icon {
  width: 52px;
  height: 52px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.support-title {
  margin: 0 0 0.6rem;
  font-size: 1.8rem;
}

.support-cell h3 {
  margin: 0 0 0.35rem;
  font-size: 2rem;
}

.support-input {
  width: min(360px, 95%);
  margin-bottom: 0.5rem;
  text-align: center;
}

.btn-support {
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
}

.ip-value {
  margin: 0.3rem 0 0;
  color: var(--accent-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .support-side {
    min-height: 360px;
  }
}

@media (max-width: 700px) {
  .menu-btn {
    display: inline-block;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.45rem 0.7rem;
    color: var(--text);
    font-weight: 700;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    right: 4%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    display: none;
    flex-direction: column;
    gap: 0;
    min-width: 180px;
    box-shadow: 0 16px 35px rgba(17, 35, 58, 0.15);
  }

  .main-nav a {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav.open {
    display: flex;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-cell {
    border-right: 0;
  }

  .support-cell:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .support-cell:last-child {
    border-bottom: 0;
  }
}
