/* Reformas Monroy · maquetación de la plantilla Clanora con los colores del logotipo. Solo modo claro. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Covered By Your Grace";
  src: url("../fonts/covered-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Colores del logotipo: azul #0095DA y marino #2C2C7C */
  --mist: #F1F6FA;
  --snow: #FAFCFE;
  --white: #fff;
  --blue: #0095DA;
  --blue-dark: #0076B0;
  --green: #3F5A45;
  --green-dark: #2F4434;
  --navy: #2C2C7C;
  --navy-deep: #1F1F5C;
  --text: #5B6178;
  --ochre: #F4B740;
  --ochre-soft: #FCE6B8;
  --line: #E1E8EF;
  --line-strong: #C5D0DB;
  --serif: "Fraunces", "Roboto Slab", Georgia, serif;
  --sans: "Inter", "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Covered By Your Grace", "Segoe Print", cursive;
  --wrap: 1250px;
  --gut: clamp(16px, 4vw, 30px);
  --radius: 5px;
  --radius-lg: 12px;
  --shadow: 0 10px 50px rgba(44, 44, 124, .09);
  --shadow-sm: 0 4px 20px rgba(44, 44, 124, .08);
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .17 0 0 0 0 .49 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%230095DA'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check-ochre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23F4B740'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%232C2C7C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--snow);
  color: var(--text);
  font: 400 1rem/1.7 var(--sans);
  text-rendering: optimizeLegibility;
}
img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-dark); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.muted { color: var(--text); }
.small { font-size: .9rem; }
.icon { stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Subtítulo manuscrito (el «heading__subtitle» de Clanora) */
.script, .eyebrow { display: block; font: 400 clamp(1.45rem, 2.4vw, 1.8rem)/1.15 var(--script); color: var(--blue); margin: 0 0 .5rem; letter-spacing: 0; }
.heading { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.heading h2 { margin: 0; }
.heading p { margin: .9rem 0 0; }
.heading--center { text-align: center; max-width: 720px; margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 56px; padding: .7rem 1.8rem;
  font: 700 .97rem/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center;
  border: 2px solid var(--blue-dark); border-radius: var(--radius);
  background: var(--blue-dark); color: #fff;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--arrow::after { content: "→"; font-weight: 400; transition: transform .2s; }
.btn--arrow:hover::after { transform: translateX(3px); }
.btn--accent { background: var(--ochre); border-color: var(--ochre); color: var(--navy); }
.btn--accent:hover { background: #E5A52C; border-color: #E5A52C; color: var(--navy); }
.btn--white, .btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--white:hover, .btn--light:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--ghost, .btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover, .btn--outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--green { background: var(--green); border-color: var(--green); }
.btn--green:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn--block { display: flex; width: 100%; justify-content: space-between; min-height: 62px; padding-inline: 1.3rem; }
.btn--block::after { content: "→"; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid currentColor; border-radius: 50%; font: 400 .95rem/1 var(--sans); flex: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; align-items: center; }
.link-arrow { font-weight: 700; color: var(--navy); text-decoration: none; display: inline-flex; gap: .6rem; align-items: center; }
.link-arrow::before { content: "→"; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid currentColor; border-radius: 50%; font: 400 .85rem/1 var(--sans); flex: none; transition: background .2s, color .2s, border-color .2s; }
.link-arrow:hover { color: var(--blue-dark); }
.link-arrow:hover::before { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

/* ---------- Barra superior y cabecera ---------- */
.topbar { background: var(--navy); color: #CDD1EC; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 50px; }
.topbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin: 0; padding: 0; }
.topbar li { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 17px; height: 17px; color: var(--ochre); }
.topbar strong { color: var(--ochre); font-weight: 600; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--ochre); }
@media (max-width: 860px) { .topbar .hide-sm { display: none; } .topbar .wrap { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 20px rgba(44, 44, 124, .07); }
.site-header .wrap { display: flex; align-items: stretch; min-height: 96px; max-width: none; padding-inline: clamp(16px, 2.6vw, 40px); }
.brand { flex: none; display: flex; align-items: center; padding-right: clamp(1rem, 2.6vw, 40px); border-right: 1px solid var(--line); }
.brand img { width: 190px; height: auto; }
.nav { display: flex; align-items: stretch; margin-left: clamp(1rem, 2.6vw, 40px); }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: clamp(.6rem, 1.6vw, 1.7rem); }
.nav > ul > li { display: flex; align-items: center; position: relative; }
.nav a, .nav button.nav-sub { display: flex; align-items: center; height: 100%; padding: .4rem 0; color: var(--navy); text-decoration: none; font: 700 .98rem/1.2 var(--sans); background: none; border: 0; cursor: pointer; position: relative; }
.nav > ul > li > a::after, .nav > ul > li > button::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.nav > ul > li > a:hover::after, .nav > ul > li > a[aria-current="page"]::after, .nav .has-sub:hover > button::before { transform: scaleX(1); }
.nav a:hover, .nav button.nav-sub:hover, .nav a[aria-current="page"] { color: var(--blue-dark); }
.nav button.nav-sub::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.nav .sub { list-style: none; margin: 0; padding: .7rem 0; position: absolute; top: 100%; left: -1rem; min-width: 270px; background: #fff; box-shadow: var(--shadow); border-top: 2px solid var(--blue); border-radius: 0 0 var(--radius) var(--radius); display: none; }
.nav .has-sub:hover .sub, .nav .has-sub.open .sub, .nav .has-sub:focus-within .sub { display: block; }
.nav .sub a { height: auto; padding: .55rem 1.3rem; font-weight: 600; font-size: .95rem; }
.nav .sub a:hover { background: var(--snow); }
.nav .nav-cta { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); padding-left: clamp(1rem, 2vw, 1.8rem); border-left: 1px solid var(--line); }
.header-phone { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); line-height: 1.25; }
.header-phone .ring { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mist); color: var(--blue); flex: none; }
.header-phone svg { width: 20px; height: 20px; }
.header-phone small { display: block; font-size: .78rem; color: var(--text); }
.header-phone strong { font-size: 1.05rem; }
.header-phone:hover strong { color: var(--blue); }
.header-actions .btn { min-height: 52px; }
.menu-toggle { display: none; margin-left: auto; align-self: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); background: none; cursor: pointer; border-radius: var(--radius); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 22px; height: 2px; background: var(--navy); margin: 0 auto; position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }
@media (max-width: 1440px) { .header-phone { display: none; } }
.nav a, .nav button.nav-sub, .header-actions .btn { white-space: nowrap; }
@media (max-width: 1100px) {
  .site-header .wrap { min-height: 76px; }
  .brand { border-right: 0; padding-right: 0; }
  .brand img { width: 160px; }
  .header-actions { display: none; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 0 0; margin: 0; background: #fff; overflow-y: auto; padding: 1rem var(--gut) 6rem; display: none; border-top: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { display: block; border-bottom: 1px solid var(--line); }
  .nav a, .nav button.nav-sub { padding: .95rem 0; font-size: 1.08rem; width: 100%; text-align: left; }
  .nav > ul > li > a::after, .nav > ul > li > button::before { display: none; }
  .nav .sub { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 .6rem 1rem; }
  .nav .nav-cta { display: block; margin: 1.2rem 0 0; border: 0 !important; }
  .nav .nav-cta a { justify-content: center; color: #fff; padding: .7rem 1.8rem; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero (slider de Clanora, una sola diapositiva) ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 25, 80, .88) 0%, rgba(25, 25, 80, .66) 50%, rgba(25, 25, 80, .3) 100%); }
.hero .wrap { position: relative; z-index: 1; min-height: clamp(560px, 80vh, 740px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(4rem, 9vw, 6rem) clamp(7rem, 12vw, 8rem); }
.hero .script { color: var(--ochre); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.08; max-width: 14ch; margin-bottom: 1.4rem; }
.hero p.lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); font-weight: 600; max-width: 44ch; color: #EEF1FA; margin-bottom: 2.2rem; }
.hero__feature { position: absolute; z-index: 1; right: var(--gut); bottom: clamp(1.5rem, 4vw, 3rem); display: flex; align-items: center; gap: 1.1rem; max-width: 380px; font-weight: 700; line-height: 1.45; }
.hero__feature svg { width: 54px; height: 54px; flex: none; color: var(--ochre); }
.hero__wrap { max-width: var(--wrap); margin: 0 auto; position: relative; }
@media (max-width: 760px) {
  .hero__feature { position: relative; right: auto; bottom: auto; margin-top: 2.4rem; }
  .hero .wrap { padding-bottom: 3rem; min-height: 0; }
}

/* Sello circular tipo tampón */
.stamp { width: 150px; height: 150px; flex: none; color: var(--blue); transform: rotate(-12deg); }
.stamp text { font: 700 15.5px var(--sans); letter-spacing: .2em; fill: currentColor; }
.stamp .big { font: 700 50px var(--serif); letter-spacing: 0; }
.stamp .mid { font: 600 12px var(--sans); letter-spacing: .25em; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section--mortar { background: var(--mist) var(--paper); }
.section--white { background: #fff; }
.section--dark, .section--green, .section--slate { background: var(--navy) var(--paper); color: #CDD1EC; }
.section--dark h2, .section--dark h3, .section--green h2, .section--green h3, .section--slate h2 { color: #fff; }
.section--dark .script, .section--green .script, .section--dark .cota span, .section--green .cota span { color: var(--ochre); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.section-head h2 { margin: 0; max-width: 24ch; }
.section-head p { margin: .7rem 0 0; max-width: 58ch; }
.section--dark .section-head p, .section--green .section-head p { color: #CDD1EC; }
.border-top { border-top: 1px solid var(--line); }

/* La antigua «línea de cota» se muestra como subtítulo manuscrito */
.cota { margin: 0 0 .5rem; }
.cota span { display: block; font: 400 clamp(1.45rem, 2.4vw, 1.8rem)/1.15 var(--script); color: var(--blue); }

/* ---------- Rejillas y tarjetas ---------- */
.grid { display: grid; gap: 30px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Icono sobre mancha (Clanora: icono de línea con forma suave detrás) */
.blob-icon { position: relative; width: 84px; height: 84px; margin-bottom: 1.6rem; color: var(--blue); }
.blob-icon::before { content: ""; position: absolute; left: -10px; top: -8px; width: 70px; height: 66px; background: var(--mist); border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%; }
.blob-icon svg { position: relative; width: 64px; height: 64px; stroke-width: 1.4; }
.blob-icon--ochre { color: var(--navy); }
.blob-icon--ochre::before { background: var(--ochre); }

/* Tarjeta de servicio (services-layout1) */
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.8rem, 3vw, 2.6rem); overflow: hidden; }
.svc-card__corner { position: absolute; top: 0; right: 0; width: 46%; height: 150px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.svc-card__corner img { width: 100%; height: 100%; object-fit: cover; }
.svc-card h3 { font-size: 1.4rem; margin-bottom: 1rem; max-width: 14ch; }
.svc-card p { flex: 1; margin-bottom: 1.8rem; }
.svc-card h3 a { color: inherit; text-decoration: none; }
.svc-card h3 a:hover { color: var(--navy); }

/* Tarjetas de líneas de obra en páginas interiores */
.line-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 2.2rem 2rem; text-decoration: none; color: var(--text); position: relative; transition: transform .25s, box-shadow .25s; }
.line-card:hover { transform: translateY(-4px); box-shadow: 0 18px 60px rgba(44, 44, 124, .13); color: var(--text); }
.line-card > .icon { width: 60px; height: 60px; color: var(--blue); margin-bottom: 1.4rem; padding: 10px; background: var(--mist); border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%; stroke-width: 1.4; box-sizing: content-box; }
.line-card h2, .line-card h3 { margin-bottom: .6rem; }
.line-card p { flex: 1; }

/* Franja de llamada (cta-layout1) */
.cta-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-strip__note { display: flex; align-items: center; gap: .8rem; background: #fff; box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 1rem 1.3rem; font-size: .93rem; font-weight: 600; }
.cta-strip__note::before { content: "→"; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--blue); color: var(--blue); border-radius: 50%; flex: none; font-weight: 400; }
.cta-strip__note a { color: var(--navy); font-weight: 700; text-decoration: none; }
.cta-strip__note a:hover { color: var(--navy); }

/* ---------- Sobre nosotros (about-layout1) ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about__body { display: grid; grid-template-columns: 70px 1fr; gap: 1.6rem; margin-top: 1.8rem; }
.about__body > svg { width: 64px; height: 64px; color: var(--blue); stroke-width: 1.3; }
.about__body .actions { margin: 1.6rem 0 1.8rem; }
.inline-phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.3; }
.inline-phone strong { font: 700 1.25rem/1.2 var(--serif); }
.inline-phone small { color: var(--blue-dark); font-size: .88rem; font-weight: 600; }
.inline-phone:hover strong { color: var(--blue); }
.about__media { position: relative; padding: 0 0 3rem; }
.about__media picture, .about__media img { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 70px; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.ribbon { position: absolute; top: -26px; left: 40px; z-index: 2; width: 82px; padding: .6rem .3rem 1.4rem; background: var(--ochre); color: var(--navy); text-align: center; font: 700 .8rem/1.25 var(--sans); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%); }
.ribbon::before { content: "★★★"; display: block; margin: -.6rem -.3rem .5rem; padding: .3rem 0; background: var(--blue); color: #fff; font-size: .7rem; letter-spacing: .1em; }
.ribbon strong { display: block; font: 700 1.6rem/1 var(--serif); }
.float-card { position: absolute; right: -20px; bottom: 0; z-index: 2; width: min(270px, 70%); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.8rem 1.8rem 1.6rem; }
.float-card svg { width: 52px; height: 52px; color: var(--blue); margin-bottom: 1rem; stroke-width: 1.4; }
.float-card p { margin: 0; font-weight: 700; color: var(--navy); line-height: 1.5; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .float-card { right: 12px; }
}
@media (max-width: 560px) { .about__body { grid-template-columns: 1fr; gap: .8rem; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.check-list li { position: relative; padding-left: 2.1rem; margin-bottom: .7rem; font-weight: 600; color: var(--text); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; background: var(--check) center / contain no-repeat; }
.check-list--2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 1.5rem; }
.section--dark .check-list li, .section--green .check-list li { color: #D7DAF0; }
.section--dark .check-list li::before { background-image: var(--check-ochre); }

/* ---------- Ventajas sobre fondo oscuro (feature-layout1) ---------- */
.features-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-bottom: clamp(2.6rem, 5vw, 3.8rem); }
.features-top p { color: #D7DAF0; font-weight: 500; }
.features-top .actions { margin-top: 1.8rem; }
@media (max-width: 860px) { .features-top { grid-template-columns: 1fr; } }
.feature-card { background: #fff; border-radius: var(--radius-lg); padding: 2.2rem 2rem 2rem; display: flex; flex-direction: column; }
.feature-card h3, .section--dark .feature-card h3 { font-size: 1.2rem; margin-bottom: .8rem; color: var(--navy); }
.feature-card p { color: var(--text); font-size: .95rem; flex: 1; }
.features-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.features-figures { display: flex; flex-wrap: wrap; gap: 1.5rem 2.6rem; }
.features-figures div { line-height: 1.3; font-weight: 600; color: #D7DAF0; font-size: .92rem; }
.features-figures strong { display: block; font: 700 2.4rem/1 var(--serif); color: var(--ochre); margin-bottom: .3rem; }
.promo-box { display: grid; grid-template-columns: 150px 1fr; background: var(--blue-dark); border-radius: var(--radius); overflow: hidden; margin-bottom: calc(-1 * clamp(4rem, 9vw, 7.5rem) - 3.5rem); position: relative; z-index: 2; box-shadow: var(--shadow); }
.promo-box picture, .promo-box img { width: 100%; height: 100%; object-fit: cover; }
.promo-box div { padding: 1.8rem 2rem; color: #E6F5FC; font-weight: 600; font-size: .95rem; }
.promo-box .script { color: #fff; }
.promo-box a { color: #fff; }
.after-promo { padding-top: calc(clamp(4rem, 9vw, 7.5rem) + 3.5rem); }
@media (max-width: 860px) {
  .features-bottom { grid-template-columns: 1fr; }
  .promo-box { margin-bottom: 0; grid-template-columns: 1fr; }
  .promo-box picture { aspect-ratio: 16 / 7; }
  .after-promo { padding-top: clamp(4rem, 9vw, 7.5rem); }
}

/* ---------- Cifras (páginas interiores) ---------- */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; }
.figure { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1.8rem 1.6rem; }
.figure strong { display: block; font: 700 clamp(2.4rem, 5vw, 3.2rem)/1 var(--serif); color: var(--blue); }
.figure span { display: block; margin-top: .6rem; font-weight: 600; color: var(--navy); }

/* ---------- Obras (portfolio-layout1) ---------- */
.panel { margin-inline: clamp(0px, 1.5vw, 20px); border-radius: clamp(0px, 1.5vw, 18px); }
.panel--brick { background: var(--blue-dark) var(--paper); color: #E6F5FC; }
.panel--brick h2, .panel--brick .script { color: #fff; }
.panel--brick p { color: #E6F5FC; font-weight: 500; }
.panel--dark { background: var(--navy) var(--paper); color: #CDD1EC; }
.panel--dark h2 { color: #fff; }
.panel--dark .script { color: var(--ochre); }
.panel-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-bottom: clamp(2.4rem, 5vw, 3.4rem); align-items: start; }
.panel-top .actions { margin-top: 1.6rem; }
@media (max-width: 860px) { .panel-top { grid-template-columns: 1fr; } }
.project-card { display: block; text-decoration: none; color: var(--text); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 18px 60px rgba(44, 44, 124, .14); color: var(--text); }
.project-card .ph { aspect-ratio: 10 / 9; overflow: hidden; background: var(--mist); }
.project-card .ph picture { height: 100%; }
.project-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .ph img { transform: scale(1.05); }
.project-card .body { padding: 1.6rem 1.8rem 1.8rem; }
.project-card h3 { font-size: 1.22rem; margin: .5rem 0 0; color: var(--navy); }
.project-card:hover h3 { color: var(--blue); }
.ba-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.ba-card .ba { border: 0; }
.ba-card .project-card { box-shadow: none; border-radius: 0; }
.ba-card .project-card:hover { transform: none; }
.tag { display: inline-block; font: 700 .74rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark); }
.tag + .tag::before { content: "·"; margin: 0 .4rem; color: var(--line-strong); }
.ba-badge { display: inline-block; margin-left: .5rem; background: var(--ochre); color: var(--navy); font: 700 .7rem/1 var(--sans); padding: .25rem .4rem; text-transform: uppercase; letter-spacing: .06em; border-radius: 3px; }

/* Antes / después */
.ba { position: relative; overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; user-select: none; touch-action: pan-y; border-radius: var(--radius-lg); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 1.3rem; border: 3px solid #fff; }
.ba__label { position: absolute; top: .8rem; background: rgba(44, 44, 124, .85); color: #fff; font: 600 .78rem/1 var(--sans); padding: .4rem .6rem; text-transform: uppercase; letter-spacing: .08em; border-radius: 3px; }
.ba__label--b { left: .8rem; }
.ba__label--a { right: .8rem; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input[type=range]:focus-visible + .ba__handle { outline: 3px solid var(--ochre); }
.ba-card .ba { border-radius: 0; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery a, .gallery figure { display: block; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); border-radius: var(--radius-lg); }
.gallery picture { height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15, 15, 50, .94); display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; width: auto; max-width: 100%; }
.lightbox button { position: absolute; background: #fff; border: 0; width: 48px; height: 48px; font-size: 1.4rem; cursor: pointer; border-radius: 50%; }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; }
.lightbox .lb-next { right: 1rem; top: 50%; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: end; margin-bottom: 2.4rem; padding: 1.4rem 1.6rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.filters label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.filters select { min-width: 220px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip { display: inline-block; padding: .5rem 1rem; border-radius: 30px; text-decoration: none; color: var(--navy); font-size: .9rem; font-weight: 700; background: #fff; box-shadow: var(--shadow-sm); }
.chip:hover { color: var(--blue); }
.chip[aria-current="true"] { background: var(--blue-dark); color: #fff; }

/* ---------- Cómo trabajamos (work-process-layout1) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 58px; left: 10%; right: 10%; border-top: 1px solid var(--line-strong); }
.steps li { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 2.6rem 1.3rem 2rem; text-align: center; counter-increment: step; display: flex; flex-direction: column; align-items: center; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 1.3rem; border: 2px solid var(--blue); background: #fff; color: var(--blue); font: 700 1rem/1 var(--serif); position: relative; border-radius: 3px; }
.steps h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.steps p { font-size: .93rem; margin: 0 0 1.3rem; flex: 1; }
.steps li > svg { width: 52px; height: 52px; color: var(--blue); stroke-width: 1.3; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .steps::before { display: none; }
}
@media (max-width: 600px) {
  .steps { gap: 12px; }
  .steps li { display: block; text-align: left; padding: 1.2rem 1.2rem 1.2rem 4.4rem; }
  .steps li::before { position: absolute; left: 1.2rem; top: 1.2rem; margin: 0; }
  .steps p { margin: 0; }
  .steps li > svg { display: none; }
}
.below-note { text-align: center; margin: 2.4rem 0 0; font-weight: 600; font-size: .95rem; }
.below-note a { color: var(--navy); font-weight: 700; text-decoration: none; margin-left: .4rem; }
.below-note a::after { content: " →"; }
.below-note a:hover { color: var(--navy); }

/* ---------- Reseñas ---------- */
.review { margin: 0; padding: 2rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.review blockquote { margin: 0 0 1rem; font: 600 1.1rem/1.5 var(--serif); color: var(--navy); }
.review .stars { color: var(--ochre); letter-spacing: .15em; margin-bottom: .6rem; }
.review figcaption { font-size: .92rem; }

/* ---------- Bloques de texto y split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.framed { position: relative; }
.framed img { width: 100%; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 70px; box-shadow: var(--shadow); }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.65rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose li { margin-bottom: .35rem; }
.note { border-left: 4px solid var(--ochre); background: #fff; box-shadow: var(--shadow-sm); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.3rem; margin: 1.5rem 0; }

/* ---------- Cabecera de páginas interiores (page-title-layout2) ---------- */
.page-head { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-head__img, .page-head__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 25, 80, .9) 0%, rgba(25, 25, 80, .72) 55%, rgba(25, 25, 80, .45) 100%); }
.page-head .wrap { position: relative; z-index: 1; padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(1.6rem, 3vw, 2.4rem); }
.page-head .eyebrow { color: var(--ochre); }
.page-head h1 { color: #fff; max-width: 20ch; margin-bottom: 1rem; }
.page-head p { font-size: 1.12rem; font-weight: 600; color: #E6E9F7; max-width: 58ch; margin: 0; }
.page-head .crumbs { margin: clamp(2.4rem, 6vw, 4rem) 0 0; }
.page-head--plain .wrap { padding-top: clamp(3rem, 7vw, 4.5rem); }
.crumbs { font-size: .9rem; font-weight: 600; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--ochre); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--ochre); }
.crumbs span { color: #CDD1EC; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: .8rem; padding: 0 1.4rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font: 700 1.04rem/1.4 var(--sans); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-dark); color: #fff; font: 400 1.2rem/1 var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.2rem; }

/* ---------- CTA de páginas interiores (contact-layout, panel redondeado) ---------- */
.cta { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 5rem); }
.cta__box { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; background: var(--navy) var(--paper); border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1.6rem, 5vw, 3.6rem); }
.cta__box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border: 2px dashed rgba(244, 183, 64, .35); border-radius: 50%; }
.cta .script { color: var(--ochre); }
.cta h2 { color: #fff; margin: 0 0 .4rem; }
.cta p { margin: 0; color: #CDD1EC; font-size: 1.05rem; }
.cta .actions { position: relative; z-index: 1; }

/* Urgencias */
.urgent { background: var(--navy-deep); color: #fff; }
.urgent .wrap { display: flex; align-items: center; gap: 1rem 1.6rem; flex-wrap: wrap; padding-block: 1.2rem; }
.urgent svg { width: 38px; height: 38px; color: var(--ochre); flex: none; }
.urgent p { margin: 0; flex: 1; min-width: 220px; }
.urgent strong { color: var(--ochre); }

/* ---------- Bloque de contacto con formulario (contact-layout3) ---------- */
.contact-panel { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.contact-panel .grid-2 { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-panel h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.contact-panel p { color: #D7DAF0; font-weight: 500; }
.contact-panel .actions { margin: 2rem 0 0; }
.phone-bubble { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: #fff; }
.phone-bubble .ring { position: relative; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--blue); border: 6px solid #fff; flex: none; }
.phone-bubble svg { width: 24px; height: 24px; color: #fff; }
.phone-bubble strong { display: block; font: 700 1.5rem/1.2 var(--serif); color: #fff; }
.phone-bubble small { font-weight: 600; color: #CDD1EC; }
.phone-bubble:hover strong { color: var(--ochre); }
.side-note { display: grid; grid-template-columns: 64px 1fr; gap: 1.4rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.side-note > svg { width: 56px; height: 56px; color: #fff; stroke-width: 1.3; }
.side-note .script { color: var(--ochre); }
.side-note a { color: #fff; font-weight: 700; }
.form-panel { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.form-panel__head { background: var(--ochre); padding: 1.6rem clamp(1.4rem, 4vw, 3rem); }
.form-panel__head .script { margin: 0; color: var(--navy); font-size: 2rem; }
.contact-panel .form-panel p { color: var(--text); font-weight: 400; }
.form-panel .form { padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 3rem) clamp(1.6rem, 4vw, 3rem); color: var(--text); }
@media (max-width: 900px) { .contact-panel .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 1.2rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 700; font-size: .93rem; color: var(--navy); margin-bottom: .4rem; }
.field .hint { font-size: .88rem; color: var(--text); margin-top: .3rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=url], input[type=date], select, textarea {
  width: 100%; min-height: 56px; padding: .7rem 1.1rem; font: 400 1rem/1.4 var(--sans); color: var(--navy);
  background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(244, 183, 64, .5); outline-offset: 0; border-color: var(--blue); background: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #A3261A; }
.error { color: #A3261A; font-size: .92rem; font-weight: 600; margin-top: .3rem; }
.alert { padding: 1rem 1.2rem; border: 1px solid #A3261A; background: #FBEDEA; color: #7E1D14; margin-bottom: 1.2rem; border-radius: var(--radius); }
.alert--ok { border-color: var(--green); background: #EAF1EB; color: var(--green-dark); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; }
.check input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--blue); }
.rgpd { font-size: .82rem; color: var(--text); border: 1px solid var(--line); padding: .8rem 1rem; background: var(--snow); border-radius: var(--radius); }
.rgpd p { margin: 0; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .7rem; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.option span { display: flex; align-items: center; gap: .7rem; min-height: 62px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 700; color: var(--navy); }
.option span svg { width: 30px; height: 30px; color: var(--blue); flex: none; }
.option input:checked + span { border: 2px solid var(--blue); background: #E8F5FC; padding: calc(.8rem - 1px) calc(1rem - 1px); }
.option input:focus-visible + span { outline: 3px solid var(--ochre); }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 2.6rem); }

/* Asistente por pasos */
.wizard-progress { display: flex; gap: 4px; margin-bottom: 1.6rem; list-style: none; padding: 0; }
.wizard-progress li { flex: 1; height: 6px; background: var(--line); border-radius: 3px; }
.wizard-progress li.done { background: var(--blue); }
.wizard-count { font-size: .9rem; color: var(--text); margin-bottom: .4rem; font-weight: 600; }
.step-panel { border: 0; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
.step-panel legend { font: 700 1.45rem/1.2 var(--serif); color: var(--navy); padding: 0; margin-bottom: 1rem; }
.js .wizard .step-panel { display: none; }
.js .wizard .step-panel.active { display: block; }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; }
.js .no-js-only { display: none; }
.file-drop { border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 1.4rem; text-align: center; background: var(--snow); }
.file-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .5rem; margin-top: 1rem; }
.file-previews img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius); }

/* Calculadora */
.calc-result { border-radius: var(--radius-lg); background: var(--navy) var(--paper); color: #D7DAF0; padding: 1.6rem; margin-top: 1.2rem; }
.calc-result strong { font: 700 clamp(1.8rem, 5vw, 2.6rem)/1.1 var(--serif); color: var(--ochre); display: block; margin: .3rem 0; }
input[type=range] { width: 100%; accent-color: var(--blue); }

/* ---------- Mapa de zona ---------- */
.zone-map { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.zone-map svg { width: 100%; height: auto; }
.zone-map .water { fill: #DCE4E3; }
.zone-map .land { fill: var(--mist); stroke: var(--line-strong); stroke-width: 1; }
.zone-map .ria { fill: none; stroke: #C6D3D1; stroke-width: 16; stroke-linecap: round; }
.zone-map a circle { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.zone-map a.home circle { fill: var(--navy); }
.zone-map a text { font: 600 15px var(--sans); fill: var(--navy); }
.zone-map a:hover text, .zone-map a:focus text { fill: var(--blue); text-decoration: underline; }
.zone-map .label-sea { font: italic 600 14px var(--serif); fill: #7E9895; letter-spacing: .2em; }
.town-list { columns: 2; list-style: none; padding: 0; margin: 0; }
.town-list li { padding: .3rem 0; break-inside: avoid; }

/* ---------- Guías (blog-grid) ---------- */
.guide-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); padding: 0 clamp(0rem, 2vw, 1.5rem); }
.guide-card__meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; font-size: .88rem; }
.guide-card__cat { position: relative; background: var(--blue-dark); color: #fff; font-weight: 700; font-size: .82rem; padding: .7rem .9rem; border-radius: 3px; }
.guide-card__cat::after { content: ""; position: absolute; left: 30px; bottom: -8px; border: 8px solid transparent; border-top-color: var(--blue-dark); border-bottom: 0; border-right-width: 0; }
.guide-card h3 { font-size: 1.3rem; margin-bottom: .9rem; }
.guide-card:hover h3 { color: var(--blue); }
.guide-card p { flex: 1; }
.guide-card .link-arrow { margin-top: .6rem; }
.article-meta { color: var(--text); font-size: .92rem; }

/* Subvenciones */
.grant { padding: 1.8rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.grant .status { font: 700 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: .35rem .55rem; display: inline-block; margin-bottom: .7rem; border-radius: 3px; }
.status--open { background: var(--green); color: #fff; }
.status--soon { background: var(--ochre); color: var(--navy); }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--mist); color: var(--blue); flex: none; }
.contact-list strong { display: block; }
.big-phone { font: 700 clamp(1.8rem, 4vw, 2.3rem)/1.1 var(--serif); color: var(--blue-dark); text-decoration: none; }

/* ---------- Pie (footer de Clanora) ---------- */
.site-footer { background: var(--navy) var(--paper); color: #C3C7E6; font-size: .95rem; }
.footer-top { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.site-footer a { color: #CDD1EC; text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }
.site-footer h2 { color: #fff; font: 700 1.05rem/1.3 var(--sans); margin-bottom: 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr 1.35fr; gap: 2.4rem; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-phone { display: inline-flex; align-items: center; gap: .5rem; font: 700 1.45rem/1.2 var(--serif); color: var(--ochre) !important; margin: .4rem 0 1rem; }
.footer-phone svg { width: 22px; height: 22px; }
.footer-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: #fff !important; }
.footer-link svg { width: 18px; height: 18px; }
.footer-card { position: relative; background: #fff; color: var(--text); border-radius: var(--radius); padding: 2.4rem 2rem 2rem; align-self: start; }
.footer-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: var(--radius) var(--radius) 0 0; background: repeating-linear-gradient(-45deg, var(--blue) 0 12px, #fff 12px 18px, var(--ochre) 18px 30px, #fff 30px 36px); }
.footer-card .stamp { position: absolute; right: -12px; top: -46px; width: 104px; height: 104px; opacity: .9; }
.footer-card img { width: 170px; margin-bottom: 1rem; }
.footer-card h2 { color: var(--navy); font: 700 1.2rem/1.35 var(--serif); margin-bottom: 1.2rem; max-width: 18ch; }
.footer-card .btn { width: 100%; color: #fff !important; }
.footer-card .btn:hover { color: #fff !important; }
.footer-bottom { background: rgba(10, 10, 50, .3); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; justify-content: space-between; min-height: 80px; font-size: .88rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.footer-bottom li { margin: 0; }
.to-top { align-self: stretch; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; width: 100px; background: var(--ochre); color: var(--navy) !important; font-weight: 700; font-size: .85rem; line-height: 1.2; text-align: center; }
.to-top::before { content: "↑"; font-size: 1.3rem; }
.to-top:hover { background: #fff; }
@media (max-width: 760px) { .to-top { display: none !important; } .footer-bottom .wrap { padding-block: 1.2rem; } }

/* Barra fija en móvil */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 20px rgba(44,44,124,.12); padding-bottom: env(safe-area-inset-bottom); background: #fff; }
  .mobile-bar.has-wa { grid-template-columns: 1fr 1fr 1fr; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 58px; font-weight: 700; text-decoration: none; color: var(--navy); font-size: .98rem; }
  .mobile-bar a svg { width: 20px; height: 20px; }
  .mobile-bar a.primary { background: var(--blue-dark); color: #fff; }
  .mobile-bar a.wa { background: var(--green); color: #fff; }
  body { padding-bottom: 58px; }
}

/* Banner de cookies */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80; max-width: 560px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 10px 60px rgba(44,44,124,.25); padding: 1.4rem; display: none; }
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: .93rem; margin-bottom: .8rem; }
.cookie-banner .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-banner .btn { min-height: 44px; padding: .5rem 1.1rem; }
@media (max-width: 760px) { .cookie-banner { bottom: 70px; } }

.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
