    :root {
      --c-primary: #f57c00;
      --c-primary-light: #ff9800;
      --c-primary-dark: #e65100;
      --c-accent: #fff7ec;
      --c-text-dark: #212121;
      --c-text-light: #757575;
      --radius-xl: 18px;
      --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.06);
      --shadow-soft-hover: 0 18px 50px rgba(15, 23, 42, 0.10);
      --transition-fast: 0.22s ease;
      --font-sans: system-ui, -apple-system, BlinkMacSystemFont, -apple-system,
        system-ui, sans-serif;
      scroll-behavior: smooth;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: var(--font-sans);
      color: var(--c-text-dark);
      background-color: #ffffff;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    /* Layout helpers */
    .page {
      min-height: 100vh;
      color: var(--c-text-dark);
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .section {
      padding-top: 30px;
    }

    .section-title-wrap {
      max-width: 700px;
      margin: 0 auto 2.5rem;
      text-align: center;
    }

    .kicker {
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-weight: 600;
      font-size: 0.74rem;
      color: var(--c-primary-dark);
      margin-bottom: 0.4rem;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 800;
      color: #111827;
      margin: 0;
    }

    .section-subtitle {
      margin-top: 0.75rem;
      font-size: 0.98rem;
      color: var(--c-text-light);
    }

    /* Header / Navbar */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(16px);
      background: rgba(255, 255, 255, 0.9);
      border-bottom: 1px solid rgba(148, 163, 253, 0.06);
    }

    .nav-bar {
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .nav-links {
      display: flex;
      gap: 1.8rem;
      align-items: center;
      font-size: 0.92rem;
    }

    .nav-link {
      color: #4b5563;
      position: relative;
      padding-bottom: 2px;
      transition: color var(--transition-fast);
    }

    .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 0;
      height: 2px;
      background: var(--c-primary);
      border-radius: 999px;
      transition: width var(--transition-fast);
    }

    .nav-link:hover {
      color: var(--c-primary-dark);
    }

    .nav-link:hover::after {
      width: 18px;
    }

    .btn-nav-accent {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.55rem 1.3rem;
      border-radius: 999px;
      border: 1px solid #e5e7eb;
      font-weight: 600;
      font-size: 0.86rem;
      color: #111827;
      background: #ffffff;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
      transition: all var(--transition-fast);
    }

    .btn-nav-accent:hover {
      background: #f9fafb;
      transform: translateY(-1px);
      box-shadow: var(--shadow-soft);
    }

    /* Mobile nav */
    .nav-toggle {
      display: none;
      background: transparent;
      border: none;
      font-size: 1.35rem;
      cursor: pointer;
      padding: 0.25rem;
    }

    .nav-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: #111827;
      border-radius: 999px;
      position: relative;
      transition: all var(--transition-fast);
    }

    .nav-toggle span::before,
    .nav-toggle span::after {
      content: "";
      position: absolute;
      left: 0;
      width: 22px;
      height: 2px;
      background: #111827;
      border-radius: 999px;
      transition: all var(--transition-fast);
    }

    .nav-toggle span::before {
      top: -6px;
    }

    .nav-toggle span::after {
      top: 6px;
    }

    .nav-toggle.open span {
      background: transparent;
    }

    .nav-toggle.open span::before {
      transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle.open span::after {
      transform: translateY(-6px) rotate(-45deg);
    }

    .mobile-menu {
      display: none;
      border-top: 1px solid #f3f4f6;
      background: #ffffff;
    }

    .mobile-menu.is-open {
      display: block;
    }

    .mobile-menu-inner {
      padding: 0.8rem 1.5rem 1.3rem;
      display: grid;
      gap: 0.35rem;
      font-size: 0.95rem;
    }

    .mobile-menu-inner a {
      padding: 0.45rem 0;
      color: #374151;
    }

    .mobile-menu-inner a:hover {
      color: var(--c-primary-dark);
    }

    /* Hero */
    .hero {
      position: relative;
      overflow: hidden;
      /*background:
        radial-gradient(circle at top left, #fff3e0 0, transparent 50%),
        linear-gradient(180deg, var(--c-accent) 0%, #ffffff 58%);*/
        background-image: url("../images/background.png");
          margin: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-inner {
      display: grid;
      gap: 2rem;
      align-items: center;
    }

    .hero-title-img {
      max-width: 510px;
    }

    .hero-natgeo-img {
      position: absolute;
      bottom: 30px;
      right: 0;
      width: 150px;
    }

    .hero-main-img {
      max-width: 500px;
    }

    @media (max-width: 767px) {
      .hero-inner {
        grid-template-columns: 1fr;
        gap: 0.8rem;
      }

      .hero-card-wrap {
        order: -1;
      }

      .hero-card-wrap img {
        width: 100%;
        max-width: 100%;
        height: auto;
      }

      .hero-text-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 0.5rem;
      }

      .hero-title-img {
        max-width: 90%;
        margin-top: 1rem;
        margin-bottom: 1rem;
      }

      .hero-natgeo-img {
        position: static;
        width: 120px;
        margin-top: 1rem;
      }

      .hero-actions {
        justify-content: center;
        width: 100%;
      }
    }

    @media (min-width: 768px) {
      .hero-inner {
        grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.5fr);
      }
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.3rem 0.85rem;
      border-radius: 999px;
      border: 1px solid rgba(246, 107, 14, 0.16);
      background: rgba(255, 255, 255, 0.92);
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--c-primary-dark);
    }

    .pill-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: var(--c-primary);
    }

    .hero-title {
      margin: 1rem 0 0.6rem;
      font-size: clamp(2rem, 6vw, 3rem);
      line-height: 1.15;
      font-weight: 800;
      color: #111827;
    }

    .section-title {
      font-size: clamp(1.75rem, 4vw, 2rem);
    }

    @media (min-width: 768px) {
      .hero-title {
        font-size: 3rem;
      }
    }

    .hero-text {
      margin: 0.4rem 0 1rem;
      font-size: 1.02rem;
      color: var(--c-text-light);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-top: 1rem;
      margin-bottom: 15px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.8rem 1.6rem;
      border-radius: 1rem;
      font-weight: 700;
      font-size: 0.96rem;
      border: none;
      cursor: pointer;
      background: linear-gradient(
        135deg,
        var(--c-primary) 0%,
        var(--c-primary-light) 100%
      );
      color: #ffffff;
      box-shadow: var(--shadow-soft);
      transition: all var(--transition-fast);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: var(--shadow-soft-hover);
      opacity: 0.98;
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.8rem 1.5rem;
      border-radius: 1rem;
      font-weight: 600;
      font-size: 0.94rem;
      border: 1px solid #e5e7eb;
      cursor: pointer;
      background: #ffffff;
      color: #374151;
      transition: all var(--transition-fast);
    }

    .btn-outline:hover {
      background: #f9fafb;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
      transform: translateY(-1px);
    }

    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-top: 1rem;
      font-size: 0.72rem;
    }

    .pill-soft {
      display: inline-flex;
      align-items: center;
      padding: 0.38rem 0.85rem;
      border-radius: 999px;
      background: #ffffff;
      border: 1px solid #f3f4f6;
      color: #6b7280;
      gap: 0.35rem;
    }

    .pill-soft span {
      width: 7px;
      height: 7px;
      background: var(--c-primary);
      border-radius: 999px;
    }

    .hero-card-wrap {
            margin-top: 15px;
      position: relative;
    }
/* NUEVO: contenedor de la imagen superior */
.card-media{
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 14px;
  background: #f2f2f2;       /* fallback mientras carga */
}

/* NUEVO: imagen */
.card-img{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* recorta elegante */
  display: block;
  transform: scale(1.02);
  transition: transform .35s ease;
}

/* Opcional: mejora estética general del card */
.card{
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover elegante */
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}

.card:hover .card-img{
  transform: scale(1.08);
}

    .hero-main-card {
      aspect-ratio: 4 / 3;
      border-radius: 1.6rem;
      background: #ffffff;
      box-shadow: var(--shadow-soft);
      border: 1px solid #e5e7eb;
      display: grid;
      place-items: center;
      padding: 1.5rem;
      position: relative;
      overflow: hidden;
    }

    .hero-main-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at top, rgba(245, 124, 0, 0.06), transparent 55%),
        radial-gradient(circle at bottom right, rgba(245, 124, 0, 0.04),
          transparent 55%);
      opacity: 1;
      pointer-events: none;
    }

    .logo-preview {
      position: relative;
      z-index: 1;
      padding: 0.9rem 1.4rem;
      border-radius: 999px;
      border: 1px solid #fee9d5;
      background: #fff7ec;
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
      box-shadow: 0 10px 30px rgba(245, 124, 0, 0.08);
      font-size: 0.78rem;
      color: #92400e;
    }

    .logo-preview-label {
      font-weight: 700;
      font-size: 0.8rem;
    }

    .hero-floating {
      position: absolute;
      left: -10px;
      bottom: -12px;
      padding: 0.75rem 1rem;
      background: #ffffff;
      border-radius: 1.1rem;
      border: 1px solid #e5e7eb;
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
      font-size: 0.74rem;
      max-width: 220px;
    }

    @media (max-width: 767px) {
      .hero-floating {
        display: none;
      }
    }

    /* Cards */
    .card-grid {
      display: grid;
      gap: 1.2rem;
    }

    @media (min-width: 768px) {
      .card-grid.cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (min-width: 1024px) {
      .card-grid.cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }

    .card {
      background: #ffffff;
      border-radius: var(--radius-xl);
      padding: 1.4rem 1.25rem 1.3rem;
      border: 1px solid #edf0f5;
      box-shadow: var(--shadow-soft);
      transition: all var(--transition-fast);
    }

    .card:hover {
      box-shadow: var(--shadow-soft-hover);
      transform: translateY(-3px);
      border-color: rgba(245, 124, 0, 0.22);
    }

    .card-title {
      font-weight: 700;
      font-size: 1.02rem;
      margin: 0;
      color: #111827;
    }

    .card-text {
      margin-top: 0.4rem;
      font-size: 0.9rem;
      color: #6b7280;
    }

    .card-link {
      display: inline-flex;
      margin-top: 0.7rem;
      font-size: 0.86rem;
      font-weight: 600;
      color: var(--c-primary-dark);
    }

    .card-link span {
      margin-left: 0.2rem;
      transition: transform var(--transition-fast);
    }

    .card-link:hover span {
      transform: translateX(2px);
    }

    /* Form */
    .form-card {
      background: #ffffff;
      border-radius: 1.5rem;
      padding: 1.8rem 1.6rem;
      border: 1px solid #e5e7eb;
      box-shadow: var(--shadow-soft);
    }

    .form-grid {
      display: grid;
      gap: 0.8rem;
    }

    @media (min-width: 768px) {
      .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .input,
    .select,
    .textarea {
      width: 100%;
      border-radius: 0.9rem;
      padding: 0.8rem 0.9rem;
      border: 1px solid #e5e7eb;
      font-size: 0.9rem;
      font-family: inherit;
      color: #111827;
      background-color: #ffffff;
      transition: all var(--transition-fast);
      outline: none;
    }

    .input::placeholder,
    .textarea::placeholder {
      color: #9ca3af;
    }

    .input:focus,
    .select:focus,
    .textarea:focus {
      border-color: var(--c-primary);
      box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.12);
    }

    .textarea {
      resize: vertical;
      min-height: 110px;
    }

    .btn-form {
      width: 100%;
      border: none;
      cursor: pointer;
      margin-top: 0.3rem;
    }

    @media (min-width: 768px) {
      .btn-form {
        grid-column: span 2;
      }
    }

    /* Modalidades section */
    .section-soft-bg {
      background: #f9fafb;
    }

    /* Logo tests */
    .logo-tests {
      border-top: 1px solid #f3f4f6;
      background: #ffffff;
    }

    .logo-tests-grid {
      display: grid;
      gap: 1rem;
    }

    @media (min-width: 768px) {
      .logo-tests-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .logo-tests-label {
      font-size: 0.86rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: #111827;
    }

    .logo-test-box {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.8rem;
      border-radius: 1rem;
      border: 1px dashed #e5e7eb;
      min-height: 82px;
      background: #f9fafb;
    }

    /* Footer */
    .site-footer {
      border-top: 1px solid #f3f4f6;
      background: #ffffff;
      padding: 2.8rem 0 2.2rem;
      margin-top: 1rem;
      font-size: 0.86rem;
      color: #6b7280;
    }

    .footer-grid {
      display: grid;
      gap: 1.6rem;
    }

    @media (min-width: 768px) {
      .footer-grid {
        grid-template-columns: 1.6fr 1fr 1.4fr;
      }
    }

    .footer-title {
      font-weight: 600;
      color: #111827;
      font-size: 0.9rem;
      margin-bottom: 0.4rem;
    }

    .footer-list {
      list-style: none;
      padding: 0;
      margin: 0.1rem 0 0;
      display: grid;
      gap: 0.3rem;
    }

    .footer-list a {
      color: #6b7280;
    }

    .footer-list a:hover {
      color: var(--c-primary-dark);
    }

    .logo-img {
      height: 36px;
      width: auto;
      object-fit: contain;
    }

    .logo-inline svg {
      display: block;
    }

    @media (max-width: 767px) {
      .nav-bar {
        flex-wrap: wrap;
        row-gap: 0.75rem;
        justify-content: space-between;
        padding: 0.6rem 0;
      }

      .brand {
        flex: 1 1 auto;
        min-width: 0;
      }

      .nav-links {
        display: none;
      }

      .nav-toggle {
        display: inline-flex;
      }

      .btn-nav-accent {
        display: none;
      }

      .mobile-menu {
        position: absolute;
        inset: 64px 0 0;
        z-index: 45;
        border-top: none;
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
      }

      .mobile-menu-inner {
        padding: 1rem 1.5rem 1.2rem;
      }

      .hero-inner {
        gap: 1.5rem;
      }

      .hero-card-wrap img {
        width: 100%;
        max-width: 100%;
      }
    }

/* Testimonial styles */
.testimonial {
  text-align: left;
}

.testimonial-author {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--c-text-light);
}

.testimonial-author strong {
  color: var(--c-text-dark);
}

/* Contact section */
.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--c-text-dark);
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.8rem 1.6rem;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
}