/* =============================================================
   Tejacambrils Tejados Cambrils — style.css
   Paleta: grafito #2B2D31 + amarillo señal #F2B705
   Estilo: limpio y moderno
   ============================================================= */

/* ── Fallback métrico: evita el salto al cargar Poppins ── */
@font-face {
  font-family: 'poppins-fallback';
  src: local('Arial');
  size-adjust: 104%;
  ascent-override: 105%;
  descent-override: 35%;
  line-gap-override: 0%;
}

/* ── Tokens ── */
:root {
  --color-primary: #2B2D31;
  --color-primary-soft: #3A3D42;
  --color-accent: #F2B705;
  --color-accent-dark: #D9A404;

  --text: #23252A;
  --text-muted: #5F646D;
  --white: #FFFFFF;
  --bg-light: #F6F7F8;
  --bg-dark: #2B2D31;
  --border: #E3E5E8;
  --border-campo: #8A9099;   /* 3.22:1 sobre blanco — WCAG 1.4.11 */
  --estrella: #A97C00;       /* 3.77:1 sobre blanco — elemento gráfico informativo */

  --ok: #197A46;
  --error: #B3261E;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(35, 37, 42, .07);
  --shadow-lg: 0 10px 30px rgba(35, 37, 42, .12);

  --container: 1160px;
  --gap: 24px;
  --section-y: 72px;

  --header-h: 118px;
}

/* ── Solo para lectores de pantalla ── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* La cabecera es sticky: sin esto, el destino de un ancla queda oculto detrás */
:target, [id] { scroll-margin-top: 132px; }
body {
  margin: 0;
  font-family: 'Poppins', 'poppins-fallback', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; color: var(--color-primary); font-weight: 700; }
h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: clamp(25px, 3.2vw, 34px); letter-spacing: -.3px; }
h3 { font-size: clamp(19px, 2.1vw, 22px); }
p  { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 20px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-light); }

.section-label {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--color-primary); background: var(--color-accent);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 18.5px; color: var(--text-muted); }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-accent); color: var(--color-primary); border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); }
.btn-secondary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary); color: var(--white); }
/* Override obligatorio sobre fondo oscuro (R10) */
.cta-band .btn-secondary,
.site-footer .btn-secondary { color: var(--white); border-color: var(--white); }
.cta-band .btn-secondary:hover { background: var(--white); color: var(--color-primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Skip link ── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1200;
  background: var(--color-accent); color: var(--color-primary);
  padding: 12px 18px; font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* =============================================================
   HEADER
   ============================================================= */
.site-header { position: sticky; top: 0; z-index: 900; background: var(--white); box-shadow: var(--shadow); }

.header-top { background: var(--color-primary); color: var(--white); font-size: 14px; }
.header-top .container { padding-top: 8px; padding-bottom: 8px; }
.header-top-text { display: block; text-align: center; }
.header-top a { color: var(--color-accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-top a:hover { text-decoration: underline; }

.header-main { background: var(--white); }
.header-main-inner {
  display: flex; align-items: center; gap: var(--gap);
  padding-top: 14px; padding-bottom: 14px;
}
.logo { flex: 0 0 auto; }
.logo img { width: 232px; height: 46px; }

.nav-desktop { display: none; margin-left: auto; align-items: center; gap: 6px; }
.nav-desktop > a, .nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15.5px; font-weight: 500;
  color: var(--text); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav-desktop > a:hover, .nav-dropdown-toggle:hover { background: var(--bg-light); }
.nav-desktop a[aria-current="page"] { color: var(--color-primary); font-weight: 700; box-shadow: inset 0 -3px 0 var(--color-accent); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 268px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; z-index: 950;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none; font-size: 15px;
}
.nav-dropdown-menu a:hover { background: var(--bg-light); }
.nav-dropdown-menu a[aria-current="page"] { color: var(--color-primary); font-weight: 700; background: var(--bg-light); }
.chevron { font-size: 11px; }

.header-cta { display: none; padding: 12px 20px; font-size: 15px; white-space: nowrap; }

.burger {
  margin-left: auto; width: 46px; height: 42px; padding: 10px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--color-primary); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Menú móvil (bloque único, nunca duplicar el selector) ── */
.mobile-nav {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 100%; z-index: 800;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 12px 0;
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
body.menu-abierto { overflow: hidden; }
.mobile-nav a, .mobile-dropdown-toggle {
  display: block; width: 100%; text-align: left;
  padding: 13px 22px; font-family: inherit; font-size: 16px; font-weight: 500;
  color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.mobile-nav a:hover, .mobile-dropdown-toggle:hover { background: var(--bg-light); }
.mobile-nav a[aria-current="page"] { color: var(--color-primary); font-weight: 700; }
.mobile-dropdown-toggle { display: flex; align-items: center; justify-content: space-between; }
.mobile-dropdown-menu {
  overflow: hidden; max-height: 0; background: var(--bg-light);
  transition: max-height .25s ease;
}
.mobile-dropdown.open .mobile-dropdown-menu { max-height: 460px; }
.mobile-dropdown-menu a { padding-left: 38px; font-size: 15px; }
.mobile-cta { margin: 12px 22px 4px; }

/* =============================================================
   HERO
   ============================================================= */
.hero { padding: 0; }
.hero-inner { display: grid; gap: 32px; align-items: center; padding: 44px 0 56px; }
.hero h1 { margin-bottom: 18px; }
.hero-sub { font-size: 18.5px; color: var(--text-muted); margin-bottom: 26px; }
.hero-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 16/9; object-fit: cover; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.badges li {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-light); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
}
.badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 14.5px; color: var(--text-muted); padding: 14px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }

/* =============================================================
   TARJETAS Y REJILLAS
   ============================================================= */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); margin-bottom: 16px; }
.card-compacta { padding: 20px 24px; }
.card-compacta h3 { margin: 0; font-size: 18px; }
.card-compacta h3 a { text-decoration: none; box-shadow: inset 0 -2px 0 var(--color-accent); }
.card-compacta h3 a:hover { box-shadow: inset 0 -12px 0 var(--color-accent); }
.card-link { font-weight: 600; text-decoration: none; color: var(--color-primary); box-shadow: inset 0 -2px 0 var(--color-accent); }
.card-link:hover { box-shadow: inset 0 -12px 0 var(--color-accent); }

.feature { display: flex; gap: 16px; }
.feature-num {
  flex: 0 0 42px; height: 42px; border-radius: 50%;
  background: var(--color-accent); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { color: var(--text-muted); margin: 0; }

.media-block { display: grid; gap: 28px; align-items: center; margin: 40px 0; }
.media-block img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/2; object-fit: cover; width: 100%; height: auto; }

/* ── Tabla de coste ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.coste { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
table.coste th, table.coste td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.coste th { background: var(--color-primary); color: var(--white); font-weight: 600; }
table.coste tbody tr:nth-child(even) { background: var(--bg-light); }
.nivel { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.nivel-eco { background: #E6F3EC; color: var(--ok); }
.nivel-mod { background: #FFF3CC; color: #7A5B00; }
.nivel-free { background: var(--color-accent); color: var(--color-primary); }

/* ── Reseñas ── */
.review { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review-stars { color: var(--estrella); letter-spacing: 2px; font-size: 15px; }
.review-text { margin: 12px 0 16px; }
.review-meta { font-size: 14px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 12px; }
.review-meta strong { color: var(--text); display: block; }

/* ── Zonas ── */
.zonas-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0 0 22px; list-style: none; }
.zonas-list li { background: var(--bg-light); border: 1px solid var(--border); border-radius: 999px; padding: 7px 15px; font-size: 15px; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 17.5px; font-weight: 600; color: var(--color-primary); text-align: left;
}
.faq-q .faq-icon { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--color-accent); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; font-size: 17px; line-height: 1; transition: transform .2s ease; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .25s ease; }
.faq-a > div { padding: 0 0 20px; color: var(--text-muted); }
.faq-item.open .faq-a { max-height: 900px; }

/* ── Banda CTA ── */
.cta-band { background: var(--color-primary); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #D6D9DE; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }

/* =============================================================
   CONTACTO
   ============================================================= */
.contact-section { background: var(--bg-light); }
.contact-header { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.contact-header p { color: var(--text-muted); }
.contact-grid { display: grid; gap: 28px; }

.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.opcional { font-weight: 400; color: var(--text-muted); font-size: 13.5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px; font-family: inherit; font-size: 16px; color: var(--text);
  background: var(--white); border: 1.5px solid var(--border-campo); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(242,183,5,.35);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); opacity: 1; }
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.checkbox-label input[aria-invalid="true"] + .checkbox-custom { border-color: var(--error); box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }

.checkbox-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 400; padding: 10px 0; min-height: 44px; }
.checkbox-label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox-custom {
  flex: 0 0 26px; width: 26px; height: 26px; margin-top: 1px;
  border: 2px solid var(--border-campo); border-radius: 6px; background: var(--white); position: relative;
}
.checkbox-label input:checked + .checkbox-custom { background: var(--color-accent); border-color: var(--color-accent); }
.checkbox-label input:checked + .checkbox-custom::after {
  content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px;
  border: solid var(--color-primary); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.checkbox-label input:focus-visible + .checkbox-custom { box-shadow: 0 0 0 3px rgba(242,183,5,.45); }
.checkbox-text { font-size: 14.5px; color: var(--text-muted); line-height: 1.5; }
.btn-submit { width: 100%; margin-top: 4px; }
.btn-submit[disabled] { opacity: .6; cursor: not-allowed; }

.form-message { margin-top: 16px; padding: 13px 15px; border-radius: var(--radius-sm); font-size: 15.5px; }
.form-message.ok { background: #E6F3EC; color: var(--ok); border: 1px solid #B9DFC9; }
.form-message.error { background: #FBEAE9; color: var(--error); border: 1px solid #F0C6C3; }

.contact-info-wrap { display: grid; gap: 16px; align-content: start; }
.contact-info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.contact-info-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-phone { display: inline-block; font-size: 26px; font-weight: 800; color: var(--color-primary); text-decoration: none; box-shadow: inset 0 -6px 0 var(--color-accent); }
.contact-schedule, .contact-note, .contact-nota-zonas { font-size: 14.5px; color: var(--text-muted); margin: 10px 0 0; }
.contact-nap { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.contact-nap strong { color: var(--text); }
.contact-nap a, .footer-nap a { color: var(--color-primary); font-weight: 600; }

/* ── Utilidades de maquetación ── */
.hero-text { min-width: 0; }
.faq-list { border-top: 1px solid var(--border); }
.captcha-group input { max-width: 220px; }
.form-checkbox { margin-top: 22px; }
.zonas-compacta { margin-bottom: 10px; }
.zonas-compacta li { font-size: 13.5px; padding: 5px 11px; }
.footer-brand { max-width: 380px; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--color-primary); color: #C7CBD1; padding: 56px 0 0; font-size: 15.5px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
.footer-logo img { width: 220px; height: 44px; }
.footer-desc { margin-top: 16px; color: #A9AEB6; font-size: 14.5px; max-width: 360px; }
.footer-col h3 { color: var(--white); font-size: 16px; margin-bottom: 14px; }
.footer-col a { display: block; color: #C7CBD1; text-decoration: none; padding: 5px 0; }
.footer-col a:hover { color: var(--color-accent); }
.footer-nap { font-style: normal; line-height: 1.75; color: #C7CBD1; }
.footer-nap strong { color: var(--white); }
.footer-nap a { color: var(--color-accent); }
.footer-horario { margin-top: 12px; color: #A9AEB6; font-size: 14.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; font-size: 14px; color: #A9AEB6; }
.footer-bottom p { margin: 0; }

/* =============================================================
   BARRA FIJA DE LLAMADA — solo móvil
   ============================================================= */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
  display: flex; gap: 10px; padding: 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(35,37,42,.12);
}
.call-bar .btn { flex: 1 1 0; min-height: 48px; padding: 12px 10px; font-size: 15.5px; }
body.con-call-bar { padding-bottom: 78px; }

@media (min-width: 900px) {
  .call-bar { display: none; }
  body.con-call-bar { padding-bottom: 0; }
}
/* Con el aviso de cookies abierto, la barra se aparta para no solaparse */
body.cookies-visibles .call-bar { display: none; }

/* =============================================================
   COOKIE BANNER — sin CLS
   ============================================================= */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(35,37,42,.14);
  transform: translateY(100%); transition: transform .25s ease;
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-inner { max-width: var(--container); margin: 0 auto; padding: 16px 20px; display: grid; gap: 14px; align-items: center; }
.cookie-text { margin: 0; font-size: 14.5px; color: var(--text-muted); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 20px; font-size: 15px; min-height: 44px; }

/* =============================================================
   LEGALES
   ============================================================= */
.legal { max-width: 68ch; }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal h3 { font-size: 19px; margin-top: 26px; }
.legal p, .legal li { color: var(--text-muted); }

/* =============================================================
   404
   ============================================================= */
.error-page { text-align: center; padding: 90px 0; }
.error-code { font-size: clamp(72px, 16vw, 128px); font-weight: 800; color: var(--color-accent); line-height: 1; margin: 0; }

/* =============================================================
   FOCUS VISIBLE
   ============================================================= */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .cookie-inner { grid-template-columns: 1fr auto; }
}

@media (min-width: 900px) {
  :root { --section-y: 88px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1.05fr 1fr; padding: 60px 0 72px; }
  .media-block { grid-template-columns: 1fr 1fr; }
  .media-block.reverse .media-block-text { order: 2; }
  .contact-grid { grid-template-columns: 1.15fr .85fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .burger, .mobile-nav { display: none; }
  .header-top-text { text-align: right; }
}

@media (min-width: 1100px) {
  .logo img { width: 262px; height: 52px; }
}

/* ── Móvil en horizontal: liberar altura útil ── */
@media (max-height: 480px) and (orientation: landscape) {
  .site-header { position: static; }
  .header-top { font-size: 13px; }
  .mobile-nav { max-height: 70vh; }
  #cookie-banner .cookie-inner { padding: 10px 20px; }
}

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

/* ── Impresión ── */
@media print {
  .site-header, .mobile-nav, #cookie-banner, .contact-form-wrap, .cta-band { display: none !important; }
  body { font-size: 12pt; }
}
