
@font-face{font-family:'Exo 2';font-style:normal;font-weight:400;font-display:swap;src:url('exo-2-latin-400.woff2') format('woff2')}
@font-face{font-family:'Exo 2';font-style:normal;font-weight:400;font-display:swap;src:url('exo-2-latin-ext-400.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Exo 2';font-style:normal;font-weight:500;font-display:swap;src:url('exo-2-latin-500.woff2') format('woff2')}
@font-face{font-family:'Exo 2';font-style:normal;font-weight:500;font-display:swap;src:url('exo-2-latin-ext-500.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Exo 2';font-style:normal;font-weight:600;font-display:swap;src:url('exo-2-latin-600.woff2') format('woff2')}
@font-face{font-family:'Exo 2';font-style:normal;font-weight:600;font-display:swap;src:url('exo-2-latin-ext-600.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Exo 2';font-style:normal;font-weight:700;font-display:swap;src:url('exo-2-latin-700.woff2') format('woff2')}
@font-face{font-family:'Exo 2';font-style:normal;font-weight:700;font-display:swap;src:url('exo-2-latin-ext-700.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Exo 2';font-style:normal;font-weight:800;font-display:swap;src:url('exo-2-latin-800.woff2') format('woff2')}
@font-face{font-family:'Exo 2';font-style:normal;font-weight:800;font-display:swap;src:url('exo-2-latin-ext-800.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

picture{display:contents}
img{height:auto}

:root {
  --bg:          #ffffff;
  --surface:     #f7faf9;
  --surface-2:   #eef6f5;
  --fg:          #2e4042;
  --muted:       #6f7b7b;
  --border:      #e3ebea;

  --rose:        #cc7173;
  --rose-dark:   #ab334c;
  --rose-soft:   #f9e9ea;

  --cyan:        #ade6e2;
  --cyan-soft:   #e8f6f5;

  --green:       #8bc34a;
  --green-dark:  #3b733c;
  --green-soft:  #eef6e2;

  --yellow:      #f0db98;

  --radius:      14px;
  --radius-lg:   22px;
  --radius-pill: 999px;
  --shadow:      0 12px 30px -20px rgba(46, 64, 66, .55);
  --shadow-lg:   0 24px 60px -30px rgba(46, 64, 66, .55);
  --maxw:        1140px;
  --pad:         clamp(18px, 4vw, 40px);

  --font: 'Exo 2', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rose-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--fg); margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 2.6vw, 32px); }
h3 { font-size: clamp(18px, 1.8vw, 23px); }
p  { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--fg); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, var(--cyan) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.site-header.is-stuck { box-shadow: var(--shadow); }
.header-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0 10px;
}
.brand { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; }
.brand-aemet { display: flex; align-items: center; gap: 10px; }
.brand-aemet img { height: 42px; width: auto; }
.brand-aemet .sun { height: 40px; width: auto; opacity: .95; }
.brand-main { display: flex; align-items: center; margin-inline: auto; }
.brand-main img { height: 62px; width: auto; }
.brand-deco { display: flex; align-items: center; }
.brand-deco img { height: 52px; width: auto; }

.main-nav { border-top: 1px solid rgba(46, 64, 66, .08); }
.nav-list {
  list-style: none; margin: 0; padding: 6px 0 12px;
  display: flex; justify-content: center; gap: clamp(6px, 2vw, 28px);
}
.nav-item { text-align: center; }
.nav-item > a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--rose); font-weight: 700; font-size: 13.5px; line-height: 1.15;
  padding: 6px 4px; border-radius: 12px; max-width: 118px; text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.nav-item > a:hover, .nav-item > a:focus-visible { color: var(--rose-dark); background: rgba(255, 255, 255, .6); text-decoration: none; }
.nav-item.is-active > a { color: var(--rose-dark); background: #fff; box-shadow: inset 0 0 0 1.5px var(--rose-soft); }
.nav-icon { position: relative; width: 46px; height: 46px; }
.nav-icon img { position: absolute; inset: 0; width: 46px; height: 46px; object-fit: contain; transition: opacity .18s ease; }
.nav-icon .ic-over { opacity: 0; }
.nav-item > a:hover .ic-over,
.nav-item > a:focus-visible .ic-over { opacity: 1; }
.nav-item > a:hover .ic-base,
.nav-item > a:focus-visible .ic-base { opacity: 0; }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  background: var(--rose); color: #fff; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; padding: 10px 16px; border-radius: var(--radius-pill);
}
.nav-toggle:hover { background: var(--rose-dark); }

.drawer {
  position: fixed; inset: 0 auto 0 0; width: min(84vw, 340px);
  background: #fff; box-shadow: var(--shadow-lg); z-index: 90;
  transform: translateX(-102%); transition: transform .28s ease;
  display: flex; flex-direction: column; overflow-y: auto; padding: 18px;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer-head img { height: 44px; }
.drawer-close { background: var(--surface-2); border: 0; border-radius: 50%; width: 40px; height: 40px; font-size: 22px; cursor: pointer; color: var(--fg); }
.drawer ul { list-style: none; padding: 0; margin: 0; }
.drawer li + li { border-top: 1px solid var(--border); }
.drawer li a { display: flex; align-items: center; gap: 14px; padding: 14px 8px; font-weight: 700; color: var(--fg); }
.drawer li a img { width: 34px; height: 34px; object-fit: contain; }
.drawer li a:hover { color: var(--rose-dark); text-decoration: none; }
.backdrop { position: fixed; inset: 0; background: rgba(46, 64, 66, .45); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .28s ease; }
.backdrop.show { opacity: 1; visibility: visible; }

.hero {
  background: linear-gradient(180deg, var(--cyan-soft) 0%, var(--bg) 100%);
  padding: clamp(28px, 5vw, 52px) 0 clamp(20px, 4vw, 40px);
  border-bottom: 1px solid var(--border);
}
.hero-inner { display: grid; gap: 14px; max-width: 780px; }
.hero .eyebrow {
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  font-size: 12.5px; color: var(--green-dark);
}
.hero h1 { margin-bottom: .2em; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin-bottom: 0; }

.section { padding: clamp(34px, 5vw, 64px) 0; }
.section--tight { padding-top: clamp(24px, 3vw, 40px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: clamp(20px, 3vw, 34px); }
.section-head .eyebrow {
  display: inline-block; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; font-size: 12px; color: var(--rose); margin-bottom: 8px;
}
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-title-line { display: flex; align-items: center; gap: 14px; }
.section-title-line img { width: 40px; height: 40px; object-fit: contain; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 16 / 10; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media--icon img, .card-media svg { width: 44%; height: 44%; object-fit: contain; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--muted); font-size: 15px; }
.card-tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-dark); background: var(--green-soft);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.card--row { flex-direction: row; align-items: stretch; }
.card--row .card-media { flex: 0 0 38%; aspect-ratio: auto; }
.card--row .card-body { flex: 1 1 auto; justify-content: center; }
.card-nolink { cursor: default; }
.card-nolink .card-body::after {
  content: "Sección dinámica — conservada como descripción";
  font-size: 12px; color: var(--muted); font-style: italic;
}

.more {
  align-self: flex-start; margin-top: auto; font-weight: 700; color: var(--rose-dark);
  display: inline-flex; align-items: center; gap: 6px;
}
.more::after { content: "→"; transition: transform .18s ease; }
a.more:hover { text-decoration: none; }
a.more:hover::after { transform: translateX(4px); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  border: 1.5px solid var(--border); background: #fff; color: var(--fg);
  padding: 8px 16px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px;
}
.chip.is-active { background: var(--rose); border-color: var(--rose); color: #fff; }

.map-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: stretch; }
.map-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow); min-height: 340px; display: flex; flex-direction: column;
}
.map-canvas {
  flex: 1 1 auto; position: relative; min-height: 260px;
  background: linear-gradient(180deg, #d7efec 0%, #eef7f5 100%);
}
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-land, .map-isle { fill: #fff; stroke: #7ec8c2; stroke-width: 1.6; stroke-linejoin: round; }
.map-isle { stroke-width: 1.2; }
.map-glow { fill: var(--rose); opacity: .12; }
.map-pin { fill: var(--rose); stroke: #fff; stroke-width: 2.4; }
.map-label {
  fill: var(--rose-dark); font-family: var(--font); font-size: 13px;
  font-weight: 700; letter-spacing: .12em;
}
.map-canvas::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,64,66,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,64,66,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-canvas .pin {
  position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); background: var(--rose);
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.5); border: 2px solid #fff;
}
.map-note {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(255,255,255,.94); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--muted);
}

.loc-land { fill: #fff; stroke: #7ec8c2; stroke-width: 1.6; stroke-linejoin: round; }
.loc-green { fill: #dcefe0; }
.loc-road { fill: none; stroke: #ece4d8; stroke-width: 7; stroke-linecap: round; }
.loc-road--main { stroke: #f2cf95; stroke-width: 11; }
.loc-road--minor { stroke: #ece7df; stroke-width: 4; }
.loc-piers rect { fill: #d9d3c9; }
.loc-waterlabel {
  fill: #6ba7b4; font-family: var(--font); font-size: 16px;
  font-style: italic; letter-spacing: .08em;
}
.loc-label {
  fill: var(--rose-dark); font-family: var(--font); font-size: 16px;
  font-weight: 700; letter-spacing: .04em;
}
.loc-marker .loc-halo { fill: var(--rose); opacity: .16; }
.loc-marker .loc-pin { fill: var(--rose); stroke: #fff; stroke-width: 3; }
.loc-marker .loc-dot { fill: #fff; }
.map-side { display: grid; gap: 16px; align-content: start; }
.select-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.select-block h4 { margin: 0 0 8px; font-size: 15px; color: var(--rose); }

.muni-list { display: flex; flex-wrap: wrap; gap: 8px; }
.muni {
  border: 1.5px solid var(--border); background: #fff; color: var(--fg);
  padding: 6px 13px; border-radius: var(--radius-pill);
  font-family: var(--font); font-size: 13px; font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.muni:hover { border-color: var(--cyan); }
.muni.is-active { background: var(--rose); border-color: var(--rose); color: #fff; }
.colegios-meta { margin: 12px 0 0; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.school-list {
  list-style: none; margin: 10px 0 0; padding: 0;
  display: grid; gap: 7px; max-height: 236px; overflow: auto;
}
.school-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--border); border-radius: 10px; padding: 8px 11px;
  background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--fg);
}
.school-list li[hidden] { display: none; }
.school-list .muni-tag {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); white-space: nowrap;
}

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 24px); }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.news-thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan-soft), var(--surface-2)); }
.news-thumb svg { width: 46%; height: 46%; }
.news-body { padding: 16px 18px 20px; }
.news-body h3 { font-size: 17px; margin: 0 0 6px; }
.news-date { font-size: 12.5px; color: var(--muted); font-weight: 700; letter-spacing: .04em; }

.link-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 32px); }
.link-group { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.link-group h3 { color: var(--rose); display: flex; align-items: center; gap: 10px; }
.link-group h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--green); }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { padding: 12px 0; border-top: 1px solid var(--border); }
.link-list li:first-child { border-top: 0; }
.link-list .name { font-weight: 600; display: block; }
.link-list .url { font-size: 13px; color: var(--muted); word-break: break-all; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.data thead th { background: var(--green-soft); color: var(--green-dark); font-weight: 800; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data .num { text-align: right; white-space: nowrap; color: var(--muted); }

.forum-block { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 24px; background: #fff; }
.forum-head { background: linear-gradient(135deg, var(--rose), #e7a9aa); color: #fff; padding: 18px 22px; }
.forum-head h3 { color: #fff; margin: 0 0 4px; }
.forum-head p { margin: 0; opacity: .95; }
.forum-row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  width: 100%; padding: 16px 22px; border: 0; border-top: 1px solid var(--border);
  background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer;
  transition: background .15s;
}
.forum-row:hover { background: var(--surface-2); }
.forum-row:focus-visible { outline: 2px solid var(--rose); outline-offset: -3px; }
.forum-row[aria-expanded="true"] { background: var(--surface-2); }
.forum-row-main { display: block; }
.forum-row .f-name { display: block; font-weight: 700; color: var(--fg); }
.forum-row .f-desc { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.forum-meta { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.forum-chevron {
  width: 9px; height: 9px; margin-right: 3px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.forum-row[aria-expanded="true"] .forum-chevron { transform: rotate(225deg); }
.forum-panel { background: var(--surface-2); border-top: 1px dashed var(--border); padding: 2px 22px 18px; }
.forum-panel[hidden] { display: none; }
.forum-panel-note { margin: 12px 0 0; max-width: 68ch; color: var(--muted); font-size: 14.5px; }
.badge { background: var(--green-soft); color: var(--green-dark); font-weight: 800; border-radius: var(--radius-pill); padding: 4px 12px; font-size: 13px; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; }
.stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 18px; }
.stat b { color: var(--rose-dark); font-size: 20px; }

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose .lead { font-size: 1.06em; color: var(--muted); }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--yellow);
  border-radius: var(--radius); padding: 16px 18px; color: var(--muted); font-size: 14.5px;
}

.site-footer { background: var(--fg); color: #e8efee; margin-top: 10px; }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px); padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logos img { max-height: 62px; width: auto; filter: grayscale(1) brightness(1.75); opacity: .82; transition: filter .2s ease, opacity .2s ease; }
.footer-logos img:hover { filter: none; opacity: 1; }
.footer-main { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding: 26px 0; }
.footer-main p { margin: 0; font-size: 14px; color: #c3d0cf; max-width: 620px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-links a { color: #fff; font-weight: 700; }
.footer-social { display: flex; gap: 10px; align-items: center; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); }
.footer-social img { width: 20px; height: 20px; }
.footer-links a:hover, .footer-social a:hover { opacity: .85; }

.h3-look {
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--fg);
  margin: 0 0 .5em;
}
.card-body .h3-look { margin: 0; }
.link-group .h3-look {
  color: var(--rose);
  display: flex;
  align-items: center;
  gap: 10px;
}
.link-group .h3-look::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--green);
}
.h4-look {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--rose);
}

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.lead-2 { font-size: 1.05em; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800;
  background: var(--rose); color: #fff; padding: 12px 22px; border-radius: var(--radius-pill); border: 0; cursor: pointer;
}
.btn:hover { background: var(--rose-dark); text-decoration: none; }
.btn--ghost { background: #fff; color: var(--rose-dark); box-shadow: inset 0 0 0 2px var(--rose); }

.cookie-note {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 70;
  width: min(100% - 32px, 720px); background: var(--fg); color: #fff;
  border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 16px;
  align-items: center; justify-content: space-between; box-shadow: var(--shadow-lg);
}
.cookie-note p { margin: 0; font-size: 14px; color: #d9e3e2; }
.cookie-note .btn { padding: 9px 18px; white-space: nowrap; }
.cookie-note[hidden] { display: none; }

@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { grid-template-columns: 1fr; }
  .brand-deco { display: none; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand-main { margin-inline: auto; }
  .brand-main img { height: 50px; }
  .news-grid { grid-template-columns: 1fr; }
  .link-groups { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .card--row { flex-direction: column; }
  .card--row .card-media { flex-basis: auto; aspect-ratio: 16 / 10; }
  .forum-row { grid-template-columns: 1fr; gap: 8px; }
  .forum-meta { justify-content: flex-start; }
  .brand-aemet .sun { display: none; }
  .footer-main { flex-direction: column; align-items: flex-start; }
}
