    /* ============================================================
       FONTS — LT Wave (oficial SmartPR)
    ============================================================ */
    @font-face {
      font-family: 'LT Wave';
      src: url('../fonts/LTWave-Light.otf') format('opentype');
      font-weight: 300;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'LT Wave';
      src: url('../fonts/LTWave-Regular.otf') format('opentype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'LT Wave';
      src: url('../fonts/LTWave-Medium.otf') format('opentype');
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'LT Wave';
      src: url('../fonts/LTWave-Bold.otf') format('opentype');
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'LT Wave';
      src: url('../fonts/LTWave-Black.otf') format('opentype');
      font-weight: 900;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'LT Wave Text';
      src: url('../fonts/LTWaveText-Regular.otf') format('opentype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'LT Wave Text';
      src: url('../fonts/LTWaveText-Medium.otf') format('opentype');
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'LT Wave Mono';
      src: url('../fonts/LTWaveMono-Regular.otf') format('opentype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'LT Wave Mono';
      src: url('../fonts/LTWaveMono-Medium.otf') format('opentype');
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }

    /* ============================================================
       DESIGN TOKENS
    ============================================================ */
    :root {
      /* Brand colors */
      --red:        #C80000;
      --red-bright: #E01010;
      --wine:       #2A0710;
      --wine-2:     #1A0508;
      --wine-3:     #660013;

      /* Neutrals dark */
      --bg:         #0A0A0A;
      --bg-elev:    #131313;
      --bg-card:    #1A1A1A;
      --line:       rgba(255,255,255,0.07);
      --line-md:    rgba(255,255,255,0.12);

      /* Ink */
      --ink:        #FFFFFF;
      --ink-2:      rgba(255,255,255,0.75);
      --ink-3:      rgba(255,255,255,0.50);
      --ink-4:      rgba(255,255,255,0.30);

      /* Accent (uso muy limitado) */
      --orange:     #FF6600;
      --teal:       #007E7E;
      --magenta:    #B100B5;

      /* Fonts */
      --font-display: 'LT Wave', system-ui, -apple-system, sans-serif;
      --font-body:    'LT Wave Text', 'LT Wave', system-ui, sans-serif;
      --font-mono:    'LT Wave Mono', ui-monospace, monospace;

      /* Radii */
      --r-sm: 6px;
      --r-md: 12px;
      --r-lg: 20px;

      /* Layout */
      --container: 1240px;
      --gutter: clamp(20px, 5vw, 60px);
    }

    /* ============================================================
       RESET & BASE
    ============================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--ink);
      font-family: var(--font-body);
      font-size: 17px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      overflow-x: hidden;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button { font-family: inherit; cursor: pointer; border: none; background: none; }

    /* ============================================================
       TYPOGRAPHY
    ============================================================ */
    .eyebrow {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--ink-3);
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }
    .eyebrow::before {
      content: '';
      display: inline-block;
      width: 20px;
      height: 1px;
      background: var(--red);
      flex-shrink: 0;
    }

    h1, h2, h3, h4 {
      font-family: var(--font-display);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.05;
    }
    h1 { font-size: clamp(42px, 7vw, 96px); font-weight: 900; }
    h2 { font-size: clamp(32px, 4.8vw, 64px); }
    h3 { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.02em; }

    p { text-wrap: pretty; }
    .lead { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); }

    /* ============================================================
       LAYOUT
    ============================================================ */
    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 var(--gutter);
    }
    section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

    /* ============================================================
       BUTTONS
    ============================================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 15px 28px;
      border-radius: 999px;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 15px;
      letter-spacing: -0.01em;
      border: 1.5px solid transparent;
      transition: all 220ms cubic-bezier(.2,.8,.2,1);
      white-space: nowrap;
      cursor: pointer;
    }
    .btn-primary {
      background: var(--red);
      color: #fff;
    }
    .btn-primary:hover {
      background: var(--red-bright);
      transform: translateY(-2px);
      box-shadow: 0 16px 40px -8px rgba(200,0,0,0.45);
    }
    .btn-ghost {
      background: transparent;
      color: var(--ink);
      border-color: var(--line-md);
    }
    .btn-ghost:hover {
      border-color: var(--ink);
      background: rgba(255,255,255,0.05);
    }
    .btn .arrow { transition: transform 200ms; }
    .btn:hover .arrow { transform: translateX(4px); }

    /* ============================================================
       NAV
    ============================================================ */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 18px 0;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      background: rgba(10,10,10,0.55);
      border-bottom: 1px solid transparent;
      transition: background 240ms, border-color 240ms;
    }
    .nav.scrolled {
      background: rgba(10,10,10,0.92);
      border-bottom-color: var(--line);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    .nav-logo {
      display: inline-flex;
      align-items: center;
    }
    .nav-logo img { height: 26px; width: auto; display: block; }

    .nav-links {
      display: flex;
      gap: 28px;
      align-items: center;
    }
    .nav-links a {
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 500;
      color: var(--ink-2);
      transition: color 160ms;
    }
    .nav-links a:hover { color: var(--ink); }
    .nav-cta { padding: 10px 20px; font-size: 14px; }

    .nav-burger {
      display: none;
      flex-direction: column;
      gap: 5px;
      width: 40px; height: 40px;
      align-items: center; justify-content: center;
      border: 1px solid var(--line-md);
      border-radius: 10px;
    }
    .nav-burger span {
      display: block;
      width: 18px; height: 1.5px;
      background: var(--ink);
      transition: all 200ms;
    }

    /* Mobile nav menu */
    .nav-mobile {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(10,10,10,0.97);
      z-index: 99;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
    }
    .nav-mobile.open { display: flex; }
    .nav-mobile a {
      font-family: var(--font-display);
      font-size: 28px;
      font-weight: 700;
      color: var(--ink-2);
    }
    .nav-mobile a:hover { color: var(--ink); }

    @media (max-width: 860px) {
      .nav-links { display: none; }
      .nav-burger { display: flex; }
    }

    /* ============================================================
       HERO
    ============================================================ */
    .hero {
      min-height: 100svh;
      padding-top: 120px;
      padding-bottom: 80px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background:
        url('../img/textura.webp') center / cover no-repeat,
        radial-gradient(ellipse 90% 60% at 75% 15%, rgba(200,0,0,0.22), transparent 55%),
        radial-gradient(ellipse 55% 40% at 5% 85%, rgba(102,0,19,0.30), transparent 55%),
        linear-gradient(175deg, var(--wine-2) 0%, var(--bg) 65%);
      background-blend-mode: screen, normal, normal, normal;
    }
    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(to right, rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.022) 1px, transparent 1px);
      background-size: 72px 72px;
      mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, black, transparent);
      -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, black, transparent);
    }
    .hero-inner {
      position: relative;
      z-index: 1;
      text-align: left;
    }
    .hero h1 { max-width: 1100px; }
    .hero-eyebrow { margin-bottom: 28px; }

    .hero h1 { margin-bottom: 40px; }
    .hero h1 .accent {
      color: #660013;
      font-style: italic;
      font-weight: 300;
    }
    .hero h1 .strike {
      font-style: italic;
      font-weight: 300;
      color: var(--ink-3);
      position: relative;
      display: inline-block;
    }
    .hero h1 .strike::after {
      content: '';
      position: absolute;
      left: -3%;
      right: -3%;
      top: 52%;
      height: 4px;
      background: #e60000;
      transform: rotate(-4deg);
      transform-origin: center;
      pointer-events: none;
      border-radius: 2px;
    }
    .hero-tagline {
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.14em;
      color: var(--ink-3);
      margin-bottom: 36px;
      display: inline-block;
      border: 1px solid var(--line-md);
      padding: 8px 14px;
      border-radius: 4px;
    }
    .hero-sub {
      max-width: 560px;
      font-size: clamp(16px, 1.6vw, 19px);
      color: var(--ink-2);
      margin-bottom: 44px;
      line-height: 1.6;
    }
    .hero-ctas {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 72px;
    }
    .hero-stats {
      display: flex;
      gap: 40px;
      flex-wrap: wrap;
      padding-top: 40px;
      border-top: 1px solid var(--line);
      text-align: center;
      justify-content: space-between;
    }
    .hero-stats > div { flex: 1 1 0; min-width: 140px; }
    .hero-stat-num {
      font-family: var(--font-display);
      font-size: clamp(28px, 3.5vw, 42px);
      font-weight: 900;
      letter-spacing: -0.04em;
      color: var(--ink);
    }
    .hero-stat-lbl {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-3);
      margin-top: 4px;
    }

    /* ============================================================
       MÉTRICAS
    ============================================================ */
    .metrics-section {
      padding: 96px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
    }
    .metric {
      padding: 0 32px;
      border-left: 1px solid var(--line);
    }
    .metric:first-child { border-left: none; padding-left: 0; }
    .metric-num {
      font-family: var(--font-display);
      font-size: clamp(40px, 5vw, 72px);
      font-weight: 900;
      letter-spacing: -0.04em;
      color: var(--ink);
      line-height: 1;
      margin-bottom: 16px;
    }
    .metric-lbl {
      font-size: 15px;
      color: var(--ink-2);
      line-height: 1.4;
      max-width: 200px;
    }
    @media (max-width: 900px) {
      .metrics-section { padding: 64px 0; }
      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
      }
      .metric { padding: 0; border-left: none; }
      .metric:nth-child(odd) { border-left: none; padding-left: 0; }
    }

    /* ============================================================
       SEPARATOR
    ============================================================ */
    .separator {
      height: 1px;
      background: var(--line);
      margin: 0 auto;
      max-width: 1280px;
    }

    /* ============================================================
       SECTION HEAD
    ============================================================ */
    .section-head {
      margin-bottom: clamp(40px, 5vw, 64px);
      max-width: 700px;
    }
    .section-head .eyebrow { margin-bottom: 20px; }
    .section-head h2 { margin-bottom: 16px; }

    /* ============================================================
       SERVICIOS
    ============================================================ */
    .services-section { background: var(--bg-elev); }

    /* ============================================================
       METODOLOGÍA
    ============================================================ */
    .methodology-section { background: var(--bg); padding: clamp(72px, 9vw, 120px) 0; }
    .methodology-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(48px, 6vw, 96px);
      align-items: start;
    }
    .methodology-intro .eyebrow { margin-bottom: 24px; }
    .methodology-intro h2 {
      margin-bottom: 28px;
      letter-spacing: -0.03em;
      line-height: 1.05;
    }
    .methodology-intro .lead {
      color: var(--ink-2);
      margin-bottom: 36px;
    }
    .methodology-callout {
      border: 1px solid var(--line-md);
      border-radius: var(--r-md);
      padding: 24px 28px;
      background: var(--bg-card);
    }
    .methodology-callout-label {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: 14px;
    }
    .methodology-callout-label::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--teal);
    }
    .methodology-callout p {
      color: var(--ink-2);
      font-size: 15px;
      line-height: 1.6;
      margin: 0;
    }
    .methodology-steps {
      display: flex;
      flex-direction: column;
    }
    .methodology-step {
      display: grid;
      grid-template-columns: 56px 1fr;
      gap: 20px;
      padding: 24px 0;
      border-top: 1px solid var(--line);
    }
    .methodology-step:last-child { border-bottom: 1px solid var(--line); }
    .methodology-step-num {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--ink-4);
      letter-spacing: 0.1em;
      padding-top: 6px;
    }
    .methodology-step h3 {
      font-size: clamp(20px, 1.8vw, 24px);
      margin: 0 0 8px;
      color: var(--ink);
      letter-spacing: -0.01em;
    }
    .methodology-step p {
      font-size: 15px;
      color: var(--ink-3);
      line-height: 1.55;
      margin: 0;
      max-width: 520px;
    }
    @media (max-width: 900px) {
      .methodology-grid { grid-template-columns: 1fr; gap: 48px; }
      .methodology-step { grid-template-columns: 44px 1fr; gap: 12px; }
    }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
      border-radius: var(--r-md);
      overflow: hidden;
    }
    .service {
      background: var(--bg-elev);
      padding: 36px 32px;
      position: relative;
      overflow: hidden;
      transition: background 200ms;
    }
    .service::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url('logos/service-hover.png') no-repeat center / cover;
      opacity: 0;
      filter: brightness(1.6) contrast(1.15);
      transition: opacity 300ms ease;
      pointer-events: none;
      z-index: 0;
    }
    .service > * { position: relative; z-index: 1; }
    .service:hover { background: var(--bg-card); }
    .service:hover::before { opacity: 0.6; }
    .service:hover .service-num,
    .service:hover .service-icon,
    .service:hover h3 { color: #fff; }
    .service:hover p { color: rgba(255,255,255,0.85); }
    .service-num {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.12em;
      color: var(--red);
      margin-bottom: 20px;
    }
    .service-icon {
      width: 36px;
      height: 36px;
      margin-bottom: 16px;
      color: var(--red);
    }
    .service h3 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 10px;
      color: var(--ink);
    }
    .service p {
      font-size: 14px;
      color: var(--ink-3);
      line-height: 1.55;
    }
    .services-cta {
      margin-top: 48px;
      text-align: center;
    }

    @media (max-width: 900px) {
      .services-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 580px) {
      .services-grid { grid-template-columns: 1fr; }
    }

    /* ============================================================
       CLIENTES — carrusel texto
    ============================================================ */
    .clients-section {
      overflow: hidden;
      padding: 60px 0;
      background: #111;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .clients-label {
      text-align: center;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--ink-4);
      margin-bottom: 28px;
    }
    .clients-track-wrap { overflow: hidden; }
    .clients-track {
      display: flex;
      gap: 0;
      animation: marquee 90s linear infinite;
      width: max-content;
    }
    .clients-track:hover { animation-play-state: paused; }
    .client-item {
      padding: 0 36px;
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }
    .client-item img {
      height: 44px;
      width: auto;
      max-width: 160px;
      object-fit: contain;
      filter: grayscale(1) invert(1) brightness(1.1);
      opacity: 0.85;
      mix-blend-mode: lighten;
    }

    @keyframes marquee {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }

    /* ============================================================
       CASOS DE ÉXITO
    ============================================================ */
    .cases-section { background: var(--bg-elev); }
    .cases-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .case {
      background: var(--bg-card);
      border: 1px solid var(--line);
      border-radius: var(--r-md);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: border-color 220ms, transform 220ms;
    }
    .case-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 24px 28px 28px;
    }
    .case-stats { margin-top: auto; }
    .case:hover {
      border-color: var(--line-md);
      transform: translateY(-3px);
    }

    /* Featured: full-width, image-left + body-right */
    .case.featured {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      flex-direction: unset;
    }
    .case.featured .case-img { height: 100%; min-height: 360px; }
    .case.featured .case-body { padding: 40px 44px; }
    .case.featured h3 { font-size: clamp(22px, 2.4vw, 32px); margin-bottom: 18px; }
    .case.featured .case-desc { font-size: 15px; margin-bottom: 28px; }

    .case-img {
      height: 220px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
      padding: 20px;
    }
    .case-img-bg {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, #2a0008 0%, #660013 55%, #B30019 100%);
    }
    .case-img-bg::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
      -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
    }
    .case-img-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
    }
    .case-img-bg.novo {
      background: url('../img/cases/novo.jpeg') center / cover no-repeat;
    }
    .case-img-bg.alt {
      background: url('../img/cases/xiaomi.png') center / cover no-repeat;
    }
    .case-img-bg.alt3 {
      background: url('../img/cases/hyundai.png') center / cover no-repeat;
    }
    .case-img-bg.alt4 {
      background: url('../img/cases/clinica-country.png') center / cover no-repeat;
    }
    /* Cuando hay imagen real, ocultamos la grid sintética */
    .case-img-bg.novo::before,
    .case-img-bg.alt::before,
    .case-img-bg.alt3::before,
    .case-img-bg.alt4::before { display: none; }

    /* Nombre del cliente como overlay en cards sin imagen */
    .case-img-brand {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      z-index: 1;
      pointer-events: none;
    }
    .case-img-brand span {
      font-family: var(--font-display);
      font-weight: 900;
      font-size: clamp(36px, 4.5vw, 64px);
      letter-spacing: -0.03em;
      color: rgba(255,255,255,0.92);
      text-align: center;
      line-height: 1;
    }
    .case.featured .case-img-brand span { font-size: clamp(48px, 5.5vw, 88px); }

    .case-img-label {
      position: relative;
      z-index: 2;
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.92);
      background: rgba(0,0,0,0.35);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      border: 1px solid rgba(255,255,255,0.18);
      padding: 6px 12px;
      border-radius: 4px;
    }
    .case-tag {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 10px;
      display: block;
    }
    .case h3 {
      font-size: clamp(17px, 1.6vw, 20px);
      font-weight: 700;
      margin-bottom: 12px;
      line-height: 1.25;
      letter-spacing: -0.01em;
    }
    .case-desc {
      font-size: 14px;
      color: var(--ink-3);
      margin-bottom: 20px;
      line-height: 1.55;
    }
    .case-stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 18px 20px;
      padding-top: 20px;
      border-top: 1px solid var(--line);
    }
    .case.featured .case-stats {
      grid-template-columns: repeat(2, 1fr);
      gap: 22px 28px;
    }
    .case-stat-num {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 900;
      color: var(--ink);
      letter-spacing: -0.02em;
      line-height: 1.1;
    }
    .case.featured .case-stat-num { font-size: 26px; }
    .case-stat-lbl {
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink-4);
      margin-top: 4px;
      line-height: 1.35;
    }

    @media (max-width: 860px) {
      .cases-grid { grid-template-columns: 1fr; }
      .case.featured { grid-template-columns: 1fr; }
      .case.featured .case-img { min-height: 220px; }
      .case.featured .case-body { padding: 28px 24px; }
    }

    /* ============================================================
       TESTIMONIOS
    ============================================================ */
    .testimonials-section { background: var(--bg); }
    .testimonials-wrap { overflow: hidden; }
    .testimonials-grid {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding-bottom: 8px;
    }
    .testimonials-grid::-webkit-scrollbar { display: none; }
    .testimonial {
      flex: 0 0 360px;
      scroll-snap-align: start;
      background: var(--bg-card);
      border: 1px solid var(--line);
      border-radius: var(--r-md);
      padding: 32px 28px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .testimonials-nav {
      display: flex;
      gap: 12px;
      margin-top: 32px;
    }
    .testimonials-nav button {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid var(--line-md);
      background: transparent;
      color: var(--ink);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 200ms;
    }
    .testimonials-nav button:hover {
      border-color: var(--ink);
      background: rgba(0,0,0,0.06);
    }
    @media (max-width: 640px) {
      .testimonial { flex: 0 0 86%; }
    }
    .quote-mark {
      font-family: var(--font-display);
      font-size: 56px;
      font-weight: 900;
      color: var(--red);
      line-height: 1;
    }
    .testimonial blockquote {
      font-family: var(--font-body);
      font-size: 15px;
      line-height: 1.65;
      color: var(--ink-2);
      flex: 1;
    }
    .t-person { display: flex; align-items: center; gap: 14px; }
    .t-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--wine-3);
      border: 1px solid var(--line-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 700;
      color: var(--ink-2);
      flex-shrink: 0;
    }
    .t-name {
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      color: var(--ink);
    }
    .t-role {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.04em;
      color: var(--ink-4);
      margin-top: 2px;
    }

    /* Placeholder testimonials */
    .testimonial.placeholder {
      border-style: dashed;
      opacity: 0.5;
      justify-content: center;
      align-items: center;
      min-height: 200px;
    }
    .placeholder-text {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-4);
      text-align: center;
    }

    @media (max-width: 860px) {
      .testimonials-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 1100px) {
      .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* ============================================================
       EQUIPO
    ============================================================ */
    .team-section { background: var(--bg-elev); }
    .team-carousel-wrap { overflow: hidden; }
    .team-carousel {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding-bottom: 8px;
    }
    .team-carousel::-webkit-scrollbar { display: none; }
    .team-card {
      flex: 0 0 260px;
      scroll-snap-align: start;
    }
    .team-photo {
      width: 100%;
      aspect-ratio: 3/4;
      background: var(--bg-card);
      border: 1px dashed var(--line-md);
      border-radius: var(--r-md);
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      position: relative;
    }
    .team-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .team-photo-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
    .team-photo-placeholder svg { opacity: 0.25; }
    .team-photo-placeholder span {
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--ink-4);
    }
    .team-name {
      font-family: var(--font-display);
      font-size: 17px;
      font-weight: 700;
      color: var(--ink);
    }
    .team-role {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink-4);
      margin-top: 4px;
    }
    .team-bio {
      font-size: 13px;
      line-height: 1.5;
      color: var(--ink-3);
      margin-top: 12px;
    }
    .team-nav {
      display: flex;
      gap: 12px;
      margin-top: 32px;
    }
    .team-nav button {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid var(--line-md);
      background: transparent;
      color: var(--ink);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 200ms;
    }
    .team-nav button:hover {
      border-color: var(--ink);
      background: rgba(255,255,255,0.06);
    }

    /* ============================================================
       INSIGHTS / BLOG
    ============================================================ */
    .insights-section { background: var(--bg); }
    .insights-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .insight {
      background: var(--bg-card);
      border: 1px solid var(--line);
      border-radius: var(--r-md);
      overflow: hidden;
      transition: border-color 220ms, transform 220ms;
      display: flex;
      flex-direction: column;
    }
    .insight:hover {
      border-color: var(--line-md);
      transform: translateY(-3px);
    }
    .insight-cover {
      height: 180px;
      position: relative;
      overflow: hidden;
    }
    .insight-cover-art {
      position: absolute;
      inset: 0;
    }
    .insight-cover-art.art-1 {
      background: url('../img/insights/cultura.jpeg') center / cover no-repeat;
    }
    .insight-cover-art.art-2 {
      background: url('../img/insights/confianza-2026.png') center / cover no-repeat;
    }
    .insight-cover-art.art-3 {
      background: url('../img/insights/marca-personal.png') center / cover no-repeat;
    }
    .insight-tag {
      position: absolute;
      top: 16px;
      left: 16px;
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--ink-2);
      background: rgba(0,0,0,0.5);
      border: 1px solid rgba(255,255,255,0.12);
      padding: 4px 10px;
      border-radius: 4px;
    }
    .insight-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }
    .insight-meta {
      display: flex;
      gap: 12px;
      align-items: center;
    }
    .insight-date, .insight-read {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.1em;
      color: var(--ink-4);
    }
    .insight-sep { width: 3px; height: 3px; background: var(--ink-4); border-radius: 50%; }
    .insight h3 {
      font-size: 17px;
      font-weight: 700;
      line-height: 1.3;
      color: var(--ink);
    }
    .insight p {
      font-size: 14px;
      color: var(--ink-3);
      line-height: 1.55;
      flex: 1;
    }
    .insight-link {
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 600;
      color: var(--red);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 4px;
      transition: gap 200ms;
    }
    .insight:hover .insight-link { gap: 10px; }

    @media (max-width: 900px) {
      .insights-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 1100px) {
      .insights-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* ============================================================
       FORMULARIO
    ============================================================ */
    .form-section { background: var(--bg-elev); }
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 420px;
      gap: 80px;
      align-items: start;
    }
    .form-left .section-head { margin-bottom: 0; }

    .form-contact-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-top: 48px;
    }
    .form-contact-item {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .form-contact-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: var(--bg-card);
      border: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .form-contact-icon svg { color: var(--red); }
    .form-contact-label {
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-4);
    }
    .form-contact-val {
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 600;
      color: var(--ink-2);
      margin-top: 2px;
    }

    .smart-form {
      background: var(--bg-card);
      border: 1px solid var(--line);
      border-radius: var(--r-lg);
      padding: 40px 36px;
    }
    .form-group { margin-bottom: 20px; }
    .form-group label {
      display: block;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-3);
      margin-bottom: 8px;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      background: var(--bg-elev);
      border: 1px solid var(--line-md);
      border-radius: var(--r-sm);
      padding: 14px 16px;
      font-family: var(--font-body);
      font-size: 15px;
      color: var(--ink);
      outline: none;
      transition: border-color 200ms;
      appearance: none;
    }
    .form-group input::placeholder,
    .form-group textarea::placeholder {
      color: var(--ink-4);
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--red);
    }
    .form-group textarea {
      height: 120px;
      resize: vertical;
      line-height: 1.5;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .form-submit {
      width: 100%;
      padding: 16px;
      font-size: 16px;
      border-radius: var(--r-sm);
      margin-top: 8px;
    }
    .form-note {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.06em;
      color: var(--ink-4);
      text-align: center;
      margin-top: 14px;
    }

    @media (max-width: 960px) {
      .form-grid { grid-template-columns: 1fr; gap: 60px; }
    }
    @media (max-width: 480px) {
      .form-row { grid-template-columns: 1fr; }
      .smart-form { padding: 28px 20px; }
    }

    /* ============================================================
       TEMA CLARO — de Servicios a Formulario
       (Hero + Clientes siguen oscuros; CTA + footer sin tocar)
    ============================================================ */
    .services-section,
    .methodology-section,
    .cases-section,
    .testimonials-section,
    .team-section,
    .insights-section,
    .form-section {
      --bg:         #F4F4F5;
      --bg-elev:    #ECECEE;
      --bg-card:    #FFFFFF;
      --line:       rgba(0,0,0,0.10);
      --line-md:    rgba(0,0,0,0.16);
      --ink:        #0A0A0A;
      --ink-2:      rgba(0,0,0,0.72);
      --ink-3:      rgba(0,0,0,0.55);
      --ink-4:      rgba(0,0,0,0.40);
      color: var(--ink);
    }

    /* Servicios — tarjetas blancas sobre fondo gris claro */
    .services-section .service { background: var(--bg-card); }
    .services-section .service:hover { background: var(--bg-elev); }
    .services-section .service:hover::before { opacity: 0; }
    .services-section .service:hover .service-num,
    .services-section .service:hover .service-icon { color: var(--red); }
    .services-section .service:hover h3 { color: var(--ink); }
    .services-section .service:hover p { color: var(--ink-3); }

    /* Botones ghost en secciones claras */
    .services-section .btn-ghost:hover,
    .cases-section .btn-ghost:hover,
    .testimonials-section .btn-ghost:hover,
    .team-section .btn-ghost:hover,
    .insights-section .btn-ghost:hover,
    .form-section .btn-ghost:hover { background: rgba(0,0,0,0.05); }

    /* Equipo — flechas del carrusel */
    .team-section .team-nav button:hover { background: rgba(0,0,0,0.06); }

    /* Testimonios — iniciales blancas sobre avatar vino */
    .testimonials-section .t-avatar { color: #fff; }

    /* ============================================================
       CTA FINAL
    ============================================================ */
    .cta-section {
      background: var(--red);
      padding: clamp(80px, 10vw, 130px) 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .cta-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('../img/textura.webp') center / cover no-repeat;
    }
    .cta-inner { position: relative; z-index: 1; }
    .cta-section h2 {
      font-size: clamp(36px, 5.5vw, 72px);
      color: #fff;
      margin-bottom: 8px;
    }
    .cta-section h2 em {
      font-style: italic;
      font-weight: 300;
      opacity: 0.85;
    }
    .cta-sub {
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.65);
      margin-bottom: 40px;
      margin-top: 6px;
    }
    .btn-outline-white {
      background: transparent;
      color: #fff;
      border: 2px solid rgba(255,255,255,0.6);
      padding: 16px 36px;
      font-size: 16px;
    }
    .btn-outline-white:hover {
      background: rgba(255,255,255,0.12);
      border-color: #fff;
    }

    /* ============================================================
       FOOTER
    ============================================================ */
    .footer {
      background: var(--bg-elev);
      border-top: 1px solid var(--line);
      padding: 60px 0 40px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.8fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 60px;
    }
    .footer-brand-name { margin-bottom: 18px; }
    .footer-brand-name img { height: 36px; width: auto; display: block; }
    .footer-desc {
      font-size: 14px;
      color: var(--ink-3);
      line-height: 1.6;
      max-width: 280px;
      margin-bottom: 24px;
    }
    .footer-socials {
      display: flex;
      gap: 12px;
    }
    .footer-social {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      border: 1px solid var(--line-md);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--ink-3);
      transition: all 200ms;
    }
    .footer-social:hover { border-color: var(--ink); color: var(--ink); }
    .footer-col-title {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--ink-4);
      margin-bottom: 20px;
    }
    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-links a {
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 500;
      color: var(--ink-3);
      transition: color 160ms;
    }
    .footer-links a:hover { color: var(--ink); }
    .footer-bottom {
      border-top: 1px solid var(--line);
      padding-top: 28px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }
    .footer-copy {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.06em;
      color: var(--ink-4);
    }

    @media (max-width: 860px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 560px) {
      .footer-grid { grid-template-columns: 1fr; }
    }

    /* ============================================================
       RESPONSIVE GENERAL
    ============================================================ */
    @media (max-width: 640px) {
      .hero-stats { gap: 24px; }
      .hero-ctas { flex-direction: column; }
      .hero-ctas .btn { text-align: center; justify-content: center; }
    }

    /* ============================================================
       ANIMACIONES SCROLL
    ============================================================ */
    .fade-up {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 600ms cubic-bezier(.2,.8,.2,1), transform 600ms cubic-bezier(.2,.8,.2,1);
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (prefers-reduced-motion: reduce) {
      .fade-up { opacity: 1; transform: none; transition: none; }
      .clients-track { animation: none; }
    }

    /* ============================================================
       PÁGINAS INTERNAS — Archive Casos, Single Caso, Insights
    ============================================================ */
    .page-hero {
      background: var(--bg);
      color: var(--ink);
      padding: 160px 0 80px;
      border-bottom: 1px solid var(--line);
    }
    .page-hero .eyebrow { margin-bottom: 24px; }
    .page-hero h1 {
      font-size: clamp(40px, 6vw, 84px);
      letter-spacing: -0.04em;
      line-height: 1.02;
      margin-bottom: 24px;
      max-width: 900px;
    }
    .page-hero .lead {
      max-width: 700px;
      color: var(--ink-2);
    }

    /* Section CTA "Ver más" en home */
    .section-cta {
      display: flex;
      justify-content: center;
      margin-top: 56px;
    }

    /* ----- SINGLE CASO ----- */
    .case-single { background: var(--bg-elev); }
    .case-single-hero {
      position: relative;
      min-height: 70vh;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
      color: #fff;
    }
    .case-single-hero-bg {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, #2a0008 0%, #660013 55%, #B30019 100%);
    }
    .case-single-hero-bg video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .case-single-hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
    }
    .case-single-hero-inner {
      position: relative;
      z-index: 1;
      padding: 140px 0 64px;
    }
    .case-single-back {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      margin-bottom: 32px;
      transition: color 200ms;
    }
    .case-single-back:hover { color: #fff; }
    .case-single-sector {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.85);
      background: rgba(0,0,0,0.35);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(255,255,255,0.18);
      padding: 6px 12px;
      border-radius: 4px;
      margin-bottom: 20px;
    }
    .case-single-client {
      display: block;
      font-family: var(--font-mono);
      font-size: 13px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #fff;
      margin-bottom: 14px;
    }
    .case-single-title {
      font-size: clamp(36px, 5.5vw, 72px);
      letter-spacing: -0.03em;
      line-height: 1.05;
      max-width: 900px;
      color: #fff;
    }

    .case-single-body { padding: 96px 0; }
    .case-single-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr;
      gap: 80px;
      align-items: start;
    }
    .case-single-lead {
      font-size: clamp(18px, 1.8vw, 22px);
      line-height: 1.55;
      color: var(--ink);
      margin-bottom: 36px;
    }
    .case-single-richtext {
      font-size: 16px;
      line-height: 1.75;
      color: var(--ink-2);
    }
    .case-single-richtext p { margin-bottom: 1.2em; }
    .case-single-richtext h2 { margin: 1.6em 0 0.6em; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; }
    .case-single-richtext h3 { margin: 1.4em 0 0.5em; font-size: clamp(18px, 1.8vw, 22px); }
    .case-single-richtext ul, .case-single-richtext ol { margin: 0 0 1.2em 1.4em; }
    .case-single-richtext li { margin-bottom: 0.4em; }
    .case-single-richtext a { color: var(--red); text-decoration: underline; }

    .case-single-aside {
      position: sticky;
      top: 100px;
    }
    .case-single-kpis {
      background: var(--bg-card);
      border: 1px solid var(--line);
      border-radius: var(--r-md);
      padding: 28px;
      margin-bottom: 24px;
    }
    .case-single-kpis-label {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--ink-4);
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--line);
    }
    .case-single-kpi { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .case-single-kpi:last-child { border-bottom: none; }
    .case-single-kpi-num {
      font-family: var(--font-display);
      font-size: 28px;
      font-weight: 900;
      color: var(--ink);
      letter-spacing: -0.02em;
      line-height: 1;
    }
    .case-single-kpi-lbl {
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink-4);
      margin-top: 6px;
    }
    .case-single-cta {
      background: var(--bg-card);
      border: 1px solid var(--line);
      border-radius: var(--r-md);
      padding: 28px;
      text-align: center;
    }
    .case-single-cta p {
      margin-bottom: 16px;
      color: var(--ink-2);
      font-size: 15px;
    }

    .case-single-related { background: var(--bg); padding: 96px 0; border-top: 1px solid var(--line); }
    .related-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .related-grid .case { grid-column: auto !important; }

    /* ----- SINGLE POST ----- */
    .post-single { background: var(--bg); padding-bottom: 96px; }
    .post-single-hero { padding: 160px 0 48px; border-bottom: 1px solid var(--line); }
    .post-single-back {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--ink-3);
      text-decoration: none;
      margin-bottom: 28px;
      transition: color 200ms;
    }
    .post-single-back:hover { color: var(--ink); }
    .post-single-tag {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 16px;
    }
    .post-single-hero h1 {
      font-size: clamp(32px, 5vw, 64px);
      letter-spacing: -0.03em;
      line-height: 1.08;
      max-width: 900px;
      margin-bottom: 24px;
    }
    .post-single-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink-4);
    }
    .post-single-cover { padding: 48px 0 0; }
    .post-single-cover-img {
      width: 100%;
      aspect-ratio: 16/9;
      border-radius: var(--r-md);
    }
    .post-single-body { padding: 64px 0 32px; }
    .post-single-content {
      max-width: 760px;
      margin: 0 auto;
      font-size: 18px;
      line-height: 1.75;
      color: var(--ink-2);
    }
    .post-single-content p { margin-bottom: 1.3em; }
    .post-single-content h2 { margin: 1.8em 0 0.6em; font-size: clamp(26px, 2.6vw, 36px); color: var(--ink); letter-spacing: -0.02em; }
    .post-single-content h3 { margin: 1.5em 0 0.5em; font-size: clamp(20px, 2vw, 26px); color: var(--ink); }
    .post-single-content ul, .post-single-content ol { margin: 0 0 1.3em 1.4em; }
    .post-single-content li { margin-bottom: 0.4em; }
    .post-single-content a { color: var(--red); text-decoration: underline; }
    .post-single-content blockquote {
      border-left: 3px solid var(--red);
      padding: 8px 0 8px 24px;
      margin: 1.6em 0;
      font-size: 20px;
      font-style: italic;
      color: var(--ink);
    }
    .post-single-content img {
      max-width: 100%;
      height: auto;
      border-radius: var(--r-md);
      margin: 1.6em 0;
    }
    .post-single-related { padding: 80px 0; border-top: 1px solid var(--line); }

    /* Pagination */
    .pagination a, .pagination span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 14px;
      border: 1px solid var(--line-md);
      border-radius: var(--r-sm);
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--ink-2);
      text-decoration: none;
      transition: all 200ms;
    }
    .pagination a:hover { border-color: var(--ink); color: var(--ink); }
    .pagination .current { background: var(--red); border-color: var(--red); color: #fff; }

    @media (max-width: 860px) {
      .case-single-grid { grid-template-columns: 1fr; gap: 48px; }
      .case-single-aside { position: static; }
      .related-grid { grid-template-columns: 1fr !important; }
      .page-hero { padding: 120px 0 60px; }
    }

    /* ============================================================
       FIX producción — chevrons de carruseles (testimonios + equipo)
       En el live, CSS de otros plugins (Elementor/WP) pisa el width
       y el color del botón: salen ovalados y con el chevron invisible.
       Forzamos forma circular y trazo oscuro explícito.
       ============================================================ */
    .testimonials-nav button,
    .team-nav button {
      width: 44px !important;
      height: 44px !important;
      min-width: 44px !important;
      flex: 0 0 44px !important;
      padding: 0 !important;
      border-radius: 50% !important;
      box-sizing: border-box !important;
      color: #0A0A0A !important;
    }
    .testimonials-nav button svg,
    .team-nav button svg {
      width: 18px !important;
      height: 18px !important;
      stroke: #0A0A0A !important;
      display: block !important;
    }

    /* Case cards clickeables — anchor con display:contents para no romper la grilla */
    .case-link {
      display: contents;
      color: inherit;
      text-decoration: none;
    }
    .cases-grid .case {
      transition: transform 240ms ease;
      cursor: pointer;
    }
    .cases-grid .case:hover {
      transform: translateY(-4px);
    }
    .cases-grid .case .case-img-bg {
      transition: transform 600ms ease;
    }
    .cases-grid .case:hover .case-img-bg {
      transform: scale(1.03);
    }

    /* ============================================================
       FIX — Contact Form 7 dentro de .smart-form
       CF7 envuelve los inputs en <span class="wpcf7-form-control-wrap">
       y eso rompe el grid / desborda. Forzamos width:100% y box-sizing.
       ============================================================ */
    .smart-form .wpcf7-form-control-wrap {
      display: block;
      width: 100%;
    }
    .smart-form input[type="text"],
    .smart-form input[type="email"],
    .smart-form input[type="tel"],
    .smart-form textarea {
      width: 100% !important;
      box-sizing: border-box !important;
      background: var(--bg-elev);
      border: 1px solid var(--line-md);
      border-radius: var(--r-sm);
      padding: 14px 16px;
      font-family: var(--font-body);
      font-size: 15px;
      color: var(--ink);
      transition: border-color 200ms ease, background 200ms ease;
    }
    .smart-form input:focus,
    .smart-form textarea:focus {
      outline: none;
      border-color: var(--red);
    }
    .smart-form textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
    .smart-form .form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
    .smart-form .form-field > label {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 15px;
      color: var(--ink);
    }
    .smart-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
    .smart-form .form-row .form-field { margin-bottom: 18px; }
    @media (max-width: 480px) {
      .smart-form .form-row { grid-template-columns: 1fr; }
    }
    /* Botón: tamaño compacto (no full-width) */
    .smart-form input[type="submit"].wpcf7-submit,
    .smart-form .wpcf7-submit {
      width: auto !important;
      padding: 16px 40px;
      margin-top: 8px;
      cursor: pointer;
    }
    /* Mensajes de respuesta CF7 */
    .smart-form .wpcf7-response-output {
      border-radius: var(--r-sm);
      padding: 12px 16px;
      font-size: 14px;
      margin-top: 16px;
    }
    .smart-form .wpcf7-not-valid-tip { color: var(--red); font-size: 12px; margin-top: 4px; }

    /* ============================================================
       FIX — Botón Scroll to Top (plugin externo lo deja sin icono).
       Inyectamos una flecha hacia arriba como icono.
       ============================================================ */
    .trx_addons_scroll_to_top,
    button[aria-label="Scroll to top"],
    a[aria-label="Scroll to top"] {
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 19V5M5 12l7-7 7 7'/></svg>") !important;
      background-position: center !important;
      background-repeat: no-repeat !important;
      background-size: 22px !important;
      background-color: #C80000 !important;
      border: none !important;
      color: transparent !important;
      text-indent: -9999px !important;
      box-shadow: 0 6px 20px -6px rgba(0,0,0,0.35) !important;
    }
    .trx_addons_scroll_to_top::before,
    .trx_addons_scroll_to_top::after { content: none !important; display: none !important; }
    .trx_addons_scroll_to_top:hover,
    button[aria-label="Scroll to top"]:hover,
    a[aria-label="Scroll to top"]:hover {
      background-color: #E01010 !important;
    }
