/* Estilos compartidos del sitio Grupo Santamaría. */
:root {
      --green-950: #062a17;
      --green-900: #0a3d22;
      --green-800: #0f5530;
      --green-700: #1a6b3c;
      --green-600: #3d8f4a;
      --green-500: #7cb342;
      --green-400: #a8d86a;
      --green-100: #eef6e8;
      --cream: #f7faf4;
      --white: #ffffff;
      --text: #1a241c;
      --muted: #5c6b60;
      --line: #e2ebe3;
      --blue: #1565c0;
      --blue-light: #e8f2fc;
      --shadow-sm: 0 4px 20px rgba(10, 61, 34, 0.06);
      --shadow-md: 0 12px 40px rgba(10, 61, 34, 0.1);
      --shadow-lg: 0 24px 60px rgba(10, 61, 34, 0.14);
      --radius-sm: 10px;
      --radius: 16px;
      --radius-lg: 24px;
      --header-h: 80px;
      --ease: cubic-bezier(0.4, 0, 0.2, 1);
      --font-display: "Playfair Display", Georgia, serif;
      --font-body: "DM Sans", system-ui, sans-serif;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: var(--font-body);
      color: var(--text);
      background: var(--white);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

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

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

    button {
      font: inherit;
      cursor: pointer;
    }

    address {
      font-style: normal;
    }

    .container {
      width: min(1200px, calc(100% - 40px));
      margin-inline: auto;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .skip-link {
      position: absolute;
      top: -100px;
      left: 20px;
      z-index: 300;
      background: var(--green-500);
      color: var(--green-950);
      padding: 12px 20px;
      border-radius: var(--radius-sm);
      font-weight: 700;
    }

    .skip-link:focus {
      top: 16px;
    }

    :focus-visible {
      outline: 3px solid var(--green-500);
      outline-offset: 3px;
    }

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 200;
      height: var(--header-h);
      background: transparent;
      backdrop-filter: none;
      border-bottom: 1px solid transparent;
      box-shadow: none;
      transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
    }

    .site-header.scrolled {
      background: rgba(6, 42, 23, 0.97);
      backdrop-filter: blur(16px) saturate(1.4);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    }

    .site-header:not(.scrolled) .brand img {
      background: transparent;
      padding: 0;
      border-radius: 0;
      box-shadow: none;
    }

    .nav {
      height: var(--header-h);
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .brand {
      display: inline-flex;
      flex-shrink: 0;
    }

    .brand img {
      width: auto;
      height: 56px;
      object-fit: contain;
      background: transparent;
      padding: 0;
      border-radius: 0;
      box-shadow: none;
      filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.28)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
      transition: transform 0.25s var(--ease), filter 0.4s var(--ease);
    }

    .site-header.scrolled .brand img {
      background: transparent;
      padding: 0;
      border-radius: 0;
      box-shadow: none;
      filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.28)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    }

    .brand:hover img {
      transform: translateY(-1px);
    }

    .nav-links {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .nav-links a {
      position: relative;
      color: rgba(255, 255, 255, 0.85);
      font-size: 14px;
      font-weight: 600;
      padding: 10px 14px;
      border-radius: 8px;
      transition: color 0.2s, background 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: #fff;
      background: rgba(255, 255, 255, 0.08);
    }

    .nav-links a.active::after {
      content: "";
      position: absolute;
      bottom: 4px;
      left: 14px;
      right: 14px;
      height: 2px;
      background: var(--green-500);
      border-radius: 2px;
    }

    .header-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, var(--green-500), var(--green-600));
      color: var(--green-950);
      padding: 12px 22px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 700;
      box-shadow: 0 4px 16px rgba(124, 179, 66, 0.35);
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .header-cta:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 24px rgba(124, 179, 66, 0.45);
    }

    .menu-btn {
      display: none;
      margin-left: auto;
      background: rgba(255, 255, 255, 0.1);
      border: 0;
      color: #fff;
      font-size: 22px;
      width: 44px;
      height: 44px;
      border-radius: 10px;
      transition: background 0.2s;
    }

    .menu-btn:hover {
      background: rgba(255, 255, 255, 0.18);
    }

    .mobile-nav {
      display: none;
      position: fixed;
      inset: var(--header-h) 0 0 0;
      z-index: 199;
      background: rgba(6, 42, 23, 0.98);
      backdrop-filter: blur(20px);
      padding: 28px 24px 40px;
      overflow-y: auto;
      transform: translateY(-8px);
      opacity: 0;
      transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    }

    .mobile-nav.open {
      display: flex;
      flex-direction: column;
      gap: 4px;
      opacity: 1;
      transform: translateY(0);
    }

    .mobile-nav a {
      color: #fff;
      font-size: 18px;
      font-weight: 600;
      padding: 16px 12px;
      border-radius: 10px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      transition: background 0.2s;
    }

    .mobile-brand {
      display: inline-flex;
      margin-bottom: 12px;
      align-self: flex-start;
    }

    .mobile-brand img {
      width: auto;
      height: 48px;
      object-fit: contain;
      background: transparent;
      padding: 0;
      filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.28)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    }

    .mobile-nav a:hover {
      background: rgba(255, 255, 255, 0.06);
    }

    .mobile-nav .header-cta {
      margin-top: 16px;
      justify-content: center;
    }

    .hero {
      margin-top: 0;
      min-height: 100vh;
      min-height: 100dvh;
      display: flex;
      align-items: center;
      position: relative;
      color: #fff;
      overflow: hidden;
      background:
        linear-gradient(105deg, rgba(6, 42, 23, 0.94) 0%, rgba(6, 42, 23, 0.82) 38%, rgba(6, 42, 23, 0.45) 62%, rgba(6, 42, 23, 0.15) 100%),
        url('imagenes/hero.jpg') center 42% / cover no-repeat;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 55% 70% at 18% 50%, rgba(124, 179, 66, 0.14), transparent 70%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 35%, rgba(0, 0, 0, 0.22) 100%);
      pointer-events: none;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 120px;
      background: linear-gradient(transparent, rgba(6, 42, 23, 0.35));
      pointer-events: none;
    }

    .hero-layout {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.5fr);
      gap: 36px;
      align-items: start;
      padding: calc(var(--header-h) + 28px) 0 64px;
    }

    .hero-content {
      max-width: 720px;
      padding: 32px 36px;
      border-radius: var(--radius-lg);
      background: rgba(6, 42, 23, 0.55);
      border: 1px solid rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(14px);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.18);
      padding: 8px 16px;
      border-radius: 100px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--green-400);
      margin-bottom: 20px;
    }

    .hero-badge::before {
      content: "";
      width: 8px;
      height: 8px;
      background: var(--green-500);
      border-radius: 50%;
      box-shadow: 0 0 12px var(--green-500);
    }

    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2.4rem, 5.2vw, 3.85rem);
      font-weight: 700;
      line-height: 1.08;
      letter-spacing: -0.02em;
      margin: 0 0 16px;
      text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    }

    .hero h1 em {
      font-style: italic;
      color: var(--green-400);
      display: block;
      margin-top: 4px;
    }

    .hero-desc {
      font-size: clamp(0.9rem, 1.45vw, 1.02rem);
      color: rgba(255, 255, 255, 0.88);
      max-width: 64ch;
      margin: 0 0 24px;
      line-height: 1.6;
    }

    .hero-desc>p {
      margin: 0 0 12px;
    }

    .hero-desc>p:last-child {
      margin-bottom: 0;
    }

    .hero-desc-list {
      list-style: none;
      margin: 0 0 14px;
      padding: 0;
      display: grid;
      gap: 7px;
    }

    .hero-desc-list li {
      position: relative;
      padding-left: 18px;
      color: rgba(255, 255, 255, 0.9);
      line-height: 1.45;
    }

    .hero-desc-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.55em;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--green-400);
      box-shadow: 0 0 8px rgba(124, 179, 66, 0.45);
    }

    .hero-desc-close {
      color: rgba(255, 255, 255, 0.96);
      font-weight: 500;
      font-size: 0.98em;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .hero-metrics {
      display: grid;
      gap: 14px;
      align-self: start;
      position: sticky;
      top: calc(var(--header-h) + 28px);
    }

    .hero-metric {
      padding: 18px 20px;
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.14);
      backdrop-filter: blur(10px);
      transition: transform 0.25s var(--ease), background 0.25s var(--ease);
    }

    .hero-metric:hover {
      transform: translateX(4px);
      background: rgba(255, 255, 255, 0.14);
    }

    .hero-metric strong {
      display: block;
      font-size: 1.65rem;
      font-weight: 800;
      color: var(--green-400);
      line-height: 1;
    }

    .hero-metric span {
      display: block;
      margin-top: 6px;
      font-size: 12px;
      color: rgba(255, 255, 255, 0.72);
      line-height: 1.35;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 15px 28px;
      border-radius: var(--radius-sm);
      font-size: 15px;
      font-weight: 700;
      border: none;
      transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--green-500), #8bc34a);
      color: var(--green-950);
      box-shadow: 0 6px 24px rgba(124, 179, 66, 0.4);
    }

    .btn-primary:hover {
      box-shadow: 0 8px 32px rgba(124, 179, 66, 0.5);
    }

    .btn-ghost {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(4px);
    }

    .btn-ghost:hover {
      background: rgba(255, 255, 255, 0.14);
    }

    section {
      padding: 88px 0;
    }

    .section-head {
      text-align: center;
      max-width: 680px;
      margin: 0 auto 56px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--green-600);
      margin-bottom: 12px;
    }

    .eyebrow::before {
      content: "";
      width: 24px;
      height: 2px;
      background: var(--green-500);
      border-radius: 2px;
    }

    .section-head h2 {
      font-family: var(--font-display);
      font-size: clamp(2rem, 4vw, 2.75rem);
      font-weight: 700;
      line-height: 1.12;
      color: var(--green-950);
      margin: 0 0 16px;
    }

    .section-head p {
      color: var(--muted);
      font-size: 1.05rem;
      margin: 0;
    }

    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-d1 {
      transition-delay: 0.1s;
    }

    .reveal-d2 {
      transition-delay: 0.2s;
    }

    .reveal-d3 {
      transition-delay: 0.3s;
    }

    .group {
      background: var(--cream);
    }

    .group-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .group-card {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 32px 28px;
      box-shadow: var(--shadow-sm);
      transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
      position: relative;
      overflow: hidden;
    }

    .group-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--green-500), var(--green-600));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.35s var(--ease);
    }

    .group-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }

    .group-card:hover::before {
      transform: scaleX(1);
    }

    .group-card.accent-blue::before {
      background: linear-gradient(90deg, var(--blue), #42a5f5);
    }

    .group-card.accent-blue .group-icon {
      background: var(--blue-light);
      color: var(--blue);
    }

    .group-icon {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      font-size: 26px;
      margin-bottom: 20px;
      background: var(--green-100);
      color: var(--green-700);
    }

    .group-card h3 {
      font-size: 1.2rem;
      font-weight: 700;
      margin: 0 0 8px;
      color: var(--green-950);
    }

    .group-card p {
      margin: 0;
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .more {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 18px;
      font-size: 14px;
      font-weight: 700;
      color: var(--green-700);
      transition: gap 0.2s;
    }

    .more:hover {
      gap: 10px;
    }

    .group-card.accent-blue .more {
      color: var(--blue);
    }

    .services {
      background: var(--white);
    }

    .services-shell {
      background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 48px 32px 32px;
    }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .service-card {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
      display: flex;
      flex-direction: column;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .service-img {
      height: 200px;
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .service-img::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 50%, rgba(6, 42, 23, 0.3));
    }

    .service-tag {
      position: absolute;
      top: 14px;
      left: 14px;
      z-index: 1;
      background: rgba(255, 255, 255, 0.92);
      padding: 5px 12px;
      border-radius: 100px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--green-800);
    }

    .service-card.accent-blue .service-tag {
      color: var(--blue);
    }

    .service-body {
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .service-body h3 {
      font-size: 1.25rem;
      font-weight: 700;
      margin: 0 0 6px;
    }

    .service-body>p {
      font-size: 0.9rem;
      color: var(--muted);
      margin: 0 0 16px;
    }

    .service-body ul {
      list-style: none;
      padding: 0;
      margin: 0 0 20px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      flex: 1;
    }

    .service-body li {
      font-size: 13px;
      color: var(--text);
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }

    .service-body li::before {
      content: "✓";
      color: var(--green-600);
      font-weight: 800;
      flex-shrink: 0;
    }

    .service-card.accent-blue li::before {
      color: var(--blue);
    }

    .service-card.accent-blue h3,
    .service-card.accent-blue .more {
      color: var(--blue);
    }

    .metrics {
      margin-top: 32px;
      background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
      border-radius: var(--radius);
      padding: 36px 24px;
      position: relative;
      overflow: hidden;
    }

    .metrics::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      position: relative;
      z-index: 1;
    }

    .metric {
      text-align: center;
      padding: 12px 16px;
      border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .metric:last-child {
      border-right: 0;
    }

    .metric-value {
      font-size: clamp(2rem, 4vw, 2.5rem);
      font-weight: 800;
      color: var(--green-400);
      line-height: 1;
      display: block;
    }

    .metric-label {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.65);
      margin-top: 6px;
      display: block;
    }

    .about {
      background: var(--cream);
    }

    .about-layout {
      display: grid;
      grid-template-columns: 1fr 1.05fr;
      gap: 48px;
      align-items: start;
    }

    .about-text h2 {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 3.5vw, 2.4rem);
      font-weight: 700;
      line-height: 1.15;
      color: var(--green-950);
      margin: 12px 0 20px;
    }

    .about-text p {
      color: var(--muted);
      margin: 0 0 16px;
      font-size: 1rem;
      line-height: 1.65;
    }

    .about-text .about-lead {
      margin-bottom: 14px;
    }

    .about-text .about-close {
      margin-top: 8px;
      margin-bottom: 0;
      color: var(--green-900);
      font-weight: 500;
    }

    .about-coverage {
      margin: 4px 0 8px;
      font-size: 0.98rem;
      color: var(--muted);
    }

    .about-features {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-top: 18px;
    }

    .about-feat {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 14px 16px;
      background: var(--white);
      border-radius: var(--radius-sm);
      border: 1px solid var(--line);
    }

    .about-feat-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: var(--green-100);
      color: var(--green-700);
      display: grid;
      place-items: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    .about-feat strong {
      display: block;
      font-size: 14px;
      margin-bottom: 4px;
      color: var(--green-950);
    }

    .about-feat span {
      font-size: 12.5px;
      color: var(--muted);
      line-height: 1.45;
      display: block;
    }

    .about-visual {
      position: relative;
    }

    .about-img {
      width: 100%;
      height: 420px;
      object-fit: cover;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
    }

    .about-badge {
      position: absolute;
      bottom: -20px;
      left: -20px;
      background: var(--white);
      border-radius: var(--radius);
      padding: 20px 24px;
      box-shadow: var(--shadow-md);
      border: 1px solid var(--line);
    }

    .about-badge strong {
      display: block;
      font-size: 2rem;
      font-weight: 800;
      color: var(--green-700);
      line-height: 1;
    }

    .about-badge span {
      font-size: 13px;
      color: var(--muted);
    }

    .cta-band {
      background: linear-gradient(135deg, var(--green-800), var(--green-900));
      padding: 64px 0;
      text-align: center;
      color: #fff;
      position: relative;
      overflow: hidden;
    }

    .cta-band::before {
      content: "";
      position: absolute;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(124, 179, 66, 0.15), transparent 70%);
      top: -100px;
      right: -100px;
      pointer-events: none;
    }

    .cta-band h2 {
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      margin: 0 0 12px;
      position: relative;
    }

    .cta-band p {
      color: rgba(255, 255, 255, 0.75);
      margin: 0 0 28px;
      position: relative;
    }

    .cta-band .btn {
      position: relative;
    }

    .contact {
      background: var(--white);
      padding-bottom: 0;
    }

    .contact-wrapper {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 0;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }

    .contact-form-col {
      padding: 40px;
      background: var(--white);
    }

    .contact-form-col h2 {
      font-family: var(--font-display);
      font-size: 1.75rem;
      font-weight: 700;
      margin: 8px 0 24px;
      color: var(--green-950);
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .form-group.full {
      grid-column: 1 / -1;
    }

    .form-group label {
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      padding: 14px 16px;
      border: 1.5px solid var(--line);
      border-radius: var(--radius-sm);
      font: inherit;
      font-size: 15px;
      background: var(--cream);
      transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      outline: none;
      border-color: var(--green-500);
      box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.15);
      background: var(--white);
    }

    .form-group textarea {
      min-height: 120px;
      resize: vertical;
    }

    .form-grid .btn {
      grid-column: 1 / -1;
      width: 100%;
      margin-top: 4px;
    }

    .contact-info-col {
      background: var(--green-950);
      color: #fff;
      padding: 36px 32px;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .contact-info-col>h3 {
      font-family: var(--font-display);
      font-size: 1.4rem;
      margin: 0;
    }

    .contact-info-intro {
      color: rgba(255, 255, 255, 0.6);
      font-size: 14px;
      margin: -6px 0 4px;
      line-height: 1.5;
    }

    .contact-companies {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .contact-company {
      padding: 16px 16px 14px;
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .contact-company h4 {
      margin: 0 0 10px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--green-400);
    }

    .contact-company-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 8px;
    }

    .contact-company-list li {
      display: grid;
      grid-template-columns: 18px 1fr;
      gap: 10px;
      align-items: start;
      font-size: 13px;
      line-height: 1.45;
      color: rgba(255, 255, 255, 0.82);
    }

    .contact-company-list .ci {
      opacity: 0.9;
      line-height: 1.2;
    }

    .contact-company-list a {
      color: rgba(255, 255, 255, 0.88);
      word-break: break-word;
    }

    .contact-company-list a:hover {
      color: #fff;
    }

    .contact-shared {
      display: grid;
      gap: 6px;
      padding: 12px 14px;
      border-radius: var(--radius-sm);
      background: rgba(124, 179, 66, 0.1);
      border: 1px solid rgba(124, 179, 66, 0.18);
      font-size: 13px;
      color: rgba(255, 255, 255, 0.78);
      line-height: 1.45;
    }

    .contact-shared strong {
      color: var(--green-400);
      font-size: 12px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .contact-map {
      margin-top: auto;
      border-radius: var(--radius-sm);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.2);
    }

    .contact-map iframe {
      display: block;
      width: 100%;
      height: 220px;
      border: 0;
    }

    .contact-map-link {
      display: block;
      padding: 10px 12px;
      font-size: 12px;
      font-weight: 600;
      color: var(--green-400);
      background: rgba(255, 255, 255, 0.04);
      text-align: center;
      transition: color 0.2s, background 0.2s;
    }

    .contact-map-link:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.08);
    }

    .site-footer {
      background: var(--green-950);
      color: rgba(255, 255, 255, 0.75);
      padding: 56px 0 24px;
      margin-top: 88px;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
      gap: 40px;
      padding-bottom: 40px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-logo {
      width: 220px;
      height: auto;
      background: transparent;
      padding: 0;
      filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.28)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
      margin-bottom: 16px;
    }

    .footer-brand p {
      font-size: 14px;
      line-height: 1.7;
      max-width: 280px;
    }

    .footer-col h4 {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--green-400);
      margin: 0 0 16px;
    }

    .footer-col a,
    .footer-col p {
      display: block;
      font-size: 14px;
      line-height: 2;
      color: rgba(255, 255, 255, 0.65);
      transition: color 0.2s;
    }

    .footer-col a:hover {
      color: #fff;
    }

    .newsletter-form {
      display: flex;
      gap: 8px;
      margin-bottom: 16px;
    }

    .newsletter-form input {
      flex: 1;
      padding: 12px 14px;
      border: 0;
      border-radius: var(--radius-sm);
      font: inherit;
      font-size: 14px;
    }

    .newsletter-form .btn {
      padding: 12px 18px;
      font-size: 13px;
      white-space: nowrap;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 24px;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.4);
    }

    .footer-tagline {
      color: var(--green-400);
      font-weight: 600;
    }

    .whatsapp-float {
      --wa-size: 60px;
      position: fixed;
      right: max(22px, env(safe-area-inset-right));
      bottom: max(22px, env(safe-area-inset-bottom));
      z-index: 210;
      box-sizing: border-box;
      display: grid;
      place-items: center;
      width: var(--wa-size);
      height: var(--wa-size);
      margin: 0;
      padding: 0;
      line-height: 0;
      border: 0;
      border-radius: 50%;
      background: #25d366;
      color: #fff;
      box-shadow: 0 8px 22px rgba(18, 140, 80, 0.38);
      overflow: hidden;
      transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
    }

    .whatsapp-float svg {
      display: block;
      width: 32px;
      height: 32px;
      margin: 0;
      flex-shrink: 0;
      transform: translate(0.5px, 0.5px);
    }

    .whatsapp-float:hover,
    .whatsapp-float:focus-visible {
      transform: translateY(-3px) scale(1.04);
      box-shadow: 0 12px 28px rgba(18, 140, 80, 0.48);
      filter: brightness(1.05);
      color: #fff;
    }

    .whatsapp-float:focus-visible {
      outline: 3px solid #fff;
      outline-offset: 3px;
    }

    @media (max-width: 1024px) {
      .hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .hero-metrics {
        grid-template-columns: repeat(3, 1fr);
      }

      .hero-metric {
        text-align: center;
      }

      .group-grid,
      .service-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-inline: auto;
      }

      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }

      .metric {
        border-right: 0;
      }

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

      .about-visual {
        order: -1;
      }

      .about-img {
        height: 300px;
      }

      .about-badge {
        left: 16px;
        bottom: -16px;
      }

      .contact-wrapper {
        grid-template-columns: 1fr;
      }

      .footer-top {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .brand img {
        width: auto;
        height: 46px;
      }

      .footer-logo {
        width: 200px;
      }

      section {
        padding: 64px 0;
      }

      .nav-links,
      .nav>.header-cta {
        display: none;
      }

      .menu-btn {
        display: grid;
        place-items: center;
      }

      .hero-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: calc(var(--header-h) + 20px) 0 56px;
      }

      .hero-content {
        padding: 28px 24px;
      }

      .hero-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
      }

      .hero-metric {
        padding: 14px 12px;
        text-align: center;
      }

      .hero-metric:hover {
        transform: translateY(-2px);
      }

      .hero-metric strong {
        font-size: 1.35rem;
      }

      .hero-metric span {
        font-size: 11px;
      }

      .about-features {
        grid-template-columns: 1fr;
      }

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

      .footer-top {
        grid-template-columns: 1fr;
      }

      .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
      }

      .services-shell {
        padding: 32px 20px 24px;
      }

      .whatsapp-float {
        --wa-size: 56px;
      }

      .whatsapp-float svg {
        width: 30px;
        height: 30px;
      }
    }

    @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }

      .reveal {
        opacity: 1;
        transform: none;
      }
    }

    /* Modal promocional de bienvenida */
    .welcome-overlay {
      position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(4, 20, 13, .82);
      backdrop-filter: blur(9px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      opacity: 0;
      visibility: hidden;
      transition: opacity .3s ease, visibility .3s ease
    }

    .welcome-overlay.is-open {
      opacity: 1;
      visibility: visible
    }

    .welcome-dialog {
      position: relative;
      width: min(850px, 100%);
      max-height: calc(100dvh - 48px);
      border-radius: 18px;
      box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
      background: #09233c;
      overflow: visible;
      transform: translateY(12px) scale(.98);
      transition: transform .3s ease
    }

    .welcome-overlay.is-open .welcome-dialog {
      transform: none
    }

    .welcome-dialog img {
      display: block;
      width: 100%;
      max-height: calc(100dvh - 48px);
      object-fit: contain;
      border-radius: 18px
    }

    .welcome-close {
      position: absolute;
      right: -14px;
      top: -14px;
      z-index: 2;
      width: 42px;
      height: 42px;
      border: 2px solid #fff;
      border-radius: 50%;
      background: #0a3d22;
      color: white;
      font-size: 27px;
      line-height: 1;
      display: grid;
      place-items: center;
      cursor: pointer;
      box-shadow: 0 5px 20px #0006
    }

    @media(max-width:600px) {
      .welcome-overlay {
        padding: 18px
      }

      .welcome-dialog {
        width: 100%
      }

      .welcome-close {
        right: -10px;
        top: -14px
      }
    }

    /* Recursos: estilos complementarios sobre el diseño original del index */
    .resources-page .site-header {
      background: rgba(6, 42, 23, .97);
      backdrop-filter: blur(16px) saturate(1.4);
      border-bottom: 1px solid rgba(255, 255, 255, .06);
      box-shadow: 0 8px 32px rgba(0, 0, 0, .18)
    }

    .resources-hero {
      padding: calc(var(--header-h) + 84px) 0 74px;
      color: #fff;
      background: linear-gradient(115deg, rgba(6, 42, 23, .96), rgba(15, 85, 48, .9)), url('imagenes/hero.jpg') center/cover
    }

    .resources-hero-inner {
      max-width: 1200px
    }

    .resources-eyebrow {
      display: block;
      color: var(--green-400);
      text-transform: uppercase;
      letter-spacing: .14em;
      font-weight: 700;
      font-size: 12px;
      margin-bottom: 14px
    }

    .resources-hero h1 {
      font: 700 clamp(2.6rem, 5.5vw, 4rem)/1.12 var(--font-display);
      margin: 0 0 16px
    }

    .resources-hero p {
      font-size: 1.06rem;
      max-width: 740px;
      line-height: 1.7;
      margin: 0;
      color: rgba(255, 255, 255, .85)
    }

    .resources-content {
      background: var(--cream);
      padding: 76px 0 96px
    }

    .resources-heading {
      margin-bottom: 40px
    }

    .resources-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 26px
    }

    .resource-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform .25s var(--ease), box-shadow .25s var(--ease)
    }

    .resource-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md)
    }

    .resource-image-button {
      border: 0;
      display: block;
      width: 100%;
      padding: 0;
      background: #101624;
      cursor: zoom-in;
      overflow: hidden
    }

    .resource-image-button img {
      width: 100%;
      height: auto;
      max-height: 640px;
      object-fit: contain;
      transition: transform .3s ease
    }

    .resource-image-button:hover img {
      transform: scale(1.015)
    }

    .resource-info {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 24px
    }

    .resource-info h3 {
      font-size: 1.15rem;
      color: var(--green-950);
      margin: 0 0 5px;
      line-height: 1.35
    }

    .resource-info p {
      margin: 0;
      color: var(--muted);
      font-size: .9rem;
      line-height: 1.5
    }

    .resource-view {
      flex-shrink: 0;
      padding: 11px 15px;
      border-radius: var(--radius-sm);
      border: 1px solid #d6e7d5;
      color: var(--green-800);
      background: var(--green-100);
      font-weight: 700;
      font-size: 13px
    }

    .resource-view:hover {
      background: #dcefd4
    }

    .resources-cta {
      margin-top: 40px;
      border-radius: var(--radius);
      background: linear-gradient(135deg, var(--green-900), var(--green-800));
      padding: 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      color: #fff
    }

    .resources-cta h2 {
      font: 700 1.6rem var(--font-display);
      margin: 0 0 8px
    }

    .resources-cta p {
      margin: 0;
      color: rgba(255, 255, 255, .8)
    }

    .resources-page .site-footer {
      margin-top: 0
    }

    .resource-lightbox[hidden] {
      display: none
    }

    .resource-lightbox {
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgba(1, 10, 9, .96);
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 66px 20px 24px
    }

    .resource-lightbox img {
      max-width: 100%;
      max-height: calc(100dvh - 100px);
      object-fit: contain;
      box-shadow: 0 20px 60px #0008
    }

    .resource-lightbox-close {
      position: absolute;
      top: 14px;
      right: 20px;
      background: rgba(255, 255, 255, .16);
      border: 1px solid #fff7;
      border-radius: 50%;
      color: #fff;
      width: 46px;
      height: 46px;
      font-size: 30px;
      line-height: 1
    }

    .resource-lightbox-title {
      position: absolute;
      left: 24px;
      top: 22px;
      color: #fff;
      font-weight: 700;
      font-size: 14px;
      max-width: calc(100% - 110px)
    }

    @media(max-width:800px) {
      .resources-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: auto
      }

      .resources-cta {
        flex-direction: column;
        align-items: flex-start
      }
    }

    @media(max-width:480px) {
      .resources-hero {
        padding: calc(var(--header-h) + 48px) 0 52px
      }

      .resources-content {
        padding: 55px 0 70px
      }

      .resource-info {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px
      }

      .resource-view {
        width: 100%
      }
    }

    /* Directorio de credenciales: comparte el diseño del sitio */
    .credential-tools {
      display: flex;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
      margin: 0 0 28px;
      flex-wrap: wrap
    }

    .credential-tools input {
      width: min(100%, 400px);
      padding: 13px 17px;
      border: 1px solid var(--line);
      border-radius: 12px;
      font: inherit;
      background: white
    }

    .credential-tools span {
      color: var(--muted);
      font-size: 14px
    }

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

    .credential-card {
      min-width: 0;
      background: white;
      border: 1px solid var(--line);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform .25s, box-shadow .25s
    }

    .credential-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md)
    }

    .credential-open {
      position: relative;
      width: 100%;
      padding: 0;
      border: 0;
      background: #0d203a;
      display: block;
      overflow: hidden
    }

    .credential-front {
      position: relative;
      aspect-ratio: var(--card-ratio, 1.54);
      overflow: hidden
    }

    .credential-front img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: auto;
      max-width: none;
      display: block
    }

    .credential-overlay {
      position: absolute;
      bottom: 0;
      right: 0;
      left: 0;
      padding: 14px 16px;
      text-align: center;
      color: white;
      font-size: 13px;
      font-weight: 700;
      background: linear-gradient(transparent, rgba(0, 0, 0, .78));
      opacity: 0;
      transition: opacity .2s
    }

    .credential-open:hover .credential-overlay,
    .credential-open:focus-visible .credential-overlay {
      opacity: 1
    }

    .credential-caption {
      padding: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px
    }

    .credential-caption strong {
      display: block;
      color: var(--green-950)
    }

    .credential-caption small {
      display: block;
      color: var(--muted)
    }

    .credential-view {
      border: 1px solid var(--line);
      background: var(--cream);
      color: var(--green-800);
      border-radius: 9px;
      padding: 9px;
      font-weight: 700;
      white-space: nowrap
    }

    .credential-empty {
      padding: 28px;
      text-align: center;
      background: var(--cream);
      border-radius: 12px
    }

    .credential-lightbox[hidden] {
      display: none !important
    }

    .credential-lightbox {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: rgba(2, 12, 19, .94);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      padding: 65px 15px 20px;
      overflow-y: auto
    }

    .credential-lightbox img {
      display: block;
      max-width: min(100%, 900px);
      width: auto;
      height: auto;
      max-height: none;
      object-fit: contain;
      border-radius: 10px
    }

    .credential-lightbox h2 {
      color: white;
      font-size: 17px;
      margin: 0
    }

    .credential-lightbox .close-lightbox {
      position: fixed;
      right: 22px;
      top: 15px;
      z-index: 2;
      width: 44px;
      height: 44px;
      border: none;
      border-radius: 50%;
      background: #fff;
      color: #123;
      font-size: 29px;
      line-height: 1
    }

    .credential-lightbox .lightbox-hint {
      color: #cad7e1;
      font-size: 12px;
      margin: 0
    }

    @media(max-width:1024px) {
      .credential-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
      }
    }

    @media(max-width:650px) {
      .credential-grid {
        grid-template-columns: 1fr
      }

      .credential-overlay {
        opacity: 1
      }
    }

    /* Navegación móvil corregida: panel independiente del encabezado fijo. */
    .mobile-nav[hidden] {
      display: none !important;
    }

    @media (max-width: 768px) {
      :root {
        --header-h: 72px;
      }

      .site-header,
      .nav {
        height: var(--header-h);
      }

      .menu-btn {
        position: relative;
        z-index: 2;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
      }

      .mobile-nav {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        top: var(--header-h);
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        width: 100%;
        z-index: 500;
        padding: 12px 20px max(36px, env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        transform: none;
        background: #062a17;
        backdrop-filter: none;
        align-items: stretch;
      }

      .mobile-nav.open {
        display: flex;
        opacity: 1;
        transform: none;
      }

      .mobile-nav a {
        display: block;
        flex: 0 0 auto;
        padding: 12px 14px;
        font-size: 16px;
        line-height: 1.4;
      }

      .mobile-nav .mobile-brand {
        padding: 7px 12px;
        margin-bottom: 4px;
      }

      .mobile-nav .mobile-brand img {
        height: 40px;
      }

      .mobile-nav .header-cta {
        margin: 10px 0 14px;
      }

      body.menu-open {
        overflow: hidden;
      }

      .whatsapp-float {
        z-index: 210;
      }
    }
