/* Page chrome: header, language switcher, hero, section scaffolding, footer. */

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 249, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 62px;
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark { display: flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; }
.brand-text span {
  font-size: .74rem; color: var(--slate);
  letter-spacing: .06em; text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: .35rem; }
.site-nav > a {
  display: none;
  padding: .5rem .7rem; border-radius: var(--radius-sm);
  color: var(--navy); font-weight: 600; font-size: .93rem;
}
.site-nav > a:hover { background: var(--teal-tint); text-decoration: none; }
.site-nav > a[aria-current="page"] { color: var(--teal-dark); background: var(--teal-tint); }

/* --- Language switcher --------------------------------------------------- */

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 40px; padding: .45rem .7rem;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .88rem; font-weight: 600; color: var(--navy);
}
.lang-btn:hover { border-color: var(--teal); background: var(--teal-tint); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + .4rem);
  min-width: 175px; margin: 0; padding: .35rem;
  list-style: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: none;
}
.lang.is-open .lang-menu { display: block; }
.lang-menu a {
  display: block; padding: .55rem .7rem; border-radius: var(--radius-sm);
  color: var(--navy); font-size: .92rem; font-weight: 550;
}
.lang-menu a:hover { background: var(--teal-tint); text-decoration: none; }
.lang-menu a[aria-current="true"] { color: var(--teal-dark); font-weight: 700; background: var(--teal-tint); }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 78% -12%, rgba(255,194,75,.35), transparent 60%),
    radial-gradient(760px 420px at 8% 6%, rgba(255,122,89,.30), transparent 62%),
    linear-gradient(158deg, var(--teal) 0%, var(--teal-dark) 62%, #08484f 100%);
  color: #fff;
  padding: 3rem 0 4.25rem;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 730px; }
.hero h1 { color: #fff; margin-bottom: .7rem; }
.hero-sub {
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  color: rgba(255,255,255,.92);
  max-width: 34rem; margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-count {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 1.5rem 0 0; font-size: .92rem; color: rgba(255,255,255,.9);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #6ee7a8;
  box-shadow: 0 0 0 0 rgba(110,231,168,.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(110,231,168,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(110,231,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(110,231,168,0); }
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 58px; display: block; }

/* --- Sections ------------------------------------------------------------ */

.section { padding: 2.75rem 0; }
.section-alt { background: var(--sand); }
.section-buildings { background: linear-gradient(180deg, var(--bg), var(--sand)); }
.page-head { padding: 2.25rem 0 .5rem; }
.section-head { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.section-sub { color: var(--slate); margin: 0; max-width: 46rem; }
.result-count { color: var(--slate); font-weight: 600; margin: 1.25rem 0 1rem; }

.cta-band { background: var(--sand); }
.cta-inner {
  display: flex; flex-direction: column; gap: 1.15rem;
  align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.cta-inner h2 { margin-bottom: .3rem; }
.cta-inner p { color: var(--slate); margin: 0; }

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--navy); color: rgba(255,255,255,.75);
  margin-top: 2rem; padding: 2.5rem 0 1.5rem;
}
.footer-grid { display: grid; gap: 1.85rem; grid-template-columns: 1fr; }
.site-footer h3 {
  color: #fff; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .07em; margin-bottom: .7rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: rgba(255,255,255,.78); font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-about { max-width: 26rem; margin-bottom: .6rem; }
.footer-pledge { color: var(--sunshine); font-weight: 700; margin: 0; }
.footer-legal {
  margin-top: 2rem; padding-top: 1.15rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .85rem;
}
.footer-legal p { margin: 0; }
