/* Moracosa · hidromasajemadrid.com · web 2026 · hoja propia, sin frameworks.
   Motor heredado de la web de Seprogin; aquí cambian la paleta y los añadidos del final. */
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
:root {
  --agua: #0B6E7A; --agua-2: #085862; --agua-soft: #E4F4F6; --agua-claro: #19B6C8;
  --ink: #08171F; --ink-2: #1D2B33; --muted: #5B6470; --line: #E6E8EC; --line-2: #D5D9DF;
  --bg: #FFFFFF; --bg-soft: #F5F6F8; --dark: #08171F; --dark-2: #0E2430; --dark-3: #15313F;
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(8, 23, 31, .06), 0 20px 40px -24px rgba(8, 23, 31, .35);
  --shadow-hover: 0 2px 4px rgba(8, 23, 31, .06), 0 28px 48px -24px rgba(11, 110, 122, .35);
  --font-head: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif; --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink-2); background: var(--bg); overflow-x: hidden; }
img, picture { max-width: 100%; display: block; }
picture img { height: auto; }
a { color: var(--agua-2); text-decoration: none; }
a:hover { color: var(--agua); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem .8rem; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--agua); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1 !important; transform: none !important; } }

/* ── botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--agua); color: #fff; box-shadow: 0 10px 24px -12px rgba(11, 110, 122, .7); }
.btn-primary:hover { background: var(--agua-2); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #F5F6F8; color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.link-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--agua-2); }
.link-more:hover svg { transform: translateX(3px); }
.link-more svg { transition: transform .2s; }

/* ── cabecera ── */
.top { position: sticky; top: 0; z-index: 100; background: rgba(8, 23, 31, .72); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background .25s; }
.top.scrolled { background: rgba(8, 23, 31, .96); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 80px; }
.brand img { height: 40px; width: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav > ul > li { position: relative; display: flex; align-items: center; }
.nav a:not(.btn) { display: block; padding: .55rem .8rem; border-radius: 8px; color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .95rem; transition: color .15s, background .15s; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .08); }
.sub-toggle { border: 0; background: transparent; color: rgba(255, 255, 255, .7); width: 28px; height: 28px; display: grid; place-items: center; cursor: pointer; border-radius: 6px; margin-left: -.35rem; }
.sub-toggle svg { transform: rotate(90deg); transition: transform .2s; }
.sub { list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; background: #fff; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(8, 23, 31, .5); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sub a { color: var(--ink) !important; padding: .6rem .8rem !important; }
.sub a:hover { background: var(--bg-soft) !important; color: var(--agua-2) !important; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub.open .sub-toggle svg, .has-sub:hover .sub-toggle svg { transform: rotate(-90deg); }
.has-sub.dismissed .sub { opacity: 0; visibility: hidden; transform: translateY(6px); }
.top-actions { display: flex; align-items: center; gap: .9rem; }
.top-phone { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 600; font-size: .95rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 1100px) { .top-phone { min-width: 44px; min-height: 44px; justify-content: center; } .top-phone span { display: none; } .nav a:not(.btn) { padding: .55rem .6rem; font-size: .9rem; } }
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .top-actions .btn { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); border-bottom: 1px solid rgba(255, 255, 255, .1); display: none; padding: .75rem 1.25rem 1.5rem; max-height: calc(100vh - 80px); overflow: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { flex-wrap: wrap; }
  .nav a:not(.btn) { padding: .85rem .6rem; font-size: 1.05rem; flex: 1; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255, 255, 255, .04); width: 100%; display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { color: rgba(255, 255, 255, .85) !important; }
  .sub a:hover { background: rgba(255, 255, 255, .08) !important; color: #fff !important; }
  .sub-toggle { width: 44px; height: 44px; color: #fff; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── hero ── */
.hero { position: relative; min-height: clamp(560px, 88vh, 860px); display: grid; align-items: center; color: #fff; background: var(--dark); isolation: isolate; overflow: hidden; margin-top: -80px; padding-top: 80px; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-bg img { transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 23, 31, .96) 0%, rgba(8, 23, 31, .82) 45%, rgba(8, 23, 31, .35) 100%); }
.hero-shade::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(11, 110, 122, .28), transparent 60%); }
.hero-inner { position: relative; padding: 6rem 0 4rem; max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--agua-claro); margin: 0 0 1.1rem; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 58ch; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.trust { list-style: none; margin: 3rem 0 0; padding: 1.4rem 0 0; display: grid; grid-template-columns: repeat(4, auto); gap: 2rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.trust strong { display: block; font-family: var(--font-head); font-size: 1.5rem; letter-spacing: -.02em; }
.trust span { font-size: .85rem; color: rgba(255, 255, 255, .7); }
.mark { position: absolute; right: -4%; bottom: -14%; width: min(46vw, 620px); color: rgba(255, 255, 255, .06); z-index: 0; pointer-events: none; }
@media (max-width: 760px) { .hero { min-height: 0; } .hero-inner { padding: 4.5rem 0 3rem; } .trust { grid-template-columns: 1fr 1fr; gap: 1.2rem; } .mark { display: none; } }

/* ── secciones ── */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: rgba(255, 255, 255, .85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--agua); margin: 0 0 .8rem; }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p:not(.section-kicker) { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p:not(.section-kicker) { color: rgba(255, 255, 255, .7); }
.section-dark .section-kicker { color: var(--agua-claro); }
.section-title { margin-bottom: 1.75rem; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.intro .big { font-size: 1.25rem; color: var(--ink); font-weight: 500; line-height: 1.5; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* tarjetas de soluciones */
.cards { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); color: var(--ink-2); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--agua), var(--agua-claro)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #B7E1E6; color: var(--ink-2); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--agua-soft); color: var(--agua); margin-bottom: .5rem; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--agua-2); font-size: .92rem; margin-top: .5rem; }
@media (max-width: 960px) { .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards-3, .cards-4 { grid-template-columns: 1fr; } }

/* sectores */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.sector { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--dark); color: #fff; box-shadow: var(--shadow); }
.sector picture, .sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 23, 31, 0) 30%, rgba(8, 23, 31, .92) 100%); }
.sector:hover img { transform: scale(1.06); }
.sector-body { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; z-index: 1; display: flex; flex-direction: column; gap: .35rem; }
.sector-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.sector-short { font-size: .9rem; color: rgba(255, 255, 255, .8); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s var(--ease), opacity .35s; }
.sector:hover .sector-short, .sector:focus-visible .sector-short { max-height: 6em; opacity: 1; }
@media (max-width: 960px) { .sectors { grid-template-columns: 1fr 1fr; } .sector-short { max-height: 6em; opacity: 1; } }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } .sector { aspect-ratio: 16 / 10; } }

/* proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.steps li { background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 1.75rem; }
.step-n { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--agua); letter-spacing: -.03em; margin-bottom: .75rem; }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* clientes (marquee) */
.clients { padding: 3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.clients .section-kicker { text-align: center; margin-bottom: 1.5rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 56px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee { mask-image: none; } }

/* por qué */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.why-grid p { color: var(--muted); font-size: 1.05rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.checks svg { color: var(--agua); flex: none; margin-top: .15rem; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* blog */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.post-card { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); color: var(--ink-2); transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--ink-2); }
.post-date { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.post-card h3 { font-size: 1.1rem; margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.year { margin: 2.5rem 0 1rem; font-size: 1.1rem; color: var(--muted); }
@media (max-width: 960px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }

/* cta */
.cta { background: linear-gradient(110deg, var(--agua) 0%, #063E45 100%); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -10%; top: -60%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .18), transparent); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: .35rem; }
.cta p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 60ch; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── páginas interiores ── */
.page-hero { position: relative; background: var(--dark); color: #fff; padding: 5.5rem 0 3.5rem; margin-top: -80px; padding-top: calc(80px + 4.5rem); isolation: isolate; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -50%; width: 55%; height: 220%; background: radial-gradient(closest-side, rgba(11, 110, 122, .32), transparent); pointer-events: none; z-index: -1; }
.page-hero-bg, .page-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero.has-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 23, 31, .95), rgba(8, 23, 31, .6)); z-index: -1; }
.page-hero h1 { color: #fff; margin: 0; max-width: 20ch; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero .lead { color: rgba(255, 255, 255, .8); margin: .8rem 0 0; font-size: 1.1rem; max-width: 62ch; }
.page-hero .eyebrow { margin-bottom: .6rem; }
.crumb { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 1rem; }
.crumb a { color: rgba(255, 255, 255, .8); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }
.prose { max-width: 76ch; font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .35rem; }
.prose img { border-radius: var(--radius-sm); margin: 1.25rem 0; height: auto; }
.prose img.inline-img { display: inline-block; margin: 0; }
.prose .video { position: relative; aspect-ratio: 16 / 9; margin: 1.5rem 0; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; vertical-align: top; }
.prose-legal { font-size: .98rem; }
.prose-legal h2 { font-size: 1.3rem; }
.side { position: sticky; top: 100px; display: grid; gap: 1.25rem; }
.side-card { background: var(--bg-soft); border-radius: var(--radius); padding: 1.6rem; }
.side-card h3 { font-size: 1.15rem; }
.side-card p { color: var(--muted); font-size: .95rem; }
.side-card .btn { width: 100%; }
.side-card-dark { background: var(--dark); color: rgba(255, 255, 255, .8); }
.side-card-dark h3 { color: #fff; }
.side-phone { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; font-weight: 600; color: var(--ink); }
.side-img { border-radius: var(--radius); overflow: hidden; }
.side-list { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.side-list h4 { margin: 0 0 .6rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.side-list ul { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.side-list li:last-child { border: 0; }
.side-list a { color: var(--ink); font-weight: 500; }
.figures { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.figures strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: #fff; letter-spacing: -.02em; }
.figures span { font-size: .9rem; }

/* contacto y formularios */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
.contact-info { background: var(--dark); color: rgba(255, 255, 255, .85); border-radius: var(--radius); padding: 2rem; }
.contact-info h2 { color: #fff; font-size: 1.5rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list svg { color: var(--agua-claro); flex: none; margin-top: .1rem; }
.contact-list a { color: #fff; font-weight: 500; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; }
.form-card form p { margin: 0 0 1rem; }
.form-card form label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.form-card form .wpcf7-form-control-wrap { display: block; }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card textarea { width: 100%; display: block; margin-top: .35rem; padding: .85rem 1rem; font: inherit; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--agua); box-shadow: 0 0 0 4px rgba(11, 110, 122, .12); }
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card .wpcf7-list-item { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.form-card .wpcf7-list-item label { display: flex; gap: .6rem; font-weight: 400; color: var(--muted); }
.form-card input[type="checkbox"] { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--agua); flex: none; }
.form-card input[type="submit"] { display: inline-flex; padding: .95rem 1.8rem; border-radius: 999px; border: 0; background: var(--agua); color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(11, 110, 122, .7); transition: background .15s, transform .15s; }
.form-card input[type="submit"]:hover { background: var(--agua-2); transform: translateY(-2px); }
.form-card .wpcf7-response-output, .form-card .wwwm-response { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--agua-soft); border: 1px solid #B7E1E6; font-weight: 500; }
.form-card .wpcf7-response-output:empty, .form-card .wwwm-response:empty { display: none; }
.form-card .nospambots-wrap, .form-card span[style*="-9999px"], .form-card [name="campovacio"] { position: absolute !important; left: -9999px !important; }
.form-card .wpcf7-spinner { display: none; }
details.legal { margin-top: 1.25rem; font-size: .85rem; color: var(--muted); }
details.legal summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }

/* ── pie ── */
.foot { background: var(--dark); color: rgba(255, 255, 255, .75); padding: 4rem 0 1.5rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.foot h3, .foot .foot-h { color: #fff; font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .4rem; }
.foot a { color: rgba(255, 255, 255, .78); }
.foot a:hover { color: #fff; }
.foot address { font-style: normal; }
.foot-brand img { height: 36px; width: auto; margin-bottom: 1rem; }
.foot-iso img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .8; }
.social { display: flex; gap: .6rem; margin-top: .75rem; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .15s; }
.social a:hover { background: var(--agua); }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .55); }
.foot-bottom a { color: rgba(255, 255, 255, .7); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── cookies ── */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150; margin: 0 auto; max-width: 720px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .45); padding: .9rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }

/* ── animaciones de entrada ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: .1s; }
.hero .reveal:nth-child(2) { transition-delay: .2s; }
.hero .reveal:nth-child(3) { transition-delay: .3s; }
.hero .reveal:nth-child(4) { transition-delay: .4s; }
.hero .reveal:nth-child(5) { transition-delay: .5s; }

/* ═════════ páginas interiores 2026-09: bloques de comunicación ═════════ */
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.muted { color: var(--muted); }
.big { font-size: 1.2rem; line-height: 1.55; color: var(--ink); font-weight: 500; }
.section-dark .big { color: #fff; }

/* hero partido */
.phero { padding-bottom: clamp(3rem, 6vw, 5rem); }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero:not(.has-visual) .phero-grid { grid-template-columns: minmax(0, 1fr); }
.phero h1 { max-width: 18ch; font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.phero .lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.phero .actions { margin-top: 1.75rem; }
.hero-facts { list-style: none; margin: 2.25rem 0 0; padding: 1.25rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 680px; }
.hero-facts strong { display: block; font-family: var(--font-head); font-size: clamp(1.15rem, 1.8vw, 1.55rem); color: #fff; letter-spacing: -.02em; line-height: 1.15; }
.hero-facts span { display: block; font-size: .84rem; color: rgba(255, 255, 255, .8); line-height: 1.35; margin-top: .25rem; }
.page-hero.has-bg { padding-top: calc(80px + 6rem); padding-bottom: 5rem; }
.page-hero.has-bg .phero-text { max-width: 820px; }
.hv { position: relative; }
.hv-img { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); outline: 1px solid rgba(255, 255, 255, .1); }
.hv-img picture, .hv-img img { width: 100%; height: 100%; object-fit: cover; }
.hv-wide { aspect-ratio: 16 / 10; }
.hv-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 23, 31, .45)); pointer-events: none; }
.hv-cutout { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 110, 122, .35), rgba(11, 110, 122, .08) 70%, transparent); max-width: 460px; margin-inline: auto; width: 100%; }
.hv-cutout picture { display: grid; place-items: center; width: 100%; height: 100%; }
.hv-cutout img { width: 70%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.hv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; padding-bottom: 1.2rem; }
.hv-tiles .tile { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 1.1rem; border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.hv-tiles .tile svg { color: var(--agua-claro); }
.hv-tiles .tile:nth-child(3n+2) { transform: translateY(1.2rem); }
.hv-tiles:has(.tile:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); max-width: 420px; margin-inline: auto; }
.hv-tiles:has(.tile:nth-child(4):last-child) .tile:nth-child(3n+2) { transform: none; }
.hv-tiles:has(.tile:nth-child(4):last-child) .tile:nth-child(even) { transform: translateY(1.2rem); }
/* anillos (seguridad por capas) */
.hv-rings { display: grid; place-items: center; padding: 1rem 0; }
.rings { position: relative; width: min(100%, 440px); aspect-ratio: 1; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: flex; justify-content: center; }
.ring.r3 { inset: 0; background: rgba(255, 255, 255, .02); border-style: dashed; }
.ring.r2 { inset: 13%; background: rgba(255, 255, 255, .03); }
.ring.r1 { inset: 26%; background: rgba(11, 110, 122, .08); border-color: rgba(11, 110, 122, .35); }
.ring.r0 { inset: 39%; border: 0; z-index: 2; align-items: flex-end; }
.ring.r0 .ring-l { top: auto; bottom: -1rem; background: var(--agua); border-color: var(--agua); }
.ring-l { position: absolute; top: -.8rem; background: var(--dark); color: #fff; font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); white-space: nowrap; z-index: 3; }
.ring.r1 .ring-l { border-color: rgba(11, 110, 122, .6); }
.ring-core { position: absolute; inset: 39%; border-radius: 50%; display: grid; place-items: center; background: var(--agua); color: #fff; box-shadow: 0 0 0 10px rgba(11, 110, 122, .18), 0 0 60px rgba(11, 110, 122, .6); z-index: 1; }
.rings::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(11, 110, 122, .06) 80%, rgba(11, 110, 122, .4) 100%); animation: sweep 5s linear infinite; -webkit-mask: radial-gradient(closest-side, transparent 38%, #000 39%); mask: radial-gradient(closest-side, transparent 38%, #000 39%); }
@keyframes sweep { to { transform: rotate(360deg); } }
/* detección vídeo análisis */
.detect-box { position: absolute; left: 38%; top: 26%; width: 17%; height: 42%; border: 2px solid var(--agua-claro); border-radius: 4px; z-index: 2; animation: detect 3.2s var(--ease) infinite; }
.detect-box.sm { left: 42%; top: 20%; width: 22%; height: 55%; }
.detect-tag { position: absolute; left: -2px; top: -1.75rem; display: inline-flex; align-items: center; gap: .3rem; background: var(--agua-claro); color: #fff; font-size: .72rem; font-weight: 600; padding: .2rem .5rem; border-radius: 4px 4px 4px 0; white-space: nowrap; }
@keyframes detect { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14%, 4%); } }
.detect-hud { position: absolute; left: 1rem; top: 1rem; z-index: 3; display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 600; color: #fff; background: rgba(8, 23, 31, .7); padding: .35rem .7rem; border-radius: 999px; backdrop-filter: blur(6px); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--agua-claro); animation: blink 1.2s steps(2) infinite; display: inline-block; }
@keyframes blink { 50% { opacity: .2; } }
@media (max-width: 900px) {
  .phero-grid { grid-template-columns: minmax(0, 1fr); }
  .hv-tiles, .hv-rings, .hv-cutout { max-width: 440px; }
  .hv-tiles .tile:nth-child(3n+2), .hv-tiles .tile:nth-child(even) { transform: none !important; }
  .hv-tiles { padding-bottom: 0; }
}
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: 1fr; gap: .8rem; }
  .hero-facts li { display: flex; align-items: baseline; gap: .6rem; }
  .hero-facts span { margin: 0; }
  .phero .actions .btn { flex: 1 1 100%; }
  .hv-tiles { gap: .6rem; }
  .hv-tiles .tile { padding: .8rem; font-size: .8rem; }
  .ring-l { font-size: .66rem; padding: .2rem .5rem; }
}

/* intro */
.intro2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.intro2 h2 { margin: 0; }
@media (max-width: 860px) { .intro2 { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.45; }
.ticks svg { flex: none; color: #fff; background: var(--agua); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: .05rem; }
.ticks-2 { grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; }
@media (max-width: 560px) { .ticks-2 { grid-template-columns: 1fr; } }

/* tarjetas de ventajas */
.feat { display: grid; gap: 1.1rem; }
.feat-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feat-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fcard { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.section-soft .fcard { border-color: transparent; box-shadow: 0 1px 2px rgba(8, 23, 31, .05); }
a.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #B7E1E6; color: var(--ink-2); }
.ficon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--agua-soft); color: var(--agua); margin-bottom: .6rem; flex: none; }
.fcard h3 { font-size: 1.08rem; margin: 0; }
.fcard p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.fcard .card-more { margin-top: auto; padding-top: .6rem; }
.fnum { position: absolute; right: 1.25rem; top: 1.1rem; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--line-2); letter-spacing: -.03em; }
.feat-big .fcard { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.25rem; row-gap: .35rem; align-content: start; padding: 2rem; }
.feat-big .ficon { grid-row: 1 / span 3; margin: 0; }
.section-dark .fcard { background: var(--dark-2); border-color: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); }
.section-dark .fcard h3 { color: #fff; }
.section-dark .fcard p { color: rgba(255, 255, 255, .68); }
.section-dark .ficon { background: rgba(11, 110, 122, .16); color: var(--agua-claro); }
.section-dark a.fcard:hover { border-color: rgba(11, 110, 122, .5); color: #fff; }
.section-dark .card-more { color: var(--agua-claro); }
@media (max-width: 1000px) { .feat-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .feat-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feat-2, .feat-3, .feat-4 { grid-template-columns: 1fr; } .fcard { padding: 1.25rem; } .feat-big .fcard { padding: 1.4rem; } }

/* flujo numerado */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; position: relative; }
.flow-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow::before { content: ""; position: absolute; left: 2rem; right: 2rem; top: 27px; height: 2px; background: linear-gradient(90deg, var(--agua), rgba(11, 110, 122, .15)); }
.flow > li { position: relative; padding-right: .5rem; }
.flow-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--agua); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-bottom: 1.1rem; box-shadow: 0 0 0 8px var(--dark); }
.section:not(.section-dark) .flow-n { box-shadow: 0 0 0 8px var(--bg); }
.flow h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.flow p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .97rem; }
.section:not(.section-dark) .flow p { color: var(--muted); }
@media (max-width: 860px) {
  .flow-3, .flow-4 { grid-template-columns: 1fr; gap: 1.5rem; }
  .flow::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, var(--agua), rgba(11, 110, 122, .15)); }
  .flow > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1.1rem; }
  .flow-n { grid-row: 1 / span 2; margin: 0; }
  .flow h3 { align-self: end; margin-top: .3rem; }
}

/* especificaciones / componentes */
.specs-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.specs li { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--line); }
.section-soft .specs li { border-color: var(--line-2); }
.specs strong { display: block; color: var(--ink); font-size: 1rem; }
.specs li > span:last-child > span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.sicon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.specs-media { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.specs-media img { width: 100%; height: auto; }
.specs-media:has(img[src$=".png"]) { background: #fff; padding: 1.25rem; }
@media (max-width: 1000px) { .specs-grid { grid-template-columns: 1fr; } .specs-media { max-width: 520px; } }
@media (max-width: 600px) { .specs { grid-template-columns: 1fr; } }

/* para quién */
.aud { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.aud li { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.section-soft .aud li { border-color: transparent; }
.aicon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--agua-soft); color: var(--agua); }
.aud strong { display: block; color: var(--ink); line-height: 1.25; }
.aud li > span:last-child > span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; margin-top: .15rem; }
.aud-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aud-compact li { padding: .9rem 1rem; }
@media (max-width: 960px) { .aud, .aud-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .aud { grid-template-columns: 1fr; } .aud-compact { grid-template-columns: 1fr 1fr; gap: .6rem; } .aud-compact li { flex-direction: column; align-items: flex-start; gap: .5rem; font-size: .92rem; } .aud-compact .aicon { width: 38px; height: 38px; } }

/* calendario / fases */
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.tl > li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.tl-when { display: flex; align-items: center; justify-content: center; text-align: center; border-radius: var(--radius); background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; padding: 1rem; letter-spacing: -.01em; }
.tl > li:nth-child(2) .tl-when { background: var(--dark-3); }
.tl > li:nth-child(3) .tl-when { background: var(--agua-2); }
.tl > li:nth-child(4) .tl-when { background: var(--agua); }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.section-soft .tl-card { border-color: transparent; }
.tl-card h3 { margin-bottom: .2rem; font-size: 1.15rem; }
.tl-card .ticks { margin-top: .75rem; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; font-size: .95rem; }
@media (max-width: 760px) { .tl > li { grid-template-columns: 1fr; gap: 0; } .tl-when { border-radius: var(--radius) var(--radius) 0 0; justify-content: flex-start; padding: .8rem 1.4rem; font-size: 1.05rem; } .tl-card { border-radius: 0 0 var(--radius) var(--radius); } .tl-card .ticks { grid-template-columns: 1fr; } }

/* comparación de tipos */
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 900px; }
.cmp-card { border-radius: var(--radius); padding: 2rem; background: var(--bg-soft); }
.section-soft .cmp-card { background: #fff; }
.cmp-badge { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--agua); letter-spacing: -.04em; line-height: 1; margin-bottom: .8rem; }
.cmp-card h3 { margin-bottom: .3rem; }
.cmp-card p { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .cmp { grid-template-columns: 1fr; } }

/* antes / después */
.vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.vs-col { border-radius: var(--radius); padding: 1.75rem; }
.vs-col h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.15rem; margin-bottom: 1rem; }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.vs-col li { padding-left: 1.2rem; position: relative; line-height: 1.45; }
.vs-col li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; }
.vs-bad { background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); }
.vs-bad h3 { color: var(--ink-2); }
.vs-bad h3 svg { color: #8A93A0; }
.vs-bad li::before { background: #B4BBC5; }
.vs-good { background: var(--dark); color: rgba(255, 255, 255, .85); box-shadow: 0 30px 60px -30px rgba(11, 110, 122, .45); }
.vs-good h3 { color: #fff; }
.vs-good h3 svg { color: var(--agua-claro); }
.vs-good li::before { background: var(--agua); }
.section-soft .vs-bad { background: #fff; }
.vs-mid { align-self: center; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--agua); color: #fff; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } .vs-mid { justify-self: center; transform: rotate(90deg); } }

/* llamada destacada */
.callout { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); border-radius: 24px; padding: clamp(1.6rem, 4vw, 2.75rem); position: relative; overflow: hidden; }
.callout-red { background: linear-gradient(110deg, var(--agua), #063E45); color: #fff; }
.callout-dark { background: var(--dark); color: rgba(255, 255, 255, .8); }
.callout-warn { background: var(--agua-soft); border: 1px solid #B7E1E6; color: var(--ink-2); }
.callout::after { content: ""; position: absolute; right: -6%; top: -80%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent); pointer-events: none; }
.callout-warn::after { display: none; }
.callout-icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; }
.callout-dark .callout-icon { background: rgba(11, 110, 122, .2); color: var(--agua-claro); }
.callout-warn .callout-icon { background: var(--agua); color: #fff; }
.callout-body { flex: 1; position: relative; z-index: 1; }
.callout h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin-bottom: .35rem; color: #fff; }
.callout-warn h2 { color: var(--ink); }
.callout p { margin: 0; max-width: 68ch; }
.callout-red p { color: rgba(255, 255, 255, .9); }
.callout .btn { position: relative; z-index: 1; flex: none; }
@media (max-width: 760px) { .callout { flex-direction: column; align-items: flex-start; } }

/* cifras */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.stats li { padding: 1.75rem; border-radius: var(--radius); background: var(--dark); color: rgba(255, 255, 255, .7); }
.stats strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; letter-spacing: -.03em; line-height: 1.05; margin-bottom: .35rem; }
.stats li:first-child strong { color: var(--agua-claro); }
.stats:has(> li:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .stats:has(> li:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .stats, .stats:has(> li:nth-child(4)) { grid-template-columns: 1fr; } }

/* split imagen + texto */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-rev > :first-child { order: 2; }
.split h2 { margin-bottom: .75rem; }
.split .muted { margin-top: 1.25rem; font-size: .98rem; }
.split-media { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.split-media:has(.phone) { box-shadow: none; overflow: visible; display: grid; place-items: center; border-radius: 0; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-rev > :first-child { order: 0; } }

/* móvil ilustrado */
.phone { width: min(300px, 80vw); aspect-ratio: 9 / 18.5; border-radius: 42px; background: #0B1220; padding: 12px; box-shadow: 0 50px 80px -30px rgba(8, 23, 31, .55), inset 0 0 0 2px #2A3447; transform: rotate(-4deg); }
.phone-screen { height: 100%; border-radius: 32px; background: #111A2B; overflow: hidden; display: flex; flex-direction: column; gap: .75rem; padding: 1rem .85rem; color: #fff; font-size: .8rem; }
.phone-bar { display: flex; align-items: center; gap: .4rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.phone-cam { position: relative; flex: 1; border-radius: 16px; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 6px), linear-gradient(160deg, #2B3A55, #0E1626); overflow: hidden; }
.phone-cam::after { content: ""; position: absolute; left: 47%; top: 30%; width: 12%; height: 40%; border-radius: 40% 40% 10% 10%; background: rgba(255, 255, 255, .25); }
.phone-alert { display: flex; gap: .55rem; align-items: center; background: var(--agua); border-radius: 14px; padding: .7rem .8rem; }
.phone-alert strong { display: block; font-size: .85rem; }
.phone-alert span span { display: block; font-size: .72rem; opacity: .85; }
.phone-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.phone-btns span { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .55rem 0; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: .72rem; font-weight: 600; }

/* banner */
.banner { line-height: 0; }
.banner img { width: 100%; height: clamp(180px, 26vw, 420px); object-fit: cover; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border-radius: var(--radius-sm); border: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 1.35rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq-x { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--agua-soft); position: relative; transition: background .2s; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--agua); transform: translate(-50%, -50%); }
.faq-x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s var(--ease); }
.faq details[open] .faq-x { background: var(--agua); }
.faq details[open] .faq-x::before { background: #fff; }
.faq details[open] .faq-x::after { transform: translate(-50%, -50%) rotate(0); background: #fff; }
.faq details p { margin: 0; padding: 0 1.35rem 1.25rem; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* nota al pie */
.note { font-size: .85rem; color: var(--muted); margin: 0 0 2rem; }

/* hub de soluciones */
.group-head { display: flex; gap: 1.1rem; align-items: center; margin-bottom: 1.75rem; }
.group-head .ficon { margin: 0; width: 58px; height: 58px; }
.group-head h2 { margin: 0 0 .2rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.group-head p { margin: 0; color: var(--muted); }
.sol-group { padding: clamp(2.75rem, 5vw, 4.5rem) 0; }

/* hub de sectores */
.sec-rows { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.sec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.sec-row-rev .sec-row-media { order: 2; }
.sec-row-media { display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.sec-row-media picture, .sec-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sec-row-media:hover img { transform: scale(1.04); }
.sec-row h2 a { color: var(--ink); }
.sec-row h2 a:hover { color: var(--agua); }
.sec-row .ticks { margin-bottom: 1.75rem; }
@media (max-width: 860px) { .sec-row { grid-template-columns: 1fr; } .sec-row-rev .sec-row-media { order: 0; } }

.inner main { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { .rings::before, .detect-box, .rec { animation: none !important; } }

.phero::after { top: -70%; height: 170%; right: -12%; width: 60%; }
.hv-square { aspect-ratio: 1; max-width: 420px; margin-inline: auto; width: 100%; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
@media (max-width: 600px) { .cards-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .feat:not(.feat-big) .fcard { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: .9rem; row-gap: .15rem; padding: 1rem 1.1rem; align-content: start; }
  .feat:not(.feat-big) .ficon { grid-row: 1 / span 3; width: 44px; height: 44px; margin: 0; }
  .feat:not(.feat-big) .fcard .card-more { padding-top: .3rem; }
  .feat .fnum { top: .8rem; right: 1rem; font-size: 1.2rem; }
  .feat { gap: .7rem; }
}


/* ═══ Moracosa · añadidos ═══ */

/* Cabecera clara: el logotipo original es azul con perfil oscuro y sobre la barra negra de
   Seprogin se perdía. En blanco se lee bien y el conjunto queda más «agua». */
body.claro .top { background: rgba(255, 255, 255, .86); border-bottom: 1px solid var(--line); }
body.claro .top.scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 8px 24px -18px rgba(8, 23, 31, .35); }
body.claro .nav a:not(.btn) { color: var(--ink-2); }
body.claro .nav a:not(.btn):hover, body.claro .nav a[aria-current] { color: var(--agua-2); background: var(--agua-soft); }
body.claro .top-phone { color: var(--ink); }
body.claro .top-phone svg { color: var(--agua); }
body.claro .nav-toggle span { background: var(--ink); }
body.claro .sub-toggle { color: var(--ink-2); }
body.claro .hero, body.claro .page-hero { margin-top: 0; }
body.claro .hero { padding-top: 0; }
body.claro .page-hero { padding-top: 4.5rem; }
@media (max-width: 960px) {
  body.claro .nav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(8, 23, 31, .35); }
  body.claro .nav a:not(.btn) { color: var(--ink) !important; }
  body.claro .sub a { color: var(--ink-2) !important; }
  body.claro .sub a:hover { background: var(--agua-soft) !important; color: var(--agua-2) !important; }
  body.claro .sub-toggle { color: var(--ink); }
}

.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand img { height: 46px; width: auto; }
.brand-claim { font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--agua); border-left: 1px solid var(--line-2); padding-left: .75rem; line-height: 1.25; max-width: 8.5rem; }
@media (max-width: 1180px) { .brand-claim { display: none; } }

/* Rótulo sobre fondo claro: el cian brillante no da contraste en blanco */
.section:not(.section-dark) .eyebrow { color: var(--agua); }
.page-hero .lead a, .hero-facts a { color: var(--agua-claro); }
.hero-shade { background: linear-gradient(90deg, rgba(8, 23, 31, .88) 0%, rgba(8, 23, 31, .62) 48%, rgba(8, 23, 31, .25) 100%); }

/* Marcas que se reparan */
.clients { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.clients-title { text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--agua); margin: 0 0 1.6rem; }
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.4rem, 4vw, 3.2rem); }
.clients-row img { height: 58px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; transition: filter .25s, opacity .25s; }
.clients-row img:hover { filter: none; opacity: 1; }
.clients-note { text-align: center; color: var(--muted); font-size: .95rem; margin: 1.6rem 0 0; }

/* Botón flotante de llamada, solo en móvil */
.fab-wa { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: none; align-items: center; gap: .5rem; padding: .85rem 1.15rem; border-radius: 999px; background: var(--agua); color: #fff; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(8, 23, 31, .55); }
.fab-wa:hover { background: var(--agua-2); color: #fff; }
@media (max-width: 760px) { .fab-wa { display: inline-flex; } .cookie { bottom: 5rem; } }

/* Contacto */
.contacto-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .contacto-grid { grid-template-columns: .85fr 1.15fr; } }
.contacto-datos .specs a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.contacto-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.mapa { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.mapa iframe { display: block; width: 100%; height: 400px; border: 0; }
.mapa-aviso { min-height: 260px; display: grid; place-content: center; justify-items: center; text-align: center; gap: .3rem; padding: 2rem 1.25rem; }
.mapa-aviso p { margin: 0; max-width: 52ch; color: var(--muted); }
.mapa-aviso p strong { color: var(--ink); }
.mapa-aviso .actions { margin-top: 1rem; justify-content: center; }

/* Formulario */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; align-content: start; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.form .req { color: var(--agua); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: .8rem .95rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--agua); background: #fff; box-shadow: 0 0 0 4px var(--agua-soft); }
.form textarea { resize: vertical; min-height: 130px; }
.form [aria-invalid="true"] { border-color: #B42318; background: #FEF3F2; }
.form .consent { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.form .consent input { margin-top: .2rem; width: 1.1rem; height: 1.1rem; accent-color: var(--agua); flex: none; }
.form .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.wpcf7-response-output:empty { display: none; }

/* Legales y cabeceras cortas */
.phero-slim { padding-top: 3.5rem !important; padding-bottom: 2.5rem !important; }
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; display: block; overflow-x: auto; }
.legal th, .legal td { border-bottom: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }

/* Pie */
.foot-sello { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.foot-sello svg { color: var(--agua-claro); }
.foot-zona { color: rgba(255, 255, 255, .6); font-size: .9rem; }
.foot-brand img { background: #fff; padding: .55rem .8rem; border-radius: 12px; height: auto; width: 170px; }

/* alineación del héroe: el bloque de texto arranca en el borde de la rejilla, como el logotipo */
body.claro .hero-inner { max-width: var(--wrap); }
body.claro .hero-inner > * { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* En contacto los datos van en una sola columna: el correo es largo */
.contacto-datos .specs { grid-template-columns: 1fr; }

/* ═══ Revisión 16/09/2026: móvil y accesibilidad ═══ */
.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; }

/* Enlaces dentro de texto: subrayados, no solo por color */
p a:not(.btn), li > span > a, .consent a, .crumb a, .legal li a { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.contacto-datos .specs a { text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }

/* Foco visible sobre fondos oscuros y degradados de agua */
.page-hero :focus-visible, .hero :focus-visible, .section-dark :focus-visible, .foot :focus-visible, .stats :focus-visible { outline-color: var(--agua-claro); }
.cta :focus-visible, .callout-red :focus-visible { outline-color: #fff; }
.form .consent input:focus-visible { outline: 3px solid var(--agua); outline-offset: 2px; }

/* Héroe de portada: más sombra donde el texto pisa la foto */
@media (max-width: 1023px) { body.claro .hero-shade { background: linear-gradient(90deg, rgba(8, 23, 31, .9) 0%, rgba(8, 23, 31, .78) 100%); } }

/* Formulario: la etiqueta entera sobre el campo y el campo visible bajo la cabecera fija */
.form label > span:first-child { display: block; }
.form input, .form textarea { scroll-margin-top: 150px; }

/* Aviso de cookies: botón con área táctil suficiente */
.cookie .btn { min-height: 44px; }

/* Rejilla de cinco (marcas) y tarjetas sin descripción */
.feat-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fcard:not(:has(p)) h3 { margin-bottom: 0; }
@media (max-width: 1000px) { .feat-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feat-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feat-5 .fcard { padding: 1rem; } .feat-5 .fcard h3 { font-size: 1rem; } }
.feat + .note { margin-top: 1.25rem; }

/* Legales */
.legal ul { padding-left: 1.2rem; }
.legal .tabla { overflow-x: auto; margin: 1rem 0 1.5rem; }
.legal .tabla table { display: table; min-width: 560px; }

/* Revisión de escritorio */
@media (min-width: 961px) { .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } }
.phero-text.center h1, .phero-text.center .lead { margin-inline: auto; }
html { background: var(--dark); }
.foot { border-top: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 861px) {
  .flow-4::before { left: 28px; right: calc((100% - 3.75rem) / 4 - 28px); }
  .flow-3::before { left: 28px; right: calc((100% - 2.5rem) / 3 - 28px); }
}
.legal td code { white-space: nowrap; font-size: .9em; }
/* En móvil el botón flotante de llamada no tapa el final del pie */
@media (max-width: 760px) { .foot { padding-bottom: 6rem; } }
