/* rpv.es — hoja de estilos única */
:root {
  --orange: #f66500;
  --orange-dark: #c94f00;
  --orange-soft: #fff2ea;
  --ink: #1f2328;
  --ink-2: #4a5059;
  --muted: #6b7280;
  --line: #e6e8eb;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --dark: #23262b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
  --container: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font: 17px/1.65 var(--font); color: var(--ink); background: var(--bg); }
img, video, iframe { max-width: 100%; height: auto; }
img { border: 0; }
a { color: var(--orange-dark); text-underline-offset: .15em; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); }
h3 { font-size: 1.25rem; }
p, ul, ol { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.accent { color: var(--orange); }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--orange); margin-bottom: .5em; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--orange); background: var(--orange); color: #fff; font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--orange-dark); }
.btn-ghost:hover { background: var(--orange-soft); color: var(--orange-dark); }
.btn-light { background: #fff; border-color: #fff; color: var(--orange-dark); }
.btn-light:hover { background: var(--orange-soft); border-color: var(--orange-soft); color: var(--orange-dark); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .15em; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.topbar { background: var(--dark); color: #d7d9dd; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--orange); }
.topbar svg { width: 16px; height: 16px; fill: currentColor; }
.topbar-links { display: flex; gap: 18px; align-items: center; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.brand img { display: block; width: 210px; height: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: .6em .85em; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; border-radius: 8px; }
.main-nav a:hover, .main-nav .active > a { color: var(--orange); }
.main-nav a[aria-current="page"] { color: var(--orange); }
.main-nav .sub { position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.main-nav .sub a { font-weight: 500; padding: .55em .8em; }
.main-nav .sub a:hover { background: var(--orange-soft); }
.main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub-toggle { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); transition: .2s; content: ""; }
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { top: -7px; left: 0; }
.nav-toggle-bars::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .nav-toggle { display: block; }
  .nav-bar { min-height: 68px; }
  .brand img { width: 170px; }
  /* absolute respecto a la cabecera: su backdrop-filter impide usar position: fixed */
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 104px); height: calc(100dvh - 104px); background: #fff; overflow-y: auto; padding: 12px 16px 40px; display: none; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .main-nav > ul > li > a { flex: 1; padding: .9em .4em; font-size: 1.05rem; }
  .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; width: 100%; }
  .main-nav .has-sub.open > .sub { display: block; }
  .sub-toggle { display: block; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
  .sub-toggle::after { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-3px) rotate(45deg); transition: .2s; }
  .has-sub.open > .sub-toggle::after { transform: translateY(2px) rotate(-135deg); }
}

/* Hero portada */
.hero { background: radial-gradient(1200px 400px at 85% 0%, var(--orange-soft), transparent 70%), linear-gradient(180deg, #fff, var(--bg-alt)); padding: clamp(32px, 6vw, 72px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.slider { position: relative; aspect-ratio: 820 / 308; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--dark); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 8px; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.35); padding: 0; cursor: pointer; }
.slider-dots button[aria-current="true"] { background: #fff; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Cifras */
.stats { background: var(--orange); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0; }
.stats-grid div { display: flex; flex-direction: column; }
.stats-grid strong { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); line-height: 1.1; }
.stats-grid span { font-size: .92rem; opacity: .95; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Secciones */
.section { padding: clamp(40px, 7vw, 80px) 0; }
.section-alt { background: var(--bg-alt); }
.section-title { margin-bottom: .8em; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.link-more { font-weight: 600; text-decoration: none; }
.link-more::after { content: " →"; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.duo { display: flex; gap: 12px; flex-wrap: wrap; }
.duo img { border-radius: 10px; }
.keys { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.keys ol { counter-reset: k; list-style: none; padding: 0; margin: 0; }
.keys li { counter-increment: k; position: relative; padding: 0 0 14px 48px; }
.keys li::before { content: counter(k); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Tarjetas */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.card img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; background: var(--bg-alt); }
.news-card img { aspect-ratio: 16 / 9; object-fit: contain; padding: 12px; background: #fff; border-bottom: 1px solid var(--line); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; flex: 1; }
.card-body strong { font-size: 1.1rem; line-height: 1.3; }
.card-body > span { color: var(--ink-2); font-size: .95rem; }
.card-body time { color: var(--muted); font-size: .85rem; }
.card .more { margin-top: auto; padding-top: 6px; color: var(--orange-dark); font-weight: 600; font-size: .92rem; }
.card .more::after { content: " →"; }
.chips { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li { background: var(--orange-soft); color: var(--orange-dark); border-radius: 999px; padding: .35em .95em; font-size: .9rem; font-weight: 600; }

.logo-wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.logo-wall li { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; aspect-ratio: 3 / 2; }
.logo-wall img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.logo-wall li:hover img { filter: none; opacity: 1; }

.prtr { border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.prtr-logos { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; margin-bottom: 20px; }
.prtr-logos img { max-height: 70px; width: auto; }

/* Banda CTA y pie */
.cta-band { background: linear-gradient(120deg, var(--orange), #ff8a3d); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 0; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; opacity: .95; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--dark); color: #c5c8cd; font-size: .93rem; }
.site-footer a { color: #e6e7ea; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 56px 0 40px; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45em; }
.footer-logo { background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; width: 190px; height: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s; z-index: 40; }
.to-top::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border-left: 2px solid #fff; border-top: 2px solid #fff; transform: translateY(2px) rotate(45deg); }
.to-top.show { opacity: 1; pointer-events: auto; }

/* Páginas interiores */
.page-hero { background: linear-gradient(120deg, var(--dark), #3a3f47); color: #fff; padding: clamp(28px, 5vw, 56px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--orange); opacity: .9; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin: 0; max-width: 900px; }
.page-hero .meta { margin: .6em 0 0; color: #d0d3d8; }
.breadcrumbs { font-size: .88rem; color: #c9ccd1; margin-bottom: 10px; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .sep { margin: 0 .5em; opacity: .6; }
@media (max-width: 600px) { .page-hero::after { width: 160px; height: 160px; right: -60px; top: -60px; } }

.service-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 4px; scrollbar-width: thin; }
.service-tabs a { flex: none; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; background: #fff; }
.service-tabs a:hover { border-color: var(--orange); color: var(--orange-dark); }
.service-tabs a[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Contenido migrado de WordPress */
.prose { padding: clamp(28px, 5vw, 56px) 0; }
.prose-narrow { max-width: 820px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--orange); }
.prose ul.standard-arrow { list-style: none; padding: 0; }
.prose ul.standard-arrow li { position: relative; padding-left: 1.4em; }
.prose ul.standard-arrow li::before { content: "›"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.prose li p { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.prose img { border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-alt); }
.prose .alignleft { float: left; margin: 0 1.2em 1em 0; }
.prose .alignright { float: right; margin: 0 0 1em 1.2em; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose .text::after, .prose .row::after { content: ""; display: table; clear: both; }
.prose figure { margin: 0 0 1em; }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; margin-bottom: 8px; }
.col-12 { grid-column: span 12; } .col-10 { grid-column: span 10; } .col-9 { grid-column: span 9; }
.col-8 { grid-column: span 8; } .col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; } .col-2 { grid-column: span 2; }
.row .row { gap: 0 12px; }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; }
  .row > [class^="col-"] { grid-column: auto; min-width: 0; }
  .row .row { grid-template-columns: repeat(3, 1fr); }
  .prose .alignleft, .prose .alignright { float: none; margin: 0 0 1em; }
}
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; background: var(--bg-alt); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video { margin: 0 0 1em; }
.video-player { width: 100%; height: auto; border-radius: 10px; background: #000; }

/* Nuestros clientes: rejilla de logotipos */
.page-nuestros-clientes .row:has(> .col-2) { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.page-nuestros-clientes .row > .col-2 { grid-column: auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; min-height: 110px; }
.page-nuestros-clientes .col-2 p { margin: 0; }
.page-nuestros-clientes hr { display: none; }
.page-nuestros-clientes .col-2 img { max-height: 80px; width: auto; border-radius: 0; float: none; margin: 0 auto; display: block; }
@media (max-width: 860px) { .page-nuestros-clientes .row:has(> .col-2) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .page-nuestros-clientes .row:has(> .col-2) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Misión y valores: tarjetas */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; margin-top: 16px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.value-card p { color: var(--ink-2); margin: 0; font-size: .96rem; }
.value-icon { display: block; width: 52px; height: 52px; border-radius: 12px; background: var(--orange); margin-bottom: 14px; position: relative; }
.value-icon::after { content: ""; position: absolute; inset: 12px; background: #fff; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.value-icon[data-icon="chart"]  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2v16h16v2H3zm4 10 4-4 3 3 5-6 1.5 1.3L14 15l-3-3-2.6 2.6z'/%3E%3C/svg%3E"); }
.value-icon[data-icon="users"]  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm8 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM1 20c0-3.3 3.6-6 8-6s8 2.7 8 6v1H1zm16.6-5.9c2.9.4 5.4 2.1 5.4 4.9v2h-4v-1c0-2.3-.5-4.3-1.4-5.9z'/%3E%3C/svg%3E"); }
.value-icon[data-icon="thumb"]  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 10h4v11H2zm6 11V10l5-8 1.2.9c.5.4.7 1 .5 1.6L13.6 9H20a2 2 0 0 1 2 2.3l-1.4 8A2 2 0 0 1 18.6 21z'/%3E%3C/svg%3E"); }
.value-icon[data-icon="trophy"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10v2h4v3a5 5 0 0 1-4.6 5A5 5 0 0 1 13 15.9V19h4v3H7v-3h4v-3.1A5 5 0 0 1 7.6 12 5 5 0 0 1 3 7V4h4zm0 4H5v1a3 3 0 0 0 2 2.8zm10 0v3.8A3 3 0 0 0 19 7V6z'/%3E%3C/svg%3E"); }
.value-icon[data-icon="leaf"]   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3S8 2 4.5 9.5C2.7 13.4 4 17 4 17l-2 3 1.5 1L5.6 18c3 .9 7.5.4 10.4-3.3C19.6 10 21 3 21 3zM7 16s2-6 9-9c0 0-6 4-9 9z'/%3E%3C/svg%3E"); }

/* Noticias */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 56px; }
.post-nav a { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; text-decoration: none; color: var(--ink); font-weight: 600; }
.post-nav a:hover { border-color: var(--orange); }
.post-nav small { display: block; color: var(--muted); font-weight: 500; }
.post-nav .next { text-align: right; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { text-align: left; } }

/* Cookies y lightbox */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.18); padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: .92rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 320px; }
.cookie-actions { display: flex; gap: 10px; }
.lightbox-dialog { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox-dialog::backdrop { background: rgba(0,0,0,.82); }
.lightbox-dialog img { display: block; max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .cta-band, .site-footer, .cookie-banner, .to-top { display: none !important; } }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.footer-bottom a { text-decoration: underline; text-underline-offset: .15em; }
.footer-bottom .version { opacity: .7; }
.contact-emails { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.contact-emails a { font-weight: 600; }
.news-card .card-placeholder { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--orange-soft); border-bottom: 1px solid var(--line); }
.news-card .card-placeholder img { width: 55%; aspect-ratio: auto; padding: 0; border: 0; background: transparent; object-fit: contain; }
body:has(.main-nav.open) .cookie-banner, body:has(.main-nav.open) .to-top { display: none; }
