@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-ext-wght.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --black: #000000;
  --ink: #1d1d1f;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --dark: #0a0a0c;
  --dark-2: #161617;
  --accent: #e4711f;
  --accent-2: #ff8a3d;
  --link: #b4520f;
  --accent-text: #b4520f;   /* naranja accesible para texto y botones (5,05:1) */
  --accent-text-hover: #9a450c;
  --wa: #0f7a3d;            /* verde accesible para WhatsApp (5,42:1) */
  --wa-hover: #0e6e37;
  --field-border: #8e8e93;  /* borde de campos (3,26:1) */
  --dim: #86868b;
  --dim-dark: #8e8e93;
  --radius-lg: 28px;
  --radius: 18px;
  --max: 1080px;
  --wide: 1320px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.47; font-size: 17px; letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.07; font-weight: 600; letter-spacing: -0.03em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.wide { max-width: var(--wide); }
.center { text-align: center; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--accent-text); letter-spacing: -0.01em; display: block; margin-bottom: 10px; }
.headline { font-size: clamp(40px, 6vw, 80px); }
.title { font-size: clamp(32px, 4.6vw, 56px); }
.subtitle { font-size: clamp(19px, 2vw, 24px); color: var(--muted); font-weight: 400; letter-spacing: -0.015em; line-height: 1.35; max-width: 720px; }
.center .subtitle { margin-left: auto; margin-right: auto; }
.section { padding: 120px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--dark); color: #f5f5f7; }
.section.dark h2, .section.dark h3 { color: #f5f5f7; }
.section.dark .subtitle { color: #a1a1a6; }
.section-head { margin-bottom: 64px; }
.section-head .subtitle { margin-top: 18px; }

/* Links & buttons */
.link { color: var(--link); display: inline-flex; align-items: center; gap: 4px; }
.link::after { content: "›"; font-size: 1.15em; line-height: 1; transform: translateY(-1px); }
.link:hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 400 17px var(--font); padding: 12px 24px; border-radius: 980px; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.btn-primary { background: var(--accent-text); color: #fff; }
.btn-primary:hover { background: var(--accent-text-hover); }
.btn-secondary { background: transparent; color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-text); }
.btn-secondary:hover { background: var(--accent-text); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.center .actions { justify-content: center; }

/* Preview ribbon */
.preview { background: #1d1d1f; color: #a1a1a6; font-size: 12px; text-align: center; padding: 8px 16px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251,251,253,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 56px; max-width: var(--wide); }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 13px; color: rgba(0,0,0,.8); transition: color .2s; }
.nav a:hover, .nav a.active { color: #000; }
.nav a.active { font-weight: 600; }
.nav .phone { color: var(--accent-text); font-weight: 500; }
.nav .btn { font-size: 13px; padding: 6px 14px; color: #fff; }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { background: var(--black); color: #f5f5f7; text-align: center; overflow: hidden; position: relative; }
.hero .container { padding-top: 88px; position: relative; z-index: 2; }
.hero .eyebrow { color: var(--accent-2); }
.hero h1 { color: #f5f5f7; }
.hero .subtitle { color: #a1a1a6; margin: 18px auto 0; }
.hero .btn-secondary { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.hero .btn-secondary:hover { background: #fff; color: #000; }
.hero-art { position: relative; margin: 0 auto; max-width: 1200px; }
.hero-art img { width: 100%; -webkit-mask-image: radial-gradient(ellipse 60% 75% at 50% 40%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 60% 75% at 50% 40%, #000 55%, transparent 100%); }
.hero-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 35%; background: linear-gradient(transparent, #000); }
.hero-facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--max); margin: -60px auto 0; padding: 0 22px 96px; }
.hero-facts div { border-top: 1px solid #333336; padding-top: 18px; text-align: left; }
.hero-facts b { display: block; color: #f5f5f7; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.hero-facts span { color: #86868b; font-size: 14px; }

/* Page hero */
.page-hero { background: var(--bg-alt); text-align: center; padding: 100px 0 80px; }
.page-hero.dark { background: var(--black); }
.page-hero.dark h1 { color: #f5f5f7; }
.page-hero.dark .subtitle { color: #a1a1a6; }
.page-hero h1 { margin-bottom: 18px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { border-radius: var(--radius-lg); overflow: hidden; background: #fff; position: relative; display: flex; flex-direction: column; min-height: 540px; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.tile:hover { transform: scale(1.012); box-shadow: 0 24px 60px rgba(0,0,0,.08); }
.tile .copy { padding: 44px 44px 0; position: relative; z-index: 2; }
.tile h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 17px; max-width: 440px; }
.tile .link { margin-top: 14px; }
.tile .art { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding: 24px 24px 0; }
.tile .art img { max-height: 330px; width: auto; }
.tile.dark { background: #0a0a0c; }
.tile.dark h3 { color: #f5f5f7; }
.tile.dark p { color: #a1a1a6; }
.tile.fill .art { padding: 0; align-items: flex-end; }
.tile.fill .art img { max-height: none; width: 100%; height: 360px; object-fit: cover; object-position: center 40%; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--dark-2); border-radius: var(--radius-lg); padding: 36px 30px 40px; }
.step .num { font-size: 56px; font-weight: 600; letter-spacing: -0.04em; background: linear-gradient(135deg, #ffb27a, #e4711f 60%, #b8420c); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.step h3 { font-size: 22px; margin: 26px 0 8px; }
.step p { color: #a1a1a6; font-size: 16px; }

/* App-style icons */
.app-icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px rgba(0,0,0,.12); }
.app-icon svg { width: 32px; height: 32px; }
.g-orange { background: linear-gradient(160deg, #ffb069, #e4711f 55%, #c24e0c); }
.g-red { background: linear-gradient(160deg, #ff7a6b, #e3261b 55%, #a8120b); }
.g-blue { background: linear-gradient(160deg, #5ac8fa, #0a84ff 55%, #0050c8); }
.g-navy { background: linear-gradient(160deg, #3a5a82, #16304f 60%, #0b1b2b); }
.g-teal { background: linear-gradient(160deg, #64e0c8, #00a38a 60%, #00735f); }
.g-graphite { background: linear-gradient(160deg, #8e8e93, #48484a 60%, #1c1c1e); }
.g-yellow { background: linear-gradient(160deg, #ffe07a, #ffb300 60%, #e08a00); }
.g-purple { background: linear-gradient(160deg, #c69cff, #7d4dff 60%, #5427d6); }
.g-green { background: linear-gradient(160deg, #7ef0a2, #25d366 55%, #11974a); }
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector { background: #fff; border-radius: var(--radius); padding: 30px 26px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.sector:hover { transform: translateY(-4px); }
.sector h3 { font-size: 19px; margin-top: 22px; letter-spacing: -0.02em; }
.sector p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Feature split */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature .art { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 48px; display: grid; place-items: center; min-height: 460px; }
.feature .art img { max-height: 380px; width: auto; }
.feature .art.dark { background: #0a0a0c; padding: 0; overflow: hidden; }
.feature .art.dark img { max-height: none; width: 100%; }
.feature h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.feature p { color: var(--muted); font-size: 19px; }
.section.dark .feature p { color: #a1a1a6; }
.checks { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; font-size: 17px; color: var(--text); align-items: flex-start; }
.section.dark .checks li { color: #f5f5f7; }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; margin-top: 1px; }
.section.alt .feature .art { background: #fff; }
.service { padding: 110px 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service:nth-child(even) .art { order: -1; }

/* Statement */
.statement { font-size: clamp(30px, 4.4vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); max-width: 980px; }
.statement .dim { color: var(--dim); }
.section.dark .statement { color: #f5f5f7; }
.section.dark .statement .dim { color: var(--dim-dark); }

/* Segmented control & projects */
.segmented { display: inline-flex; background: #e8e8ed; border-radius: 980px; padding: 4px; gap: 2px; margin-bottom: 48px; }
.seg { border: 0; background: transparent; font: 500 14px var(--font); color: var(--ink); padding: 9px 20px; border-radius: 980px; cursor: pointer; transition: background .2s, box-shadow .2s; white-space: nowrap; }
.seg[aria-pressed="true"] { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project { border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.project:hover { transform: scale(1.012); box-shadow: 0 24px 60px rgba(0,0,0,.08); }
.project img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.project .body { padding: 26px 30px 32px; }
.project .cat { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.project h3 { font-size: 24px; margin: 8px 0 6px; }
.project p { font-size: 15px; color: var(--muted); }
.project[hidden] { display: none; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: var(--bg-alt); border-radius: var(--radius); padding: 32px 28px; }
.value h3 { font-size: 20px; margin: 22px 0 8px; }
.value p { color: var(--muted); font-size: 15px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv > div { border-radius: var(--radius-lg); padding: 56px 48px; background: var(--dark); color: #f5f5f7; }
.mv > div:last-child { background: linear-gradient(135deg, #e4711f, #b8420c); }
.mv small { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.mv h3 { color: #fff; font-size: 30px; margin: 14px 0 12px; }
.mv p { color: rgba(255,255,255,.78); font-size: 17px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; align-items: start; }
.card { background: #fff; border-radius: var(--radius-lg); padding: 48px; }
.card h2 { font-size: 30px; margin-bottom: 28px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea { font: 17px var(--font); color: var(--ink); padding: 14px 16px; border: 1px solid var(--field-border); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center/12px no-repeat; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(228,113,31,.15); }
.form .note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.form-status { grid-column: 1 / -1; padding: 14px 18px; border-radius: 12px; background: #e9f7ef; color: #1b5e34; font-size: 15px; display: none; }
.form-status.show { display: block; }
.info { display: grid; gap: 16px; }
.info-tile { background: #fff; border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; align-items: center; }
.info-tile .app-icon { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px; }
.info-tile .app-icon svg { width: 22px; height: 22px; }
.info-tile small { display: block; font-size: 13px; color: var(--muted); }
.info-tile a, .info-tile span { font-weight: 500; color: var(--ink); font-size: 16px; }
.emergency { background: var(--black); color: #f5f5f7; border-radius: var(--radius); padding: 28px 26px; }
.emergency small { color: #86868b; font-size: 13px; }
.emergency a.num { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin: 4px 0 18px; color: #fff; }

/* CTA */
.cta h2 { font-size: clamp(34px, 5vw, 64px); }

/* Footer */
.footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; }
.footer .container { padding-top: 40px; padding-bottom: 28px; }
.footer .note { padding-bottom: 18px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.footer h2 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; line-height: 1.4; }
.footer ul a { display: inline-block; min-height: 24px; padding: 3px 0; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; gap: 12px; flex-wrap: wrap; }
.social { display: flex; gap: 10px; }
.social a { width: 32px; height: 32px; border-radius: 50%; background: #e8e8ed; display: grid; place-items: center; color: var(--ink); }
.social a:hover { text-decoration: none; background: #dcdce1; }
.social svg { width: 15px; height: 15px; }

/* WhatsApp */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .2s; }
.wa:hover { transform: scale(1.06); }
.wa svg { width: 28px; height: 28px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .zoom { transform: scale(.94); opacity: 0; transition: opacity 1.2s ease, transform 1.4s cubic-bezier(.2,.8,.2,1); }
.js .zoom.in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .reveal, .js .zoom { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1020px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .span-6 { grid-column: span 2; }
  .steps, .sectors, .values { grid-template-columns: repeat(2, 1fr); }
  .feature, .contact, .mv { grid-template-columns: 1fr; gap: 40px; }
  .service:nth-child(even) .art { order: 0; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: rgba(251,251,253,.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 28px 28px; border-bottom: 1px solid rgba(0,0,0,.08); opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity .25s, transform .25s, visibility 0s linear .25s; }
  .nav.open { transition: opacity .25s, transform .25s, visibility 0s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav a { font-size: 22px; font-weight: 600; padding: 12px 0; color: var(--ink); }
  .nav .phone { font-size: 17px; }
  .nav .btn { margin-top: 16px; font-size: 17px; padding: 12px 20px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .projects { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .bento, .steps, .sectors, .values, .form, .footer-grid, .hero-facts { grid-template-columns: 1fr; }
  .span-6 { grid-column: span 1; }
  .tile { min-height: 460px; }
  .tile .copy { padding: 32px 28px 0; }
  .card { padding: 28px 22px; }
  .mv > div { padding: 40px 28px; }
  .feature .art { min-height: 0; padding: 32px; }
  .segmented { display: flex; overflow-x: auto; max-width: 100%; }
  .hero .container { padding-top: 64px; }
  .hero-facts { padding-bottom: 64px; }
}
.section.alt .value { background: #fff; }
.app-icon.big { width: 132px; height: 132px; border-radius: 32px; } .app-icon.big svg { width: 64px; height: 64px; }
.tile .art .app-icon.big { margin-bottom: 70px; }
.form-status.error { background: #fdecea; color: #8a1c12; }
.btn:disabled { opacity: .6; cursor: default; }

/* Clientes */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.client { background: var(--bg-alt); border-radius: var(--radius); height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.client:hover { filter: none; opacity: 1; }
.client img { max-height: 48px; max-width: 70%; }
.client-name { font-weight: 600; font-size: 16px; color: var(--ink); text-align: center; padding: 0 12px; }
.client.placeholder { border: 1.5px dashed var(--line); background: transparent; }
.client-logo { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b0b0b5; font-size: 14px; }
.client small { color: var(--muted); font-size: 12px; }
@media (max-width: 1020px) { .clients { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .clients { grid-template-columns: repeat(2, 1fr); } }

/* Consentimiento y textos legales */
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text); }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: 0 0 20px; }
.consent a, .legal a { color: var(--accent-text); text-decoration: underline; }
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--text); font-size: 17px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; background: var(--bg-alt); }
.legal .pending { background: #fff4e5; color: #8a4b08; padding: 0 4px; border-radius: 4px; }

/* Aviso de cookies */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 720px; margin: 0 auto; background: rgba(29,29,31,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: #f5f5f7; border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 18px; align-items: center; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 14px; color: #d2d2d7; flex: 1; }
.cookie-banner a { color: #ff8a3d; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-banner .btn { font-size: 14px; padding: 9px 18px; }
.cookie-banner .btn-secondary { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
@media (max-width: 640px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }

/* Preguntas frecuentes */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--radius); margin-bottom: 12px; padding: 0 26px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 19px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; letter-spacing: -0.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 24px; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 0 22px; font-size: 17px; }

/* Accesibilidad */
.page-hero.dark .eyebrow, .section.dark .eyebrow { color: var(--accent-2); }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .section.dark :focus-visible, .page-hero.dark :focus-visible, .cookie-banner :focus-visible, .tile.dark:focus-visible { outline-color: var(--accent-2); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 15px; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.req { color: var(--accent-text); font-weight: 600; }
.form-legend { grid-column: 1 / -1; font-size: 14px; color: var(--muted); margin-bottom: -4px; }

/* Mejoras UX 0.8.0 ------------------------------------------------- */
/* Portada en dos columnas */
.hero-split { text-align: left; }
.hero-split .hero-grid2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-split .headline { font-size: clamp(40px, 5vw, 68px); }
.hero-split .subtitle { margin: 18px 0 0; }
.hero-split .actions { justify-content: flex-start; }
.hero-visual img { width: 100%; border-radius: var(--radius-lg); -webkit-mask-image: radial-gradient(ellipse 75% 80% at 55% 45%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 75% 80% at 55% 45%, #000 55%, transparent 100%); }
.trust { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; padding-top: 22px; border-top: 1px solid #333336; }
.trust b { display: block; color: #f5f5f7; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.trust span { color: #a1a1a6; font-size: 14px; }

/* Navegación por servicios */
.subnav { position: sticky; top: 56px; z-index: 40; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.subnav .container { display: flex; gap: 8px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 980px; background: var(--bg-alt); color: var(--ink); font-size: 15px; font-weight: 500; }
.subnav a:hover { background: #e8e8ed; }
.service { scroll-margin-top: 130px; }

/* Servicios como botones en el formulario */
.chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips legend { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 10px; padding: 0; }
.chips legend small, .field label small { font-weight: 400; color: var(--muted); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 980px; border: 1px solid var(--field-border); background: #fff; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.chip input:checked + span { border: 2px solid var(--accent-text); background: #fff1e8; color: #7a3507; font-weight: 600; padding: 0 17px; }
.chip input:focus-visible + span { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.chip-error { color: #b3261e; font-size: 14px; margin-top: 8px; }

/* Qué pasa después */
.next-steps { background: #fff; border-radius: var(--radius); padding: 26px; }
.next-steps h2 { font-size: 20px; margin-bottom: 16px; }
.next-steps ol { list-style: none; counter-reset: paso; display: grid; gap: 14px; }
.next-steps li { counter-increment: paso; display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; }
.next-steps li::before { content: counter(paso); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.next-steps b { font-weight: 600; font-size: 16px; }
.next-steps span { color: var(--muted); font-size: 15px; }

/* Llamada en el encabezado y barra de contacto fija (celular) */
.header-call { display: none; }
.mobile-bar { display: none; }
@media (max-width: 1020px) {
  .hero-split .hero-grid2 { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
  .hero-visual { order: 2; }
}
@media (max-width: 820px) {
  .header-call { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; color: var(--accent-text); }
  .header-call svg { width: 22px; height: 22px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,251,253,.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid var(--line); }
  .mobile-bar a { min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 14px; background: #f0f0f3; color: var(--ink); font-size: 13px; font-weight: 600; }
  .mobile-bar a svg { width: 20px; height: 20px; }
  .mobile-bar .bar-wa { background: var(--wa); color: #fff; }
  .mobile-bar .bar-quote { background: var(--accent-text); color: #fff; }
  .wa { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .cookie-banner { bottom: calc(84px + env(safe-area-inset-bottom)); padding: 12px 14px; gap: 10px; }
  .cookie-banner p { font-size: 13px; }
  .subnav { top: 56px; }
}
@media (max-width: 640px) {
  .trust { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .hero-split .actions .btn { flex: 1 1 100%; }
}
