    /* ─── TOKENS ─────────────────────────────────────────── */
    :root {
      --color-bg:        #0E0E0D;   /* negro cálido, no puro */
      --color-surface:   #161614;   /* tarjetas / nav */
      --color-accent:    #C9A96E;   /* oro cálido — el único color */
      --color-text:      #F0EDE6;   /* blanco cálido */
      --color-muted:     #7A7870;   /* texto secundario */
      --color-line:      #2A2A27;   /* divisores */

      --font-display:    'Cormorant Garamond', Georgia, serif;
      --font-body:       'Inter', system-ui, sans-serif;
      --font-menu:        "Space Grotesk", sans-serif;
      --font-subtext:     ' font-family: "Outfit", sans-serif;'
      --nav-h:           72px;
    }


    /* ─── RESET & BASE ───────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      background-color: var(--color-bg);
      color: var(--color-text);
      font-family: var(--font-body);
      font-size: 16px;
      font-weight: 300;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    /* ─── TIPOGRAFÍA ─────────────────────────────────────── */
    .display-title {
      font-family: var(--font-display);
      font-weight: 300;
      line-height: 1.05;
      letter-spacing: -0.01em;
    }

    .eyebrow {
      
      font-family: var(--font-menu);
      font-size: 18px;
      font-weight: normal;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--color-accent);
    }

    /* ─── NAVEGACIÓN ─────────────────────────────────────── */
    .site-nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      height: var(--nav-h);
      display: flex;
      align-items: center;
      padding: 0 clamp(1.5rem, 5vw, 3.5rem);
      /* empieza transparente, JS añade .scrolled */
      background: transparent;
      transition: background 0.4s ease, border-bottom 0.4s ease;
    }

    .site-nav.scrolled {
      background: rgba(14,14,13,0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--color-line);
    }

    .nav-logo {
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 400;
      color: var(--color-text);
      text-decoration: none;
      letter-spacing: 0.04em;
    }

    .nav-logo span {
      color: var(--color-accent);
    }

    .nav-links {
      display: flex;
      gap: 2.25rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-links a {
 font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fffefc;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: normal;
    font-family: var(--font-menu);

    }

    .nav-links a:hover { color: var(--color-text); }

    .nav-cta {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-bg);
    background: var(--color-accent);
    padding: 10px 22px;
    text-decoration: none;
    transition: opacity 0.2s;
    font-weight: bold;
    }

    .nav-cta:hover { opacity: 0.85; }

    /* hamburger mobile */
    .nav-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      color: var(--color-text);
      z-index: 110;
    }

    .nav-toggle span {
      display: block;
      width: 22px;
      height: 1px;
      background: currentColor;
      margin: 5px 0;
      transition: transform 0.3s, opacity 0.3s;
    }

    /* animación X al abrir */
    .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* panel mobile */
    .nav-mobile-panel {
      display: none;
      position: fixed;
      top: var(--nav-h);
      left: 0; right: 0;
      background: rgba(14,14,13,0.97);
      backdrop-filter: blur(16px);
      border-top: 1px solid var(--color-line);
      padding: 2rem clamp(1.5rem, 5vw, 3.5rem) 2.5rem;
      z-index: 99;
      flex-direction: column;
      gap: 0;
    }

    .nav-mobile-panel.open { display: flex; }

    .nav-mobile-panel a {
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-muted);
      text-decoration: none;
      padding: 1rem 0;
      border-bottom: 1px solid var(--color-line);
      transition: color 0.2s;
    }

    .nav-mobile-panel a:hover { color: var(--color-text); }

    .nav-mobile-panel .nav-mobile-cta {
      margin-top: 1.5rem;
      padding: 14px 0;
      background: var(--color-accent);
      color: var(--color-bg);
      text-align: center;
      border-bottom: none;
      font-weight: 500;
    }

    .nav-mobile-panel .nav-mobile-cta:hover { opacity: 0.88; color: var(--color-bg); }

    @media (max-width: 768px) {
      .nav-links, .nav-cta { display: none; }
      .nav-toggle { display: block; }
    }

    /* ─── HERO ───────────────────────────────────────────── */
    .hero {
      position: relative;
      height: 100svh;
      min-height: 600px;
      display: flex;
      align-items: flex-end;
      padding-bottom: clamp(3rem, 7vw, 5.5rem);
      padding-left: clamp(1.5rem, 5vw, 3.5rem);
      padding-right: clamp(1.5rem, 5vw, 3.5rem);
      overflow: hidden;
    }

    /* imagen de fondo */
    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('../img/bg-home.jpg');
      background-size: cover;
      background-position: center 40%;
      transform: scale(1.04);
      transition: transform 8s ease;
    }

    .hero-bg.loaded { transform: scale(1); }

    /* gradiente de legibilidad */
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top,
        rgba(10,10,9,0.92) 0%,
        rgba(10,10,9,0.45) 45%,
        rgba(10,10,9,0.15) 100%
      );
    }

    /* contenido del hero */
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 820px;
    }

    .hero-content .eyebrow {
      margin-bottom: 1.25rem;
      font-weight: bold;
    }

    .hero-title {
      font-size: clamp(3rem, 8vw, 4.5rem);
      margin-bottom: 1.5rem;
      color: var(--color-text);
      font-weight: bold;
    }

    .hero-title em {
      font-style: italic;
      color: var(--color-accent);
    }

    .hero-subtitle {
      font-size: clamp(0.95rem, 2vw, 1.1rem);
      color:  #fbfaf6;
      max-width: 720px;
      margin-bottom: 2.5rem;
      font-weight:normal;
      line-height: 1.75;
      font-family: var(--font-subtext);
    }



    /* botones del hero */
    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      align-items: center;
    }



    /* ─── HERO BENEFITS ──────────────────────────────────── */
.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(251, 250, 246, 0.70);
  font-family: var(--font-subtext);
  line-height: 1.4;
}

.benefit-check {
  color: var(--color-accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}


    .btn-primary-custom {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--color-accent);
      color: var(--color-bg);
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 14px 28px;
      transition: opacity 0.2s;
    }

    .btn-primary-custom:hover { opacity: 0.85; color: var(--color-bg); }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--color-text);
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 14px 0;
      border-bottom: 1px solid var(--color-muted);
      transition: border-color 0.2s, color 0.2s;
    }

    .btn-ghost:hover {
      color: var(--color-accent);
      border-color: var(--color-accent);
    }

    /* línea de stats en el hero */
    .hero-stats {
      position: absolute;
      bottom: clamp(3rem, 7vw, 5.5rem);
      right: clamp(1.5rem, 5vw, 3.5rem);
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 1.25rem;
    }

    .hero-stat {
      text-align: right;
    }

    .hero-stat-number {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 300;
      color: var(--color-text);
      line-height: 1;
    }

    .hero-stat-label {
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--color-muted);
      margin-top: 2px;
    }

    .stat-divider {
      width: 1px;
      height: 32px;
      background: var(--color-line);
      margin-left: auto;
    }

    @media (max-width: 768px) {
      .hero-stats { display: none; }
    }

    /* scroll indicator */
    .scroll-indicator {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }

    .scroll-indicator span {
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--color-muted);
    }

    .scroll-line {
      width: 1px;
      height: 40px;
      background: var(--color-muted);
      animation: scroll-pulse 2s ease-in-out infinite;
    }

    @keyframes scroll-pulse {
      0%, 100% { opacity: 0.3; transform: scaleY(1); }
      50%       { opacity: 1;   transform: scaleY(0.6); }
    }

    /* ─── BOTÓN WHATSAPP FLOTANTE ────────────────────────── */
    .wa-float {
      position: fixed;
      bottom: 2rem;
      right: 1.75rem;
      z-index: 200;
      width: 52px;
      height: 52px;
      background: #25D366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      box-shadow: 0 4px 16px rgba(0,0,0,0.35);
      transition: transform 0.2s, opacity 0.2s;
    }

    .wa-float:hover { transform: scale(1.08); opacity: 0.95; }

    .wa-float svg {
      width: 26px;
      height: 26px;
      fill: #fff;
    }

    /* ─── PORTAFOLIO ─────────────────────────────────────── */
    .portfolio {
      padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 3.5rem);
      border-top: 1px solid var(--color-line);
    }

    /* encabezado de sección: dos columnas */
    .portfolio-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem 4rem;
      align-items: end;
      margin-bottom: clamp(3rem, 6vw, 5rem);
    }

    .portfolio-title {
      font-size: clamp(2.25rem, 5vw, 1.75rem);
      color: var(--color-text);
      margin-top: 0.75rem;
    }

    .portfolio-intro {
      font-size: 14px;
      color: var(--color-muted);
      line-height: 1.8;
      margin-bottom: 1.75rem;
    }

    /* filtros */
    .portfolio-filters {
      display: flex;
      gap: 0;
      border: 1px solid var(--color-line);
      width: fit-content;
    }

    .pf-btn {
      background: transparent;
      border: none;
      border-right: 1px solid var(--color-line);
      color: var(--color-muted);
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 400;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 9px 18px;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }

    .pf-btn:last-child { border-right: none; }
    .pf-btn:hover { color: var(--color-text); }
    .pf-btn.active {
      background: var(--color-accent);
      color: var(--color-bg);
    }

    /* grid del portafolio */
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: auto auto;
      gap: 1.5rem;
    }

    /* tarjeta base */
    .proj-card {
      background: var(--color-surface);
      overflow: hidden;
      cursor: pointer;
      outline: none;
      transition: opacity 0.3s;
    }

    .proj-card:focus-visible {
      box-shadow: 0 0 0 2px var(--color-accent);
    }

    .proj-card.hidden {
      display: none;
    }

    /* tarjeta destacada: ocupa 7 columnas */
    .proj-featured {
      grid-column: span 7;
    }

    /* tarjetas normales: 5 columnas la primera, luego 4 */
    .proj-card:not(.proj-featured):nth-child(2) { grid-column: span 5; }
    .proj-card:not(.proj-featured)              { grid-column: span 4; }

    /* imagen */
    .proj-img-wrap {
      position: relative;
      overflow: hidden;
      aspect-ratio: 4/3;
    }

    .proj-featured .proj-img-wrap {
      aspect-ratio: 16/10;
    }

    .proj-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .proj-card:hover .proj-img,
    .proj-card:focus-visible .proj-img {
      transform: scale(1.04);
    }

    /* overlay con CTA al hover */
    .proj-overlay {
      position: absolute;
      inset: 0;
      background: rgba(10,10,9,0.55);
      display: flex;
      align-items: flex-end;
      padding: 1.25rem 1.5rem;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .proj-card:hover .proj-overlay,
    .proj-card:focus-visible .proj-overlay {
      opacity: 1;
    }

    .proj-cta {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-accent);
      border-bottom: 1px solid var(--color-accent);
      padding-bottom: 2px;
    }

    /* info de la tarjeta */
    .proj-info {
      padding: 1.25rem 1.5rem 1.5rem;
    }

    .proj-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.5rem;
    }

    .proj-tag {
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--color-accent);
    }

    .proj-year {
      font-size: 11px;
      color: var(--color-muted);
      letter-spacing: 0.06em;
    }

    .proj-name {
      font-size: clamp(1.25rem, 2.5vw, 1.75rem);
      font-weight: 300;
      color: var(--color-text);
      margin-bottom: 0.5rem;
      line-height: 1.15;
    }

    .proj-desc {
      font-size: 13px;
      color: var(--color-muted);
      line-height: 1.7;
      margin: 0;
    }

    /* CTA inferior del portafolio */
    .portfolio-footer {
      margin-top: clamp(3rem, 6vw, 5rem);
      border-top: 1px solid var(--color-line);
      padding-top: 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .portfolio-footer-text {
      font-family: var(--font-display);
      font-size: clamp(1.25rem, 3vw, 1.75rem);
      font-weight: 300;
      font-style: italic;
      color: var(--color-muted);
      margin: 0;
    }

    /* responsive portafolio */
    @media (max-width: 992px) {
      .portfolio-header { grid-template-columns: 1fr; gap: 1.5rem; }
      .proj-featured { grid-column: span 12; }
      .proj-card:not(.proj-featured):nth-child(2) { grid-column: span 12; }
      .proj-card:not(.proj-featured) { grid-column: span 6; }
    }

    @media (max-width: 576px) {
      .proj-card:not(.proj-featured) { grid-column: span 12; }
      .portfolio-footer { flex-direction: column; align-items: flex-start; }
    }

    /* ─── PLACEHOLDER SECCIÓN SIGUIENTE ─────────────────── */
    .next-section-ph {
      padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3.5rem);
      border-top: 1px solid var(--color-line);
      text-align: center;
      color: var(--color-muted);
      font-size: 13px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    /* ─── PROCESO ────────────────────────────────────────── */
    .proceso {
      padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 3.5rem);
      border-top: 1px solid var(--color-line);
      background: var(--color-surface);
    }

    .proceso-header {
      max-width: 640px;
      margin-bottom: clamp(3.5rem, 7vw, 6rem);
    }

    .proceso-title {
      font-size: clamp(2.25rem, 5vw, 3.75rem);
      color: var(--color-text);
      margin: 0.75rem 0 1.25rem;
    }

    .proceso-subtitle {
      font-size: 14px;
      color: var(--color-muted);
      line-height: 1.85;
      margin: 0;
    }

    .proceso-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      position: relative;
    }

    .paso {
      position: relative;
      padding-right: 2rem;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .paso.visible { opacity: 1; transform: translateY(0); }

    .paso-numero {
      font-family: var(--font-display);
      font-size: 4.5rem;
      font-weight: 300;
      color: var(--color-line);
      line-height: 1;
      margin-bottom: 1.25rem;
      letter-spacing: -0.02em;
      transition: color 0.3s;
    }

    .paso:hover .paso-numero { color: var(--color-accent); }

    .paso-icon-wrap {
      width: 48px;
      height: 48px;
      border: 1px solid var(--color-line);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.25rem;
      color: var(--color-accent);
      transition: border-color 0.3s, background 0.3s;
    }

    .paso:hover .paso-icon-wrap {
      border-color: var(--color-accent);
      background: rgba(201,169,110,0.06);
    }

    .paso-titulo {
      font-family: var(--font-display);
      font-size: 1.4rem;
      font-weight: 400;
      color: var(--color-text);
      margin-bottom: 0.75rem;
      line-height: 1.2;
    }

    .paso-desc {
      font-size: 13px;
      color: var(--color-muted);
      line-height: 1.8;
      margin-bottom: 1.25rem;
    }

    .paso-entregables {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .paso-entregables li {
      font-size: 12px;
      color: var(--color-muted);
      padding-left: 1rem;
      position: relative;
      line-height: 1.5;
    }

    .paso-entregables li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 7px;
      width: 5px;
      height: 1px;
      background: var(--color-accent);
    }

    .paso-linea {
      position: absolute;
      top: 3.1rem;
      right: 0;
      width: 2rem;
      height: 1px;
      background: var(--color-line);
    }

    .proceso-garantia {
      margin-top: clamp(3.5rem, 7vw, 6rem);
      border: 1px solid var(--color-line);
      padding: 1.5rem 2rem;
      display: flex;
      align-items: center;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .garantia-left {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
      color: var(--color-accent);
    }

    .garantia-label {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-accent);
      white-space: nowrap;
    }

    .garantia-texto {
      font-size: 13px;
      color: var(--color-muted);
      line-height: 1.7;
      margin: 0;
    }

    @media (max-width: 992px) {
      .proceso-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
      .paso-linea { display: none; }
      .paso { padding-right: 0; }
    }

    @media (max-width: 576px) {
      .proceso-steps { grid-template-columns: 1fr; gap: 2.5rem; }
    }

    .next-section-ph2 {
      padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3.5rem);
      border-top: 1px solid var(--color-line);
      text-align: center;
      color: var(--color-muted);
      font-size: 13px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    /* ─── CREDENCIALES ───────────────────────────────────── */
    .credenciales {
      padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 3.5rem);
      border-top: 1px solid var(--color-line);
    }

    .cred-header {
      max-width: 520px;
      margin-bottom: clamp(3rem, 6vw, 5rem);
    }

    .cred-title {
      font-size: clamp(2.25rem, 5vw, 3.75rem);
      color: var(--color-text);
      margin: 0.75rem 0 0;
    }

    /* números grandes */
    .cred-numeros {
      display: flex;
      align-items: center;
      gap: 0;
      border: 1px solid var(--color-line);
      margin-bottom: clamp(3rem, 6vw, 5rem);
      flex-wrap: wrap;
    }

    .cred-num-item {
      flex: 1;
      min-width: 140px;
      padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 2px 6px;
    }

    .cred-num {
      font-family: var(--font-display);
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 300;
      color: var(--color-text);
      line-height: 1;
    }

    .cred-num-sup {
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 300;
      color: var(--color-accent);
      line-height: 1;
      align-self: flex-start;
      margin-top: 4px;
    }

    .cred-num-label {
      width: 100%;
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-muted);
      margin: 8px 0 0;
    }

    .cred-divider {
      width: 1px;
      height: 80px;
      background: var(--color-line);
      flex-shrink: 0;
    }

    /* badges */
    .cred-badges {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1px;
      background: var(--color-line);
      border: 1px solid var(--color-line);
    }

    .cred-badge {
      background: var(--color-bg);
      padding: 1.5rem 1.75rem;
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      transition: background 0.2s;
    }

    .cred-badge:hover { background: var(--color-surface); }

    .cred-badge svg {
      color: var(--color-accent);
      flex-shrink: 0;
      margin-top: 2px;
    }

    .cred-badge-title {
      font-size: 13px;
      font-weight: 500;
      color: var(--color-text);
      margin: 0 0 3px;
    }

    .cred-badge-sub {
      font-size: 12px;
      color: var(--color-muted);
      margin: 0;
    }

    /* ─── TESTIMONIOS ────────────────────────────────────── */
    .testimonios {
      padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 3.5rem);
      border-top: 1px solid var(--color-line);
      background: var(--color-surface);
    }

    .test-header {
      max-width: 520px;
      margin-bottom: clamp(3rem, 6vw, 5rem);
    }

    .test-title {
      font-size: clamp(2.25rem, 5vw, 3.75rem);
      color: var(--color-text);
      margin: 0.75rem 0 0;
    }

    .test-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 1.5rem;
    }

    .test-card {
      background: var(--color-bg);
      border: 1px solid var(--color-line);
      padding: 2rem 2rem 1.75rem;
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      position: relative;
      margin: 0;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
    }

    .test-card.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .test-card:hover { border-color: var(--color-accent); }

    .test-featured { grid-column: span 6; }
    .test-card:not(.test-featured) { grid-column: span 3; }

    .test-quote-mark {
      font-family: var(--font-display);
      font-size: 5rem;
      line-height: 0.6;
      color: var(--color-accent);
      opacity: 0.4;
      font-weight: 300;
      user-select: none;
    }

    .test-texto {
      font-size: 14px;
      color: var(--color-text);
      line-height: 1.85;
      font-weight: 300;
      flex: 1;
      margin: 0;
    }

    .test-footer {
      display: flex;
      align-items: center;
      gap: 12px;
      border-top: 1px solid var(--color-line);
      padding-top: 1.25rem;
      margin-top: auto;
      flex-wrap: wrap;
    }

    .test-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--color-line);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 500;
      color: var(--color-accent);
      flex-shrink: 0;
      letter-spacing: 0.05em;
    }

    .test-nombre {
      font-size: 13px;
      font-weight: 500;
      color: var(--color-text);
      margin: 0 0 2px;
    }

    .test-proyecto {
      font-size: 11px;
      color: var(--color-muted);
      margin: 0;
    }

    .test-stars {
      margin-left: auto;
      color: var(--color-accent);
      font-size: 13px;
      letter-spacing: 1px;
    }

    /* banda Google */
    .test-google {
      margin-top: clamp(3rem, 5vw, 4rem);
      padding-top: 2rem;
      border-top: 1px solid var(--color-line);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .test-google-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .test-google-label {
      font-size: 13px;
      color: var(--color-muted);
      letter-spacing: 0.04em;
    }

    /* responsive credenciales y testimonios */
    @media (max-width: 992px) {
      .cred-numeros { flex-direction: row; flex-wrap: wrap; }
      .cred-divider { display: none; }
      .cred-num-item { border-bottom: 1px solid var(--color-line); }
      .test-featured { grid-column: span 12; }
      .test-card:not(.test-featured) { grid-column: span 6; }
    }

    @media (max-width: 576px) {
      .test-card:not(.test-featured) { grid-column: span 12; }
      .cred-num-item { min-width: 50%; }
    }

    .next-section-ph3 {
      padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3.5rem);
      border-top: 1px solid var(--color-line);
      text-align: center;
      color: var(--color-muted);
      font-size: 13px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    /* ─── CONTACTO ───────────────────────────────────────── */
    .contacto {
      padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 3.5rem);
      border-top: 1px solid var(--color-line);
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 4rem 6rem;
      align-items: start;
    }

    .contacto-title {
      font-size: clamp(2rem, 4.5vw, 3.25rem);
      color: var(--color-text);
      margin: 0.75rem 0 1.25rem;
    }

    .contacto-desc {
      font-size: 14px;
      color: var(--color-muted);
      line-height: 1.85;
      margin-bottom: 2.5rem;
    }

    .contacto-datos {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .contacto-datos li {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 1.1rem 0;
      border-bottom: 1px solid var(--color-line);
    }

    .contacto-datos li:first-child { border-top: 1px solid var(--color-line); }

    .contacto-datos svg {
      color: var(--color-accent);
      flex-shrink: 0;
      margin-top: 3px;
    }

    .dato-label {
      display: block;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--color-muted);
      margin-bottom: 3px;
    }

    .dato-valor {
      font-size: 14px;
      color: var(--color-text);
      text-decoration: none;
      transition: color 0.2s;
    }

    a.dato-valor:hover { color: var(--color-accent); }

    /* formulario */
    .contacto-form {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .form-group label {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-muted);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      background: transparent;
      border: 1px solid var(--color-line);
      color: var(--color-text);
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 300;
      padding: 12px 14px;
      outline: none;
      transition: border-color 0.2s;
      border-radius: 0;
      -webkit-appearance: none;
      appearance: none;
      width: 100%;
    }

    .form-group select {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7870' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      padding-right: 36px;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus { border-color: var(--color-accent); }

    .form-group input::placeholder,
    .form-group textarea::placeholder { color: var(--color-line); }

    .form-group select option { background: var(--color-surface); color: var(--color-text); }

    .form-group textarea { resize: vertical; min-height: 130px; }

    .form-submit {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: var(--color-accent);
      color: var(--color-bg);
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border: none;
      padding: 15px 28px;
      cursor: pointer;
      transition: opacity 0.2s;
      width: 100%;
    }

    .form-submit:hover { opacity: 0.85; }
    .form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

    .form-nota {
      font-size: 12px;
      color: var(--color-muted);
      text-align: center;
      margin: 0;
    }

    .form-nota a {
      color: var(--color-accent);
      text-decoration: none;
    }

    .form-success {
      display: none;
      align-items: center;
      gap: 10px;
      background: rgba(201,169,110,0.08);
      border: 1px solid var(--color-accent);
      padding: 14px 18px;
      font-size: 13px;
      color: var(--color-accent);
    }

    .form-success.visible { display: flex; }

    /* ─── FOOTER ─────────────────────────────────────────── */
    .site-footer {
      border-top: 1px solid var(--color-line);
      background: var(--color-surface);
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
      gap: 3rem;
      padding: clamp(3.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 3.5rem);
      border-bottom: 1px solid var(--color-line);
    }

    .footer-tagline {
      font-size: 13px;
      color: var(--color-muted);
      line-height: 1.75;
      margin-top: 1rem;
    }

    .footer-nav-label {
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--color-muted);
      margin: 0 0 1.1rem;
    }

    .footer-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }

    .footer-nav ul a {
      font-size: 13px;
      color: var(--color-muted);
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-nav ul a:hover { color: var(--color-text); }

    .footer-wa {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--color-text);
      text-decoration: none;
      margin-bottom: 0.65rem;
      transition: color 0.2s;
    }

    .footer-wa:hover { color: var(--color-accent); }
    .footer-wa svg { color: #25D366; }

    .footer-email {
      display: block;
      font-size: 12px;
      color: var(--color-muted);
      text-decoration: none;
      margin-bottom: 0.65rem;
      transition: color 0.2s;
    }

    .footer-email:hover { color: var(--color-accent); }

    .footer-location {
      font-size: 12px;
      color: var(--color-muted);
      margin: 0;
    }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.25rem clamp(1.5rem, 5vw, 3.5rem);
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .footer-copy, .footer-credit {
      font-size: 11px;
      color: var(--color-muted);
      margin: 0;
      letter-spacing: 0.04em;
    }

    .footer-credit a {
      color: var(--color-accent);
      text-decoration: none;
    }

    /* responsive contacto + footer */
    @media (max-width: 992px) {
      .contacto { grid-template-columns: 1fr; gap: 3rem; }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    }

    @media (max-width: 576px) {
      .form-row { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr; gap: 2rem; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
      .btn-ghost { display: none;}
    }
