/* ============================================================
   MADRE CASAS — design system
   Display: Bricolage Grotesque · Body: Albert Sans
   Temas por material: .theme-wood / .theme-concrete
   ============================================================ */

:root {
  --gold: #e1ae0f;
  --gold-deep: #b88c07;
  --white: #fff;
  --wa-green: #1fae4b;
  --font-display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --font-body: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --boxed: 1180px;
  --radius: 14px;
  --shadow-soft: 0 18px 50px -18px rgba(30, 18, 8, .35);
  --ease-out: cubic-bezier(.22, .8, .3, 1);
}

.theme-wood {
  --ground: #faf5ee;
  --ground-2: #f2e7d8;
  --card: #fffdf9;
  --ink: #2a1608;
  --muted: #7d6350;
  --accent: #8e4420;
  --accent-deep: #47220a;
  --tint: #f0d2b7;
  --hairline: #e6d5c1;
  --footer: #211207;
  --footer-ink: #e9dccd;
  --scrim: 26, 12, 2;
}

.theme-concrete {
  --ground: #f4f3f0;
  --ground-2: #e8e6e1;
  --card: #fdfdfc;
  --ink: #201e1c;
  --muted: #6f6a63;
  --accent: #45413c;
  --accent-deep: #252321;
  --tint: #d9d6d0;
  --hairline: #ddd9d2;
  --footer: #1b1a18;
  --footer-ink: #dcd9d4;
  --scrim: 13, 13, 12;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ground);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: #241503; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  text-wrap: balance;
  font-weight: 800;
}

.boxed { max-width: var(--boxed); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  margin: 10px 0 14px;
  color: var(--accent-deep);
}

.section-lead { max-width: 62ch; color: var(--muted); font-size: 1.05rem; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s, color .25s, border-color .25s;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-gold {
  background: var(--gold);
  color: #241503;
  box-shadow: 0 10px 26px -12px rgba(225, 174, 15, .8);
}

.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); }

.btn-ghost {
  border-color: currentColor;
  color: var(--accent-deep);
  background: transparent;
}

.btn-ghost:hover { background: var(--accent-deep); color: var(--ground); transform: translateY(-2px); }

.btn-wa { background: var(--wa-green); color: #fff; box-shadow: 0 10px 26px -12px rgba(31, 174, 75, .75); }
.btn-wa:hover { background: #178a3b; transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */

.topbar {
  background: var(--accent-deep);
  color: var(--tint);
  font-size: .82rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 7px;
}

.topbar a { color: var(--gold); font-weight: 600; }

.topbar span { display: inline-flex; align-items: center; gap: 7px; }

.topbar svg { width: 13px; height: 13px; opacity: .8; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .3s;
}

.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(30, 18, 8, .4); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 14px;
}

.brand img { height: 52px; width: auto; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }

.main-nav a {
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}

.main-nav a:hover { background: var(--ground-2); color: var(--accent); }

/* seletor de setor */
.sector-switch {
  display: inline-flex;
  background: var(--ground-2);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 4px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.sector-switch a {
  padding: 7px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: color .2s;
}

.sector-switch a:hover { color: var(--accent); }

.sector-switch a.active {
  background: var(--accent-deep);
  color: var(--gold);
  pointer-events: none;
}

.header-cta {
  flex: none;
  padding: 11px 20px;
  font-size: .86rem;
}

.nav-toggle { display: none; }

/* ============================================================
   HERO (slideshow)
   ============================================================ */

.hero {
  position: relative;
  min-height: clamp(540px, 82vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s linear;
  z-index: -2;
}

.hero-slide.active { opacity: 1; transform: scale(1); }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(var(--scrim), .88) 0%, rgba(var(--scrim), .25) 42%, rgba(var(--scrim), 0) 70%),
    linear-gradient(100deg, rgba(var(--scrim), .94) 0%, rgba(var(--scrim), .78) 32%, rgba(var(--scrim), .38) 60%, rgba(var(--scrim), .06) 88%);
}

.hero-content {
  width: 100%;
  padding-block: clamp(56px, 9vh, 96px);
  display: grid;
  gap: 20px;
  justify-items: start;
}

.hero-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}

.hero-kicker::before { content: ""; width: 40px; height: 2px; background: var(--gold); }

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  max-width: 15ch;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .55), 0 1px 4px rgba(0, 0, 0, .35);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  max-width: 52ch;
  font-size: 1.08rem;
  color: #f6f0e8;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .6), 0 1px 3px rgba(0, 0, 0, .4);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.hero .btn-ghost { color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: #241503; }

.hero-dots {
  position: absolute;
  right: clamp(20px, 5vw, 48px);
  bottom: 28px;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 26px; height: 4px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: background .3s;
}

.hero-dots button.active { background: var(--gold); }

/* faixa de números */
.stats {
  background: var(--accent-deep);
  color: var(--tint);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-block: 30px;
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat span { font-size: .88rem; opacity: .85; }

/* ============================================================
   SEÇÕES
   ============================================================ */

section { padding-block: clamp(64px, 10vw, 110px); }

/* diferenciais */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--tint);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent-deep);
}

.feature-card p { color: var(--muted); font-size: .96rem; }

/* faixa "prefere conversar" */
.talk-strip {
  margin-top: 44px;
  background: var(--accent-deep);
  color: var(--tint);
  border-radius: var(--radius);
  padding: 28px clamp(22px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.talk-strip strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}

.talk-strip small { font-size: .92rem; opacity: .85; }

.talk-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.talk-actions .btn-ghost { color: var(--gold); border-color: var(--gold); }
.talk-actions .btn-ghost:hover { background: var(--gold); color: #241503; }

/* sobre */
.about { background: var(--ground-2); }

.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.about-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.about-copy p { color: var(--muted); margin-top: 16px; }

.about-copy p strong { color: var(--ink); }

.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.about-badges span {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  background: var(--card);
  border: 1px solid var(--hairline);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 16px;
}

.about-media { position: relative; }

.about-media .photo-main {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  width: 100%;
}

.about-media .photo-sub {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--ground-2);
  bottom: -34px;
  left: -34px;
  box-shadow: var(--shadow-soft);
}

.about-media .seal {
  position: absolute;
  top: -24px;
  right: -18px;
  background: var(--gold);
  color: #241503;
  font-family: var(--font-display);
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
  font-size: .82rem;
  width: 108px; height: 108px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 10px;
  rotate: 8deg;
  box-shadow: var(--shadow-soft);
}

/* ============================================================
   GALERIA — KITS REALIZADOS
   ============================================================ */

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  background: var(--ground-2);
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 4, .55), transparent 55%);
  opacity: 0;
  transition: opacity .35s;
}

.gallery-item:hover::after { opacity: 1; }

.gallery-item span {
  position: absolute;
  left: 14px; bottom: 12px;
  z-index: 1;
  color: #fff;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  translate: 0 8px;
  transition: opacity .35s, translate .35s;
}

.gallery-item:hover span { opacity: 1; translate: 0 0; }

.gallery-more { display: grid; justify-content: center; margin-top: 36px; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(14, 8, 3, .92);
  display: none;
  place-items: center;
  padding: 4vh 4vw;
}

.lightbox.open { display: grid; }

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
}

.lightbox button:hover { background: var(--gold); color: #241503; }

.lightbox button svg { width: 20px; height: 20px; }

.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }

/* ============================================================
   CTA
   ============================================================ */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--accent-deep);
  color: var(--tint);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--cta-photo);
  background-size: cover;
  background-position: center;
  opacity: .16;
}

.cta-inner {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.cta h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); color: #fff; max-width: 22ch; }

.cta h2 em { font-style: normal; color: var(--gold); }

.cta p { max-width: 56ch; opacity: .9; }

.cta .btn { margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--footer);
  color: var(--footer-ink);
  font-size: .93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: 64px 48px;
}

.footer-grid h3 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-brand img { height: 56px; filter: brightness(0) invert(.95); margin-bottom: 18px; }

.footer-brand p { opacity: .75; max-width: 30ch; }

.footer-grid ul { list-style: none; display: grid; gap: 10px; }

.footer-grid li { display: flex; gap: 10px; align-items: flex-start; opacity: .88; }

.footer-grid li svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--gold); }

.footer-grid a:hover { color: var(--gold); }

.footer-wa { margin-top: 18px; padding: 12px 24px; font-size: .88rem; }

.footer-map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 10px;
  filter: saturate(.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .8rem;
  opacity: .65;
}

/* whatsapp flutuante */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px -10px rgba(31, 174, 75, .8);
  transition: transform .25s var(--ease-out);
}

.wa-float:hover { transform: scale(1.1); }

.wa-float svg { width: 28px; height: 28px; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */

.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity .8s var(--ease-out), translate .8s var(--ease-out);
}

.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: 0 0; transition: none; }
  .hero-slide { transition: opacity .5s ease; transform: none; }
  * { animation: none !important; }
}

/* ============================================================
   GATEWAY (index)
   ============================================================ */

.gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #170d05;
  color: #fff;
  font-family: var(--font-body);
}

.gate-panels {
  flex: 1;
  display: flex;
  position: relative;
}

.gate-brand {
  position: absolute;
  top: clamp(26px, 6vh, 60px);
  left: 50%;
  translate: -50% 0;
  z-index: 10;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.gate-brand .plate {
  background: #fffdf8;
  border-radius: 18px;
  padding: 20px 30px;
  box-shadow: 0 24px 70px -20px rgba(0, 0, 0, .75);
}

.gate-brand .plate img { height: clamp(64px, 9vh, 92px); width: auto; }

.gate-brand p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #f0d2b7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}

.gate-panel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  transition: flex 1.5s var(--ease-out), filter 1.1s ease;
  isolation: isolate;
}

/* hover: o lado ativo toma a tela e "cobre" o outro */
.gate-panels:has(.gate-panel:hover) .gate-panel:not(:hover) {
  flex: .4;
  filter: brightness(.45) saturate(.65);
}

.gate-panels:has(.gate-panel:hover) .gate-panel:not(:hover) .panel-copy {
  opacity: 0;
  translate: 0 14px;
}

.gate-panels .gate-panel:hover {
  flex: 2.4;
  z-index: 3;
  box-shadow: 0 0 90px rgba(0, 0, 0, .65);
}

.gate-panels:has(.gate-panel:hover) .gate-seam { opacity: 0; }

.gate-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 2.2s var(--ease-out);
}

.gate-panel:hover .gate-photo { transform: scale(1.1); }

.gate-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: opacity .5s;
}

.gate-wood::after {
  background: linear-gradient(to top, rgba(43, 19, 4, .93) 8%, rgba(43, 19, 4, .38) 55%, rgba(23, 13, 5, .45) 100%);
}

.gate-concrete::after {
  background: linear-gradient(to top, rgba(18, 17, 16, .93) 8%, rgba(18, 17, 16, .38) 55%, rgba(18, 17, 16, .45) 100%);
}

.gate-panel .panel-copy {
  position: relative;
  width: 100%;
  padding: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(40px, 8vh, 76px);
  display: grid;
  gap: 10px;
  justify-items: start;
  transition: opacity .8s ease, translate .8s ease;
}

.panel-copy .panel-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.panel-copy .panel-tag::before { content: ""; width: 30px; height: 2px; background: var(--gold); }

.panel-copy h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  color: #fff;
}

.panel-copy p {
  max-width: 44ch;
  color: #ece2d6;
  font-size: .98rem;
  opacity: 0;
  translate: 0 10px;
  transition: opacity .7s .35s, translate .7s .35s;
}

.gate-panel:hover .panel-copy p { opacity: 1; translate: 0 0; }

.panel-enter {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: .06em;
  color: #241503;
  background: var(--gold);
  border-radius: 999px;
  padding: 18px 40px;
  box-shadow: 0 14px 34px -12px rgba(225, 174, 15, .7);
  transition: gap .4s, background .4s, transform .5s var(--ease-out), box-shadow .5s;
}

.gate-panel:hover .panel-enter {
  gap: 18px;
  background: #f5c22a;
  transform: scale(1.08);
  box-shadow: 0 18px 44px -12px rgba(225, 174, 15, .9);
}

.panel-enter svg { width: 20px; height: 20px; }

.gate-seam {
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 2px;
  translate: -50% 0;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  z-index: 5;
  pointer-events: none;
  transition: opacity .8s ease;
}

.gate-footer {
  background: #0f0803;
  color: #cbb9a6;
  font-size: .82rem;
  padding: 14px clamp(20px, 4vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.gate-footer span { display: inline-flex; align-items: center; gap: 8px; }

.gate-footer svg { width: 13px; height: 13px; color: var(--gold); }

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 1020px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { margin-top: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar-inner { justify-content: center; }
  .topbar span:last-child { display: none; }
  .header-inner { justify-content: space-between; }
  .sector-switch { margin-left: auto; }
  .sector-switch a { padding: 6px 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: 1fr; gap: 26px; padding-block: 36px; }
  .about-media .photo-sub { left: -8px; bottom: -22px; }
  .about-media .seal { right: -4px; }
  .footer-grid { grid-template-columns: 1fr; padding-block: 48px 36px; }
  .gate-panels { flex-direction: column; }
  .gate-panels:has(.gate-panel:hover) .gate-panel:not(:hover) { flex: 1; filter: none; }
  .gate-panels:has(.gate-panel:hover) .gate-panel:not(:hover) .panel-copy { opacity: 1; translate: 0 0; }
  .gate-panels .gate-panel:hover { flex: 1; box-shadow: none; }
  .gate-panel:hover .gate-photo { transform: none; }
  .gate-seam { display: none; }
  .gate-brand {
    position: static;
    translate: none;
    order: -1;
    width: 100%;
    padding: 24px 16px 18px;
    background: #170d05;
    border-bottom: 2px solid var(--gold);
    gap: 10px;
  }
  .gate-brand .plate { padding: 10px 18px; border-radius: 14px; }
  .gate-brand .plate img { height: 46px; }
  .gate-panel { min-height: 44vh; }
  .gate-panel .panel-copy {
    justify-items: center;
    text-align: center;
    padding-bottom: clamp(28px, 6vh, 48px);
  }
  .panel-copy p { display: none; }
  .gate-footer { justify-content: center; text-align: center; }
  .hero { min-height: 74vh; }
}

@media (max-width: 560px) {
  .header-inner { gap: 10px; padding-block: 10px; }
  .brand img { height: 38px; }
  .sector-switch { font-size: .72rem; }
  .sector-switch a { padding: 6px 10px; }
  .header-cta { display: none; }
  .talk-strip { justify-content: center; text-align: center; }
}

@media (max-width: 460px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
