/* ==========================================================================
   tivy.ge — brand system derived from the Terracon (ტერაკონი ხეივანი) brandbook
   cream #F2E6C8 · terracotta #B45740 · navy #153144 · olive #898B61 · paper #F1EFEA
   Type: FiraGO (body, as on terracon.ge) + Noto Sans Georgian (Mtavruli headings)
   ========================================================================== */

@font-face { font-family: "FiraGO"; src: url("../assets/fonts/FiraGO-Light.woff2") format("woff2");   font-weight: 300; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../assets/fonts/FiraGO-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../assets/fonts/FiraGO-Medium.woff2") format("woff2");  font-weight: 500; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../assets/fonts/FiraGO-Bold.woff2") format("woff2");    font-weight: 700; font-display: swap; }

:root {
  --cream: #F2E6C8;
  --cream-2: #F8F0DC;
  --paper: #F3F1EC;
  --terracotta: #B45740;
  --terracotta-dark: #8E4330;
  --navy: #153144;
  --navy-deep: #0E2331;
  --olive: #898B61;
  --olive-dark: #6F7150;
  --ink: #1E1A17;
  --ink-soft: #55504A;
  --line: rgba(21,49,68,.12);
  --white: #FFFFFF;
  --frame: #1B1F23;        /* the physical screen frame from the photos */
  --frame-2: #2A3036;

  --font-body: "FiraGO", "Noto Sans Georgian", system-ui, sans-serif;
  --font-display: "Noto Sans Georgian", "FiraGO", system-ui, sans-serif;

  --radius-pill: 999px;
  --radius: 1rem;
  --container: 1120px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Type ---------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .9rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-soft); max-width: 36rem; }
.muted { color: var(--ink-soft); }
.on-dark { color: var(--cream); }
.on-dark .lead, .on-dark .muted { color: rgba(242,230,200,.78); }
.on-dark .eyebrow { color: var(--cream); opacity: .8; }

/* ---- Layout -------------------------------------------------------------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.paper { background: var(--paper); }
.paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .52 0 0 0 0 .48 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.paper > .container { position: relative; }

/* Brochure divider stripe: terracotta / olive / navy */
.stripe { position: absolute; top: 0; bottom: 0; width: 7px; pointer-events: none; background: linear-gradient(to bottom, var(--terracotta) 0 34%, var(--olive) 34% 67%, var(--navy) 67% 100%); }
.slab { position: absolute; pointer-events: none; }

/* ---- Buttons & pills ------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; border: 2px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.on-dark .btn-outline { border-color: var(--cream); color: var(--cream); }
.on-dark .btn-outline:hover { background: var(--cream); color: var(--navy); }
.btn svg { width: 1.1em; height: 1.1em; }
.pill { display: inline-block; padding: .28rem .9rem; border-radius: var(--radius-pill); background: var(--terracotta); color: var(--cream); font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.pill-olive { background: var(--olive); color: var(--white); }
.pill-navy { background: var(--navy); color: var(--cream); }

/* ---- Logo ---------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); white-space: nowrap; }
.logo .mark { width: 2.6rem; height: 2.6rem; flex: none; }
.logo .word { font-family: var(--font-body); font-weight: 500; font-size: 1.6rem; letter-spacing: .04em; line-height: 1; text-transform: none; }
.logo .tag { font-size: .58rem; padding: .2rem .7rem; letter-spacing: .16em; }
.logo.lg { flex-direction: column; gap: .6rem; }
.logo.lg .mark { width: 4.5rem; height: 4.5rem; }
.logo.lg .word { font-size: 2.6rem; }
.logo.lg .tag { font-size: .74rem; padding: .3rem 1.1rem; }
.logo.on-dark { color: var(--cream); }
.logo { --sail: var(--terracotta); }
.logo.on-dark { --sail: var(--cream); }

/* ---- Header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--cream) 90%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a { font-weight: 500; font-size: .95rem; color: var(--ink-soft); position: relative; padding: .25rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--terracotta); transition: right .3s var(--ease); }
.nav a:hover::after { right: 0; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang-switch { display: inline-flex; border: 1.5px solid var(--navy); border-radius: var(--radius-pill); overflow: hidden; }
.lang-switch button { background: transparent; border: 0; padding: .35rem .7rem; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .08em; color: var(--navy); }
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.menu-toggle { display: none; background: none; border: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--navy); }
.menu-toggle svg { width: 1.6rem; height: 1.6rem; margin: auto; }
@media (max-width: 860px) {
  .nav { position: fixed; inset: 4.5rem 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; transform: translateY(-120%); transition: transform .35s var(--ease); box-shadow: 0 20px 40px rgba(21,49,68,.12); }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .site-header .container { gap: .75rem; }
}
@media (max-width: 480px) { .logo .tag { display: none; } .logo .word { font-size: 1.4rem; } }

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; background: var(--cream); overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero h1 em { font-style: normal; color: var(--terracotta); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.hero-facts strong { font-family: var(--font-display); font-weight: 800; color: var(--navy); margin-right: .35rem; }
/* one quiet terracotta wedge, bottom-right, as on the brochure cover */
.hero .slab-terra { right: -10vw; bottom: -1px; width: 70vw; height: 30%; background: var(--terracotta); clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 1; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } .hero .slab-terra { width: 100vw; height: 72px; } .hero { padding-bottom: 7rem; } }

/* ---- The screen (modelled on the installed frame) ------------------------ */
.screen-stage { display: grid; place-items: center; }
.frame {
  --w: min(330px, 80vw);
  position: relative; width: var(--w); aspect-ratio: 3 / 4.1;
  background: linear-gradient(160deg, #2b3137, var(--frame) 45%, #14171a);
  border-radius: 6px;
  padding: calc(var(--w) * .11) calc(var(--w) * .09) calc(var(--w) * .09);
  box-shadow: 0 50px 80px -30px rgba(21,49,68,.6), 0 2px 0 rgba(255,255,255,.06) inset, 0 -2px 0 rgba(0,0,0,.5) inset;
}
/* engraved double bevel line */
.frame::before { content: ""; position: absolute; inset: 4.5%; border: 1px solid rgba(255,255,255,.16); border-radius: 3px; pointer-events: none; box-shadow: 0 0 0 3px rgba(0,0,0,.35); }
.frame::after { content: ""; position: absolute; inset: 6.5%; border: 1px solid rgba(255,255,255,.08); border-radius: 2px; pointer-events: none; }
.frame .brand {
  position: absolute; top: 4.5%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  background: var(--frame); padding: 0 .6rem; color: rgba(255,255,255,.62); font-family: var(--font-body); font-weight: 500; font-size: calc(var(--w) * .05); letter-spacing: .04em;
}
.frame .panel { position: relative; width: 100%; height: 100%; background: #000; border-radius: 2px; padding: 3px; box-shadow: 0 0 0 1px #000, 0 0 20px rgba(0,0,0,.6) inset; }
.display { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--navy); color: var(--cream); font-size: calc(var(--w) * .04); }
/* thin double border on the screen content, like the live default slide */
.display::before { content: ""; position: absolute; inset: 6%; border: 1px solid rgba(242,230,200,.55); pointer-events: none; z-index: 3; }
.display::after  { content: ""; position: absolute; inset: 7.6%; border: 1px solid rgba(242,230,200,.28); pointer-events: none; z-index: 3; }
.display .glare { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 35%); pointer-events: none; z-index: 4; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14%; opacity: 0; animation: slides 15s infinite; }
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; background: var(--terracotta); }
.slide:nth-child(3) { animation-delay: 10s; background: var(--cream); color: var(--navy); }
.slide .l1 { font-size: 1.15em; line-height: 1.5; font-weight: 400; }
.slide .rule { width: 60%; height: 1px; background: currentColor; opacity: .7; margin: 1em 0; }
.slide .big { font-family: var(--font-body); font-weight: 700; font-size: 2.1em; letter-spacing: -.01em; line-height: 1; }
.slide .l2 { font-size: .95em; line-height: 1.5; margin-top: .9em; opacity: .9; }
.slide .tiny { position: absolute; bottom: 12%; font-size: .72em; opacity: .7; }
.slide .tag { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: .68em; font-weight: 700; margin-bottom: 1.2em; padding: .3em .9em; border: 1px solid currentColor; border-radius: 999px; opacity: .9; }
.slide h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.7em; line-height: 1.15; margin: 0; text-transform: uppercase; }
.slide .clock { position: absolute; top: 12%; font-family: var(--font-body); font-weight: 500; font-size: .8em; letter-spacing: .1em; opacity: .75; }
@keyframes slides { 0% { opacity: 0; } 3% { opacity: 1; } 31% { opacity: 1; } 34% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .slide { animation: none; } .slide:first-child { opacity: 1; } }
.screen-note { margin-top: 1.4rem; font-size: .85rem; color: var(--ink-soft); text-align: center; }

/* ---- Packages ------------------------------------------------------------ */
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; gap: .9rem; }
.plan.vip { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.plan .top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.plan .name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; }
.plan .amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.3rem); line-height: 1; color: var(--terracotta); }
.plan.vip .amount { color: var(--cream); }
.plan .amount small { font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--ink-soft); margin-left: .35rem; }
.plan.vip .amount small { color: rgba(242,230,200,.75); }
.plan .dur-line { display: flex; align-items: baseline; gap: .5rem; font-size: .88rem; color: var(--ink-soft); padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.plan .dur-line strong { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.plan.vip .dur-line { color: rgba(242,230,200,.75); border-color: rgba(242,230,200,.2); }
.plan.vip .dur-line strong { color: var(--cream); }
.plan ul { display: grid; gap: .5rem; font-size: .93rem; flex: 1; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: .45rem; height: .45rem; margin-top: .55rem; border-radius: 50%; background: var(--olive); }
.plan.vip li::before { background: var(--cream); }
.plan .cpm { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); }
.plan .cpm strong { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.plan.vip .cpm { border-color: rgba(242,230,200,.2); color: rgba(242,230,200,.75); }
.plan.vip .cpm strong { color: var(--cream); }
.plan .btn { justify-content: center; }
.plans-note { margin-top: 1.25rem; font-size: .86rem; color: var(--ink-soft); max-width: 48rem; }

/* ---- Audience ------------------------------------------------------------ */
.audience { background: var(--cream); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.3rem; }
.tile strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.05; color: var(--navy); margin-bottom: .3rem; }
.tile span { font-size: .86rem; color: var(--ink-soft); }
.scenario { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.scenario-head { display: grid; gap: .25rem; margin-bottom: 1rem; }
.scenario-head h3 { margin: 0; font-size: 1rem; letter-spacing: .06em; }
.scenario-head p { font-size: .9rem; }
.table-wrap { overflow-x: auto; }
.scenario table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
.scenario th, .scenario td { text-align: right; padding: .7rem .6rem; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.scenario th:first-child, .scenario td:first-child { text-align: left; }
.scenario th { font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.scenario tr.hl td { background: rgba(137,139,97,.12); font-weight: 700; color: var(--navy); }
.scenario tr:last-child td { border-bottom: 0; }
.footnote { margin-top: 1rem; font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* ---- Map ----------------------------------------------------------------- */
.map-section { background: var(--cream); overflow: hidden; }
.map-section .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; position: relative; z-index: 2; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(21,49,68,.5); background: var(--paper); }
#map { width: 100%; aspect-ratio: 4 / 3; min-height: 340px; }
.loc-list { display: grid; gap: .5rem; margin-top: 1.25rem; }
.loc { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; padding: .8rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: .8rem; cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.loc:hover { border-color: var(--navy); transform: translateX(3px); }
.loc::before { content: ""; grid-row: 1 / span 2; width: .7rem; height: .7rem; border-radius: 50%; background: var(--olive); }
.loc.soon::before { background: var(--terracotta); }
.loc strong { font-weight: 500; }
.loc span { font-size: .85rem; color: var(--ink-soft); }
.counts { display: flex; gap: 2rem; margin-top: 1.25rem; }
.count { display: grid; gap: .2rem; padding-left: .9rem; border-left: 3px solid var(--terracotta); }
.count.soon { border-color: var(--navy); }
.count strong { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--navy); }
.count span { color: var(--ink-soft); font-size: .9rem; }
.map-note { font-size: .88rem; margin-top: 1.1rem; }
.tivy-pin { color: var(--terracotta); filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.tivy-pin.soon { color: var(--navy); opacity: .82; }
.leaflet-popup-content-wrapper { border-radius: .8rem; font-family: var(--font-body); }
.leaflet-popup-content { margin: .8rem 1rem; }
.tivy-popup { display: grid; gap: .15rem; font-size: .9rem; }
.tivy-popup strong { font-weight: 500; color: var(--ink); }
.tivy-popup span { color: var(--ink-soft); font-size: .82rem; }
.tivy-popup em { font-style: normal; font-family: var(--font-display); text-transform: uppercase; font-size: .68rem; letter-spacing: .12em; font-weight: 700; color: var(--olive); }
.tivy-popup em.soon { color: var(--terracotta); }
.tivy-popup a { margin-top: .3rem; color: var(--terracotta); font-size: .82rem; font-weight: 500; }
.leaflet-container { font: inherit; }
/* soften OSM tiles toward the brand's paper tones */
.leaflet-tile-pane { filter: saturate(.55) sepia(.18) contrast(.95); }
.leaflet-control-attribution { font-size: .62rem; }
@media (max-width: 900px) { .map-section .container { grid-template-columns: 1fr; } }

/* ---- Steps --------------------------------------------------------------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--terracotta); line-height: 1; margin-bottom: .8rem; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* ---- For buildings ------------------------------------------------------- */
.buildings { background: var(--navy); overflow: hidden; }
.buildings .slab-olive { left: -8vw; bottom: -6vw; width: 34vw; height: 55%; background: var(--olive); clip-path: polygon(0 0, 100% 45%, 100% 100%, 0 100%); }
.buildings .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.check-list { display: grid; gap: .6rem; margin: 1.25rem 0 1.75rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .98rem; }
.check-list li::before { content: ""; flex: none; width: 1.3rem; height: 1.3rem; margin-top: .15rem; border-radius: 50%; background: var(--olive); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); background-size: 60%; background-position: center; background-repeat: no-repeat; }
.b-card { background: rgba(242,230,200,.08); border: 1px solid rgba(242,230,200,.18); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 1rem; }
.b-card h3 { margin: 0; font-size: 1rem; letter-spacing: .1em; opacity: .8; }
.b-card .row { display: flex; gap: .9rem; align-items: center; }
.b-card .row svg { width: 2.3rem; height: 2.3rem; padding: .5rem; border-radius: 50%; background: var(--cream); color: var(--navy); flex: none; }
.b-card .row span { font-size: .95rem; }
@media (max-width: 900px) { .buildings .container { grid-template-columns: 1fr; } }

/* ---- Contact -------------------------------------------------------------- */
.contact .container { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); }
.contact-info { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-info a, .contact-info div { display: flex; gap: .8rem; align-items: center; font-weight: 500; }
.contact-info svg { width: 2.4rem; height: 2.4rem; padding: .55rem; border-radius: 50%; background: var(--terracotta); color: var(--cream); flex: none; }
.form { background: var(--white); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 500; color: var(--ink-soft); }
.field input, .field textarea { font: inherit; padding: .8rem .95rem; border-radius: .75rem; border: 1.5px solid rgba(21,49,68,.18); background: var(--cream-2); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(180,87,64,.15); }
.field textarea { min-height: 6.5rem; resize: vertical; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.segmented label { position: relative; display: flex; align-items: center; justify-content: center; padding: .75rem; border-radius: .75rem; border: 1.5px solid rgba(21,49,68,.18); cursor: pointer; font-weight: 500; font-size: .92rem; background: var(--cream-2); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked) { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.form-note { font-size: .78rem; color: var(--ink-soft); }
.form-success { display: none; background: var(--olive); color: var(--white); padding: 1rem 1.25rem; border-radius: .75rem; font-weight: 500; }
.form.sent .form-success { display: block; }
@media (max-width: 900px) { .contact .container { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* ---- Footer (brochure back cover) ---------------------------------------- */
.site-footer { position: relative; background: var(--cream); overflow: hidden; padding-top: clamp(4rem, 8vw, 6rem); }
.site-footer .slab-terra { left: -4vw; bottom: 0; width: 62vw; height: 72%; background: var(--terracotta); clip-path: polygon(0 18%, 100% 100%, 0 100%); }
.site-footer .slab-olive { right: -4vw; bottom: 0; width: 44vw; height: 46%; background: var(--olive); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.site-footer .container { position: relative; z-index: 2; text-align: center; }
.footer-bottom { margin-top: clamp(5rem, 12vw, 10rem); padding-bottom: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--cream); font-size: .9rem; text-align: left; }
.footer-bottom .contacts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.footer-bottom .contacts span + span::before { content: "|"; margin-right: 1rem; opacity: .6; }
@media (max-width: 800px) { .site-footer .slab-terra { width: 100vw; height: 45%; clip-path: polygon(0 30%, 100% 100%, 0 100%); } .site-footer .slab-olive { display: none; } }

/* ---- Reveal -------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
