/* SeZoe site styles. Shared by the home page and every property page.
   Theme: dark only, by brand decision (the SeZoe identity is the navy page).
   Shape system: buttons are full pills, cards and images 16px, inputs 10px.
   Accent: one blue, used for actions and highlights only.
   Z-index scale: nav 50, mobile bar 40, modal and lightbox 80. */

@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0f1e;
  --surface: #0e1525;
  --card: #131c2f;
  --card-2: #182339;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef2f8;
  --muted: #9aa7bb;
  --soft: #c6cfdc;
  --accent: #2563eb;        /* button fill: white text passes AA (5.2:1) */
  --accent-hover: #1d4ed8;
  --accent-text: #78a9ff;   /* accent used as text on the dark page */
  --accent-wash: rgba(37, 99, 235, 0.12);
  --ok: #34d399;
  --err: #f87171;
  --r-card: 16px;
  --r-input: 10px;
  --max: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 767px) { .wrap { padding: 0 16px; } }

.ic { display: inline-flex; width: 1.15em; height: 1.15em; flex: none; }
.ic svg { width: 100%; height: 100%; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 650; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
.h-xl { font-size: clamp(2.4rem, 5.2vw, 4.1rem); letter-spacing: -0.035em; }
.h-lg { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.h-md { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.lede { color: var(--muted); font-size: 1.125rem; max-width: 56ch; }
.body { color: var(--muted); max-width: 65ch; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.accent { color: var(--accent-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.03); }
.btn .ic { transition: transform 0.25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-weight: 600; text-decoration: none; }
.link-arrow:hover .ic { transform: translate(2px, -2px); }
.link-arrow .ic { transition: transform 0.25s var(--ease); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s, box-shadow 0.3s; }
.nav.solid { background: rgba(10, 15, 30, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { font-weight: 750; font-size: 1.2rem; letter-spacing: -0.04em; text-decoration: none; }
.logo b { color: var(--accent-text); font-weight: 750; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { padding: 10px 20px; font-size: 0.88rem; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(10, 15, 30, 0.97); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: 112px 0; }
.sec-tight { padding: 72px 0; }
@media (max-width: 767px) { .sec { padding: 72px 0; } .sec-tight { padding: 48px 0; } }

/* ---------- Reveal motion (gated on reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--text); font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer-base { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 0.86rem; font-weight: 600; color: var(--soft); }
.field .opt { color: var(--muted); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; background: #0b1222; color: var(--text); border: 1px solid var(--line-2);
  border-radius: var(--r-input); padding: 12px 14px; font: inherit; font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder, .textarea::placeholder { color: #7d8aa0; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px rgba(120, 169, 255, 0.18); }
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9aa7bb 50%), linear-gradient(135deg, #9aa7bb 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.select option { background: #0b1222; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.req { color: var(--accent-text); }
.form-status { font-size: 0.9rem; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: flex-start; justify-content: center; background: rgba(4, 7, 15, 0.78); backdrop-filter: blur(6px); overflow-y: auto; padding: 48px 16px; }
.modal.open { display: flex; }
.modal-card { position: relative; width: 100%; max-width: 640px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 36px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.modal-close:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.modal form { display: grid; gap: 18px; margin-top: 24px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-input); font-size: 0.9rem; color: var(--soft); cursor: pointer; }
.check:has(input:checked) { border-color: var(--accent-text); background: var(--accent-wash); color: var(--text); }
.check input { accent-color: var(--accent); }
@media (max-width: 560px) { .modal-card { padding: 28px 18px; } .checks { grid-template-columns: 1fr; } }
