/* GoDreams Real Estate
   Palette: GoDreams logo teals + peach, with Onix Partners navy (#1e303b) and sand (#f4efe6) as supporting neutrals.
   Radius rule: photos/cards 18px, inputs 12px, buttons full pill. */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --teal: #157c79;          /* logo deep teal, primary action */
  --teal-strong: #0f6461;
  --aqua: #1eb4b1;          /* logo bright teal, icons */
  --peach: #f7ba8f;         /* logo peach, tiny accents */
  --ink: #1e303b;           /* Onix navy, text */
  --ink-soft: #4b5b64;
  --paper: #fcfbf8;
  --sand: #f4efe6;          /* Onix sand */
  --line: #e3ddd2;
  --surface: #ffffff;
  --band: #1e303b;          /* Onix band */
  --band-ink: #f4efe6;
  --error: #b3261e;

  --lg-deep: #157c79;
  --lg-bright: #1eb4b1;
  --lg-peach: #f7ba8f;

  --r-img: 18px;
  --r-input: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #1f9794;
    --teal-strong: #25aeaa;
    --ink: #eef1ef;
    --ink-soft: #b3bfc3;
    --paper: #0f1a20;
    --sand: #14222a;
    --line: #26363f;
    --surface: #182830;
    --band: #1b2e38;
    --error: #ff8a80;
    --lg-deep: #2aa6a2;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 350;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 150px); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: 52ch; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }

.icon { width: 24px; height: 24px; fill: currentColor; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.lg-deep { fill: var(--lg-deep); fill-rule: evenodd; }
.lg-bright { fill: var(--lg-bright); fill-rule: evenodd; }
.lg-peach { fill: var(--lg-peach); fill-rule: evenodd; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 1rem; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-strong); }
.btn-light { background: #fcfbf8; color: #0f4d4b; }
.btn-light:hover { background: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(10, 25, 30, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.link { background: none; border: 0; padding: 0; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-over-hero {
  background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  --lg-deep: #fff; --lg-bright: #fff; --lg-peach: #fff; color: #fff;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; }
.logo-h { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .98rem; opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  min-width: 42px; height: 42px; border-radius: 999px; background: transparent; cursor: pointer;
  border: 1px solid currentColor; font-weight: 500; font-size: .85rem; letter-spacing: .04em; opacity: .85;
}
.lang-toggle:hover { opacity: 1; }
.is-over-hero .btn-primary { background: #fcfbf8; color: #0f4d4b; }
@media (max-width: 1000px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .logo-h { height: 24px; }
}
@media (max-width: 380px) { .header-actions .btn { padding: 0 14px; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #1e303b; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,22,28,.45) 0%, rgba(8,22,28,0) 22%),
  linear-gradient(20deg, rgba(8,22,28,.72) 0%, rgba(8,22,28,.28) 45%, rgba(8,22,28,0) 70%); }
.hero-content { position: relative; padding-bottom: clamp(56px, 9vh, 104px); padding-top: calc(var(--header-h) + 40px); }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); font-weight: 450; max-width: 13ch; letter-spacing: -0.035em; line-height: 1.02; }
.hero-sub { margin-top: 22px; font-size: clamp(1.08rem, 1.5vw, 1.3rem); max-width: 40ch; color: rgba(255,255,255,.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Why */
.why-head { display: grid; gap: 20px; max-width: 760px; }
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; margin-top: clamp(48px, 7vw, 88px); }
.why-photo { margin: 0; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 4 / 5; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 48px); }
.why-list li { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.why-list p { color: var(--ink-soft); margin-top: 6px; }
.why-list h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.icon-badge {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--aqua) 14%, transparent); color: var(--teal);
}
.icon-badge .icon { width: 40px; height: 40px; }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-photo { aspect-ratio: 4 / 3; }
  .icon-badge { width: 64px; height: 64px; }
  .icon-badge .icon { width: 34px; height: 34px; }
}

/* Projects bento */
.projects { background: var(--sand); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, minmax(260px, 34vw)) minmax(300px, 30vw);
  grid-template-areas:
    "a a a a b b"
    "a a a a c c"
    "d d d e e e";
}
@media (min-width: 1320px) { .bento { grid-template-rows: repeat(2, 440px) 400px; } }
.bento > :nth-child(1) { grid-area: a; }
.bento > :nth-child(2) { grid-area: b; }
.bento > :nth-child(3) { grid-area: c; }
.bento > :nth-child(4) { grid-area: d; }
.bento > :nth-child(5) { grid-area: e; }
.card {
  position: relative; overflow: hidden; border-radius: var(--r-img); border: 0; padding: 0;
  background: #1e303b; color: #fff; text-align: left; cursor: pointer; isolation: isolate;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); z-index: -1; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,22,28,.72) 0%, rgba(8,22,28,.1) 45%, rgba(8,22,28,0) 70%); }
.card-body { position: absolute; inset: auto 0 0; padding: clamp(20px, 2.4vw, 32px); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.card h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -0.025em; }
.card:first-child h3 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
.card p { margin-top: 6px; color: rgba(255,255,255,.86); font-size: .98rem; }
.card-go {
  width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.card:hover img, .card:focus-visible img { transform: scale(1.045); }
.card:hover .card-go, .card:focus-visible .card-go { background: #fcfbf8; color: #0f4d4b; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: none; grid-auto-rows: 420px; }
  .bento > * { grid-area: auto !important; }
  .bento > :first-child { grid-row: span 1; }
}
@media (max-width: 480px) { .bento { grid-auto-rows: 360px; } }

/* Onix band */
.onix { background: var(--band); color: var(--band-ink); }
.onix-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.onix-logo { width: 190px; height: auto; margin-bottom: 40px; }
.onix-copy p { margin-top: 20px; color: color-mix(in srgb, var(--band-ink) 78%, transparent); font-size: 1.15rem; max-width: 46ch; }
.stats { margin: 0; display: grid; gap: 0; }
.stats div { display: flex; flex-direction: column-reverse; padding-block: 26px; border-top: 1px solid rgba(244,239,230,.16); }
.stats div:last-child { border-bottom: 1px solid rgba(244,239,230,.16); }
.stats dd { margin: 0; font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.stats dt { margin-top: 8px; color: color-mix(in srgb, var(--band-ink) 72%, transparent); }
@media (max-width: 860px) { .onix-grid { grid-template-columns: 1fr; } }


/* Partner strip */
.partner { border-bottom: 1px solid var(--line); }
.partner-inner { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); padding-block: clamp(44px, 6vw, 72px); }
.partner-logo { width: clamp(260px, 30vw, 400px); height: auto; flex: none; }
.partner p { color: var(--ink-soft); font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 50ch; padding-left: clamp(28px, 5vw, 64px); border-left: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .partner-logo { filter: invert(1) hue-rotate(180deg) brightness(1.1); } }
@media (max-width: 760px) {
  .partner-inner { flex-direction: column; text-align: center; }
  .partner p { border-left: 0; padding-left: 0; }
}

/* Offices */
.office-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.office { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-img); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.office:hover { border-color: color-mix(in srgb, var(--aqua) 55%, var(--line)); }
.office.is-open { border-color: var(--aqua); box-shadow: 0 18px 40px -24px rgba(21, 124, 121, .45); }
.office-btn {
  width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "icon icon" "name toggle";
  row-gap: 28px; align-items: end; text-align: left; background: none; border: 0; cursor: pointer;
  padding: clamp(24px, 2.4vw, 32px); border-radius: var(--r-img);
}
.office-icon {
  grid-area: icon; width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--aqua) 0%, #157c79 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 14px 30px -14px rgba(21, 124, 121, .7);
  transition: transform .5s var(--ease);
}
.office-icon .icon { width: 54px; height: 54px; }
.office-btn:hover .office-icon { transform: translateY(-3px) rotate(-3deg); }
.office-name { grid-area: name; display: grid; gap: 2px; }
.office-city { font-size: clamp(1.5rem, 2.1vw, 1.9rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.office-country { color: var(--ink-soft); }
.office-toggle {
  grid-area: toggle; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--teal); transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.office.is-open .office-toggle { transform: rotate(45deg); background: var(--teal); color: #fff; border-color: var(--teal); }
.office-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.office.is-open .office-detail { grid-template-rows: 1fr; }
.office-detail-inner { overflow: hidden; min-height: 0; display: grid; gap: 14px; padding-inline: clamp(24px, 2.4vw, 32px); }
.office.is-open .office-detail-inner { padding-bottom: clamp(24px, 2.4vw, 32px); }
.office-detail p { color: var(--ink-soft); padding-top: 18px; border-top: 1px solid var(--line); }
.office-map { justify-self: start; display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 500; text-decoration: none; }
.office-map:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .office-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .office-grid { grid-template-columns: 1fr; }
  .office-btn { grid-template-columns: auto 1fr auto; grid-template-areas: "icon name toggle"; align-items: center; column-gap: 18px; }
  .office-icon { width: 68px; height: 68px; border-radius: 20px; }
  .office-icon .icon { width: 38px; height: 38px; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.contact-copy { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 40px); }
.wa-link {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 12px;
  color: var(--teal); font-weight: 500; text-decoration: none; padding-block: 6px; border-bottom: 1px solid currentColor;
}
.wa-link .icon-sm { transition: transform .25s var(--ease); }
.wa-link:hover .icon-sm { transform: translateX(4px); }
.form { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3.4vw, 44px); }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: .95rem; font-weight: 450; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--ink-soft) 45%, transparent); border-radius: var(--r-input);
  padding: 13px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%234b5b64' d='M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 28%, transparent); }
.field-error { display: none; color: var(--error); font-size: .88rem; }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field.has-error .field-error { display: block; }
.field-check { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.field-check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--teal); margin: 0; }
.field-check label { font-weight: 350; }
.field-check .field-error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 14px 16px; border-radius: var(--r-input); font-size: .98rem; }
.form-status.ok { background: color-mix(in srgb, var(--aqua) 16%, transparent); color: var(--ink); }
.form-status.err { background: color-mix(in srgb, var(--error) 12%, transparent); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; }
.footer-logo { height: 26px; }
.footer-legal { color: var(--ink-soft); font-size: .9rem; max-width: 60ch; }
.footer-meta { display: flex; gap: 20px; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: #fff; box-shadow: 0 10px 30px rgba(15, 60, 58, .32);
  transition: transform .25s var(--ease), background-color .25s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-2px); background: var(--teal-strong); }

/* Gallery dialog */
dialog { padding: 0; border: 0; color: inherit; }
dialog::backdrop { background: rgba(8, 18, 23, .6); }
.gallery { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: #0b161b; color: #fff; }
.gallery[open] { animation: fade .35s var(--ease); }
.gallery-inner { position: relative; display: grid; grid-template-columns: 1fr 380px; height: 100%; }
.gallery-media { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 0; }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; outline: none;
  overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); padding-bottom: 8px; }
.slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px clamp(12px, 3vw, 40px) 20px; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 84px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .5; background: #1e303b; transition: opacity .25s, border-color .25s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .85; }
.thumb[aria-current="true"] { opacity: 1; border-color: var(--aqua); }
.g-nav, .g-close {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s;
}
.g-nav:hover, .g-close:hover { background: rgba(255,255,255,.26); }
.g-nav { top: calc(50% - 50px); }
.g-prev { left: 20px; }
.g-next { right: 20px; }
.g-close { top: 18px; right: 18px; z-index: 2; background: rgba(11,22,27,.5); }
.gallery-info { background: var(--paper); color: var(--ink); padding: 88px 36px 36px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.gallery-info h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.g-city { display: flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 500; }
.g-type { font-weight: 450; }
.g-desc { color: var(--ink-soft); }
.gallery-info .btn { margin-top: auto; }
@media (max-width: 900px) {
  .gallery-inner { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .gallery-info { padding: 24px var(--gutter) max(24px, env(safe-area-inset-bottom)); gap: 10px; }
  .gallery-info .btn { margin-top: 8px; }
  .g-nav { display: none; }
  .thumb { width: 64px; height: 46px; }
}

/* Privacy dialog */
.privacy { max-width: 560px; width: calc(100% - 32px); border-radius: 24px; background: var(--surface); color: var(--ink); }
.privacy[open] { animation: fade .3s var(--ease); }
.privacy-inner { padding: 36px; display: grid; gap: 18px; }
.privacy h2 { font-size: 1.6rem; }
.privacy p { color: var(--ink-soft); }
.privacy .btn { justify-self: start; }

@keyframes fade { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .why-list li.reveal:nth-child(2) { transition-delay: .08s; }
.js .why-list li.reveal:nth-child(3) { transition-delay: .16s; }
.js .why-list li.reveal:nth-child(4) { transition-delay: .24s; }
.js .card.reveal:nth-child(2) { transition-delay: .08s; }
.js .card.reveal:nth-child(3) { transition-delay: .16s; }
.js .card.reveal:nth-child(5) { transition-delay: .08s; }
.js .office.reveal:nth-child(2) { transition-delay: .08s; }
.js .office.reveal:nth-child(3) { transition-delay: .16s; }
.js .office.reveal:nth-child(4) { transition-delay: .24s; }
.hero-img { transform-origin: 60% 45%; will-change: transform; animation: heroZoom 28s ease-in-out infinite alternate; }
.hero-content > * { animation: rise 1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .24s; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.14); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
