/* CLADE · Consejo Latinoamericano de Estrabismo
   Paleta: tinta, cobalto (filtro de lámpara de hendidura), esclera,
   gris iris del logo y fluoresceína como acento puntual. */

:root {
  --ink: #14243B;
  --ink-soft: #4A5870;
  --muted: #6B7789;
  --cobalt: #2146A6;
  --cobalt-deep: #15306F;
  --cobalt-tint: #E7ECF7;
  --sclera: #F3F6F9;
  --line: #D8E0E9;
  --iris: #8C9199;
  --fluo: #CFE86A;
  --white: #FFFFFF;
  --ok: #1E7A4F;
  --err: #B3261E;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 3px solid var(--fluo); outline-offset: 2px; box-shadow: 0 0 0 5px var(--cobalt); border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem); }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1875rem; color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--muted); font-weight: 400; }
.mt { margin-top: 1.6em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }

.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  font: 600 1rem/1.2 var(--sans);
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { background: var(--cobalt-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--cobalt); border-color: var(--cobalt); }
.btn-ghost:hover { background: var(--cobalt-tint); color: var(--cobalt-deep); }
.btn-light { background: var(--white); color: var(--cobalt-deep); }
.btn-light:hover { background: var(--cobalt-tint); color: var(--cobalt-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; }

/* ---------- 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); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 42px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: .9375rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
}
.main-nav a:hover { color: var(--ink); background: var(--sclera); }
.main-nav a[aria-current="page"] { color: var(--cobalt); box-shadow: inset 0 -2px 0 var(--cobalt); border-radius: 0; }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px var(--gutter) 20px; }
  .main-nav a { padding: 14px 8px; font-size: 1.0625rem; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cobalt); padding-left: 14px; }
  .brand img { height: 34px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero-eye { width: 100%; max-width: 440px; justify-self: end; }
.hero-eye svg { width: 100%; height: auto; overflow: visible; }
.hero-eye .ring { fill: none; stroke: var(--ink); }
.hero-eye .ring-outer { stroke-width: 22; }
.hero-eye .ring-mid { stroke-width: 10; }
.hero-eye .pupil { fill: var(--ink); }
.hero-eye .iris-dev { fill: var(--iris); transform: translate(64px, 26px); animation: align 1.8s cubic-bezier(.6, 0, .2, 1) .5s forwards; }
.hero-eye .fix { fill: var(--fluo); opacity: 0; animation: fix .5s ease 2.3s forwards; }
.hero-eye .reticle line { stroke: var(--cobalt); stroke-width: 2; stroke-linecap: round; opacity: 0; animation: fix .6s ease 2.1s forwards; }

@keyframes align { to { transform: translate(0, 0); } }
@keyframes fix { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero-eye .iris-dev { animation: none; transform: none; }
  .hero-eye .fix, .hero-eye .reticle line { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-eye { order: -1; max-width: 200px; justify-self: start; }
}

/* ---------- Pilares ---------- */
.pillars { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 32px 32px 28px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar h2 { font-size: 1.375rem; margin-bottom: .35em; }
.pillar p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
@media (max-width: 760px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-flush { padding-top: 0; }
.section-tint { background: var(--sclera); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.0625rem; }
.section-head-row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.more { margin: 28px 0 0; }

.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); }
.page-head h1 { max-width: 20ch; }
.banner { margin-bottom: clamp(16px, 3vw, 32px); }
.banner .media { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }

/* Áreas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.area .glyph { width: 56px; height: 56px; margin-bottom: 18px; }
.glyph circle { fill: none; stroke: var(--cobalt); stroke-width: 2.5; }
.glyph .g-solid { fill: var(--ink); stroke: none; }
.glyph .g-grey { fill: var(--iris); stroke: none; }
.glyph .g-faint { stroke: var(--line); }
.area p { color: var(--ink-soft); }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }

/* Bloques divididos */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-text > p { color: var(--ink-soft); }
.media { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split-media .media { aspect-ratio: 4 / 3; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-rev .split-media { order: -1; }
}

.tag-list { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .9375rem; color: var(--ink-soft); }

.check-list { list-style: none; padding: 0; margin: 0 0 8px; }
.check-list li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid var(--cobalt); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 8px var(--ink); }

/* Actividades */
.activity-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.activity-rows li { display: grid; grid-template-columns: 1fr 1.3fr .9fr; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.activity-rows h3 { margin: 0; font-size: 1.3125rem; }
.activity-rows p { margin: 0; color: var(--ink-soft); }
.activity-rows span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 760px) { .activity-rows li { grid-template-columns: 1fr; gap: 4px; } }

/* Congreso */
.congress-band { background: var(--cobalt-deep); color: #DDE5F5; padding: clamp(56px, 8vw, 96px) 0; }
.congress-band h2 { color: var(--white); }
.congress-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.congress-media .media { aspect-ratio: 16 / 9; }
.congress-band .ph { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); color: #DDE5F5; }
.congress-band .ph-mark circle { stroke: rgba(255,255,255,.45); }
.congress-band .ph-mark .ph-pupil { fill: rgba(255,255,255,.45); }
.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 24px 0 28px; }
.facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; opacity: .75; }
.facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 1.25rem; color: var(--white); }
.facts-dark dd { color: var(--ink); }
.facts-dark dt { color: var(--muted); opacity: 1; }
@media (max-width: 860px) { .congress-grid { grid-template-columns: 1fr; } .congress-media { order: -1; } }

.congress-list { display: grid; gap: 32px; }
.congress-item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--white); border-radius: var(--radius); padding: clamp(16px, 2.5vw, 28px); }
.congress-item .media { aspect-ratio: 16 / 9; }
@media (max-width: 860px) { .congress-item { grid-template-columns: 1fr; } }

.table-scroll { overflow-x: auto; }
.act-table { width: 100%; border-collapse: collapse; font-size: .9875rem; }
.act-table th, .act-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.act-table thead th { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.act-table tbody th { font-family: var(--serif); font-size: 1.125rem; font-weight: 500; }
.act-table td { color: var(--ink-soft); }

/* Misión / visión */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.mv > div { border-top: 3px solid var(--ink); padding-top: 24px; }
.mv p { font-family: var(--serif); font-size: 1.3125rem; line-height: 1.5; color: var(--ink); }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }

/* Junta */
.board { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 28px; }
.board .board-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 18px; }
.board .ph.board-photo { border-radius: 50%; }
.board h3 { font-size: 1.1875rem; margin-bottom: .2em; }
.board p { color: var(--ink-soft); font-size: .9375rem; }

.center-block { text-align: center; }
.center-block p { color: var(--ink-soft); margin-inline: auto; max-width: 60ch; }
.center-block .actions { justify-content: center; }

/* Llamado al directorio */
.dir-cta-wrap { padding-top: 0; }
.dir-cta { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; padding-top: 48px; border-top: 1px solid var(--line); }
.dir-cta h2 { margin-bottom: .25em; }
.dir-cta p { color: var(--ink-soft); margin: 0; }
.dir-count { font-size: 1rem; }
.dir-count strong { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; color: var(--cobalt); }
@media (max-width: 860px) { .dir-cta { grid-template-columns: 1fr; gap: 16px; } .dir-cta .btn { justify-self: start; } }

/* ---------- Marcadores de imagen ---------- */
.ph {
  width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--sclera); border: 1.5px dashed #B9C5D3; border-radius: var(--radius);
  color: var(--cobalt); text-align: center; padding: 16px; min-height: 140px;
}
.section-tint .ph { background: var(--white); }
.ph-mark { width: 44px; height: 44px; margin-bottom: 4px; }
.ph-mark circle { fill: none; stroke: #9DB0D6; stroke-width: 4; }
.ph-mark .ph-pupil { fill: #9DB0D6; stroke: none; }
.ph-label { font-weight: 600; font-size: .875rem; }
.ph-dims { font-size: .8125rem; color: var(--muted); }
.congress-band .ph-dims { color: #B7C4E3; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card-media, .post-feature-media { display: block; margin-bottom: 18px; text-decoration: none; }
.post-card-media img, .post-card-media .ph { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: var(--radius); }
.post-card time, .post-feature time, .article-meta { font-size: .875rem; color: var(--muted); }
.post-card h3 { margin: 6px 0 8px; font-size: 1.3125rem; }
.post-card h3 a, .post-feature h2 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover, .post-feature h2 a:hover { color: var(--cobalt); text-decoration: underline; }
.post-card p { color: var(--ink-soft); font-size: .9875rem; }

.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.post-feature-media img, .post-feature-media .ph { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: var(--radius); }
.post-feature h2 { margin-top: 8px; }
.post-feature p { color: var(--ink-soft); }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } }

.pager { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 56px; font-size: .9375rem; color: var(--muted); }
.pager a { font-weight: 600; }

.article-head { padding: clamp(40px, 6vw, 72px) var(--gutter) 32px; }
.article-head h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.125rem); margin: 16px 0 12px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.back-link { font-size: .9375rem; font-weight: 600; }
.article-cover { margin: 0 auto 48px; }
.article-cover img { width: 100%; border-radius: var(--radius); max-height: 620px; object-fit: cover; }
.prose { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.7; padding-bottom: clamp(56px, 8vw, 96px); }
.prose h2 { font-size: 1.75rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.375rem; margin-top: 1.4em; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--cobalt); color: var(--ink-soft); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose pre { font-size: .875rem; background: var(--sclera); padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: .9375rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; }

/* ---------- Directorio ---------- */
.section-dir { padding-top: 0; }
.dir-filters { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 16px; align-items: end; margin-bottom: 36px; padding: 20px; background: var(--sclera); border-radius: var(--radius); }
.dir-status { margin: 0 0 12px; font-size: .9375rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) { .dir-filters { grid-template-columns: 1fr; } .dir-status { margin: 0; } }

.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .dir-grid { grid-template-columns: 1fr; } }

.assoc { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--white); }
.assoc[hidden] { display: none; }
.assoc-head { display: grid; grid-template-columns: 80px 1fr; gap: 18px; align-items: center; margin-bottom: 18px; }
.assoc-logo {
  width: 80px; height: 80px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 0 0 5px var(--sclera);
}
.assoc-logo img { width: 78%; height: 78%; object-fit: contain; }
.assoc-initials { font-family: var(--serif); font-size: 1.5rem; color: var(--cobalt); text-transform: uppercase; }
.assoc h2 { font-size: 1.375rem; margin: 0 0 6px; }
.assoc-countries { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .9375rem; color: var(--ink-soft); }
.assoc-desc { color: var(--ink-soft); font-size: 1rem; }
.assoc-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assoc-stats > div { padding: 14px 0; }
.assoc-stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.assoc-stats dt { display: flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.assoc-stats dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.1875rem; }
.assoc-contact { list-style: none; padding: 0; margin: 0 0 18px; font-size: .9375rem; }
.assoc-contact li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; color: var(--ink-soft); word-break: break-word; }
.assoc-contact .icon { margin-top: 3px; color: var(--cobalt); }
.assoc-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.assoc-web { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; }

.empty { padding: 48px 24px; text-align: center; color: var(--ink-soft); background: var(--sclera); border-radius: var(--radius); }
.join { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.join p { margin: 0; max-width: 60ch; color: var(--ink-soft); }

.icon { width: 18px; height: 18px; flex: none; }
.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: inherit; border: 1px solid rgba(255,255,255,.25); }
.social a:hover { background: rgba(255,255,255,.1); color: inherit; }
.social-dark a { color: var(--ink-soft); border-color: var(--line); }
.social-dark a:hover { color: var(--cobalt); background: var(--cobalt-tint); }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .9375rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
}
textarea { resize: vertical; min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--fluo); }
.dir-filters .field { margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.has-error input, .has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: .875rem; margin: 0; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 500; }
.notice-ok { background: #E3F3EA; color: var(--ok); }
.notice-err { background: #FBE7E5; color: var(--err); }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-aside { background: var(--sclera); border-radius: var(--radius); padding: 32px; }
.contact-aside h2 { font-size: 1.5rem; }
.contact-aside p { color: var(--ink-soft); }
.contact-list { margin-bottom: 20px; }
.contact-list li { color: var(--ink-soft); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: #C3CCDA; padding-top: 64px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 42ch; }
.footer-h { font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #E4EAF3; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; opacity: .7; }
.contact-aside .footer-contact a { color: var(--cobalt); }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; padding-bottom: 24px; font-size: .8125rem; color: #8F9BB0; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.notfound { padding-bottom: 120px; }
