/* juancadena.com — Identidad V1 Final
   Tipografía: IBM Plex Sans Regular (400), SIL OFL 1.1 (ver /fonts/OFL-1.1.txt).
   Paleta: #111111 · #1C1C1C · #F3F0E9 · #B59655 · #8B6F36. Estética plana: sin degradados, sombras ni efectos.
   Contraste: dorado #B59655 solo sobre negro/antracita (6,7:1 / 6,1:1); dorado oscuro #8B6F36 solo en líneas
   y elementos gráficos sobre marfil (4,2:1, no se usa para texto pequeño). */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/IBMPlexSans-Regular.ttf") format("truetype");
}

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

:root {
  --black: #111111;
  --anthracite: #1C1C1C;
  --ivory: #F3F0E9;
  --gold: #B59655;
  --gold-dark: #8B6F36;
  --ivory-soft: #B9B5AB;   /* texto secundario sobre negro/antracita (9,2:1) */
  --ink-soft: #55524B;     /* texto secundario sobre marfil (6,9:1) */
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gutter: max(1.25rem, calc((100% - 1160px) / 2));
  --nav-h: 76px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-synthesis: none;
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--ivory);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, strong, b, th { font-weight: 400; }
em, i { font-style: normal; }
img, svg { max-width: 100%; }
a { color: inherit; }

/* Temas por sección */
.hero, .problem, .case, .cta-section, footer {
  --fg: var(--ivory); --muted: var(--ivory-soft); --accent: var(--gold);
  --line: rgba(243, 240, 233, .18); --focus: var(--gold);
  background: var(--black); color: var(--fg);
}
.problem { background: var(--anthracite); }
.proof-strip, .signature-block, .section, .responsibility, .about, .legal-main {
  --fg: var(--black); --muted: var(--ink-soft); --accent: var(--gold-dark);
  --line: rgba(17, 17, 17, .16); --focus: var(--gold-dark);
  background: var(--ivory); color: var(--fg);
}
.section + .section, .signature-block + .section, .responsibility + .section, .section + .about { border-top: 1px solid var(--line); }

:focus-visible { outline: 3px solid var(--focus, var(--gold-dark)); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 300; background: var(--black); color: var(--ivory); padding: .75rem 1.25rem; text-decoration: none; }
.skip-link:focus { top: .75rem; outline: 3px solid var(--gold); }

/* Encabezado */
nav {
  --focus: var(--gold-dark);
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--gutter); height: var(--nav-h);
  background: var(--ivory); border-bottom: 1px solid rgba(17, 17, 17, .16);
}
.logo { display: block; flex: none; line-height: 0; text-decoration: none; }
.logo img { display: block; width: 260px; height: auto; aspect-ratio: 760 / 208; }
.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-size: .9rem; letter-spacing: .04em; color: var(--ink-soft); text-decoration: none; padding: .5rem 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.nav-link:hover { color: var(--black); border-bottom-color: var(--gold-dark); }
.nav-btn { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; color: var(--ivory); background: var(--black); padding: 0 1.25rem; border-radius: 2px; text-decoration: none; transition: background .15s, color .15s; }
.nav-btn:hover { background: var(--gold-dark); color: var(--ivory); }

/* Botones */
.btn-primary, .btn-cta-primary, .btn-secondary, .btn-cta-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  font-family: var(--sans); font-size: 1rem; line-height: 1.3; padding: .75rem 1.75rem; border-radius: 2px;
  text-decoration: none; text-align: center; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary, .btn-cta-primary { background: var(--gold); color: var(--black); border: 1px solid var(--gold); }
.btn-primary:hover, .btn-cta-primary:hover { background: var(--ivory); border-color: var(--ivory); }
.btn-secondary, .btn-cta-ghost { background: transparent; color: var(--ivory); border: 1px solid rgba(243, 240, 233, .5); }
.btn-secondary:hover, .btn-cta-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Etiquetas y títulos */
.section-label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 1rem;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg);
}
.section-label::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.18; letter-spacing: -.01em; margin-bottom: 1rem; color: var(--fg); }
.section-title em, .hero h1 em, .case-intro em, .signature-headline em, .cta-section h2 em { color: var(--accent); }
.section-sub { color: var(--muted); max-width: 540px; }
strong { color: var(--fg); }

/* Hero */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 4rem) var(--gutter) 4.5rem; }
.hero-inner { max-width: 860px; }
.hero-badge { display: flex; align-items: center; gap: 12px; margin-bottom: 2rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-soft); }
.hero-badge::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: none; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 1.5rem; color: var(--ivory); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ivory-soft); line-height: 1.7; max-width: 620px; margin-bottom: 1rem; }
.hero-clarifier { color: var(--ivory-soft); margin-bottom: 2.5rem; }
.hero-clarifier strong { color: var(--ivory); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); padding-top: 2.25rem; gap: 2rem; }
.stat-val { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; color: var(--ivory); margin-bottom: .6rem; }
.stat-val span { color: var(--gold); }
.stat-desc { font-size: .9rem; color: var(--ivory-soft); line-height: 1.5; }

/* Franja de sectores */
.proof-strip { padding: 1.5rem var(--gutter); display: flex; align-items: center; gap: .75rem 2rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.proof-strip-label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.proof-niches { display: flex; gap: .5rem 1.75rem; flex-wrap: wrap; }
.proof-niche { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.proof-niche::before { content: ""; width: 6px; height: 6px; background: var(--gold-dark); flex: none; }

/* Secciones */
.section { padding: 6rem var(--gutter); }

/* Problema */
.problem { padding: 6rem var(--gutter); }
.problem .section-title { max-width: 680px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.problem-card { background: var(--black); border: 1px solid var(--line); border-radius: 2px; padding: 2rem; }
.problem-card::before { content: attr(data-n); display: block; margin-bottom: 1.25rem; font-size: .85rem; letter-spacing: .16em; color: var(--gold); }
.problem-card h3 { font-size: 1.15rem; line-height: 1.35; color: var(--ivory); margin-bottom: .75rem; }
.problem-card p { font-size: .98rem; color: var(--ivory-soft); line-height: 1.7; }

/* Bloque firma */
.signature-block { padding: 5.5rem var(--gutter); border-bottom: 1px solid var(--line); }
.signature-inner { max-width: 780px; }
.signature-headline { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; margin-bottom: 1.5rem; }
.signature-body { color: var(--ink-soft); max-width: 660px; }
.signature-body + .signature-body { margin-top: 1rem; }
.signature-remate { margin-top: 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-left: 3px solid var(--gold-dark); border-radius: 2px; font-size: 1.05rem; line-height: 1.5; }

/* Servicios */
.services-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.services-sticky { position: sticky; top: calc(var(--nav-h) + 2rem); }
.services-grid { border: 1px solid var(--line); border-radius: 2px; }
.service-item { display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; align-items: start; padding: 2rem; }
.service-item + .service-item { border-top: 1px solid var(--line); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 2px; color: var(--gold-dark); }
.service-icon svg { width: 24px; height: 24px; }
.service-title { font-size: 1.15rem; line-height: 1.35; margin-bottom: .45rem; }
.service-desc { font-size: .98rem; color: var(--ink-soft); line-height: 1.7; }

/* Evidencia */
.case { padding: 6rem var(--gutter); }
.case-intro { font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.2; letter-spacing: -.01em; margin-bottom: 3.5rem; max-width: 780px; color: var(--ivory); }
.case-kind { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; }
.case-divider { height: 1px; background: var(--line); margin: 4.5rem 0; }
.case-header { margin-bottom: 2.5rem; }
.case-title { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; margin-bottom: .75rem; color: var(--ivory); }
.case-sub { color: var(--ivory-soft); max-width: 600px; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 2.5rem; }
.case-metric { background: var(--anthracite); padding: 1.75rem 2rem; }
.case-metric-val { font-size: 2.1rem; line-height: 1.05; color: var(--ivory); margin-bottom: .6rem; }
.case-metric-val.is-long { font-size: 1.35rem; line-height: 1.25; min-height: 2.2rem; display: flex; align-items: flex-end; }
.case-metric-label { font-size: .9rem; color: var(--ivory-soft); line-height: 1.5; }
.case-flow { margin-bottom: 2.5rem; }
.case-flow-title { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-soft); margin-bottom: 1rem; }
.flow-steps { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 0; }
.flow-step { font-size: .92rem; color: var(--ivory); background: transparent; border: 1px solid rgba(243, 240, 233, .3); padding: .45rem .95rem; border-radius: 2px; }
.flow-arrow { color: var(--ivory-soft); margin: 0 .5rem; }
.flow-step.is-key { border-color: var(--gold); color: var(--gold); }
.flow-routes { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; padding-left: 1.25rem; border-left: 1px solid var(--line); }
.flow-route-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); min-width: 7.5rem; }
.case-insight { background: var(--anthracite); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 2px; padding: 1.75rem 2rem; }
.case-insight-label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; }
.case-insight p { color: var(--ivory-soft); }
.case-insight strong { color: var(--ivory); }
.case-remate { margin-top: 1rem; color: var(--ivory) !important; }

/* Responsabilidad */
.responsibility { padding: 5.5rem var(--gutter); border-top: 1px solid var(--line); }
.responsibility-inner { max-width: 760px; }
.resp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.resp-col-label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; color: var(--ink-soft); }
.resp-steps { display: flex; flex-direction: column; gap: .5rem; }
.resp-step { padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 2px; }
.resp-col.mine .resp-col-label { color: var(--black); }
.resp-col.mine .resp-step { border-left: 3px solid var(--gold-dark); }
.resp-col.client .resp-step { color: var(--ink-soft); }

/* Proceso */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.5rem; position: relative; }
.process-grid::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: var(--line); }
.process-step { position: relative; }
.step-marker { width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--gold-dark); display: grid; place-items: center; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.step-num { font-size: .9rem; color: var(--black); }
.step-title { font-size: 1.1rem; line-height: 1.35; margin-bottom: .5rem; }
.step-desc { font-size: .95rem; color: var(--ink-soft); line-height: 1.7; }

/* Sobre mí */
.about { padding: 6rem var(--gutter); border-top: 1px solid var(--line); }
.about-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; align-items: center; max-width: 980px; }
.about-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: 2px; overflow: hidden; background: var(--black); position: relative; display: grid; place-items: center; }
.about-photo picture { position: absolute; inset: 0; z-index: 1; display: block; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.about-photo-fallback { width: 45%; height: auto; }
.about-name { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; letter-spacing: -.01em; margin-bottom: .5rem; }
.about-tagline { font-size: 1.15rem; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 2px solid var(--gold-dark); display: inline-block; }
.about-body { color: var(--ink-soft); max-width: 580px; }
.about-body + .about-body { margin-top: 1rem; }

/* Preguntas frecuentes */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-item { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.faq-q { font-size: 1.1rem; line-height: 1.4; margin-bottom: .6rem; }
.faq-a { font-size: .98rem; color: var(--ink-soft); line-height: 1.7; }

/* CTA final */
.cta-section { padding: 7rem var(--gutter); text-align: center; }
.cta-inner { max-width: 660px; margin: 0 auto; }
.cta-section .section-label { justify-content: center; margin-bottom: 1.5rem; }
.cta-section h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.2; letter-spacing: -.01em; margin-bottom: 1.25rem; color: var(--ivory); }
.cta-section p { color: var(--ivory-soft); margin-bottom: 2.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-section p.cta-trust { margin: 1.75rem 0 0; font-size: .9rem; letter-spacing: .02em; }

/* Pie */
footer { padding: 3.5rem var(--gutter) 2rem; font-size: .9rem; border-top: 1px solid var(--line); }
.footer-brand { margin-bottom: 2.25rem; line-height: 0; }
.footer-brand img { display: block; height: auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 2rem; padding-top: 1.5rem; margin-bottom: 1.25rem; border-top: 1px solid var(--line); color: var(--ivory-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
footer a { color: var(--ivory); text-decoration: underline; text-decoration-color: rgba(243, 240, 233, .4); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
footer a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.footer-disclaimer { border-top: 1px solid var(--line); padding-top: 1rem; color: var(--ivory-soft); font-size: .8rem; line-height: 1.6; }

/* Páginas legales */
.legal-nav-back { font-size: .95rem; color: var(--ink-soft); text-decoration: none; padding: .5rem 0; border-bottom: 1px solid transparent; }
.legal-nav-back:hover { color: var(--black); border-bottom-color: var(--gold-dark); }
.legal-main { padding: calc(var(--nav-h) + 3.5rem) var(--gutter) 6rem; min-height: 70vh; }
.container { max-width: 760px; }
.page-label { display: flex; align-items: center; gap: 12px; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; }
.page-label::before { content: ""; width: 28px; height: 2px; background: var(--gold-dark); }
.legal-main h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -.01em; margin-bottom: .75rem; }
.updated { font-size: .92rem; color: var(--ink-soft); margin-bottom: 3rem; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.legal-main h2 { font-size: 1.3rem; line-height: 1.3; margin: 2.75rem 0 .75rem; }
.legal-main p, .legal-main li { font-size: 1.02rem; color: #3A3832; margin-bottom: 1rem; }
.legal-main ul { margin: .5rem 0 1rem 1.25rem; }
.legal-main li { margin-bottom: .5rem; }
.legal-main a { text-decoration: underline; text-decoration-color: var(--gold-dark); text-underline-offset: 3px; }
.legal-main a:hover { text-decoration-color: var(--black); }
.highlight-box { border: 1px solid var(--line); border-left: 3px solid var(--gold-dark); padding: 1.25rem 1.5rem; border-radius: 2px; margin: 1.5rem 0; }
.highlight-box p { margin: 0; font-size: .98rem; }

/* Movimiento sobrio: solo opacidad y desplazamiento corto; sin degradados ni sombras.
   Se activa con la clase .motion (JS) y se desactiva con "reducir movimiento". */
.progress { position: fixed; top: var(--nav-h); left: 0; right: 0; height: 2px; z-index: 199; background: var(--gold-dark); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.nav-link.active { color: var(--black); border-bottom-color: var(--gold-dark); }
.btn-primary, .btn-cta-primary, .btn-secondary, .btn-cta-ghost, .nav-btn { transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary:hover, .btn-cta-primary:hover, .nav-btn:hover { transform: translateY(-2px); }
.problem-card, .service-item, .faq-item { transition: border-color .25s, background-color .25s; }
.problem-card:hover { border-color: var(--gold); }
.service-item:hover { background: rgba(17, 17, 17, .03); }
.service-icon { transition: background-color .25s, color .25s, border-color .25s; }
.service-item:hover .service-icon { background: var(--black); color: var(--gold); border-color: var(--black); }
.stat-val, .case-metric-val { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero-inner > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .js .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .js .hero-inner > :nth-child(4) { animation-delay: .24s; }
  .js .hero-inner > :nth-child(5) { animation-delay: .32s; }
  .js .hero-inner > :nth-child(6) { animation-delay: .44s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

  .motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .motion .reveal.visible { opacity: 1; transform: none; }
  .motion .reveal.d1 { transition-delay: .1s; } .motion .reveal.d2 { transition-delay: .2s; } .motion .reveal.d3 { transition-delay: .3s; }

  /* Línea del proceso: se dibuja al entrar */
  .motion .process-grid::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .2s; }
  .motion .process-grid.visible::before { transform: none; }
  .motion .step-marker { transition: background-color .4s ease .5s; }
  .motion .process-grid.visible .step-marker { background: var(--ivory); }

  /* Flujo del caso: los pasos aparecen en secuencia */
  .motion .flow-steps > * { opacity: 0; transition: opacity .5s ease; }
  .motion .flow-steps.visible > * { opacity: 1; }
  .motion .flow-steps.visible > :nth-child(2) { transition-delay: .15s; } .motion .flow-steps.visible > :nth-child(3) { transition-delay: .3s; }
  .motion .flow-steps.visible > :nth-child(4) { transition-delay: .45s; } .motion .flow-steps.visible > :nth-child(5) { transition-delay: .6s; }
  .motion .flow-steps.visible > :nth-child(6) { transition-delay: .75s; } .motion .flow-steps.visible > :nth-child(7) { transition-delay: .9s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Tableta */
@media (max-width: 1000px) {
  .case-metrics { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; }
  .process-grid::before { display: none; }
  .services-wrap { gap: 3rem; }
}
@media (max-width: 960px) { .nav-link { display: none; } }

/* Móvil */
@media (max-width: 768px) {
  body { font-size: 1rem; }
  .hero { padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 3rem; min-height: 0; }
  .hero-actions { margin-bottom: 3rem; }
  .hero-actions a, .cta-buttons a { width: 100%; }
  .section, .problem, .case, .about { padding-top: 4rem; padding-bottom: 4rem; }
  .signature-block, .responsibility { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .cta-section { padding-top: 5rem; padding-bottom: 5rem; }
  .problem-grid, .resp-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 1.5rem; }
  .services-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .services-sticky { position: static; }
  .service-item { padding: 1.5rem 1.25rem; grid-template-columns: 40px 1fr; gap: 1rem; }
  .service-icon { width: 40px; height: 40px; }
  .case-metric { padding: 1.25rem 1.5rem; }
  .case-insight { padding: 1.5rem 1.25rem; }
  .about-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { max-width: 260px; }
  .faq-list { grid-template-columns: 1fr; }
  .flow-route-label { min-width: 0; width: 100%; }
  .flow-routes .flow-steps { gap: .5rem; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .case-flow .flow-steps { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .case-flow .flow-arrow { display: inline-block; margin: 0 0 0 1.1rem; transform: rotate(90deg); line-height: 1.2; }
  .case-flow .flow-routes { padding-left: 1rem; }
}
@media (max-width: 560px) { .nav-btn { display: none; } .hero-stats { gap: 1.5rem 1rem; } .process-grid { grid-template-columns: 1fr; } }
