/* ==========================================================
   ameba — estilos públicos
   Referencia: capturas aprobadas (portada oscura con slider,
   interiores en blanco, menú desplegable lateral, precios y footer negro).
   Medidas tomadas a 1920 px y escaladas con vw.
   ========================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); }

:root {
  --ink: #1E1E1E;
  --text: #1E1E1E;
  --muted: #5F5F5F;
  --bg: #FFFFFF;
  --soft: #F6F6F6;
  --line: #E9E9E9;
  --line-2: #E0E0E0;
  --black: #09090B;
  --accent: #FA2837;
  --menu-bg: #E3DDE0;

  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-tight: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(20px, 5.2vw, 100px);
  --wrap: 1720px;
  --hdr-h: 76px;
  --section: clamp(80px, 7.5vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body.is-locked { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; color: var(--ink); }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1em; height: 1em; flex: none; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font: 600 16px/1.2 var(--f-body); padding: 17px 32px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft); }
.btn-lg { padding: 20px 40px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-row { margin-top: 2rem; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Logotipo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.logo-mark { width: 30px; height: 30px; fill: currentColor; }
.logo-word { font-family: var(--f-tight); font-weight: 600; font-size: 31px; letter-spacing: -.045em; line-height: 1; }
.logo-img { height: 32px; width: auto; }
.logo--xl .logo-mark { width: 54px; height: 54px; }
.logo--xl .logo-word { font-size: clamp(40px, 3.2vw, 62px); }
.logo--xl .logo-img { height: clamp(40px, 2.9vw, 56px); }

/* ---------- Cabecera ---------- */
.site-header { position: relative; z-index: 30; background: #fff; color: var(--ink); }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--hdr-h); }
.hdr-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.hdr-nav ul { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0; }
.hdr-nav a, .drop-toggle { display: inline-block; font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--ink); text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.has-drop { position: relative; }
.drop-toggle { display: inline-flex; align-items: center; gap: 6px; }
.drop-toggle::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.hdr-nav .drop { position: absolute; top: calc(100% + 16px); left: -22px; min-width: 260px; display: block; margin: 0; padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .04); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-drop:hover .drop, .has-drop:focus-within .drop, .drop-toggle[aria-expanded="true"] + .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 10px 14px; border-radius: 10px; }
.drop a:hover { background: var(--soft); text-decoration: none; }
.hdr-icon { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink); }
.hdr-icon .ic { width: 22px; height: 22px; }

.burger { position: relative; width: 22px; height: 10px; background: none; border: 0; padding: 0; cursor: pointer; display: inline-block; color: var(--ink); }
.burger span { position: absolute; right: 0; height: 2px; border-radius: 2px; background: currentColor; }
.burger span:first-child { top: 0; width: 62%; }
.burger span:last-child { bottom: 0; width: 100%; }
.burger::after { content: ""; position: absolute; inset: -14px; }
.burger--circle { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); }
.burger--circle span:first-child { top: 15px; right: 10px; width: 12px; }
.burger--circle span:last-child { bottom: 15px; right: 10px; width: 20px; }
.burger--circle::after { inset: -4px; }

/* Cabecera sobre el slider (portada) */
.site-header.is-overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; color: #fff; }
.hdr-cta { align-self: end; padding-bottom: 16px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; text-decoration: none; color: #fff; }
.hdr-cta:hover { text-decoration: underline; text-underline-offset: .3em; }

/* Botones flotantes */
.fab-menu { position: fixed; z-index: 40; top: 40px; right: clamp(16px, 3vw, 57px); width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--accent); box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .35); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: scale(.85); transition: opacity .25s, transform .25s, visibility .25s; }
.fab-menu.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab-menu .burger { color: #fff; pointer-events: none; }
.to-top { position: fixed; z-index: 40; right: clamp(16px, 3vw, 57px); bottom: 48px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .14); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top .ic { width: 20px; height: 20px; }

/* ---------- Menú desplegable (panel lateral) ---------- */
.menu-overlay, .search-overlay { position: fixed; inset: 0; z-index: 100; }
.menu-overlay[hidden], .search-overlay[hidden] { display: none; }
.mo-backdrop { position: absolute; inset: 0; background: rgba(5, 8, 20, .08); }
.mo-panel { position: absolute; top: 20px; bottom: 20px; right: 20px; left: 49vw; overflow-y: auto; border-radius: 24px; color: var(--ink);
  background: radial-gradient(120% 80% at 20% 70%, rgba(240, 236, 238, .97), rgba(227, 221, 224, .97) 60%);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: 80px clamp(28px, 4.6vw, 88px) 60px clamp(28px, 6.2vw, 119px);
  animation: mo-in .45s cubic-bezier(.2, .7, .2, 1) both; }
.mo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(40px, 3.7vw, 71px); }
.mo-close { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.mo-close .ic { width: 22px; height: 22px; stroke-width: 1.4; }
.mo-list { list-style: none; margin: 0; padding: 0; }
.mo-link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: none; color: var(--ink);
  font-family: var(--f-body); font-weight: 600; font-size: clamp(40px, 4vw, 80px); line-height: 1.25; letter-spacing: -.035em; }
.mo-link:hover > span:first-child { opacity: .6; }
.mo-sub { list-style: none; margin: 4px 0 18px; padding: 0 0 0 4px; }
.mo-sub a { display: inline-block; padding: 4px 0; font-size: clamp(20px, 1.6vw, 28px); font-weight: 500; letter-spacing: -.02em; text-decoration: none; }
.mo-sub a:hover, .mo-sub a[aria-current="page"] { text-decoration: underline; text-underline-offset: .2em; }
.plus { position: relative; width: 21px; height: 21px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transition: transform .25s; }
.plus::before { width: 100%; height: 1.6px; transform: translate(-50%, -50%); }
.plus::after { width: 1.6px; height: 100%; transform: translate(-50%, -50%); }
[aria-expanded="true"] > .plus::after, details[open] .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
@keyframes mo-in { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }

.so-panel { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; align-items: center; gap: 20px; padding: 36px clamp(24px, 4vw, 72px); border-radius: 24px; background: var(--menu-bg); animation: mo-in .35s ease both; }
.so-panel input { flex: 1; min-width: 0; font: 500 clamp(24px, 3vw, 52px)/1.2 var(--f-tight); letter-spacing: -.04em; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 8px 0; outline: none; }

/* ---------- Slider de portada ---------- */
.b-slider { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; background: #050A1F; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.is-active .slide-img { transform: scale(1); }
.slide--noimg { background: radial-gradient(70% 90% at 72% 38%, #2A4AB0 0%, #142A78 32%, #0A1748 62%, #050A1F 100%); }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 10, 31, .55), rgba(5, 10, 31, .2) 70%), linear-gradient(0deg, rgba(5, 10, 31, .35), transparent 40%); }
.slide-content { position: absolute; left: 16.7vw; right: 12vw; top: 50%; transform: translateY(-50%); }
.slide-kicker { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 22px; }
.slide-title { color: #fff; font-family: var(--f-body); font-weight: 700; font-size: clamp(48px, 6.4vw, 140px); line-height: .88; letter-spacing: -.02em; text-transform: uppercase; max-width: 9.5em; }
.slide-title a { text-decoration: none; }
.slide.is-active .slide-kicker, .slide.is-active .slide-title { animation: slide-up .9s cubic-bezier(.2, .7, .2, 1) both; }
.slide.is-active .slide-title { animation-delay: .08s; }
@keyframes slide-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.slider-social { position: absolute; z-index: 2; left: clamp(20px, 4.7vw, 90px); top: 50%; transform: translate(-50%, -50%); list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.slider-social a { display: block; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 14px; font-weight: 700; letter-spacing: .02em; text-decoration: none; color: #fff; }
.slider-social a:hover { opacity: .7; }
.slider-count { position: absolute; z-index: 2; right: calc(var(--gutter) + 2px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.sc-line { width: 1px; height: 130px; background: rgba(255, 255, 255, .55); }
.sc-num { position: relative; width: 40px; height: 40px; }
.sc-cur { position: absolute; left: 6px; top: 0; }
.sc-total { position: absolute; right: 6px; bottom: 0; }
.sc-slash { position: absolute; left: 50%; top: 50%; width: 1px; height: 14px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.slider-nav { position: absolute; z-index: 2; bottom: 82px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; cursor: pointer; color: #fff; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.slider-nav .ic { width: 18px; height: 18px; stroke-width: 2; }
.slider-prev { left: var(--gutter); }
.slider-next { right: var(--gutter); }
.slider-nav:hover span { text-decoration: underline; text-underline-offset: .3em; }

/* ---------- Cabecera de página interior ---------- */
.b-pagehero { display: flex; flex-direction: column; min-height: calc(100vh - var(--hdr-h)); min-height: calc(100svh - var(--hdr-h)); }
.ph-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding-block: 48px; }
.ph-title { width: 100%; text-align: center; font-family: var(--f-body); font-weight: 700; font-size: clamp(36px, 10.6vw, 220px); line-height: .95; letter-spacing: -.025em; text-transform: uppercase; color: var(--ink); }
.ph-bar { border-top: 1px solid var(--line); }
.ph-bar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 60px; font-size: 15px; font-weight: 600; text-transform: uppercase; }
.ph-scroll { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; justify-self: start; }
.ph-scroll .ic { width: 16px; height: 16px; stroke-width: 1.8; }
.ph-scroll:hover { text-decoration: underline; text-underline-offset: .3em; }
.ph-right { justify-self: end; text-align: right; }

/* ---------- Secciones ---------- */
.b { padding-block: var(--section); }
.b--alt { background: var(--soft); }
.b--ink { background: var(--black); color: #fff; }
.b--ink h2, .b--ink h3, .b--ink .sec-label { color: #fff; }
.sec-head { margin-bottom: clamp(40px, 3.3vw, 64px); }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-label { font-size: 18px; font-weight: 400; color: var(--ink); margin-bottom: 16px; }
.sec-title { font-family: var(--f-tight); font-weight: 500; font-size: clamp(40px, 4.8vw, 92px); line-height: 1.02; letter-spacing: -.04em; max-width: 9.5em; }
.sec-intro { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 38rem; }
.b--ink .sec-intro { color: #B5B5B8; }

/* Lista de servicios */
.svc-list { border-bottom: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 58px; gap: 40px; align-items: center; padding: 38px 0; border-top: 1px solid var(--line); }
.svc-title { font-family: var(--f-tight); font-weight: 500; font-size: clamp(28px, 2.5vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.svc-title a { text-decoration: none; }
.svc-title a::after { content: ""; position: absolute; inset: 0; }
.svc-text { font-size: 18px; color: var(--muted); max-width: 36rem; }
.svc-go { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s; }
.svc-go .ic { width: 22px; height: 22px; }
.svc:hover .svc-go { background: var(--ink); color: #fff; border-color: var(--ink); }
.b--ink .svc, .b--ink .svc-list { border-color: #222224; }
.b--ink .svc-text { color: #B5B5B8; }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.step { background: var(--soft); border-radius: 20px; padding: clamp(32px, 2.7vw, 52px); display: flex; flex-direction: column; min-height: 320px; }
.b--alt .step { background: #fff; }
.step-num { font-size: 15px; font-weight: 600; }
.step-title { margin-top: auto; padding-top: 64px; font-family: var(--f-tight); font-weight: 500; font-size: clamp(26px, 1.9vw, 36px); letter-spacing: -.04em; line-height: 1.08; }
.step-text { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* Precios */
.price-toggle { display: flex; align-items: center; gap: 22px; font-size: 18px; padding-bottom: 6px; }
.pt-label { cursor: pointer; }
.switch { position: relative; width: 66px; height: 34px; border-radius: 999px; border: 0; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .14), inset 0 0 0 1px rgba(0, 0, 0, .04); cursor: pointer; padding: 0; }
.switch-knob { position: absolute; top: 5px; left: 5px; width: 24px; height: 24px; border-radius: 50%; background: #010103; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(32px); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--soft); border-radius: 20px; padding: 56px clamp(28px, 2.7vw, 52px) 50px; }
.b--alt .plan { background: #fff; }
.plan-ribbon { position: absolute; top: 0; right: clamp(24px, 2.9vw, 55px); width: 40px; height: 111px; background: var(--accent); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%); display: flex; align-items: center; justify-content: center; padding-bottom: 14px; }
.plan-ribbon span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 14px; font-weight: 500; }
.plan-name { font-family: var(--f-body); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; padding-right: 56px; }
.plan-desc { margin-top: 12px; font-size: 16px; padding-right: 40px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; margin-top: 28px; }
.plan-from { font-size: 15px; font-weight: 600; margin-right: 4px; }
.plan-amount { font-weight: 700; font-size: clamp(54px, 4vw, 77px); line-height: 1; letter-spacing: -.035em; }
.plan-period { font-size: 15px; font-weight: 600; }
.plan-sep { border: 0; border-top: 1px solid var(--line-2); margin: 32px 0 38px; width: 100%; }
.plan-inc { font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 22px; }
.plan-features { list-style: none; margin: 0 0 44px; padding: 0; display: grid; gap: 10px; }
.plan-features li { display: flex; gap: 10px; align-items: baseline; font-size: 17px; line-height: 1.55; }
.plan-features .ic { width: 14px; height: 14px; transform: translateY(2px); stroke-width: 1.6; }
.plan .btn { margin-top: auto; padding-block: 19px; }
.plans-note { margin-top: 28px; font-size: 15px; color: var(--muted); }

/* Llamada a la acción */
.cta-box { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; background: var(--soft); border-radius: 24px; padding: clamp(40px, 5vw, 96px); }
.cta-box--ink { background: var(--black); color: #fff; }
.cta-box--ink .cta-title, .cta-box--ink .sec-label { color: #fff; }
.cta-copy { max-width: 60rem; }
.cta-title { font-family: var(--f-tight); font-weight: 500; font-size: clamp(36px, 4.2vw, 80px); line-height: 1.02; letter-spacing: -.04em; max-width: 12em; }
.cta-text { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 36rem; }
.cta-box--ink .cta-text { color: #B5B5B8; }

/* Preguntas frecuentes */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.faq { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-family: var(--f-tight); font-weight: 500; font-size: clamp(22px, 1.6vw, 30px); letter-spacing: -.035em; line-height: 1.2; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-a { padding: 0 60px 30px 0; font-size: 18px; color: var(--muted); }
.b--ink .faq, .b--ink .faq-item { border-color: #222224; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.contact-small { margin-top: 40px; font-size: 16px; font-weight: 500; }
.contact-email { display: inline-block; margin-top: 10px; font-size: clamp(26px, 2.3vw, 44px); letter-spacing: -.025em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; word-break: break-word; }
.cform { background: var(--soft); border-radius: 20px; padding: clamp(24px, 2.6vw, 52px); }
.b--alt .cform { background: #fff; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; }
.field label { font-size: 15px; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 16px/1.4 var(--f-body); color: var(--text); background: #fff; border: 1px solid #E4E4E4; border-radius: 12px; padding: 15px 16px; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; margin: 0 0 14px; font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.check .field-error { grid-column: 2; }
.cform .btn { margin-top: 12px; }
[aria-invalid="true"] { border-color: #C81E1E !important; }
.field-error { color: #C81E1E; font-size: 14px; font-weight: 600; }
.notice { padding: 14px 18px; border-radius: 12px; font-weight: 600; margin-bottom: 20px; }
.notice-ok { background: #E7F6EE; color: #0B5D3B; }
.notice-err { background: #FDECEC; color: #B01818; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rgpd { width: 100%; margin-top: 32px; border-collapse: collapse; font-size: 13px; line-height: 1.5; color: var(--muted); }
.rgpd caption { text-align: left; font-weight: 600; color: var(--ink); padding-bottom: 8px; }
.rgpd th, .rgpd td { text-align: left; vertical-align: top; padding: 7px 10px 7px 0; border-top: 1px solid var(--line-2); }
.rgpd th { width: 8.5rem; font-weight: 600; color: var(--text); }

/* Texto largo */
.prose { max-width: 780px; font-size: 18px; line-height: 1.7; color: #2E2E2E; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-tight); font-weight: 500; font-size: clamp(26px, 2vw, 36px); letter-spacing: -.035em; margin-top: 2em; }
.prose h3 { font-size: 21px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .4em; }
.prose a { text-underline-offset: .18em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }

/* Buscador */
.search-form { display: flex; gap: 16px; margin-bottom: 40px; max-width: 900px; }
.search-form input { flex: 1; font: 500 22px var(--f-body); padding: 16px 20px; border: 1px solid var(--line-2); border-radius: 999px; }
.search-count { margin-bottom: 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #fff; padding-top: clamp(64px, 5.4vw, 104px); overflow: hidden; }
.ft-top { display: grid; gap: 40px; padding-bottom: clamp(56px, 4.9vw, 94px); }
.ft-cols-4 { grid-template-columns: 22fr 27fr 21fr 30fr; }
.ft-cols-3 { grid-template-columns: 37fr 41fr 22fr; }
.ft-cols-2 { grid-template-columns: 1fr 1fr; }
.ft-title { color: #fff; font-size: 20px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 26px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 20px; border: 1px solid #2C2C2E; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; color: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.pill:hover { background: #fff; color: var(--black); border-color: #fff; }
.pill .ic { width: 14px; height: 14px; stroke-width: 1.8; }
.ft-text { margin-top: 24px; color: #B5B5B8; font-size: 16px; max-width: 26rem; }
.ft-text a { color: #fff; }
.ft-small { font-size: 16px; font-weight: 500; }
.ft-email { display: inline-block; margin-top: 12px; font-size: clamp(26px, 2.3vw, 44px); line-height: 1.15; letter-spacing: -.02em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; word-break: break-word; }
.ft-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 34px; border-top: 1px solid #222224; font-size: 18px; font-weight: 500; }
.ft-copy { justify-self: end; display: flex; gap: 24px; align-items: center; }
.ft-copy .link-btn { font-size: 15px; color: #B5B5B8; }
.ft-big { display: block; margin-top: clamp(20px, 2.4vw, 48px); padding-bottom: clamp(16px, 2vw, 40px); color: #fff; text-decoration: none; text-align: center; }
.ft-big span { display: inline-block; white-space: nowrap; font-weight: 700; font-size: 16.5vw; line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.ft-big:hover span { opacity: .9; }

/* ---------- Promoción destacada (p. ej. toolio.es) ---------- */
.promo { --px: clamp(28px, 4.6vw, 88px); position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: var(--px) var(--px) 0; color: #fff; }
.promo--red { background: #DF1A2C; } /* rojo algo más profundo que el acento: texto blanco con contraste AA */
.promo--cobalt { background: radial-gradient(70% 110% at 82% 10%, #2A4AB0 0%, #142A78 36%, #0A1748 68%, #050A1F 100%); }
.promo--ink { background: var(--black); }
.promo-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.promo-label { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; }
.promo-label i { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.promo--cobalt .promo-label i, .promo--ink .promo-label i { background: var(--accent); }
.promo-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; margin-top: clamp(40px, 5vw, 96px); }
.promo-title { color: #fff; font-family: var(--f-body); font-weight: 700; font-size: clamp(46px, 7.4vw, 150px); line-height: .88; letter-spacing: -.03em; text-transform: uppercase; }
.promo-stat { text-align: right; }
.promo-stat span { display: block; font-family: var(--f-tight); font-weight: 500; font-size: clamp(84px, 12vw, 240px); line-height: .8; letter-spacing: -.06em; }
.promo-stat small { display: block; margin-top: 14px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.promo-foot { display: flex; justify-content: space-between; align-items: center; gap: 28px 40px; flex-wrap: wrap; margin-top: clamp(32px, 3vw, 56px); padding-bottom: clamp(32px, 3.4vw, 64px); }
.promo-text { font-size: 20px; line-height: 1.5; max-width: 36rem; color: #fff; }
.promo-btn { display: inline-flex; align-items: center; gap: 18px; padding: 10px 10px 10px 32px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.promo-btn::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.promo-btn-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.promo-btn-ic .ic { width: 24px; height: 24px; }
.promo:hover .promo-btn-ic { transform: rotate(45deg); }
.promo-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.promo-marquee { margin-inline: calc(-1 * var(--px)); padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .28); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.promo-track { display: flex; width: max-content; animation: promo-scroll 45s linear infinite; }
.promo-set { display: flex; gap: 12px; padding-right: 12px; }
.promo-set span { padding: 9px 22px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.promo:hover .promo-track { animation-play-state: paused; }
@keyframes promo-scroll { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .promo { border-radius: 22px; }
  .promo-main { grid-template-columns: 1fr; gap: 24px; }
  .promo-stat { text-align: left; display: flex; align-items: baseline; gap: 14px; }
  .promo-stat small { margin: 0; }
  .promo-btn { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-track { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--px); }
  .promo-set + .promo-set { display: none; }
  .promo-set { flex-wrap: wrap; }
  .promo-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Banner de cookies (mismo lenguaje que el panel del menú) ---------- */
.cc { position: fixed; z-index: 90; left: clamp(10px, 1.6vw, 28px); bottom: clamp(10px, 1.6vw, 28px); width: min(560px, calc(100% - 2 * clamp(10px, 1.6vw, 28px))); }
.cc[hidden] { display: none; }
.cc-box { position: relative; overflow-y: auto; overscroll-behavior: contain; max-height: calc(100vh - 2 * clamp(10px, 1.6vw, 28px)); max-height: calc(100svh - 2 * clamp(10px, 1.6vw, 28px)); color: var(--ink); border-radius: 24px; padding: 30px 32px 28px;
  background: radial-gradient(120% 90% at 15% 100%, rgba(242, 238, 240, .96), rgba(227, 221, 224, .96) 65%);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 40px 90px -30px rgba(5, 8, 20, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset;
  animation: cc-in .6s cubic-bezier(.2, .7, .2, 1) .4s both; }
.cc-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.cc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cc-title { margin-top: 14px; font-family: var(--f-tight); font-weight: 500; font-size: clamp(28px, 2.1vw, 38px); line-height: 1.02; letter-spacing: -.045em; }
.cc-text { margin-top: 12px; font-size: 15px; line-height: 1.55; color: #4A4A4A; }
.cc-text a { color: var(--ink); font-weight: 600; text-underline-offset: .2em; }
.cc-prefs { margin-top: 20px; border-top: 1px solid rgba(30, 30, 30, .12); }
.cc-prefs[hidden] { display: none; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(30, 30, 30, .12); }
.cc-row-name { font-family: var(--f-tight); font-weight: 500; font-size: 20px; letter-spacing: -.03em; }
.cc-row-desc { margin-top: 2px; font-size: 14px; color: #5A5A5A; }
.cc .switch { flex: none; }
.switch.is-locked { cursor: default; opacity: .55; }
.switch.is-locked .switch-knob { transform: translateX(32px); }
.cc-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.cc-actions [hidden] { display: none !important; }
.cc-more { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink); }
.cc-more .plus { width: 14px; height: 14px; }
.cc-more:hover span:last-child { text-decoration: underline; text-underline-offset: .25em; }
.cc-main { display: flex; gap: 10px; margin-left: auto; }
.cc-btn { padding: 14px 26px; font-size: 15px; min-width: 128px; }
.cc-btn.btn-outline { border-color: rgba(30, 30, 30, .25); }
.cc.is-config .cc-actions { justify-content: flex-end; }
.cc.is-config .cc-main { width: 100%; display: grid; grid-template-columns: 1.3fr 1fr 1fr; }
.cc.is-config .cc-btn { min-width: 0; padding-inline: 12px; }
.cc--info .cc-actions { justify-content: flex-end; }
@keyframes cc-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 1180px) {
  .hdr-nav { display: none; }
  .hdr, .is-overlay .hdr { grid-template-columns: 1fr auto; }
  .hdr-cta { display: none; }
  .ft-cols-4, .ft-cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr 58px; gap: 16px 24px; }
  .svc-text { grid-column: 1; }
  .svc-go { grid-column: 2; grid-row: 1 / span 2; }
  .mo-panel { left: 20px; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 68px; }
  .slider-social, .slider-count { display: none; }
  .slide-content { left: var(--gutter); right: var(--gutter); }
  .slider-nav { bottom: 40px; }
  .mo-panel { top: 10px; right: 10px; bottom: 10px; left: 10px; padding: 32px 28px; border-radius: 20px; }
  .mo-head { margin-bottom: 40px; }
  .ph-bar-inner { grid-template-columns: 1fr 1fr; gap: 8px; padding-block: 14px; font-size: 13px; }
  .ph-center { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .ft-cols-4, .ft-cols-3, .ft-cols-2 { grid-template-columns: 1fr; }
  .ft-bottom { grid-template-columns: 1fr; justify-items: start; }
  .ft-copy { justify-self: start; flex-wrap: wrap; }
  .fab-menu { top: 16px; width: 52px; height: 52px; }
  .so-panel { flex-wrap: wrap; top: 10px; left: 10px; right: 10px; }
  .cc-box { padding: 24px 22px 22px; border-radius: 20px; }
  .cc-main, .cc.is-config .cc-main { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .cc.is-config .cc-main [data-cc="save"] { grid-column: 1 / -1; }
  .cc-btn { min-width: 0; padding-inline: 12px; }
  .cc--info .cc-main, .cc--info .cc-btn { width: 100%; }
  .search-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
