/* =========================================================
   Servicio Técnico Oficial Liebherr Zaragoza
   Estilo sobrio de portal de servicio: blanco, grises y amarillo como acento
   ========================================================= */
:root {
  --yellow: #FFD000;
  --yellow-hover: #F0C400;
  --black: #000000;
  --text: #1E1E1E;
  --text-2: #555A5F;
  --grey-1: #F4F4F4;
  --grey-2: #E3E3E3;
  --grey-3: #C8C8C8;
  --white: #FFFFFF;
  --f: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 3.5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.55 var(--f); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; color: var(--black); }
h2 { font-size: clamp(28px, 3vw, 36px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.ico { width: 16px; height: 16px; flex: 0 0 auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  font: 600 16px/1 var(--f); text-decoration: none; padding: 13px 22px;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { padding: 16px 28px; }
.btn--primary { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn--primary:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }
.btn--outline { background: var(--white); color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--grey-1); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #333; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--grey-1); border-bottom: 1px solid var(--grey-2); font-size: 14px; color: var(--text-2); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar__right { display: flex; gap: 24px; }
.topbar__right > * { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { text-decoration: none; color: var(--black); font-weight: 600; }

/* ---------- Cabecera ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--grey-2); }
.nav.is-scrolled { box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.nav__in { display: flex; align-items: center; gap: 32px; height: 80px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex: 0 0 auto; }
.brand__logo { width: 168px; height: auto; }
.brand__txt { border-left: 1px solid var(--grey-3); padding-left: 16px; font-size: 13px; line-height: 1.3; color: var(--text-2); }
.nav__links { margin-left: auto; white-space: nowrap; }
.nav__links > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.nav__links li { position: relative; }
.nav__links > ul > li > a { display: flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 600; font-size: 16px; padding: 28px 0 25px; border-bottom: 3px solid transparent; }
.nav__links > ul > li > a:hover, .nav__links > ul > li > a.is-active { border-bottom-color: var(--yellow); }
.ico--chev { width: 14px; height: 14px; }
.sub {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; left: -16px; top: 100%; min-width: 220px;
  background: var(--white); border: 1px solid var(--grey-2); border-top: 3px solid var(--yellow);
  box-shadow: 0 8px 24px rgba(0,0,0,.08); visibility: hidden; opacity: 0; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { visibility: visible; opacity: 1; transform: none; }
.sub a { display: block; padding: 10px 16px; text-decoration: none; font-weight: 600; font-size: 15px; }
.sub a:hover { background: var(--grey-1); }
.mobile-menu .mobile-menu__sub { padding-left: 18px; font-weight: 400; font-size: 17px; }
.nav__burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--grey-3); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav__burger span { display: block; height: 2px; background: var(--black); }
.mobile-menu { border-top: 1px solid var(--grey-2); padding: 8px var(--gut) 20px; background: var(--white); }
.mobile-menu a { display: block; text-decoration: none; font-weight: 600; font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--grey-2); }
.mobile-menu .mobile-menu__call { border: 0; margin-top: 12px; background: var(--yellow); text-align: center; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(90deg, var(--white) 0 60%, var(--grey-1) 60%); border-bottom: 1px solid var(--grey-2); }
.hero__in { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.eyebrow { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; margin-bottom: 20px; max-width: 14em; }
.hero__lead { font-size: 19px; color: var(--text-2); max-width: 36em; margin-bottom: 24px; }
.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checklist .ico { width: 20px; height: 20px; padding: 3px; background: var(--yellow); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__card { background: var(--white); border-top: 4px solid var(--yellow); box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06); padding: 32px; }
.hero__card-title { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin-bottom: 6px; }
.hero__phone { display: block; font-size: 36px; font-weight: 700; color: var(--black); text-decoration: none; margin-bottom: 20px; }
.hero__data { margin: 0 0 20px; display: grid; gap: 16px; }
.hero__data dt { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 2px; }
.hero__data dd { margin: 0 0 0 24px; font-size: 16px; }
.hero__note { background: var(--grey-1); padding: 14px 16px; font-size: 15px; color: var(--text-2); }
.hero__note strong { display: block; color: var(--black); }
.hero__note a { color: var(--black); font-weight: 600; }

/* ---------- Secciones ---------- */
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section--grey { background: var(--grey-1); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { padding-bottom: 14px; position: relative; }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--yellow); }
.sec-head p { color: var(--text-2); font-size: 18px; margin-top: 14px; }

/* ---------- Productos ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--grey-2); border-left: 1px solid var(--grey-2); }
.product { border-right: 1px solid var(--grey-2); border-bottom: 1px solid var(--grey-2); padding: 32px 28px; display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; align-items: start; }
.product__pic { width: 56px; height: 56px; color: var(--black); grid-row: span 2; }
.product h3 { margin: 4px 0 4px; }
.product p { margin: 0; color: var(--text-2); font-size: 16px; }

/* ---------- Ventajas ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit { background: var(--white); padding: 28px 24px; }
.benefit__ico { width: 36px; height: 36px; margin-bottom: 18px; color: var(--black); }
.benefit p { margin: 0; color: var(--text-2); font-size: 16px; }

/* ---------- Averías ---------- */
.faults { display: grid; grid-template-columns: 320px 1fr; border: 1px solid var(--grey-2); }
.faults__list { display: flex; flex-direction: column; background: var(--grey-1); border-right: 1px solid var(--grey-2); }
.faults__list button {
  text-align: left; font: 600 16px var(--f); color: var(--text); background: none; border: 0;
  border-bottom: 1px solid var(--grey-2); border-left: 4px solid transparent; padding: 18px 20px; cursor: pointer;
}
.faults__list button:last-child { border-bottom: 0; }
.faults__list button:hover { background: var(--grey-2); }
.faults__list button[aria-selected="true"] { background: var(--white); border-left-color: var(--yellow); color: var(--black); }
.faults__panels { padding: 32px 40px; }
.panel h3 { font-size: 24px; margin-bottom: 20px; }
.panel h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin-bottom: 6px; }
.panel p { margin-bottom: 22px; }
.no-js .panel[hidden] { display: block; }

/* ---------- Proceso ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); padding: 28px 24px; border-top: 3px solid var(--black); }
.steps li::before { content: counter(step); display: block; font-size: 15px; font-weight: 700; color: var(--text-2); margin-bottom: 10px; }
.steps li::before { content: "Paso " counter(step); }
.steps p { margin: 0; color: var(--text-2); font-size: 16px; }

/* ---------- Recambios ---------- */
.parts { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.parts__copy p { color: var(--text-2); }
.parts__copy .btn { margin-top: 8px; }
.plate { margin: 0; }
.plate__label { position: relative; background: #F2F3F4; border: 1px solid var(--grey-3); border-radius: 4px; padding: 44px 18px 16px; max-width: 420px; font-family: Arial, sans-serif; font-size: 12px; color: #333; }
.plate__barcode { position: absolute; top: 10px; right: 14px; width: 90px; height: 24px; background: repeating-linear-gradient(90deg, #333 0 2px, transparent 2px 4px, #333 4px 5px, transparent 5px 8px); }
.plate__top { position: relative; border: 1.5px solid #333; padding: 8px 10px; display: grid; gap: 4px; }
.plate__top b, .plate__serial b { font-family: Consolas, "Courier New", monospace; font-size: 13px; }
.plate__top span { margin: 0 6px; }
.plate__top div:last-child span { margin-left: 0; }
.plate__specs { display: grid; gap: 6px; margin: 14px 0; }
.plate__specs i { display: block; height: 7px; background: #D5D7D9; }
.plate__specs i:nth-child(2n) { width: 85%; }
.plate__bottom { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; }
.plate__specs--short { margin: 0; }
.plate__serial { position: relative; padding: 6px 10px; border-top: 1.5px solid #333; white-space: nowrap; }
.plate__serial span:not(.plate__num) { margin-right: 6px; }
.is-key { background: rgba(255,208,0,.45); }
.plate__num { position: absolute; top: -11px; left: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--black); color: var(--yellow); font: 700 13px/22px var(--f); text-align: center; }
.plate figcaption { margin-top: 18px; font-size: 15px; color: var(--text-2); max-width: 420px; }
.plate figcaption strong { color: var(--black); }
.plate figcaption ol { margin: 10px 0 0; padding-left: 20px; }
.plate figcaption li { margin-bottom: 6px; }

/* ---------- Cobertura ---------- */
.zone { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.zone h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); padding-bottom: 10px; border-bottom: 1px solid var(--grey-3); margin-bottom: 14px; }
.zone ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.zone > div:last-child ul { columns: 1; }
.zone li { padding: 5px 0; break-inside: avoid; }

/* ---------- Sobre nosotros ---------- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.about__copy p { color: var(--text-2); }
.about__copy strong { color: var(--black); }
.about__reviews a { color: var(--black); font-weight: 600; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--grey-2); border-left: 1px solid var(--grey-2); }
.facts > div { padding: 22px 20px; border-right: 1px solid var(--grey-2); border-bottom: 1px solid var(--grey-2); }
.facts dt { font-size: 14px; color: var(--text-2); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 24px; font-weight: 700; color: var(--black); }

/* ---------- FAQ ---------- */
.faq__list { max-width: 860px; background: var(--white); border: 1px solid var(--grey-2); }
.faq__list details { border-bottom: 1px solid var(--grey-2); }
.faq__list details:last-child { border-bottom: 0; }
.faq__list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 18px; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: rotate(45deg); transition: transform .15s; }
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__list details p { padding: 0 24px 22px; margin: 0; color: var(--text-2); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.contact__info > p { color: var(--text-2); }
.contact__data { margin: 28px 0 0; display: grid; gap: 18px; }
.contact__data dt { font-size: 14px; font-weight: 600; color: var(--text-2); }
.contact__data dd { margin: 2px 0 0; }
.contact__data a { color: var(--black); }
.contact__phone { font-size: 26px; font-weight: 700; text-decoration: none; }
.form { border: 1px solid var(--grey-2); padding: 32px; background: var(--white); }
.form fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.form legend { font-weight: 700; font-size: 18px; color: var(--black); margin-bottom: 14px; padding: 0; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form__full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.form .opt { font-weight: 400; color: var(--text-2); }
.form input, .form select, .form textarea {
  font: 400 16px var(--f); color: var(--text); background: var(--white); border: 1px solid var(--grey-3);
  border-radius: 0; padding: 11px 12px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.form .is-invalid { border-color: #B3261E; }
.form .form__check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; margin-bottom: 22px; }
.form__check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--black); flex: 0 0 auto; }
.form__check a { color: var(--black); }
.form__msg { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }

/* ---------- Pie ---------- */
.foot { background: #1A1A1A; color: #BDBDBD; font-size: 15px; padding: 56px 0 28px; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid #333; }
.foot__brand img { width: 150px; margin-bottom: 12px; }
.foot__brand p { margin: 0; }
.foot h3 { color: var(--white); font-size: 15px; margin-bottom: 10px; }
.foot__col p { margin: 0; }
.foot a { color: #E0E0E0; text-decoration: none; }
.foot a:hover { color: var(--yellow); }
.foot__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; font-size: 13px; color: #8A8A8A; flex-wrap: wrap; }
.foot__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot__bottom p { margin: 0; }


/* ---------- Páginas interiores ---------- */
.page-hero { background: var(--grey-1); border-bottom: 1px solid var(--grey-2); padding: 28px 0 clamp(40px, 5vw, 64px); }
.page-hero--slim { padding-bottom: 36px; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; max-width: 22em; margin: 18px 0 16px; }
.page-hero__lead { font-size: 19px; color: var(--text-2); max-width: 44em; margin-bottom: 28px; }
.page-hero--slim h1 { margin-bottom: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--text-2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--grey-3); }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--black); }
.crumbs [aria-current] { color: var(--black); font-weight: 600; }

.more { margin: 28px 0 0; }
.more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--black); }
.more .ico { width: 18px; height: 18px; }
a.product { text-decoration: none; color: inherit; transition: background-color .15s; }
a.product:hover { background: var(--grey-1); }
a.product:hover h3 { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.products--3 { grid-template-columns: repeat(3, 1fr); background: var(--white); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split p { color: var(--text-2); }
.split .btn { margin-top: 8px; }
.links-list { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--grey-3); }
.links-list li { border-bottom: 1px solid var(--grey-3); }
.links-list a { display: block; padding: 12px 0; color: var(--black); font-weight: 600; text-decoration: none; }
.links-list a:hover { text-decoration: underline; }
.feature-list { background: var(--white); padding: 28px; border-top: 3px solid var(--yellow); }
.section--grey .feature-list { background: var(--white); }
.section:not(.section--grey) .feature-list { background: var(--grey-1); }
.checklist--plain { margin-bottom: 0; }
.checklist--plain li { font-weight: 400; align-items: flex-start; }

.types { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--grey-2); }
.type { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--grey-2); scroll-margin-top: 100px; }
.type:nth-child(odd) { padding-right: 40px; }
.type p { color: var(--text-2); margin: 0; }
.type a { color: var(--black); }

.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.issue { background: var(--white); padding: 24px; border-left: 3px solid var(--yellow); }
.issue h3 { font-size: 18px; }
.issue p { margin: 0; color: var(--text-2); font-size: 16px; }

.parts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.parts-grid h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); padding-bottom: 10px; border-bottom: 1px solid var(--grey-3); }
.parts-grid ul { list-style: none; padding: 0; margin: 0; }
.parts-grid li { padding: 6px 0; }
.note { margin: 32px 0 0; padding: 16px 20px; background: var(--grey-1); border-left: 3px solid var(--black); color: var(--text-2); max-width: 860px; }
.section--grey .note { background: var(--white); }

.benefits--3 { grid-template-columns: repeat(3, 1fr); }

.cta-band { background: var(--yellow); padding: 48px 0; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--text); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--primary { background: var(--black); color: var(--white); border-color: var(--black); }
.cta-band .btn--primary:hover { background: #333; border-color: #333; }
.cta-band .btn--outline { background: transparent; }
.cta-band .btn--outline:hover { background: rgba(0,0,0,.06); }

.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin-top: 36px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--black); }
.prose a { color: var(--black); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot__nap { margin-top: 16px !important; line-height: 1.7; }
.foot__col p + p { margin-top: 10px; }

/* ---------- Menú desplegable de dos columnas ---------- */
.sub--mega { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; min-width: 520px; padding: 16px 8px; }
.sub--mega ul { list-style: none; margin: 0; padding: 0; }
.sub__title { margin: 0 0 6px; padding: 0 16px 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); border-bottom: 1px solid var(--grey-2); }
.sub__title a { padding: 0 !important; color: var(--text-2); font-size: 13px !important; }
.sub__title a:hover { background: none !important; color: var(--black); }
.sub--mega a { padding: 8px 16px; }
.mobile-menu__group { margin: 18px 0 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); }
.mobile-menu .mobile-menu__group a { display: inline; padding: 0; border: 0; font-size: 13px; color: var(--text-2); }

/* ---------- Cabecera de página con imagen ---------- */
.page-hero--product { padding-bottom: 0; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; }
.page-hero__grid > div { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero__img { margin: 0; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.page-hero__img img { width: auto; max-width: 100%; max-height: 440px; object-fit: contain; mix-blend-mode: multiply; }
.page-hero__img--cover { align-self: center; padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero__img--cover img { width: 100%; height: 340px; max-height: none; object-fit: cover; mix-blend-mode: normal; }
.banner { background: var(--grey-1); }
.banner img { width: 100%; height: clamp(180px, 24vw, 375px); object-fit: cover; }
.section--flush { padding-top: 0; }
.wide-figure { margin: 0; }
.wide-figure img { width: 100%; height: auto; }

/* ---------- Tarjetas de aparatos con imagen ---------- */
.group-title { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin: 8px 0 16px; }
.group-title ~ .group-title { margin-top: 48px; }
.cards { display: grid; gap: 20px; }
.cards--product { grid-template-columns: repeat(4, 1fr); }
.cards--photo { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--grey-2); transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--grey-3); box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.card__img { display: block; background: var(--grey-1); overflow: hidden; }
.cards--product .card__img { aspect-ratio: 1 / 1; padding: 20px; }
.cards--product .card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cards--photo .card__img { aspect-ratio: 16 / 10; }
.cards--photo .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.03); }
.cards--product .card:hover .card__img img { transform: none; }
.card__body { display: block; padding: 16px 18px 20px; border-top: 3px solid transparent; }
.card:hover .card__body { border-top-color: var(--yellow); }
.card__title { display: block; font-weight: 700; font-size: 18px; color: var(--black); margin-bottom: 2px; }
.card__text { display: block; font-size: 15px; color: var(--text-2); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; max-width: 760px; }
.duo figure { margin: 0; }
.duo img { width: 100%; height: auto; }
.duo figcaption { font-size: 14px; color: var(--text-2); margin-top: 8px; }

/* ---------- Jerarquía: categorías con sus tipos ---------- */
.sub__cat > a { font-weight: 700 !important; }
.sub__cat ul { list-style: none; margin: 0 0 6px; padding: 0; }
.sub__cat ul a { padding: 4px 16px 4px 30px !important; font-weight: 400 !important; font-size: 14px !important; color: var(--text-2); }
.sub__cat ul a:hover { color: var(--black); }
.mobile-menu .mobile-menu__sub--2 { padding-left: 36px; font-size: 16px; color: var(--text-2); }
.foot__cat > a { color: var(--white); font-weight: 600; }
.foot__cat ul { list-style: none; margin: 6px 0 4px; padding: 0 0 0 12px; border-left: 1px solid #333; }
.foot__cat ul li { margin-bottom: 4px; font-size: 14px; }
.foot__cat ul a { color: #BDBDBD; }
.cards--cat { grid-template-columns: repeat(4, 1fr); }
.card--cat .card__img { aspect-ratio: 1 / 1; padding: 20px; }
.card--cat .card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card--cat:hover .card__img img { transform: none; }
.card--cat .card__title { text-decoration: none; }
.card--cat .card__title:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.card__links { list-style: none; margin: 8px 0 0; padding: 0; }
.card__links li { border-top: 1px solid var(--grey-2); }
.card__links a { display: block; padding: 7px 0; font-size: 15px; color: var(--text-2); text-decoration: none; }
.card__links a:hover { color: var(--black); }
.card__links a::after { content: " ›"; }
.card__note { padding: 7px 0; font-size: 15px; color: var(--text-2); }

.mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cards--product { grid-template-columns: repeat(3, 1fr); }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: flex; }
  .benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar__in > span:first-child { display: none; }
  .topbar__in { justify-content: flex-end; }
  .hero { background: var(--white); }
  .hero__in { grid-template-columns: 1fr; gap: 32px; }
  .products { grid-template-columns: 1fr 1fr; }
  .faults { grid-template-columns: 1fr; }
  .faults__list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--grey-2); }
  .faults__list button { white-space: nowrap; border-bottom: 3px solid transparent; border-left: 0; border-right: 1px solid var(--grey-2); }
  .faults__list button[aria-selected="true"] { border-bottom-color: var(--yellow); }
  .faults__panels { padding: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .parts, .about, .contact, .zone, .split { grid-template-columns: 1fr; gap: 40px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .page-hero__img { justify-content: flex-start; }
  .page-hero__img img { max-height: 300px; }
  .page-hero__img--cover img { height: 240px; }
  .cards--product, .cards--photo, .cards--cat { grid-template-columns: 1fr 1fr; }
  .issue-grid, .parts-grid { grid-template-columns: 1fr 1fr; }
  .types { grid-template-columns: 1fr; }
  .type:nth-child(odd) { padding-right: 0; }
  .benefits--3, .products--3 { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .nav__in { height: 64px; gap: 12px; }
  .brand { gap: 10px; }
  .brand__logo { width: 112px; }
  .brand__txt { font-size: 11px; padding-left: 10px; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .hero__ctas .btn { width: 100%; }
  .hero__card { padding: 24px; }
  .products, .benefits, .steps, .form__grid, .facts, .issue-grid, .parts-grid { grid-template-columns: 1fr; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .cards--photo { grid-template-columns: 1fr; }
  .cards--product { gap: 12px; }
  .cards--product .card__img { padding: 12px; }
  .card__body { padding: 12px 12px 14px; }
  .card__title { font-size: 16px; }
  .card__text { font-size: 14px; }
  .duo { grid-template-columns: 1fr 1fr; gap: 12px; }
  .zone ul { columns: 1; }
  .form { padding: 20px; }
  .foot { padding-bottom: 96px; }
  .foot__top { grid-template-columns: 1fr; }
}

.parts__copy .checklist { margin-bottom: 18px; }
.page-hero__img--photo { flex-direction: column; align-items: stretch; }
.page-hero__img--photo figcaption { font-size: 14px; color: var(--text-2); margin-top: 8px; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; }
.section:not(.section--grey) .benefit { background: var(--grey-1); }

/* ---------- Averías ---------- */
.issue--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s; }
.issue--link:hover { box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.issue--link p { flex: 1; }
.issue__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--black); }
.issue__more .ico { width: 16px; height: 16px; }
.section:not(.section--grey) .issue { background: var(--grey-1); }
.answer { max-width: 860px; border-left: 4px solid var(--yellow); background: var(--grey-1); padding: 22px 26px; }
.answer__label { margin: 0 0 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); }
.answer p:last-child { margin: 0; font-size: 18px; color: var(--text); }
.howto { counter-reset: paso; list-style: none; padding: 0; margin: 0; }
.howto li { counter-increment: paso; position: relative; padding: 0 0 18px 48px; color: var(--text-2); }
.howto li::before { content: counter(paso); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; background: var(--yellow); color: var(--black); font-weight: 700; display: grid; place-items: center; }
.howto strong { color: var(--black); display: block; }
.callout { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; border: 1px solid var(--grey-2); border-top: 4px solid var(--black); padding: 28px 32px; }
.callout h2 { font-size: 26px; margin-bottom: 6px; }
.callout p { margin: 0; color: var(--text-2); max-width: 620px; }
.callout__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .cards--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .cards--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .callout { padding: 20px; } .callout__actions, .callout__actions .btn { width: 100%; } }

/* =========================================================
   Acabado: sutilezas de tipografía, profundidad y movimiento
   ========================================================= */
:root {
  --grey-1: #F5F6F7;
  --grey-2: #E4E6E8;
  --text: #212427;
  --text-2: #5A6066;
  --ink: #111214;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sh-1: 0 1px 2px rgba(16,18,20,.06), 0 2px 8px rgba(16,18,20,.04);
  --sh-2: 0 2px 4px rgba(16,18,20,.05), 0 12px 32px rgba(16,18,20,.09);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "kern", "liga"; }
::selection { background: var(--yellow); color: var(--black); }
h1, h2 { letter-spacing: -.02em; text-wrap: balance; }
h3 { letter-spacing: -.005em; }
p { text-wrap: pretty; }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Barra superior oscura con filete amarillo */
.topbar { background: var(--ink); color: #A9AEB3; border-bottom: 0; border-top: 3px solid var(--yellow); }
.topbar a { color: var(--white); }
.topbar .ico { color: var(--yellow); }

/* Cabecera translúcida al hacer scroll y subrayado animado */
.nav { transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.nav.is-scrolled { background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); box-shadow: 0 1px 0 var(--grey-2), 0 6px 20px rgba(16,18,20,.05); }
.nav__links > ul > li > a { position: relative; border-bottom: 0; padding-bottom: 28px; transition: color .2s; }
.nav__links > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links > ul > li > a:hover::after, .nav__links > ul > li > a.is-active::after, .has-sub:focus-within > a::after { transform: scaleX(1); }
.ico--chev { transition: transform .25s var(--ease); }
.has-sub:hover .ico--chev, .has-sub:focus-within .ico--chev { transform: rotate(180deg); }
.sub { box-shadow: var(--sh-2); border-color: transparent; transform: translateY(8px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s; }
.sub a { transition: background-color .15s, color .15s, padding-left .2s var(--ease); }
.sub--mega a:hover { padding-left: 20px; }
.sub__cat ul a:hover { padding-left: 34px !important; }

/* Botones con leve elevación */
.btn { transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s, transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.btn--primary:hover { box-shadow: inset 0 -2px 0 rgba(0,0,0,.08), 0 6px 16px rgba(255,208,0,.35); }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: #2A2D31; box-shadow: 0 6px 16px rgba(16,18,20,.18); }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.more a .ico, .issue__more .ico { transition: transform .25s var(--ease); }
.more a:hover .ico, .issue--link:hover .issue__more .ico { transform: translateX(4px); }

/* Cabeceras de página con degradado suave */
.page-hero { background: linear-gradient(180deg, var(--grey-1) 0%, #FBFBFC 100%); position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--grey-2) 15%, var(--grey-2) 85%, transparent); }
.page-hero h1 { letter-spacing: -.025em; }
.hero__card { box-shadow: var(--sh-2); }
.crumbs li + li::before { content: "›"; font-size: 15px; }

/* Bloque de confianza bajo el hero */
.trust { border-bottom: 1px solid var(--grey-2); background: var(--white); }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 22px 20px; }
.trust__item + .trust__item { border-left: 1px solid var(--grey-2); }
.trust__item svg { width: 30px; height: 30px; color: var(--ink); flex: 0 0 auto; }
.trust__item strong { display: block; color: var(--black); font-size: 16px; line-height: 1.25; }
.trust__item span { display: block; color: var(--text-2); font-size: 14px; line-height: 1.35; }

/* Tarjetas con foco de luz y elevación */
.card, .issue, .benefit, .steps li, .feature-list, .facts > div { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card { border-color: var(--grey-2); }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: transparent; }
.cards--product .card__img, .card--cat .card__img { background: radial-gradient(120% 90% at 50% 35%, #FFFFFF 0%, #F1F2F4 70%, #E9EBED 100%); }
.cards--product .card__img img, .card--cat .card__img img { transition: transform .5s var(--ease); }
.cards--product .card:hover .card__img img, .card--cat:hover .card__img img { transform: scale(1.04); }
.card__body { border-top: 0; position: relative; }
.card__body::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover .card__body::before { transform: scaleX(1); }
.issue { box-shadow: var(--sh-1); }
.issue--link:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.benefit { box-shadow: var(--sh-1); border-top: 3px solid transparent; }
.benefit:hover { border-top-color: var(--yellow); transform: translateY(-2px); box-shadow: var(--sh-2); }
.benefit__ico { padding: 9px; width: 52px; height: 52px; background: var(--grey-1); border-radius: 50%; }
.steps li { box-shadow: var(--sh-1); }
.steps li::before { color: var(--black); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.form { box-shadow: var(--sh-1); }
.page-hero__img--cover img, .photo img, .duo img, .wide-figure img { box-shadow: var(--sh-2); }

/* FAQ */
.faq__list { box-shadow: var(--sh-1); }
.faq__list summary { transition: background-color .2s; }
.faq__list summary:hover { background: #FAFAFB; }
.faq__list summary::after { transition: transform .3s var(--ease), margin-top .3s var(--ease); }
.faq__list details[open] { background: linear-gradient(90deg, rgba(255,208,0,.10), transparent 40%); box-shadow: inset 3px 0 0 var(--yellow); }

/* Formulario */
.form input, .form select, .form textarea { background: #FBFBFC; border-color: #D3D6D9; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #AEB3B8; }
.form input:focus, .form select:focus, .form textarea:focus { background: var(--white); border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,208,0,.45); }

/* Franja de llamada a la acción con textura */
.cta-band { background-color: var(--yellow); background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.025) 0 2px, transparent 2px 14px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); pointer-events: none; }
.cta-band__in { position: relative; z-index: 1; }

/* Pie */
.foot { background: var(--ink); border-top: 4px solid var(--yellow); }
.foot a { transition: color .2s; }

/* Aparición suave al hacer scroll (solo con JS y con red de seguridad) */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .trust__in { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--grey-2); }
}
@media (max-width: 640px) {
  .trust__item { padding: 16px 12px; gap: 10px; }
  .trust__item svg { width: 24px; height: 24px; }
  .trust__item strong { font-size: 14px; }
  .trust__item span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { transition-duration: .01ms; transform: none; }
}

/* ---------- Portada con foto de fondo ---------- */
.hero--photo { position: relative; overflow: hidden; background: var(--grey-1); border-bottom: 0; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; z-index: -2; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 34%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 68%),
    linear-gradient(0deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 30%); }
.hero--photo .hero__in { grid-template-columns: minmax(0, 620px) 1fr; min-height: clamp(560px, 46vw, 680px); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.hero--photo h1 { font-size: clamp(36px, 4.4vw, 58px); }
.hero--photo .hero__lead { color: #3E4449; }
.hero__meta { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--text-2); }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .ico { color: var(--black); }
.hero--photo .btn--outline { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero--photo .btn--outline:hover { background: var(--ink); }
@media (max-width: 900px) {
  .hero--photo .hero__in { grid-template-columns: 1fr; min-height: 0; padding-top: 300px; }
  .hero__bg { height: 340px; object-position: 82% 40%; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 200px, #fff 340px, #fff 100%); }
  .hero--photo { background: var(--white); }
}
@media (max-width: 640px) {
  .hero--photo .hero__in { padding-top: 230px; }
  .hero__bg { height: 270px; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 150px, #fff 270px, #fff 100%); }
}

/* Menú hamburguesa: solo las líneas */
.nav__burger { border: 0; background: none; padding: 13px 8px; border-radius: 0; box-shadow: none; -webkit-tap-highlight-color: transparent; }
.nav__burger:focus { outline: none; }
.nav__burger:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.nav__burger span { height: 2px; border-radius: 1px; transition: transform .25s var(--ease), opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* CTAs en mayúsculas */
.btn, .mobile-menu .mobile-menu__call { text-transform: uppercase; letter-spacing: .06em; font-size: 14px; font-weight: 700; }
.btn--lg { font-size: 15px; }

/* ---------- Zona de servicio ---------- */
.zone { grid-template-columns: 1.3fr 1fr 1fr; }
.zone > div:last-child ul { columns: 1; }
.zone > div:nth-child(2) ul, .zone > div:nth-child(3) ul { columns: 1; }
.zone a { color: var(--black); text-decoration: none; border-bottom: 1px solid var(--grey-3); transition: border-color .2s; }
.zone a:hover { border-bottom-color: var(--yellow); }
.towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.towns a { display: block; padding: 16px 18px 16px 20px; background: var(--white); border: 1px solid var(--grey-2); border-left: 3px solid var(--yellow); text-decoration: none; color: inherit; box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.section--grey .towns a { border-color: transparent; border-left-color: var(--yellow); }
.towns a:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.towns strong { display: block; font-size: 18px; color: var(--black); }
.towns span { display: block; font-size: 14px; color: var(--text-2); }
.local-facts { margin: 0; display: grid; gap: 14px; }
.local-facts dt { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); }
.local-facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; color: var(--black); }
.links-list--cols { columns: 2; column-gap: 40px; border-top: 0; }
.links-list--cols li { break-inside: avoid; border-top: 1px solid var(--grey-3); border-bottom: 0; }
@media (max-width: 900px) { .towns { grid-template-columns: 1fr 1fr; } .zone { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .towns { grid-template-columns: 1fr; } .links-list--cols { columns: 1; } }

/* Mapa de la localidad (carga bajo demanda) */
.split--map { align-items: stretch; }
.map { position: relative; min-height: 340px; background: linear-gradient(135deg, #E9ECEF, #F7F8F9); border: 1px solid var(--grey-2); box-shadow: var(--sh-1); overflow: hidden; }
.map::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(var(--grey-2) 1px, transparent 1px), linear-gradient(90deg, var(--grey-2) 1px, transparent 1px); background-size: 32px 32px; }
.map__placeholder { position: relative; height: 100%; min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px; gap: 10px; }
.map__placeholder > .ico { width: 40px; height: 40px; padding: 8px; background: var(--yellow); color: var(--black); border-radius: 50%; box-shadow: 0 6px 16px rgba(255,208,0,.4); }
.map__placeholder p { margin: 0; color: var(--text-2); }
.map__placeholder strong { color: var(--black); font-size: 20px; }
.map__placeholder small { max-width: 300px; color: var(--text-2); font-size: 13px; }
.map__placeholder small a { color: var(--black); }
.map.is-loaded::before { display: none; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Foto de la localidad en la cabecera */
.town-photo img { height: 360px; }
.town-photo figcaption { font-size: 12px; line-height: 1.4; margin-top: 8px; color: var(--text-2); }
.town-photo figcaption a { color: inherit; }
@media (max-width: 900px) { .town-photo { padding-bottom: 32px; } .town-photo img { height: 240px; } }

@media (max-width: 900px) {
  .page-hero__grid > .town-photo { order: -1; padding: 16px 0 0; }
  .town-photo img { height: 210px; }
}
@media (max-width: 900px) { .page-hero__grid > .town-photo { padding-bottom: 18px; border-bottom: 1px solid var(--grey-2); margin-bottom: 14px; } }

/* ---------- Barrios de Zaragoza (portada) ---------- */
.districts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.district { background: var(--grey-1); padding: 24px 24px 22px; border-top: 3px solid var(--yellow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.district:hover { transform: translateY(-2px); box-shadow: var(--sh-2); background: var(--white); }
.district h3 { font-size: 19px; margin-bottom: 6px; }
.district__barrios { font-size: 14px; font-weight: 600; color: var(--black); margin-bottom: 10px; line-height: 1.45; }
.district p:last-child { margin: 0; color: var(--text-2); font-size: 16px; }
.zone:has(> div:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .districts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .districts { grid-template-columns: 1fr; } }

/* ---------- E-E-A-T: franja de revisión y trayectoria ---------- */
.review-bar { background: var(--white); border-bottom: 1px solid var(--grey-2); }
.review-bar__in { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding-top: 14px; padding-bottom: 14px; font-size: 14px; color: var(--text-2); }
.review-bar__ico { width: 22px; height: 22px; color: var(--ink); flex: 0 0 auto; }
.review-bar p { margin: 0; }
.review-bar strong { color: var(--black); font-weight: 600; }
.review-bar__links { margin-left: auto !important; }
.review-bar a { color: var(--black); }
.timeline { list-style: none; margin: 24px 0 0; padding: 0; border-left: 2px solid var(--grey-3); }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: var(--yellow); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--grey-3); border-radius: 50%; }
.timeline__year { display: block; font-weight: 700; color: var(--black); font-size: 18px; }
.timeline p { margin: 2px 0 0; color: var(--text-2); }
@media (max-width: 900px) { .review-bar__links { margin-left: 0 !important; } }

.verify__title { margin-top: 24px; font-size: 16px; }
.verify { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.verify li { padding-left: 22px; position: relative; }
.verify li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--yellow); }
.verify a, .verify-note a { color: var(--black); font-weight: 600; }
.verify-note { font-size: 15px; padding: 10px 14px; background: var(--white); border-left: 3px solid var(--yellow); }

/* ---------- Bloque «En resumen» (respuesta directa para buscadores e IA) ---------- */
.section--tight { padding-top: 40px; padding-bottom: 8px; }
.answer__q { font-size: 22px; line-height: 1.3; margin: 0 0 8px; }
@media (max-width: 700px) { .section--tight { padding-top: 28px; } .answer { padding: 18px 18px; } .answer__q { font-size: 19px; } }

/* ---------- Formulario: envío directo ---------- */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__msg.is-ok { color: #1a7f37; font-weight: 600; }
.form__msg.is-error { color: #b42318; font-weight: 600; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Aviso de cookies ---------- */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; justify-content: center; pointer-events: none; }
.cookies[hidden] { display: none; }
.cookies__in { pointer-events: auto; max-width: 760px; width: 100%; background: var(--white); border: 1px solid var(--grey-2); border-top: 4px solid var(--yellow); box-shadow: 0 12px 32px rgba(16,18,20,.18); padding: 18px 20px; display: flex; gap: 16px 20px; align-items: center; flex-wrap: wrap; }
.cookies__in p { margin: 0; flex: 1 1 320px; font-size: 15px; line-height: 1.5; color: var(--text); }
.cookies__in a { color: var(--black); }
.cookies__btns { display: flex; gap: 10px; flex: 0 0 auto; }
.cookies__btns .btn { min-width: 120px; justify-content: center; }
@media (max-width: 640px) {
  .cookies { left: 10px; right: 10px; bottom: calc(68px + env(safe-area-inset-bottom)); }
  .cookies__in { padding: 14px 16px; }
  .cookies__in p { font-size: 14px; flex-basis: 100%; }
  .cookies__btns { width: 100%; }
  .cookies__btns .btn { flex: 1; min-width: 0; }
}
.pie__cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.prose .table-wrap { overflow-x: auto; margin: 16px 0 20px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--grey-2); vertical-align: top; }
.prose th { background: var(--grey-1); font-weight: 700; color: var(--black); }

/* ---------- WhatsApp ---------- */
.btn--wa { background: #25D366; color: #0B1F12; border-color: #25D366; }
.btn--wa:hover { background: #1EBE5A; border-color: #1EBE5A; box-shadow: 0 6px 16px rgba(16,18,20,.18); }
.btn--wa .ico { width: 18px; height: 18px; }
.topbar__wa .ico { color: #25D366; }
.mobile-menu .mobile-menu__wa { background: #25D366; color: #0B1F12; display: flex; align-items: center; justify-content: center; gap: 8px; }
.mobile-menu .mobile-menu__wa .ico { width: 18px; height: 18px; }
.contact__wa { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; text-decoration: none; }
.contact__wa .ico { width: 22px; height: 22px; color: #25D366; }
@media (max-width: 900px) { .topbar__wa { display: none !important; } }

/* ---------- Barra fija de contacto en móvil ---------- */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar {
    display: grid; grid-template-columns: 64px 64px 1fr; gap: 8px; align-items: stretch;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    border-top: 1px solid rgba(16,18,20,.08); box-shadow: 0 -8px 24px rgba(16,18,20,.08);
  }
  .mbar__btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px; padding: 0; text-decoration: none; color: var(--ink);
    font: 600 11px/1 var(--f); letter-spacing: .02em; text-transform: none;
    background: var(--grey-1); border: 1px solid rgba(16,18,20,.06);
    -webkit-tap-highlight-color: transparent; transition: background .15s, transform .15s;
  }
  .mbar__btn .ico { width: 21px; height: 21px; }
  .mbar__btn--wa .ico { color: #1FAF54; }
  .mbar__btn--form {
    flex-direction: row; gap: 10px; background: var(--yellow); border-color: var(--yellow); color: var(--black);
    font: 700 14px/1.15 var(--f); letter-spacing: .05em; text-transform: uppercase; padding: 0 14px;
  }
  .mbar__btn--form .ico { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .2s; }
  .mbar__btn:active { transform: scale(.97); }
  .mbar__btn--call:active, .mbar__btn--wa:active { background: #E6E7E9; }
  .mbar__btn--form:active .ico { transform: translateX(3px); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .foot { padding-bottom: 28px; }
  .cookies { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .mbar { grid-template-columns: 56px 56px 1fr; gap: 6px; padding-left: 8px; padding-right: 8px; }
  .mbar__btn--form { font-size: 12.5px; padding: 0 10px; }
}
