/* =====================================================================
   Carlos Eckhardt Aguiló · portfolio
   Estilo: cartel editorial — crema, granate, serif en mayúsculas y letra estrecha
   ===================================================================== */
:root {
  --bg: #efe5d3;             /* crema cálido */
  --bg-soft: #e6d8c0;        /* arena */
  --paper: #f6efe2;
  --ink: #2a0f12;            /* texto: granate casi negro */
  --ink-2: #4f2a2c;
  --mute: #6e4c4b;
  --line: rgba(91, 26, 31, .16);
  --line-strong: rgba(91, 26, 31, .32);
  --brand: #5b1a1f;          /* granate */
  --brand-dark: #451216;
  --brand-soft: #e3cdb4;
  --brand-light: #e8c9a1;    /* arena dorada sobre granate */
  --navy: #3e1114;           /* secciones oscuras: granate profundo */
  --navy-2: #4b161a;
  --navy-line: rgba(239, 229, 211, .14);
  --on-navy: #f3e9d8;
  --on-navy-2: #d5bfa2;
  --wa: #5b1a1f;
  --ok: #5b1a1f;

  --display: "Bodoni Moda", "Didot", Georgia, "Times New Roman", serif;
  --poster: "League Gothic", "Oswald", Impact, "Arial Narrow", sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --mono: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;  /* etiquetas: Inter en mayúsculas espaciadas */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(18px, 5vw, 64px);
  --max: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --shadow-sm: 0 1px 2px rgba(62, 17, 20, .06), 0 2px 8px rgba(62, 17, 20, .05);
  --shadow-md: 0 2px 4px rgba(62, 17, 20, .05), 0 18px 40px -18px rgba(62, 17, 20, .3);
  --shadow-lg: 0 30px 70px -30px rgba(62, 17, 20, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.ico-sm { width: 1em; height: 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hl { color: var(--brand); }

::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 10px; }

/* ---------- Tipografía de sección ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font: 500 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
}
.kicker::before { content: ""; width: 40px; height: 2px; background: currentColor; }
.kicker-light { color: var(--brand-light); }
.h2 { font: 400 clamp(2.9rem, 7.4vw, 5.6rem)/.92 var(--poster); letter-spacing: .005em; text-transform: uppercase; color: var(--brand); max-width: 14em; }
.h2 .hl { display: block; font: italic 500 .62em/1.1 var(--display); text-transform: none; letter-spacing: -.01em; color: var(--ink); margin-top: .12em; }
.navy .h2 { color: var(--on-navy); }
.head { margin-bottom: clamp(36px, 5vw, 60px); }
.head-center { text-align: center; }
.head-center .h2 { margin: 0 auto; }
.head-sub { margin-top: 18px; color: var(--ink-2); font: 500 .92rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 4px; border: 1px solid transparent;
  font: 600 1.02rem/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .3s var(--ease);
}
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .94rem; border-radius: 4px; }
.btn-lg { min-height: 62px; padding: 0 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: var(--on-navy); }
.btn-primary:hover { background: var(--ink); }
.btn-wa { background: var(--brand); color: var(--on-navy); box-shadow: 0 12px 26px -14px rgba(62, 17, 20, .9); }
.btn-wa:hover { background: var(--ink); transform: translateY(-1px); }
.btn-outline, .btn-line { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover, .btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-white:hover { background: #fff8ec; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(239, 229, 211, .88); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(62, 17, 20, .35); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-navy); font: 400 1.25rem/1 var(--poster); letter-spacing: .04em; }
.brand-name { font: 600 1.05rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.brand-light .brand-mark { background: var(--on-navy); color: var(--brand); }
.brand-light .brand-name { color: var(--on-navy); }
.nav-links { display: none; gap: 32px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--brand); }

/* ---------- Portada ---------- */
.hero { position: relative; padding: 28px 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 60% at 30% 35%, #f6eee0 0%, transparent 70%), linear-gradient(180deg, #efe5d3 0%, #e8dcc6 100%);
}
.hero-grid { display: grid; gap: 40px; }
.eyebrow {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px;
  padding: 0; border: 0; background: none;
  font: 500 .84rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
}
.pulse { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(18,128,74,.45); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(18,128,74,0); } 100% { box-shadow: 0 0 0 0 rgba(18,128,74,0); } }

.hero-title { color: var(--brand); text-transform: uppercase; }
.t-serif { font: 600 clamp(1.45rem, 5.6vw, 2.75rem)/1.08 var(--display); letter-spacing: .005em; }
.t-poster { font: 400 clamp(5rem, 31vw, 15rem)/.82 var(--poster); letter-spacing: .01em; margin-top: .06em; }
.hero-grid > * { min-width: 0; }
.hero-rule { display: block; width: 120px; height: 2px; background: var(--brand); margin: 26px 0 0; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.hero-title .line:nth-child(1) > span { animation-delay: .1s; }
.hero-title .line:nth-child(2) > span { animation-delay: .2s; }
.hero-title .line:nth-child(3) > span { animation-delay: .3s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.fade-up { animation: fadeUp .9s var(--ease) .45s both; }
.fade-in { animation: fadeIn 1.2s var(--ease) .15s both; }
.anim-done .line > span, .anim-done .fade-up, .anim-done .fade-in { animation: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.hero-sub { font: 500 clamp(.92rem, 1.4vw, 1.02rem)/1.65 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); max-width: 34em; margin: 20px 0 30px; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; }
.hero-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .96rem; color: var(--ink-2); }
.hero-points .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--brand); color: var(--on-navy); }

/* Retrato en arco, grande */
.hero-portrait { position: relative; margin: 0; order: -1; justify-self: center; width: min(74%, 290px); }
.portrait-shape {
  position: absolute; inset: 8% -7% 14% -7%; z-index: -1; border-radius: 999px 999px 32px 32px;
  background: linear-gradient(160deg, #e2cfb3 0%, #ecdfca 100%);
}
.arch {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 999px 999px 22px 22px; background: var(--paper);
  box-shadow: var(--shadow-lg); border: 6px solid var(--paper);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-md); white-space: nowrap;
}
.float-card b { display: block; font: 600 .86rem/1.2 var(--display); letter-spacing: -.01em; }
.float-card small { display: block; font: 500 .66rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.fc-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-navy); }
.fc-ico .ico { width: 18px; height: 18px; }
.fc-ico-blue { background: var(--brand-soft); color: var(--brand); }
.fc-top { top: 10%; right: -6%; animation: bob 6s ease-in-out infinite; }
.fc-bottom { bottom: 18%; left: -14%; animation: bob 6s ease-in-out 1.5s infinite; }
@media (min-width: 980px) { .fc-top { right: -20%; } .fc-bottom { left: -22%; } }
@keyframes bob { 50% { transform: translateY(-6px); } }
.hero-portrait figcaption { margin-top: 18px; text-align: center; display: grid; gap: 2px; }
.hero-portrait figcaption b { font: 600 1rem/1.3 var(--display); letter-spacing: -.01em; }
.hero-portrait figcaption span { font: 500 .74rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* Datos clave */
.stats {
  margin: clamp(44px, 7vw, 72px) 0 0; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.stat { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }
.stat dt { font: 500 .72rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.stat dd { margin: 0; }
.stat strong { display: block; font: 400 clamp(2.4rem, 5vw, 3.2rem)/1 var(--poster); letter-spacing: .01em; color: var(--brand); }
.stat span { display: block; margin-top: 4px; font-size: .88rem; color: var(--mute); line-height: 1.4; }

/* ---------- Sectores ---------- */
.sectors { border-block: 1px solid var(--line); background: var(--bg-soft); padding: 26px 0; }
.sectors-inner { display: grid; gap: 14px; }
.sectors-title { font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.sectors-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sectors-list li { padding: 8px 14px; border-radius: 999px; background: transparent; border: 1px solid var(--line-strong); font: 500 .8rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 11vw, 136px) 0; }
.section-soft { background: var(--bg-soft); }

/* Quién soy */
.about { display: grid; gap: 28px; }
.about-lead { font: 500 clamp(1.45rem, 2.7vw, 1.95rem)/1.35 var(--display); letter-spacing: 0; color: var(--brand); margin-bottom: 18px; }
.about-body > p:not(.about-lead) { color: var(--ink-2); font-size: 1.08rem; max-width: 36em; }
.about-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.about-list .ico { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--brand); color: var(--on-navy); }

/* Por qué */
.features { display: grid; gap: 16px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.f-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: var(--on-navy); margin-bottom: 20px; }
.f-ico .ico { width: 24px; height: 24px; }
.feature h3 { font: 600 1.3rem/1.25 var(--display); margin-bottom: 8px; color: var(--brand); }
.feature p { color: var(--ink-2); font-size: 1rem; }

/* ---------- Ejemplos (sección marino) ---------- */
.navy { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.navy::before { content: ""; position: absolute; width: 60vmax; height: 60vmax; left: -20vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(232,201,161,.12), transparent 65%); pointer-events: none; }
.navy .wrap { position: relative; }
.navy .h2 .hl { color: var(--brand-light); }
.head-split { display: grid; gap: 18px; }
.head-note { color: var(--on-navy-2); max-width: 28em; font-size: 1.05rem; }

.showcase {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 18px;
  margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--navy-line) transparent;
}
.case { scroll-snap-align: start; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.case:hover { transform: translateY(-4px); border-color: rgba(232,201,161,.45); }
.case-stage { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; display: grid; place-items: center; }
.case-info { padding: 20px 22px 24px; }
.case-tag { display: inline-block; font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-light); }
.case-info h3 { font: 600 1.35rem/1.25 var(--display); margin: 10px 0 6px; color: var(--on-navy); }
.case-info p { color: var(--on-navy-2); font-size: .98rem; }
a.case { display: block; text-decoration: none; color: inherit; }
.case-link { display: inline-block; margin-top: 14px; font: 500 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-light); border-bottom: 1px solid currentColor; padding-bottom: 4px; }
a.case:hover .case-link { color: var(--on-navy); }

.stage-bar { background: #bb4e19; }
.stage-pelu { background: #f6e2e9; }
.stage-fruta { background: #e55c1b; background-image: conic-gradient(#e55c1b 25%, #0e2461 0 50%, #e55c1b 0 75%, #0e2461 0); background-size: 28px 28px; }
.stage-taller { background: #182e57; }

/* Miniaturas: foto del ejemplo con su marca encima, en el estilo de cada web */
.sc { padding: 0; color: #fff; text-align: center; }
.sc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc::after { content: ""; position: absolute; inset: 0; background: rgba(20, 10, 6, .38); }
.sc .sc-over { position: relative; z-index: 1; margin: auto 0; padding: 0 10px; display: grid; justify-items: center; gap: 4px; }
.sc-meta { font: 500 7.5px/1.2 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.sc-btn { margin-top: 10px; font: 700 8.5px/1 var(--sans); padding: 8px 12px; border-radius: 999px; }
.sc-bar .sc-name { font: 400 19px/.9 "Bowlby One", var(--poster); color: #f3e9df; white-space: nowrap; }
.sc-bar .sc-script { font: 700 15px/1 "Caveat", cursive; color: #ffd2b8; transform: rotate(-3deg); }
.sc-bar .sc-btn { background: #f3e9df; color: #88371f; }
.sc-pelu::after { background: rgba(30, 34, 28, .3); }
.sc-pelu .sc-name { font: 900 48px/.85 "Fraunces", var(--display); letter-spacing: -.04em; }
.sc-pelu .sc-meta { font-family: "Josefin Sans", var(--sans); font-weight: 300; letter-spacing: .26em; }
.sc-pelu .sc-btn { background: #fefaf3; color: #3e4f3c; font-family: "Josefin Sans", var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.sc-fruta { justify-content: flex-start; }
.sc-fruta img { height: 58%; }
.sc-fruta::after { height: 58%; }
.sc-fruta .sc-over { margin: 0; height: 58%; align-content: center; }
.sc-fruta .sc-name { font: 400 30px/.9 "Shrikhand", var(--display); }
.sc-fruta .sc-script { font: 400 15px/1 "Yellowtail", cursive; }
.sc-block { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: #0e2461; display: flex; align-items: center; padding-left: 22px; }
.sc-checker { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: conic-gradient(#e55c1b 25%, #0e2461 0 50%, #e55c1b 0 75%, #0e2461 0) 0 0 / 8px 8px; }
.sc-block p { font: 400 19px/.95 "Shrikhand", var(--display); color: #e55c1b; text-align: left; }
.sc-taller::after { background: linear-gradient(180deg, rgba(18,35,63,.55), rgba(14,4,4,.65)); }
.sc-taller .sc-name { font: 800 30px/.9 "Unbounded", var(--sans); letter-spacing: .02em; }
.sc-taller .sc-script { font: 400 19px/1 "Pinyon Script", cursive; color: #f3c79c; }
.sc-taller .sc-btn { background: #e76d07; color: #fff; border-radius: 3px; letter-spacing: .12em; text-transform: uppercase; }

/* Móvil de muestra */
.phone {
  width: 58%; aspect-ratio: 9 / 18.5; border-radius: 30px; padding: 7px; background: #0d0b0a;
  box-shadow: 0 40px 60px -30px rgba(0,0,0,.65), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: translateY(14%); transition: transform .8s var(--ease);
}
.case:hover .phone { transform: translateY(9%); }
.screen { position: relative; height: 100%; border-radius: 24px; overflow: hidden; padding: 30px 13px 14px; display: flex; flex-direction: column; gap: 8px; font-family: var(--sans); }
.screen::before { content: ""; position: absolute; top: 7px; left: 50%; width: 34%; height: 13px; transform: translateX(-50%); border-radius: 10px; background: #0d0b0a; }
.s-nav { display: flex; justify-content: space-between; align-items: center; font-size: 9px; margin-bottom: 8px; }
.s-nav b { font-size: 10px; }
.s-title { font-size: 21px; line-height: 1; }
.s-btn { align-self: flex-start; font: 700 9px/1 var(--sans); padding: 8px 11px; border-radius: 999px; }

.s-bar { background: #120c09; color: #f2ebda; }
.s-bar .s-nav b { font: italic 400 13px/1 Georgia, serif; }
.s-bar .s-nav span { color: #c49a5b; }
.s-bar .s-kicker { font: 700 8px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #c49a5b; margin-top: 18px; }
.s-bar .s-title { font: 400 28px/.95 Georgia, serif; }
.s-bar .s-title i { color: #e0614a; }
.s-bar .s-btn { background: #c5301e; color: #f2ebda; }
.s-menu { margin-top: auto; border-top: 1px solid rgba(242,235,218,.2); padding-top: 8px; display: grid; gap: 6px; font-size: 9px; }
.s-menu p { display: flex; justify-content: space-between; gap: 6px; }
.s-menu .s-menu-h { font: italic 400 12px/1 Georgia, serif; color: #c49a5b; }
.s-menu b { color: #c49a5b; }

.s-pelu { background: linear-gradient(160deg, #ffe2d4 0%, #f6cfe0 55%, #d7d0ff 100%); color: #2b2440; }
.s-pelu .s-title { font: 700 22px/1.02 var(--sans); letter-spacing: -.03em; margin-top: 14px; }
.s-glass { margin-top: auto; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.9); border-radius: 14px; padding: 9px 10px; display: grid; gap: 6px; font-size: 9px; }
.s-glass p { display: flex; justify-content: space-between; }
.s-pelu .s-btn { background: #2b2440; color: #fff; }

.s-fruta { background: #fffbea; color: #1f3d1c; }
.s-fruta .s-nav b { color: #2f7d32; }
.s-blob { position: absolute; right: -26px; top: 64px; width: 110px; height: 110px; border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; background: radial-gradient(circle at 35% 35%, #ffbf5a, #ef6a2c 72%); }
.s-fruta .s-title { position: relative; font: 800 25px/.95 var(--sans); letter-spacing: -.03em; margin-top: 30px; }
.s-fruta .s-sub { position: relative; font-size: 9px; font-weight: 700; color: #3c7a2e; }
.s-chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 5px; }
.s-chips span { font-size: 8.5px; font-weight: 700; background: #e3f0cf; color: #2f5d1f; padding: 5px 8px; border-radius: 999px; }
.s-fruta .s-btn { background: #2f7d32; color: #fff; }

.s-taller { background: var(--paper); color: #000; font-family: ui-monospace, Consolas, monospace; }
.s-taller .s-nav { font-family: inherit; border-bottom: 2px solid #000; padding-bottom: 6px; }
.s-taller .s-num { font-size: 10px; color: #e10600; font-weight: 700; margin-top: 10px; }
.s-taller .s-title { font: 800 21px/.95 ui-monospace, Consolas, monospace; letter-spacing: -.04em; }
.s-grid { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid #000; border-left: 2px solid #000; }
.s-grid span { font-size: 8.5px; font-weight: 700; padding: 8px 6px; border-right: 2px solid #000; border-bottom: 2px solid #000; }
.s-taller .s-btn { background: #ffd400; color: #000; border: 2px solid #000; border-radius: 0; font-family: inherit; }

/* ---------- Proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; position: relative; }
.step {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.step-n {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  font: 400 1.6rem/1 var(--poster); color: var(--on-navy); background: var(--brand); border: 0; border-radius: 50%;
}
.step h3 { font: 600 1.25rem/1.3 var(--display); margin-bottom: 8px; color: var(--brand); }
.step p { color: var(--ink-2); font-size: 1rem; }

/* ---------- Precio ---------- */
.pricing { display: grid; gap: 20px; align-items: start; max-width: 1080px; margin: 0 auto; }
.plan {
  position: relative; background: var(--paper); border: 2px solid var(--brand); border-radius: 6px;
  padding: clamp(26px, 4vw, 44px); box-shadow: 14px 14px 0 var(--brand);
}
.plan-top { padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.plan-name { font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.plan-amount { font: 400 clamp(6rem, 22vw, 9rem)/.85 var(--poster); letter-spacing: .01em; color: var(--brand); margin: 14px 0 10px; }
.plan-terms { font-weight: 600; color: var(--ink-2); }
.plan-free { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .98rem; }
.plan-free .ico { color: var(--ok); }
.plan-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; }
.plan-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.5; font-size: 1rem; }
.plan-list li:last-child { border-bottom: 0; }
.plan-list b { color: var(--ink); font-weight: 600; }
.plan-list .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand); color: var(--on-navy); margin-top: 1px; }
.plan-nofees { margin-top: 14px; text-align: center; color: var(--mute); font-size: .94rem; }

.care { background: transparent; border: 1px solid var(--line-strong); border-radius: 6px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.care .plan-name { color: var(--mute); }
.care h3 { font: 600 1.7rem/1.2 var(--display); margin-top: 12px; color: var(--brand); }
.care-amount { font: 400 3.4rem/1 var(--poster); letter-spacing: .01em; color: var(--brand); margin: 14px 0 8px; }
.care-amount span { font: 500 .9rem/1 var(--mono); color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }
.care-terms { color: var(--mute); font-size: .95rem; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.care-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.care-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.care-list .ico { width: 20px; height: 20px; color: var(--brand); margin-top: 3px; }
.care-foot { color: var(--mute); font-size: .94rem; background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; }

/* ---------- Preguntas ---------- */
.faq-grid { display: grid; gap: 34px; }
.faq-help { margin-top: 26px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); display: grid; gap: 14px; justify-items: start; }
.faq-help p { color: var(--ink-2); font-size: 1rem; }
.faq-help b { color: var(--ink); }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 6px; background: var(--paper); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 20px 60px 20px 22px;
  font: 600 1.12rem/1.4 var(--display); color: var(--brand);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--brand);
  transition: transform .35s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--ink-2); font-size: 1rem; }

/* ---------- Contacto ---------- */
.contact { padding: 0 0 clamp(72px, 10vw, 120px); }
.contact-box {
  position: relative; overflow: hidden; display: grid; gap: 32px;
  background: var(--navy); color: var(--on-navy); border-radius: 6px; padding: clamp(32px, 6vw, 72px);
}
.contact-box::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(232,201,161,.18), transparent 65%); pointer-events: none; }
.contact-copy { position: relative; }
.contact-title { font: 400 clamp(3.6rem, 11vw, 7.5rem)/.9 var(--poster); letter-spacing: .01em; text-transform: uppercase; color: var(--on-navy); }
.contact-title .hl { color: var(--brand-light); }
.contact-sub { margin: 18px 0 30px; color: var(--on-navy-2); font-size: 1.1rem; max-width: 30em; }
.contact-cta { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  position: relative; align-self: center; background: rgba(255,255,255,.05); border: 1px solid var(--navy-line);
  border-radius: 20px; padding: 26px; text-align: center; display: grid; justify-items: center; gap: 4px;
}
.contact-card img { width: 84px; height: 84px; border-radius: 50%; background: var(--paper); border: 3px solid rgba(255,255,255,.15); margin-bottom: 10px; }
.contact-name { font: 600 1.15rem/1.3 var(--display); color: var(--on-navy); }
.contact-role { color: var(--on-navy-2); font-size: .92rem; }
.contact-mail { margin-top: 10px; color: var(--brand-light); font-size: .94rem; word-break: break-all; text-underline-offset: 3px; }

/* ---------- Pie ---------- */
.footer { background: var(--navy); color: var(--on-navy-2); padding: 56px 0 110px; font-size: .96rem; }
.footer-top { display: grid; gap: 30px; padding-bottom: 32px; border-bottom: 1px solid var(--navy-line); }
.footer-about { margin-top: 14px; max-width: 22em; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-h { color: var(--on-navy); font: 500 .76rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.footer-col a { color: var(--on-navy-2); text-decoration: none; word-break: break-all; }
.footer-col a:hover { color: var(--on-navy); }
.footer-bar { display: grid; gap: 10px; padding-top: 22px; }
.footer-name { color: var(--on-navy); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--on-navy-2); text-underline-offset: 3px; }
.footer-links a:hover { color: var(--on-navy); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #168a48; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(22, 138, 72, .75); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico { width: 30px; height: 30px; }

/* ---------- Páginas legales ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.legal h1 { font: 400 clamp(3.4rem, 10vw, 5.4rem)/.92 var(--poster); text-transform: uppercase; color: var(--brand); margin-bottom: 28px; }
.legal h2 { font: 600 1.4rem/1.25 var(--display); color: var(--brand); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 0; }
.legal a { color: var(--brand); text-underline-offset: 3px; }
.legal-lead { font-size: 1.15rem; color: var(--ink) !important; padding: 18px 20px; border-radius: 14px; background: var(--brand-soft); border-left: 4px solid var(--brand); }
.footer-legal { padding: 34px 0 40px; }
.footer-legal .footer-bar { padding-top: 0; }

/* ---------- Aparición al hacer scroll (el contenido se ve sin JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================== Tablet =========================== */
@media (min-width: 640px) {
  .hero-cta, .contact-cta { flex-direction: row; flex-wrap: wrap; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(2n) { border-right: 1px solid var(--line); border-bottom: 0; }
  .stat:last-child { border-right: 0; }
  .stat { padding: 24px; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .showcase { grid-auto-columns: 46%; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bar { grid-template-columns: 1fr auto; align-items: center; }
}

/* =========================== Ordenador =========================== */
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-inner { padding-top: 14px; padding-bottom: 14px; }

  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1.3fr .8fr; align-items: center; gap: 56px; }
  .t-poster { font-size: clamp(9rem, 17vw, 15.5rem); }
  .hero-portrait { order: 0; width: 100%; max-width: 380px; justify-self: center; }

  .sectors-inner { grid-template-columns: auto 1fr; align-items: center; gap: 28px; }

  .about { grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }

  .features { grid-template-columns: repeat(4, 1fr); }
  .head-split { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .head-note { justify-self: end; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 51px; height: 2px; background: var(--line-strong); z-index: -1; }
  .step { background: var(--paper); }

  .pricing { grid-template-columns: 1.35fr 1fr; gap: 24px; }

  .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
  .faq-head { position: sticky; top: 120px; }

  .contact-box { grid-template-columns: 1.5fr 1fr; align-items: center; gap: 48px; }

  .wa-float { right: 28px; bottom: 28px; }
}
@media (min-width: 1180px) {
  .showcase { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
}

/* =====================================================================
   Acabado premium: grano de película, script solapada, notas con cinta y fotos
   ===================================================================== */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { image-rendering: auto; }

/* Script fina solapada justo debajo de la palabra gigante (el truco de la guía) */
.hero-script {
  position: relative; z-index: 2; margin: -.62em 0 0 .6em; transform: rotate(-4deg); transform-origin: left;
  font: 400 clamp(2.3rem, 9.5vw, 4.4rem)/1 var(--script); color: var(--ink);
  text-shadow: 0 0 10px var(--bg), 0 0 4px var(--bg);
}
.t-serif { font-weight: 600; letter-spacing: .01em; }

/* Nota de papel con cinta */
.tape-note {
  position: absolute; display: grid; gap: 2px; padding: 16px 18px 12px; background: #fbf5ea; color: var(--ink);
  transform: rotate(4deg); box-shadow: 0 16px 30px -18px rgba(62,17,20,.55), 0 1px 0 rgba(62,17,20,.06); white-space: nowrap;
}
.tape-note b { font: italic 600 1.05rem/1.1 var(--display); color: var(--brand); }
.tape-note small { font: 600 .66rem/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.tape { position: absolute; left: 50%; top: -11px; width: 74px; height: 22px; transform: translateX(-50%) rotate(-5deg); background: rgba(226, 205, 172, .78); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.hero-portrait .tape-note.fc-top { animation: none; }

/* Banda de foto a sangre */
.photo-band { position: relative; min-height: 82vh; display: grid; place-items: center; overflow: hidden; text-align: center; color: var(--on-navy); isolation: isolate; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42,12,15,.35) 0%, rgba(42,12,15,.55) 60%, rgba(42,12,15,.75) 100%); }
.band-inner { padding: 80px 18px; max-width: 980px; }
.band-caps { font: 600 clamp(1rem, 2.6vw, 1.5rem)/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.band-big { font: 400 clamp(4.6rem, 21vw, 13rem)/.85 var(--poster); text-transform: uppercase; letter-spacing: .01em; margin-top: .1em; }
.band-script { font: 400 clamp(2.4rem, 9vw, 5rem)/1 var(--script); color: var(--brand-light); margin-top: -.5em; transform: rotate(-3deg); text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.band-sub { margin: 26px auto 0; max-width: 26em; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--on-navy); }

/* Collage de "Quién soy": arco + polaroid */
.collage { position: relative; margin: 40px 0 30px; max-width: 460px; }
.collage-arch { margin: 0; width: 74%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 18px 18px; border: 6px solid var(--paper); box-shadow: var(--shadow-lg); }
.collage-arch img { width: 100%; height: 100%; object-fit: cover; }
.polaroid { position: absolute; right: 0; bottom: -26px; width: 50%; margin: 0; padding: 9px 9px 0; background: #fbf5ea; transform: rotate(5deg); box-shadow: 0 22px 40px -22px rgba(62,17,20,.6); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { font: 400 1.5rem/1 var(--script); color: var(--ink); text-align: center; padding: 10px 4px 12px; }

/* Foto con titular superpuesto en "Por qué" */
.why-photo { position: relative; margin: 0 0 40px; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,12,15,0) 30%, rgba(42,12,15,.8) 100%); }
.why-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px; color: var(--on-navy); display: grid; }
.wp-caps { font: 600 clamp(.95rem, 2.2vw, 1.3rem)/1.2 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.wp-big { font: 400 clamp(3.6rem, 13vw, 8rem)/.85 var(--poster); text-transform: uppercase; }
.wp-script { font: 400 clamp(1.8rem, 6vw, 3.2rem)/1 var(--script); color: var(--brand-light); margin-top: -.25em; transform: rotate(-3deg); transform-origin: left; }

/* Foto del proceso con nota */
.process-photo { position: relative; margin: 0 auto 56px; max-width: 980px; border-radius: 18px; box-shadow: var(--shadow-lg); }
.process-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.process-photo .pp-note { right: 6%; top: -18px; transform: rotate(-3deg); }

/* Contacto con foto del barrio */
.contact-visual { position: relative; border-radius: 14px; overflow: hidden; min-height: 360px; }
.contact-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-visual .contact-card { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(62, 17, 20, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(239,229,211,.25); }

.contact .btn-wa { background: #168a48; color: #fff; box-shadow: 0 12px 26px -14px rgba(0,0,0,.6); }
.contact .btn-wa:hover { background: #10733b; }

/* Tarjetas: un punto más de profundidad al pasar el ratón */
.feature, .step, .plan, .care, .faq details { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature:hover, .step:hover { box-shadow: var(--shadow-md); }

@media (min-width: 640px) {
  .why-photo { aspect-ratio: 16 / 8; }
  .process-photo img { aspect-ratio: 21 / 9; }
}
@media (min-width: 980px) {
  .collage { margin-top: 48px; }
  .why-photo figcaption { padding: 44px 48px; }
  .contact-visual { min-height: 440px; }
}

/* Solo se para lo que se mueve solo; los efectos al pasar el ratón siguen */
@media (prefers-reduced-motion: reduce) {
  .pulse, .fc-top, .fc-bottom { animation: none; }
  html { scroll-behavior: auto; }
}
