/* ────────────────────────────────────────────────────────────────
   src/styles/globals.css
   Hardsoft web — shared design tokens + component styles.

   Used by:
     • All Astro pages (import '../../styles/globals.css')
     • All HTML preview files (<link rel="stylesheet" href="../src/styles/globals.css">)

   ── Sections ──────────────────────────────────────────────────────
   1. Design tokens         (:root variables: color / type / space)
   2. Reset & base          (box-sizing, body, fonts, smooth scroll)
   3. Utility               (.display, .tnum)
   4. Page chrome           (.page-bg-top, .shell)
   5. Header                (.header, .brand, .lang, .menu-btn)
   6. Breadcrumb            (.breadcrumb)
   7. Service hero          (.svc-hero, .svc-hero-art)
   8. Section scaffolding   (section, .section-head)
   9. Common components     (.eyebrow, .btn, .trust-strip, .for-card,
                             .inc, .timeline, .s4-route, .ind-grid,
                             .diff-grid, .quote, .case-card, .faq,
                             .final-cta, .wa-btn, .form-card, .ribbon,
                             .footer)
   10. Responsive           (@media queries)
   ──────────────────────────────────────────────────────────────── */

:root {
    --page-bg:     #EEF1F6;
    --navy:        #0F1A2E;
    --navy-2:      #1D3557;
    --navy-3:      #2E4063;
    --orange:      #E66524;
    --orange-2:    #D45A1B;
    --orange-soft: #FCEEE3;
    --ink:         #0F1A2E;
    --ink-soft:    #3B4757;
    --muted:       #6B7785;
    --muted-2:     #95A0AD;
    --line:        #DDE3EC;
    --line-soft:   rgba(15,26,46,0.08);
    --tile:        #FFFFFF;
    --bg-soft:     #F4F7FB;
  }

  html { scroll-behavior: smooth; }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: var(--page-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    margin: 0;
    min-height: 100%;
    font-size: 17px;
    line-height: 1.6;
  }
  .display { font-family: 'Inter Tight', 'Inter', system-ui, sans-serif; }
  .tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; }

  /* ── Page chrome (header) — same look as Hero ─────────────── */
  .page-bg-top {
    position: relative;
    background:
      radial-gradient(80% 60% at 85% 10%, rgba(230,101,36,0.06) 0%, transparent 60%),
      radial-gradient(120% 90% at 15% 0%, #F4F8FE 0%, #E6EEFB 40%, #D7E3F4 100%);
  }
  .shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
    padding: 28px 0 4px;
  }
  .brand { display: inline-flex; align-items: center; gap: 12px; }
  .brand-mark {
    position: relative;
    width: 38px; height: 38px;
    border-radius: 9px;
    background: var(--navy);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700; font-size: 19px; letter-spacing: -0.04em;
  }
  .brand-mark::after {
    content: ""; position: absolute; right: -3px; bottom: -3px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 3px #EBF1FA;
  }
  .brand-name {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600; font-size: 19px;
    letter-spacing: -0.025em;
    color: var(--navy);
  }
  .brand-tld {
    font-family: 'Inter', sans-serif;
    font-weight: 500; font-size: 12px;
    color: var(--muted);
    padding-left: 1px;
  }
  .header-right { display: flex; align-items: center; gap: 14px; }
  .lang {
    display: inline-flex; align-items: center;
    border: 1px solid rgba(15,26,46,0.12);
    border-radius: 999px;
    padding: 3px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .lang button {
    border: 0; background: transparent;
    font-size: 12px; font-weight: 600;
    color: var(--muted);
    padding: 6px 13px; border-radius: 999px;
    cursor: pointer;
    letter-spacing: 0.06em;
    transition: color 0.15s;
  }
  .lang button:hover { color: var(--ink-soft); }
  .lang button.active { background: var(--navy); color: #fff; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 14px;
    background: var(--navy); color: #fff;
    border: 0; border-radius: 999px;
    padding: 12px 14px 12px 22px;
    font-size: 13.5px; font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
  }
  .menu-btn:hover { background: #1A2742; }
  .menu-btn .lines {
    display: inline-flex; flex-direction: column; gap: 4px;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    align-items: center; justify-content: center;
  }
  .menu-btn .lines i {
    display: block; height: 1.5px; background: #fff; border-radius: 1px;
  }
  .menu-btn .lines i:nth-child(1) { width: 14px; }
  .menu-btn .lines i:nth-child(2) { width: 10px; }

  /* ── Breadcrumb ───────────────────────────────────────────── */
  .breadcrumb {
    display: flex; align-items: center; gap: 10px;
    padding: 28px 0 0;
    font-size: 12.5px;
    color: var(--muted);
    flex-wrap: wrap;
  }
  .breadcrumb a {
    color: var(--ink-soft);
    transition: color 0.15s;
  }
  .breadcrumb a:hover { color: var(--navy); }
  .breadcrumb .sep {
    color: var(--muted-2);
    font-weight: 500;
  }
  .breadcrumb .here {
    color: var(--navy);
    font-weight: 600;
  }

  /* ── Service hero ─────────────────────────────────────────── */
  .svc-hero {
    padding: 48px 0 80px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 72px;
    align-items: center;
  }
  .svc-hero-meta { max-width: 920px; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  .eyebrow::before {
    content: ""; width: 32px; height: 1px; background: var(--orange);
  }
  .eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
  }
  .svc-h1 {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(40px, 5.2vw, 64px);
    font-weight: 600;
    letter-spacing: -0.034em;
    line-height: 1.02;
    color: var(--navy);
    text-wrap: balance;
  }
  .svc-h1 em {
    font-style: italic; font-weight: 500; color: var(--orange);
  }
  .svc-lede {
    margin-top: 24px;
    font-size: 19px;
    line-height: 1.6;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 620px;
  }
  .svc-lede b { color: var(--navy); font-weight: 600; }

  .cta-row {
    margin-top: 36px;
    display: flex; gap: 14px;
    flex-wrap: wrap;
  }
  .btn {
    display: inline-flex; align-items: center; gap: 12px;
    border: 0; border-radius: 999px;
    padding: 13px 16px 13px 24px;
    font-size: 16px; font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  }
  .btn-primary {
    background: var(--orange); color: #fff;
    box-shadow: 0 10px 28px rgba(230,101,36,0.32);
  }
  .btn-primary:hover {
    background: var(--orange-2);
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(230,101,36,0.36);
  }
  .btn-primary .ico {
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .btn-ghost {
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(15,26,46,0.14);
    color: var(--navy);
    padding: 13px 22px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .btn-ghost:hover {
    background: #fff;
    border-color: var(--navy);
  }

  /* Mini trust strip */
  .trust-strip {
    margin-top: 44px;
    display: flex; gap: 32px;
    flex-wrap: wrap;
    align-items: center;
  }
  .trust {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; color: var(--ink-soft);
  }
  .trust b { color: var(--navy); font-weight: 600; }
  .trust .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 3px rgba(230,101,36,0.18);
  }

  /* Hero side card */
  .svc-hero-art {
    position: relative;
    aspect-ratio: 1 / 1.04;
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow:
      0 30px 60px -30px rgba(15,26,46,0.25),
      0 8px 18px -6px rgba(15,26,46,0.08);
    padding: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .svc-hero-art .badge {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--orange-soft);
    color: var(--orange-2);
    border: 1px solid #F4C9A8;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .svc-hero-art .label {
    margin-top: 18px;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--muted);
    text-transform: uppercase;
  }
  .svc-hero-art .stat-big {
    margin-top: 8px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    font-size: 64px;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
  }
  .svc-hero-art .stat-big .sfx { color: var(--orange); font-size: 0.45em; }
  .svc-hero-art .stat-desc {
    margin-top: 12px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
  }
  .svc-hero-art .module-grid {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
  }
  .svc-hero-art .module {
    padding: 9px 6px;
    text-align: center;
    background: var(--bg-soft);
    border-radius: 6px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--navy);
  }
  .svc-hero-art .module.accent {
    background: var(--navy);
    color: #fff;
  }

  /* ── Generic section scaffolding ──────────────────────────── */
  section { padding: 96px 0; }
  section.tight { padding: 80px 0; }
  section.bg-soft { background: var(--bg-soft); }
  section.bg-navy { background: var(--navy); color: #fff; }

  .section-head {
    max-width: 960px;
    margin-bottom: 52px;
  }
  .section-head.center {
    margin-left: auto; margin-right: auto;
    text-align: center;
  }
  .section-head.center .eyebrow { justify-content: center; }
  .section-head h2 {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 600;
    letter-spacing: -0.028em;
    line-height: 1.08;
    color: var(--navy);
    text-wrap: balance;
  }
  .section-head h2 em { font-style: italic; font-weight: 500; color: var(--orange); }
  section.bg-navy .section-head h2 { color: #fff; }
  section.bg-navy .eyebrow { color: rgba(255,255,255,0.7); }
  section.bg-navy .eyebrow::before { background: var(--orange); }
  .section-head p {
    margin-top: 16px;
    font-size: 18px; line-height: 1.6;
    color: var(--ink-soft);
    max-width: 640px;
  }
  section.bg-navy .section-head p { color: rgba(255,255,255,0.75); }

  /* ── For whom (3 cards) ───────────────────────────────────── */
  .for-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .for-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px 26px 28px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  }
  .for-card:hover {
    border-color: rgba(230,101,36,0.4);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px -22px rgba(15,26,46,0.18);
  }
  .for-card .num {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700; font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--orange);
  }
  .for-card .copy {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
  }
  .for-card .copy b { color: var(--navy); font-weight: 600; }

  /* ── Includes (6 features) ────────────────────────────────── */
  .inc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
  }
  .inc {
    background: #FFFFFF;
    padding: 28px 28px 32px;
    display: flex; flex-direction: column;
    transition: background 0.2s;
  }
  .inc:hover { background: #FBFCFD; }
  .inc .ico-box {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--orange-soft);
    color: var(--orange);
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #F4C9A8;
  }
  .inc h3 {
    margin-top: 18px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.014em;
    color: var(--navy);
    line-height: 1.2;
  }
  .inc p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-soft);
  }

  /* ── Timeline ─────────────────────────────────────────────── */
  .timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
  }
  .timeline::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), rgba(230,101,36,0.2));
    border-radius: 1px;
    z-index: 0;
  }
  .step {
    position: relative;
    padding: 0 14px;
    z-index: 1;
  }
  .step .num {
    width: 56px; height: 56px; border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid var(--orange);
    color: var(--orange);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700; font-size: 18px;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    box-shadow: 0 0 0 6px rgba(230,101,36,0.08);
  }
  .step h3 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.012em;
    color: var(--navy);
    line-height: 1.2;
  }
  .step p {
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ink-soft);
  }

  /* ── S/4HANA route (navy callout) ─────────────────────────── */
  .s4-route {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
  }
  .s4-route .deadlines {
    display: flex; flex-direction: column; gap: 14px;
  }
  .s4-row {
    display: flex; align-items: center; gap: 18px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
  }
  .s4-row .yr {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700; font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--orange);
    flex-shrink: 0;
    min-width: 64px;
  }
  .s4-row .lbl {
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.45;
  }
  .s4-row .lbl b { color: #fff; font-weight: 600; }
  .s4-links {
    margin-top: 28px;
    display: flex; flex-wrap: wrap; gap: 12px;
  }
  .s4-link {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 9px 16px;
    color: #fff;
    font-size: 13px; font-weight: 500;
    transition: background 0.15s, border-color 0.15s;
  }
  .s4-link:hover {
    background: rgba(230,101,36,0.18);
    border-color: rgba(230,101,36,0.6);
  }

  /* ── Industries band ──────────────────────────────────────── */
  .ind-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
  }
  .ind {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 22px 14px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
  }
  .ind:hover {
    border-color: rgba(230,101,36,0.4);
    transform: translateY(-2px);
  }
  .ind .ico-box {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--navy);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .ind .name {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: -0.005em;
    color: var(--navy);
    line-height: 1.25;
  }

  /* ── Differentiators (6 asymmetric) ───────────────────────── */
  .diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .diff {
    padding: 26px 26px 28px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: flex; flex-direction: column;
    gap: 14px;
  }
  .diff .mark {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--navy);
    color: var(--orange);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700; font-size: 13px;
    letter-spacing: -0.02em;
  }
  .diff p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
  }
  .diff p b { color: var(--navy); font-weight: 600; }

  /* ── Testimonial (navy callout) ───────────────────────────── */
  .quote {
    max-width: 1040px;
    margin: 0 auto;
    text-align: left;
  }
  .quote .mark {
    font-family: 'Inter Tight', sans-serif;
    font-size: 80px;
    line-height: 0.6;
    color: var(--orange);
    margin-bottom: 18px;
  }
  .quote blockquote {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 500;
    letter-spacing: -0.022em;
    line-height: 1.25;
    color: #fff;
    text-wrap: balance;
  }
  .quote blockquote em {
    font-style: italic; color: var(--orange); font-weight: 500;
  }
  .quote cite {
    display: block;
    margin-top: 28px;
    font-style: normal;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
  }

  /* ── Case study (3 blocks) ────────────────────────────────── */
  .case-card {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px 40px 36px;
  }
  .case-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.022em;
    color: var(--navy);
    margin-bottom: 28px;
    display: flex; align-items: center; gap: 12px;
    flex-wrap: wrap;
  }
  .case-title .pill {
    display: inline-flex;
    background: var(--orange-soft);
    color: var(--orange);
    border: 1px solid #F4C9A8;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
  }
  .case-block {
    background: #FFFFFF;
    padding: 22px 24px 24px;
  }
  .case-block .lbl {
    font-family: 'Inter Tight', sans-serif;
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .case-block p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
  }
  .case-block.result {
    background: var(--navy);
    color: #fff;
  }
  .case-block.result .lbl { color: rgba(255,255,255,0.6); }
  .case-block.result p { color: rgba(255,255,255,0.9); }
  .case-block.result .big {
    margin-top: 6px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.028em;
    line-height: 1.05;
    color: #fff;
    font-variant-numeric: tabular-nums;
  }
  .case-block.result .big em {
    font-style: normal;
    color: var(--orange);
  }

  /* ── FAQ ──────────────────────────────────────────────────── */
  .faq {
    max-width: 880px;
    margin: 0 auto;
  }
  .faq details {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .faq details:first-of-type { border-top: 1px solid var(--line); }
  .faq summary {
    list-style: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.012em;
    color: var(--navy);
    line-height: 1.3;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .chev {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--navy);
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform 0.2s, background 0.2s, color 0.2s;
  }
  .faq details[open] summary .chev {
    transform: rotate(45deg);
    background: var(--orange);
    color: #fff;
  }
  .faq details p {
    margin-top: 14px;
    padding-right: 44px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
  }

  /* ── Final CTA ────────────────────────────────────────────── */
  .final-cta {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
  }
  .final-cta-meta h2 {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(32px, 3.6vw, 44px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.06;
    color: #fff;
    text-wrap: balance;
  }
  .final-cta-meta h2 em { font-style: italic; color: var(--orange); }
  .final-cta-meta p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.78);
    max-width: 480px;
  }
  .wa-list {
    margin-top: 36px;
    display: flex; flex-direction: column; gap: 12px;
  }
  .wa-btn {
    display: inline-flex; align-items: center; gap: 14px;
    background: #25D366;
    color: #08231A;
    border-radius: 14px;
    padding: 16px 22px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.15s, transform 0.15s;
    align-self: flex-start;
  }
  .wa-btn:hover { background: #20B85A; transform: translateY(-1px); }
  .wa-btn .ico-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(8,35,26,0.16);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .wa-btn .num {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 16px;
  }
  .wa-btn .sub {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #1F4534;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 2px;
  }

  .form-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 32px;
    color: var(--ink);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
  }
  .form-card h3 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.014em;
    color: var(--navy);
    margin-bottom: 18px;
  }
  .form-grid {
    display: grid; gap: 12px;
  }
  .form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .field {
    display: flex; flex-direction: column; gap: 6px;
  }
  .field label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .field input, .field textarea {
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(230,101,36,0.15);
  }
  .field textarea {
    min-height: 92px;
    resize: vertical;
    font-family: inherit;
  }
  .form-card button {
    margin-top: 6px;
    background: var(--navy);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.15s, transform 0.15s;
  }
  .form-card button:hover { background: #1A2742; transform: translateY(-1px); }
  .form-card small {
    display: block; margin-top: 12px;
    font-size: 11.5px; color: var(--muted);
    line-height: 1.5;
  }

  /* ── Ribbon (Confiado por) ────────────────────────────────── */
  .ribbon {
    padding: 28px 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    display: flex; align-items: center; gap: 40px;
    flex-wrap: wrap;
  }
  .ribbon-label {
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: uppercase;
  }
  .ribbon-list {
    display: flex; align-items: center; gap: 36px;
    flex-wrap: wrap;
  }
  .pl {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600; font-size: 14.5px;
    letter-spacing: -0.01em;
    color: var(--ink-soft);
    opacity: 0.82;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .pl .badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px;
    border-radius: 4px;
    background: var(--navy);
    color: #fff;
    font-size: 9px; font-weight: 700;
  }
  .pl.partner .badge { background: var(--orange); }

  /* ── Footer ───────────────────────────────────────────────── */
  .footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 56px 0 32px;
    font-size: 13px;
  }
  .footer .shell {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
  }
  .footer h4 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
  }
  .footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
  .footer a:hover { color: #fff; }
  .footer .brand-name { color: #fff; font-size: 17px; }
  .footer .lead {
    margin-top: 14px;
    max-width: 360px;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
  }
  .footer-base {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.45);
    font-size: 12px;
  }

  /* ── Responsive ───────────────────────────────────────────── */
  @media (max-width: 1180px) {
    .ind-grid { grid-template-columns: repeat(4, 1fr); }
  }
  @media (max-width: 1080px) {
    .svc-hero { grid-template-columns: 1fr; gap: 48px; padding: 32px 0 64px; }
    .svc-hero-art { max-width: 520px; aspect-ratio: 1.4 / 1; }
    .timeline { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
    .timeline::before { display: none; }
    .for-grid { grid-template-columns: 1fr; }
    .inc-grid { grid-template-columns: 1fr 1fr; }
    .diff-grid { grid-template-columns: 1fr 1fr; }
    .s4-route { grid-template-columns: 1fr; gap: 36px; }
    .case-grid { grid-template-columns: 1fr; }
    .final-cta { grid-template-columns: 1fr; gap: 36px; }
    .footer .shell { grid-template-columns: 1fr 1fr; gap: 32px; }
  }
  @media (max-width: 720px) {
    .shell { padding: 0 16px; }
    .header { padding: 20px 0 0; }
    .lang { display: none; }
    .brand-tld { display: none; }
    .breadcrumb { padding: 20px 0 0; font-size: 12px; }
    section { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }
    .svc-hero-art { padding: 22px; }
    .svc-hero-art .stat-big { font-size: 48px; }
    .trust-strip { gap: 18px; }
    .timeline { grid-template-columns: 1fr; gap: 28px; }
    .inc-grid, .diff-grid, .ind-grid { grid-template-columns: 1fr 1fr; }
    .ribbon { gap: 18px; }
    .ribbon-list { gap: 18px; }
    .footer .shell { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
  }

/* ── bg-navy variants for shared components ──────────────────────── */
/* Timeline on dark sections (e.g. /servicios/s4hana roadmap) */
.bg-navy .timeline .step h3 { color: #fff; }
.bg-navy .timeline .step p  { color: rgba(255,255,255,0.78); }
.bg-navy .timeline .step .num {
  background: #FFFFFF;
  box-shadow: 0 0 0 6px rgba(230,101,36,0.16);
}
.bg-navy .timeline::before {
  background: linear-gradient(90deg, var(--orange), rgba(230,101,36,0.35));
}

/* ── Timeline 6-column variant (e.g. /servicios/implementacion) ──── */
.timeline-6 { grid-template-columns: repeat(6, 1fr) !important; }
.timeline-6::before { left: 7%; right: 7%; }
@media (max-width: 1080px) { .timeline-6 { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 720px)  { .timeline-6 { grid-template-columns: 1fr !important; } }

/* ── Timeline 4-column variant (e.g. /servicios/soporte) ────────── */
.timeline-4 { grid-template-columns: repeat(4, 1fr) !important; }
.timeline-4::before { left: 10%; right: 10%; }
@media (max-width: 1080px) { .timeline-4 { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 720px)  { .timeline-4 { grid-template-columns: 1fr !important; } }

/* ── Service tiers comparison (AMS levels) ──────────────────────── */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tier {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 28px 22px 26px;
  display: flex; flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s, background 0.2s;
}
.tier:hover { border-color: rgba(255,255,255,0.20); background: rgba(255,255,255,0.06); }
.tier.featured {
  background: linear-gradient(180deg, rgba(230,101,36,0.12) 0%, rgba(230,101,36,0.03) 60%);
  border-color: rgba(230,101,36,0.5);
  box-shadow: 0 20px 40px -24px rgba(230,101,36,0.3);
}
.tier-head { display: flex; flex-direction: column; gap: 6px; }
.tier-name {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.tier.featured .tier-name {
  background: var(--orange);
  color: #fff;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}
.tier-tagline {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.018em;
  color: #fff;
  line-height: 1.25;
}
.tier-features {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,0.86);
}
.tier-features li:last-child { border-bottom: 0; }
.tier-features .lbl {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
  width: 86px;
  padding-top: 1px;
}
.tier-features .val { color: #fff; font-weight: 500; flex: 1; }
.tier-features .val b { color: var(--orange); font-weight: 600; }
.tier-features .val.dash { color: rgba(255,255,255,0.30); font-style: italic; }
@media (max-width: 1080px) { .tiers-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .tiers-grid { grid-template-columns: 1fr; } .tier-features .lbl { width: 96px; } }


/* ── Service cards (hub /servicios + home Services section) ─────── */
.services-hub {
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
}
.services-hub::before {
  content: "";
  position: absolute;
  top: -200px; right: -100px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230,101,36,0.14) 0%, rgba(230,101,36,0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.services-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.sv-head { max-width: 880px; margin-bottom: 64px; }
.sv-headline {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--navy);
  margin: 28px 0 0;
  text-wrap: balance;
}
.sv-headline em { font-style: italic; font-weight: 500; color: var(--orange); }
.sv-sub {
  margin: 22px 0 0;
  font-size: 16px; line-height: 1.55;
  color: var(--ink-soft);
  max-width: 640px;
}
.sv-sub b { color: var(--navy); font-weight: 600; }

.sv-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.sv-card:nth-child(1) { grid-column: 1 / span 2; }
.sv-card:nth-child(2) { grid-column: 3 / span 2; }
.sv-card:nth-child(3) { grid-column: 5 / span 2; }
.sv-card:nth-child(4) { grid-column: 2 / span 2; }
.sv-card:nth-child(5) { grid-column: 4 / span 2; }

.sv-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 32px 32px 30px;
  color: #fff;
  background: radial-gradient(120% 90% at 90% 0%, #2E4063 0%, #1D3557 40%, #0F1A2E 90%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 48px -28px rgba(15, 26, 46, 0.45),
    0 6px 14px -6px rgba(15, 26, 46, 0.18);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s,
    border-color 0.25s;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.sv-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: -1px -1px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 75%, transparent 100%);
  pointer-events: none;
}
.sv-card::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  right: -90px; top: -90px;
  background: radial-gradient(closest-side, rgba(230,101,36,0.42) 0%, rgba(230,101,36,0.10) 50%, transparent 75%);
  filter: blur(2px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
  opacity: 0.85;
}
.sv-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.14);
}
.sv-card:hover::after {
  opacity: 1;
  transform: translate(-12px, 8px) scale(1.06);
}
.sv-card.is-featured { border-color: rgba(230,101,36,0.22); }
.sv-card.is-featured::after {
  background: radial-gradient(closest-side, rgba(230,101,36,0.58) 0%, rgba(230,101,36,0.14) 50%, transparent 75%);
  opacity: 1;
}
.sv-badge {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: rgba(230,101,36,0.18);
  border: 1px solid rgba(230,101,36,0.45);
  color: #FCEEE3;
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.sv-card-inner {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column;
  flex: 1;
}
.sv-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange);
}
.sv-eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--orange); border-radius: 1px;
}
.sv-title {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 26px; font-weight: 600;
  letter-spacing: -0.022em; line-height: 1.1;
  color: #fff;
  margin: 14px 0 0;
}
.sv-copy {
  font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 14px 0 0;
  max-width: 460px;
}
.sv-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 16px;
}
.sv-chips .chip {
  display: inline-flex; align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.01em;
}
.sv-cta {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  margin-top: 24px;
  padding: 10px 20px 10px 18px;
  border: 1px solid rgba(230,101,36,0.55);
  border-radius: 999px;
  background: rgba(230,101,36,0.02);
  color: var(--orange);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.2s;
}
.sv-cta:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.sv-cta svg { transition: transform 0.2s; }
.sv-cta:hover svg { transform: translateX(3px); }

/* ── Pillars (4-card uniform grid) ──────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pillar:hover {
  border-color: rgba(230,101,36,0.4);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -22px rgba(15,26,46,0.18);
}
.pillar .num {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; color: var(--orange);
}
.pillar h3 {
  margin-top: 14px;
  font-family: 'Inter Tight','Inter',sans-serif;
  font-weight: 600; font-size: 17px;
  letter-spacing: -0.014em;
  color: var(--navy);
  line-height: 1.25;
}
.pillar p {
  margin-top: 10px;
  font-size: 16px; line-height: 1.6;
  color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 1100px) {
  .sv-grid { grid-template-columns: 1fr 1fr; }
  .sv-card:nth-child(1),
  .sv-card:nth-child(2),
  .sv-card:nth-child(3),
  .sv-card:nth-child(4) { grid-column: auto; }
  .sv-card:nth-child(5) { grid-column: 1 / -1; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .services-hub { padding: 64px 0 80px; }
  .services-inner { padding: 0 24px; }
  .sv-grid { grid-template-columns: 1fr; gap: 16px; }
  .sv-card:nth-child(5) { grid-column: auto; }
  .sv-card { padding: 24px 24px 22px; min-height: 0; }
  .sv-card::after { width: 220px; height: 220px; right: -80px; top: -80px; }
  .sv-title { font-size: 22px; }
  .sv-copy { font-size: 14px; }
  .pillars-grid { grid-template-columns: 1fr; }
}


/* ── Header inline nav (Servicios · Nosotros) ───────────────────── */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex: 1;
  margin: 0 24px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: -0.005em;
  position: relative;
  padding: 8px 4px;
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--navy); }
.header-nav a.active {
  color: var(--navy);
  font-weight: 600;
}
.header-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}
@media (max-width: 820px) {
  .header-nav { display: none; }
}

/* Hide hamburger "Menú" button on desktop — only show when nav collapses */
@media (min-width: 821px) {
  .menu-btn { display: none !important; }
}

/* ── Metrics band (4 big KPIs on /nosotros, /casos, etc) ────────── */
.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.metric {
  background: #fff;
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metric .v {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.metric .v em {
  font-style: normal;
  color: var(--orange);
}
.metric .l {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.metric .l b { color: var(--navy); font-weight: 600; }
@media (max-width: 1080px) { .metrics-band { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .metrics-band { grid-template-columns: 1fr; } }

/* ── Coverage list (cobertura nacional) ─────────────────────────── */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.coverage-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.coverage-row:hover {
  border-color: rgba(230,101,36,0.4);
  transform: translateY(-1px);
}
.coverage-row .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(230,101,36,0.16);
  flex-shrink: 0;
}
.coverage-row .name {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--navy);
}
.coverage-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
@media (max-width: 820px) { .coverage-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .coverage-grid { grid-template-columns: 1fr; } }

/* ── Valor card (4 numbered values) ─────────────────────────────── */
.pillar.valor .num {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--orange);
  display: block;
}
.pillar.valor h3 { margin-top: 8px; }


/* ── Filter chips (passive, /casos) ─────────────────────────────── */
.filter-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.filter-chips .fc {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.01em;
  cursor: default;
  transition: border-color 0.15s, color 0.15s;
}
.filter-chips .fc:hover { border-color: var(--muted-2); color: var(--navy); }
.filter-chips .fc.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ── Case-mini cards (aggregator /casos) ────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.case-mini:nth-child(1) { grid-column: 1 / span 2; }
.case-mini:nth-child(2) { grid-column: 3 / span 2; }
.case-mini:nth-child(3) { grid-column: 5 / span 2; }
.case-mini:nth-child(4) { grid-column: 2 / span 2; }
.case-mini:nth-child(5) { grid-column: 4 / span 2; }

.case-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.case-mini:hover {
  border-color: rgba(230,101,36,0.4);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -22px rgba(15,26,46,0.18);
}
.case-mini .tag {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.case-mini .line {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.32;
  color: var(--navy);
}
.case-mini .nums {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.case-mini .nums b { color: var(--orange); }
.case-mini .svc-link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-700, var(--navy));
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}
.case-mini .svc-link:hover { color: var(--orange); }
.case-mini .svc-link svg { transition: transform 0.2s; }
.case-mini .svc-link:hover svg { transform: translateX(2px); }

/* ── Testimonial-mini cards (5 quotes side-by-side) ─────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.test-mini:nth-child(1) { grid-column: 1 / span 2; }
.test-mini:nth-child(2) { grid-column: 3 / span 2; }
.test-mini:nth-child(3) { grid-column: 5 / span 2; }
.test-mini:nth-child(4) { grid-column: 2 / span 2; }
.test-mini:nth-child(5) { grid-column: 4 / span 2; }

.test-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px 24px;
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
}
.test-mini .qmark {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 56px;
  line-height: 0.5;
  color: var(--orange);
  height: 14px;
}
.test-mini blockquote {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.test-mini blockquote em {
  font-style: italic;
  color: var(--orange);
  font-weight: 500;
}
.test-mini cite {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 1080px) {
  .cases-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .case-mini:nth-child(n), .test-mini:nth-child(n) { grid-column: auto; }
  .case-mini:nth-child(5), .test-mini:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .cases-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .case-mini:nth-child(5), .test-mini:nth-child(5) { grid-column: auto; }
}


/* ── Empty state (blog "próximamente") ─────────────────────────── */
.empty-state {
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: 20px;
  padding: 56px 40px 60px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.empty-state h3 {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--navy);
  line-height: 1.18;
}
.empty-state p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.empty-state form {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}
.empty-state input[type="email"] {
  flex: 1 1 220px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.empty-state input[type="email"]:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(230,101,36,0.15);
}
.empty-state button {
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.empty-state button:hover { background: #1A2742; transform: translateY(-1px); }
.empty-state small {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* ── Roles list (carreras) ─────────────────────────────────────── */
.roles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.role-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.role-row:hover {
  border-color: rgba(230,101,36,0.4);
  transform: translateY(-1px);
}
.role-row .tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--navy);
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.role-row .desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.role-row .desc b { color: var(--navy); font-weight: 600; }
.roles-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--blue-soft, #E8EFF7);
  border: 1px solid var(--blue-line, #C9D8E8);
  border-radius: 12px;
  font-size: 13px;
  color: var(--blue-700, #2E5077);
  line-height: 1.55;
}
.roles-note b { color: var(--navy); font-weight: 600; }
@media (max-width: 720px) {
  .role-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── Simple CTA (carreras alternative to CTAFinal) ─────────────── */
.simple-cta {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.simple-cta h2 {
  font-family: 'Inter Tight','Inter',sans-serif;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.028em;
  color: var(--navy);
  line-height: 1.1;
}
.simple-cta h2 em { font-style: italic; color: var(--orange); }
.simple-cta p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.simple-cta .actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ── Brand logo (image-based, replaces the old brand-mark cube) ─── */
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand { gap: 12px; }
@media (max-width: 720px) {
  .brand-logo { height: 34px; }
}

/* ── Mobile / overlay menu (revealed by .menu-btn) ──────────────── */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: rgba(15, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  padding: 80px 40px 40px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.15s, padding 0.2s;
}
.mobile-menu a:hover { color: var(--orange); padding-left: 8px; }
.mobile-menu .mm-contact {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 0;
  padding: 8px 0;
  letter-spacing: 0;
}
.mobile-menu .mm-contact:first-of-type { margin-top: 24px; }





/* ── WhatsApp floating button (fixed bottom-right, all pages) ───── */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.45),
              0 3px 10px -2px rgba(15, 26, 46, 0.18);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s,
              background 0.15s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  background: #20BD5A;
  box-shadow: 0 12px 32px -6px rgba(37, 211, 102, 0.55),
              0 4px 12px -2px rgba(15, 26, 46, 0.22);
}
.wa-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.5);
  outline-offset: 2px;
}
.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
.wa-float .wa-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--navy, #0F1A2E);
  color: #fff;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 16px -4px rgba(15, 26, 46, 0.25);
}
.wa-float .wa-tooltip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--navy, #0F1A2E);
}
.wa-float:hover .wa-tooltip,
.wa-float:focus-visible .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 720px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float .wa-tooltip { display: none; }
}


/* ── Mobile menu close button (X) ─────────────────────────────────── */
.mobile-menu .mm-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.mobile-menu .mm-close:hover {
  background: rgba(255,255,255,0.14);
  transform: rotate(90deg);
}

/* Active link in mobile menu — orange accent */
.mobile-menu a.active {
  color: var(--orange);
}
.mobile-menu a.active:hover { color: var(--orange); }
