/* ============ TOKENS ============ */
:root {
  --bg: #FAF9F5;
  --white: #fff;
  --ink: #181818;
  --muted: #6B675F;
  --line: #D9D7D0;
  --blue: #181818;
  --c2: #34332f;
  --gray-card: #6B675F;
  --pad: 52px;
  --ease: cubic-bezier(.22, .8, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }

/* ============ SHARED TYPE ============ */
.tag { display: flex; gap: 6px; font-size: 28px; line-height: 1.4; letter-spacing: -0.04em; color: var(--muted); text-transform: uppercase; }
.tag span { color: inherit; }
.tag-light { color: #BDBAB2; }
.h2 { font-size: 68px; line-height: 1.2; letter-spacing: -0.06em; }
.h4 { font-size: 40px; line-height: 1.2; letter-spacing: -0.06em; }
.lead { font-size: 18px; line-height: 1.6; letter-spacing: -0.05em; color: var(--muted); max-width: 330px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 32px; }
.head-row .lead { margin-top: 2px; margin-right: 0; }

/* ============ BUTTON ============ */
.btn { display: inline-flex; align-items: center; justify-content: space-between; width: 208px; height: 60px; padding: 8px 8px 8px 16px; background: var(--blue); border-radius: 12px; color: var(--white); font-size: 18px; letter-spacing: -0.05em; }
.btn-roll, .roll { position: relative; display: inline-block; height: 1.6em; line-height: 1.6em; overflow: hidden; }
.btn-roll span, .roll span { display: block; transition: transform .45s var(--ease); }
.btn:hover .btn-roll span, .roll:hover span { transform: translateY(-100%); }
.btn-arrow { width: 44px; height: 44px; border-radius: 8px; background: var(--white); position: relative; overflow: hidden; }
.btn-arrow::before { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); font-style: normal; font-size: 18px; transition: transform .45s var(--ease); }
.btn:hover .btn-arrow::before { transform: translateX(4px); }

/* ============ HEADER ============ */
.header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 124px; background: var(--bg); border-bottom: 1px solid rgba(0,0,0,.04); }
.nav { position: relative; margin: 20px var(--pad) 0; height: 84px; background: var(--blue); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.nav-logo { color: #FAF9F5; font-size: 24px; font-weight: 700; letter-spacing: -0.05em; white-space: nowrap; }
.menu-btn { width: 44px; height: 44px; border-radius: 8px; background: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 16px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .35s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: absolute; top: calc(100% + 8px); right: 0; width: 280px; background: var(--blue); padding: 16px 20px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu a { color: var(--white); font-size: 28px; letter-spacing: -0.04em; line-height: 1.6; }
.menu a:hover { opacity: .7; }

/* ============ HERO ============ */
.hero { position: relative; padding: 126px 20px 0; height: 907px; }
.hero-title { font-size: clamp(56px, 13.6vw, 196px); font-weight: 700; line-height: 1.2; letter-spacing: -0.07em; text-transform: uppercase; text-align: center; white-space: nowrap; }
.hero-card { position: absolute; left: 20px; right: 20px; bottom: 0; height: 521px; border-radius: 40px; background: linear-gradient(256deg, #34332f 10%, #181818 88%); color: var(--white); display: flex; justify-content: space-between; align-items: flex-end; padding: 0 32px 40px; }
.hero-h { font-size: 40px; line-height: 1.2; letter-spacing: -0.06em; }
.hero-p { font-size: 18px; line-height: 1.6; letter-spacing: -0.05em; max-width: 390px; margin-bottom: 30px; }
.hero-person { position: absolute; left: 35.2%; bottom: 0; width: 410px; height: 689px; object-fit: contain; object-position: bottom; z-index: 2; }

/* ============ TRUSTED ============ */
.trusted { display: flex; align-items: center; gap: 80px; height: 180px; padding: 0 var(--pad); }
.trusted-label { font-size: 28px; line-height: 1.4; letter-spacing: -0.04em; color: var(--muted); flex: none; }
.logos { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.logos-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 30s linear infinite; }
.logos-track img { height: 22px; width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ ABOUT ============ */
.about { padding: 50px var(--pad) 0; height: 1216px; }
.about-grid { display: grid; grid-template-columns: 440px 1fr; gap: 20px; margin: 4px -20px 0; }
.about-left { display: flex; flex-direction: column; align-items: flex-end; }
.about-photo { position: relative; width: 440px; height: 607px; border-radius: 20px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0) 65%, #000 97%); }
.about-quote { position: absolute; z-index: 1; left: 56px; right: 56px; bottom: 36px; color: var(--white); font-size: 18px; line-height: 1.6; letter-spacing: -0.05em; text-align: center; }
.about-left .btn { margin-top: 40px; margin-right: 19px; }
.perf { width: 352px; height: 269px; border-radius: 20px; overflow: hidden; margin-top: 74px; margin-right: 44px; }
.perf img { width: 100%; height: 100%; object-fit: cover; }
.about-right { padding-top: 207px; }
.about-text { font-size: 48px; line-height: 1.2; letter-spacing: -0.06em; max-width: 880px; }
.about-text .w { display: inline-block; opacity: .18; transition: opacity .4s; }
.about-text .w.on { opacity: 1; }
.about-bldg { width: 378px; height: 444px; border-radius: 20px; overflow: hidden; margin: 117px 0 0 251px; }
.about-bldg img { width: 100%; height: 100%; object-fit: cover; }

/* ============ SERVICES ============ */
.services { padding: 50px var(--pad) 100px; }
.svc-grid { display: grid; grid-template-columns: 636px 1fr; gap: 52px; margin-top: 100px; }
.svc-media { position: sticky; top: 144px; height: 1023px; max-height: calc(100vh - 164px); border-radius: 30px; overflow: hidden; }
.svc-media img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.svc-list { display: flex; flex-direction: column; gap: 20px; }
.svc-item { padding-bottom: 32px; border-bottom: 1px solid var(--line); color: var(--muted); transition: color .4s; }
.svc-item .num { width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 99px; display: grid; place-items: center; font-size: 16px; letter-spacing: -0.04em; }
.svc-item .h4 { margin-top: 23px; transition: color .4s; }
.svc-item p { margin-top: 12px; font-size: 16px; line-height: 1.6; letter-spacing: -0.04em; max-width: 500px; color: var(--muted); }
.svc-item.is-active { color: var(--ink); }
.svc-item.is-active .num { color: #000; }

/* ============ PROCESS ============ */
.process { background: var(--blue); color: var(--white); padding: 60px var(--pad) 0; height: 902px; }
.process .lead { color: var(--white); }
.proc-grid { display: grid; grid-template-columns: repeat(3, 440px); margin-top: 120px; }
.proc { padding: 24px 32px 24px 24px; border: 1px solid rgba(255,255,255,.2); min-height: 247px; }
.proc + .proc { border-left: 0; }
.proc-num { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; background: var(--white); color: var(--ink); font-size: 20px; letter-spacing: -0.04em; }
.proc .h4 { margin-top: 36px; }
.proc p { margin-top: 16px; font-size: 16px; line-height: 1.6; letter-spacing: -0.04em; color: #BDBAB2; }

/* ============ EXPERIENCE ============ */
.experience { background: #FFFDF8; padding: 100px var(--pad) 125px; container-type: inline-size; }
.experience .h2 { margin-top: 32px; }
.exp-grid { position: relative; margin-top: 115px; height: 245.6cqw; }
.exp { position: absolute; }
.exp-img { overflow: hidden; }
.exp-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.exp.in .exp-img img { transform: scale(1); }
.exp .h4 { margin-top: 24px; }
.exp p { margin-top: 16px; font-size: 16px; line-height: 1.6; letter-spacing: -0.04em; color: var(--muted); }
.e1 { left: 0; top: 0; width: 33.71cqw; } .e1 .exp-img { aspect-ratio: 445 / 390; }
.e2 { left: 34.02cqw; top: 29.55cqw; width: 65.98cqw; } .e2 .exp-img { aspect-ratio: 871 / 811; }
.e3 { left: 0; top: 91.21cqw; width: 33.71cqw; } .e3 .exp-img { aspect-ratio: 445 / 390; }
.e4 { left: 33.64cqw; top: 120.68cqw; width: 28.79cqw; } .e4 .exp-img { aspect-ratio: 380 / 333; }
.e5 { left: 62.5cqw; top: 145.83cqw; width: 37.5cqw; } .e5 .exp-img { aspect-ratio: 495 / 434; }
.e6 { left: 0; top: 178.71cqw; width: 62.5cqw; } .e6 .exp-img { aspect-ratio: 825 / 768; }

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 20px 60px 90px; }
.testi-box { background: var(--blue); border-radius: 30px; padding: 20px 39px 40px; color: var(--white); overflow: hidden; }
.testi-head { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 32px; }
.arrows { display: flex; gap: 10px; margin-top: 48px; }
.arrow { width: 48px; height: 48px; transition: transform .3s var(--ease), opacity .3s; }
.arrow:hover { transform: scale(1.08); }
.arrow img { width: 100%; height: 100%; }
.testi-viewport { margin-top: 80px; overflow: visible; }
.testi-track { display: flex; gap: 32px; transition: transform .8s var(--ease); }
.testi { flex: 0 0 100%; background: var(--bg); color: var(--ink); border-radius: 20px; padding: 30px; min-height: 310px; display: flex; flex-direction: column; opacity: .4; transition: opacity .6s; }
.testi.is-active { opacity: 1; }
.quote-ic { width: 34px; height: 36px; }
.testi h3 { font-size: 48px; line-height: 1.2; letter-spacing: -0.06em; max-width: 1100px; margin-top: 18px; }
.person { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 40px; }
.person .ic { width: 58px; height: 58px; border-radius: 10px; background: var(--ink); color: #FAF9F5; display: grid; place-items: center; font-size: 15px; font-weight: 700; letter-spacing: -.02em; flex: none; }
.person h6 { font-size: 28px; line-height: 1.4; letter-spacing: -0.04em; }
.person p { font-size: 16px; line-height: 1.6; letter-spacing: -0.04em; }

/* ============ INSIGHTS ============ */
.insights { padding: 50px var(--pad) 90px; }
.insights .head-row { margin-top: 0; align-items: flex-end; }
.insights .head-row .h2 { margin-top: 32px; }
.lead-col { width: 404px; margin-bottom: 8px; }
.lead-col .lead { max-width: 404px; margin-top: -40px; }
.lead-col .btn { margin-top: 32px; }
.ins-grid { display: grid; grid-template-columns: 443px 1fr; gap: 24px; margin-top: 70px; height: 515px; }
.stack { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.card { position: relative; border-radius: 20px; overflow: hidden; padding: 24px; color: var(--white); flex: 0 0 72px; cursor: pointer; transition: flex-basis .7s var(--ease); }
.card.is-open { flex-basis: calc(100% - 164px); }
.c-black { background: var(--ink); }
.c-blue { background: var(--c2); }
.c-gray { background: var(--gray-card); }
.card .shape { position: absolute; left: -20px; right: -20px; bottom: 0; width: calc(100% + 40px); max-width: none; opacity: 0; transition: opacity .6s; }
.card.is-open .shape { opacity: 1; }
.ins-media { position: relative; border-radius: 20px; }
.ins-main { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.ins-float { position: absolute; box-shadow: 0 10px 30px rgba(0,0,0,.12); animation: float 6s ease-in-out infinite; }
.f1 { right: 24px; top: 47px; width: 295px; height: 160px; border-radius: 10px; }
.f2 { left: 66px; top: 307px; width: 285px; height: 160px; border-radius: 16px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ============ FAQ ============ */
.faq { display: grid; grid-template-columns: 1fr 706px; gap: 40px; padding: 50px var(--pad) 120px; }
.faq-left .h2 { margin-top: 32px; }
.faq-left .btn { margin-top: 40px; }
.faq-list { margin-top: 2px; }
.qa { border-bottom: 1px solid var(--line); }
.q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 4px 0 30px; }
.qa + .qa .q { padding-top: 30px; }
.q h6 { font-size: 28px; line-height: 1.4; letter-spacing: -0.04em; }
.pm { position: relative; width: 34px; height: 34px; border: 1px solid var(--muted); border-radius: 50%; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--muted); transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.is-open .pm { border-color: var(--ink); }
.qa.is-open .pm::before, .qa.is-open .pm::after { background: var(--ink); }
.qa.is-open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.a p { overflow: hidden; font-size: 16px; line-height: 1.6; letter-spacing: -0.04em; color: var(--muted); max-width: 590px; }
.qa.is-open .a { grid-template-rows: 1fr; }
.qa.is-open .a p { padding-bottom: 30px; margin-top: -18px; }

/* ============ FOOTER ============ */
.footer { background: var(--blue); color: var(--white); padding: 60px var(--pad) 30px; }
.foot-top { display: flex; justify-content: space-between; }
.foot-h { font-size: 48px; line-height: 1.2; letter-spacing: -0.06em; }
.foot-social { display: flex; gap: 28px; margin-top: 40px; }
.foot-social a { width: 64px; height: 64px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: transform .3s var(--ease); }
.foot-social a:hover { transform: translateY(-3px); }
.foot-social img { width: 32px; height: 32px; }
.foot-links { display: flex; gap: 40px; margin-right: 28px; }
.foot-links .col { display: flex; flex-direction: column; }
.foot-links a { font-size: 28px; letter-spacing: -0.04em; }
.foot-links .col:first-child { gap: 4px; }
.foot-links .col:last-child { padding-top: 38px; gap: 6px; }
.ext { line-height: 1.4; transition: opacity .25s; }
.ext i { font-style: normal; font-size: 22px; margin-left: 2px; display: inline-block; transition: transform .3s var(--ease); }
.ext:hover i { transform: translate(2px, -2px); }
.foot-word { display: block; font-size: clamp(40px, 11.2vw, 210px); font-weight: 700; letter-spacing: -0.07em; line-height: 1; text-align: center; margin-top: 80px; color: #FAF9F5; white-space: nowrap; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.3); font-size: 20px; line-height: 1.4; letter-spacing: -0.04em; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.exp.reveal { transform: translateY(60px); }
.exp.reveal.in { transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1399px) {
  .svc-grid { grid-template-columns: 45% 1fr; }
  .proc-grid { grid-template-columns: repeat(3, 1fr); }
  .about-bldg { margin-left: 15%; }
}
@media (max-width: 1099px) {
  :root { --pad: 24px; }
  .h2 { font-size: 52px; }
  .h4 { font-size: 32px; }
  .hero { height: auto; padding-bottom: 0; }
  .hero-card { position: relative; left: 0; right: 0; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 20px; height: 620px; margin-top: -40px; padding: 0 24px 32px; }
  .hero-person { left: 50%; transform: translateX(-50%); width: 320px; height: auto; bottom: 230px; }
  .hero-p { margin-bottom: 0; }
  .trusted { flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; height: auto; padding-top: 60px; padding-bottom: 60px; }
  .trusted .logos { width: 100%; }
  .about { height: auto; padding-bottom: 80px; }
  .about-grid { grid-template-columns: 1fr; margin: 32px 0 0; }
  .about-left { align-items: stretch; }
  .about-photo, .perf { width: 100%; margin-right: 0; }
  .about-left .btn { margin-right: 0; align-self: flex-start; }
  .perf { height: auto; aspect-ratio: 352/269; margin-top: 32px; }
  .about-right { padding-top: 48px; }
  .about-text { font-size: 34px; }
  .about-bldg { width: 100%; height: auto; aspect-ratio: 378/444; margin: 40px 0 0; }
  .head-row { flex-direction: column; gap: 20px; }
  .svc-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .svc-media { position: relative; top: 0; height: 420px; }
  .process { height: auto; padding-bottom: 80px; }
  .proc-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .proc + .proc { border-left: 1px solid rgba(255,255,255,.2); border-top: 0; }
  .exp-grid { height: auto; display: flex; flex-direction: column; gap: 48px; }
  .exp { position: relative; left: auto !important; top: auto !important; width: 100% !important; }
  .testimonials { padding: 20px var(--pad) 60px; }
  .testi-box { padding: 20px 20px 24px; }
  .testi-head { flex-direction: column; }
  .arrows { margin-top: 24px; }
  .testi-viewport { margin-top: 40px; }
  .testi h3 { font-size: 30px; }
  .insights .head-row { align-items: flex-start; }
  .lead-col { width: auto; }
  .lead-col .lead { margin-top: 0; }
  .ins-grid { grid-template-columns: 1fr; height: auto; }
  .stack { height: 460px; }
  .ins-media { height: 420px; }
  .f1 { width: 200px; height: auto; } .f2 { width: 190px; height: auto; left: 16px; top: auto; bottom: 16px; }
  .faq { grid-template-columns: 1fr; }
  .q h6 { font-size: 22px; }
  .foot-top { flex-direction: column; gap: 40px; }
  .foot-h { font-size: 34px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 16px; }
}
@media (max-width: 600px) {
  .tag, .trusted-label { font-size: 22px; }
  .h2 { font-size: 40px; }
  .hero-h { font-size: 30px; }
  .hero-person { width: 260px; bottom: 260px; }
  .foot-links a { font-size: 22px; }
  .foot-links .col:last-child { padding-top: 0; }
  .foot-social a { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ AÑADIDOS SUBVENCIONES IA PYMES ============ */
.btn-light { background: #FAF9F5; color: var(--ink); }
.btn-light .btn-arrow { background: var(--ink); }
.btn-light .btn-arrow::before { color: #FAF9F5; }
.btn { cursor: pointer; border: 0; text-align: left; font-family: inherit; }
.hero-r { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 420px; margin-bottom: 30px; }
.hero-r .hero-p { margin-bottom: 0; }
.hero-aviso { font-size: 13px; line-height: 1.4; letter-spacing: -0.02em; color: #BDBAB2; display: flex; gap: 8px; align-items: center; }
.hero-aviso::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #BDBAB2; flex: none; }
.logos-track span { font-size: 26px; font-weight: 700; letter-spacing: -0.04em; color: var(--muted); white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; font-size: 14px; letter-spacing: -0.02em; background: #E9E8E4; color: var(--ink); margin-top: 20px; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--abierta { background: var(--ink); color: #FAF9F5; }
.chip--proxima { background: #D9D7D0; }
.chip--cerrada, .chip--resuelta, .chip--indirecta { background: #E9E8E4; color: var(--muted); }
.exp .h4 a { display: block; }
.exp .mas { display: inline-block; margin-top: 12px; font-size: 16px; letter-spacing: -0.04em; border-bottom: 1px solid var(--ink); }
.card p { margin-top: 14px; font-size: 16px; line-height: 1.5; letter-spacing: -0.03em; max-width: 360px; opacity: 0; transition: opacity .5s; color: #E9E8E4; }
.card.is-open p { opacity: 1; }
.foot-cta { margin-top: 32px; }
.aviso-pie { margin-top: 20px; font-size: 14px; line-height: 1.5; letter-spacing: -0.02em; color: #BDBAB2; max-width: 760px; }
.foot-links .col a.pequeno { font-size: 20px; }
.foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1099px) { .hero-r { max-width: none; margin-bottom: 0; } .nav-logo { font-size: 20px; } }

/* ============ REGISTRO (ventana) ============ */
.registro { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: #FFFDF8; color: var(--ink); box-shadow: 0 40px 80px -20px rgb(24 24 24 / .3); }
.registro::backdrop { background: rgb(24 24 24 / .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.registro[open] { animation: reg-in .45s var(--ease); }
@keyframes reg-in { from { opacity: 0; transform: translateY(20px); } }
.registro__caja { display: flex; flex-direction: column; gap: 22px; padding: 34px; position: relative; }
.registro__cabeza { display: flex; flex-direction: column; gap: 8px; }
.registro__cabeza h2 { font-size: 34px; line-height: 1.1; letter-spacing: -0.05em; font-weight: 700; padding-right: 40px; }
.registro__cabeza p { font-size: 16px; line-height: 1.5; letter-spacing: -0.03em; color: var(--muted); }
.registro__cerrar { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 10px; background: #E9E8E4; font-size: 22px; line-height: 1; display: grid; place-items: center; text-align: center; }
.registro__campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo--ancho { grid-column: 1 / -1; }
.campo > span, .canal legend { font-size: 14px; font-weight: 500; letter-spacing: -0.02em; }
.campo i { font-style: normal; color: var(--muted); font-weight: 400; }
.campo input, .campo select, .campo textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.campo textarea { resize: vertical; min-height: 84px; line-height: 1.4; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(24 24 24 / .12); }
.revisado .campo :invalid { border-color: #B3261E; }
.canal { border: 0; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
.canal legend { margin-bottom: 8px; padding: 0; width: 100%; }
.canal label, .rgpd { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.canal input, .rgpd input { accent-color: var(--ink); width: 18px; height: 18px; margin: 1px 0 0; flex: none; }
.rgpd a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.registro__error { color: #B3261E; font-size: 15px; }
.registro__enviar { width: 100%; justify-content: center; }
.registro__enviar:disabled { opacity: .6; cursor: progress; }
.registro__hecho { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.registro [hidden] { display: none !important; }
@media (max-width: 809px) { .registro__caja { padding: 26px 20px; } .registro__campos { grid-template-columns: 1fr; } }

/* ============ MÓVIL (revisión 12/10/2026) ============ */
html, body { max-width: 100%; overflow-x: clip; }
@media (max-width: 809px) {
  /* Cabecera: dentro de la pantalla */
  .header { height: 88px; }
  .nav { margin: 12px 16px 0; height: 64px; padding: 0 12px 0 16px; }
  .nav-logo { font-size: 19px; padding: 10px 0; }
  .menu { left: 0; right: 0; width: auto; }
  .menu a { font-size: 26px; padding: 6px 0; }

  /* Portada: título que cabe y foto que no tapa el texto */
  .hero { display: flex; flex-direction: column; padding: 108px 16px 0; overflow: hidden; }
  .hero-title { font-size: 12.2vw; letter-spacing: -0.07em; order: 0; }
  .hero-person { position: relative; order: 1; left: auto; right: auto; bottom: auto; transform: none; width: 64%; max-width: 280px; height: auto; margin: 4px auto 0; z-index: 2; }
  .hero-card { order: 2; position: relative; height: auto; margin-top: -42%; padding: calc(42% + 28px) 22px 28px; border-radius: 28px; }
  .hero-h { font-size: 29px; }
  .hero-h br { display: none; }
  .hero-r { gap: 18px; }
  .hero-p { font-size: 17px; }
  .hero-aviso { font-size: 14px; }

  /* Fuentes y bloques */
  .trusted { padding: 48px 16px; }
  .about, .services, .insights, .faq { padding-left: 16px; padding-right: 16px; }
  .process { padding: 56px 16px 64px; }
  .experience { padding: 72px 16px 80px; }
  .exp-grid { margin-top: 48px; gap: 56px; }
  .exp .h4 { font-size: 28px; }
  .exp .mas { padding: 10px 0; }
  .testimonials { padding: 20px 16px 56px; }
  .testi { padding: 24px; min-height: 0; }
  .testi h3 { font-size: 25px; }
  .person h6 { font-size: 20px; }
  .ins-grid { gap: 16px; }
  .stack { height: 420px; }
  .card .h4 { font-size: 26px; }
  .faq .q { padding: 18px 0; }
  .qa + .qa .q { padding-top: 18px; }
  .qa.is-open .a p { margin-top: -4px; padding-bottom: 20px; }

  /* Botones con área táctil cómoda */
  .btn { height: 56px; }
  .chip { font-size: 14px; height: 32px; }

  /* Pie */
  .footer { padding: 48px 16px 28px; }
  .foot-h { font-size: 30px; }
  .foot-links { gap: 28px; margin-right: 0; }
  .foot-links a { font-size: 22px; padding: 8px 0; }
  .foot-links .col:first-child { gap: 0; }
  .foot-word { font-size: 13.4vw; margin-top: 48px; }
  .foot-bottom { font-size: 16px; gap: 12px; }
  .foot-bottom a, .foot-bottom p a { display: inline-block; padding: 6px 0; }
  .aviso-pie { font-size: 14px; }
}
@media (max-width: 380px) { .hero-h { font-size: 26px; } .nav-logo { font-size: 17px; } }
/* Tarjetas de datos flotantes (sustituyen a las gráficas de la plantilla) */
.ins-float { background: transparent; box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.f1 { width: 340px; height: auto; border-radius: 12px; }
.f2 { width: 330px; height: auto; border-radius: 12px; top: auto; bottom: 40px; }
.perf { background: #FAF9F5; }
.perf img { object-fit: contain; }
@media (max-width: 1099px) { .f1 { width: 230px; top: 16px; right: 16px; } .f2 { width: 220px; bottom: 16px; left: 16px; } }
/* Portada en tablet: misma solución que en móvil (la foto no tapa el titular) */
@media (min-width: 810px) and (max-width: 1099px) {
  .hero { display: flex; flex-direction: column; padding: 126px 24px 0; overflow: hidden; }
  .hero-title { font-size: 12.4vw; }
  .hero-person { position: relative; order: 1; left: auto; bottom: auto; transform: none; width: 40%; max-width: 360px; height: auto; margin: 0 auto; z-index: 2; }
  .hero-card { order: 2; position: relative; height: auto; margin-top: -26%; padding: calc(26% + 32px) 32px 36px; }
  .hero-r { max-width: 520px; }
}
.perf { background: transparent; border-radius: 22px; box-shadow: 0 14px 34px rgba(0,0,0,.08); height: auto; }
.perf img { height: auto; object-fit: initial; }
@media (max-width: 1099px) { .perf { aspect-ratio: auto; } }
