/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #fff; color: #111827; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.5; }

/* ─── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --ink:          #0d1117;
  --body:         #374151;
  --muted:        #6b7280;
  --subtle:       #9ca3af;
  --hairline:     #e5e7eb;
  --canvas:       #ffffff;
  --canvas-soft:  #f9fafb;
  --canvas-mid:   #f3f4f6;
  --primary:      #080808;
  --primary-d:    #222222;
  --primary-soft: #f3f4f6;
  --primary-ring: rgba(0,0,0,.10);
  --blue:    #2563eb;
  --teal:    #0891b2;
  --green:   #16a34a;
  --yellow:  #d97706;
  --purple:  #7c3aed;
  --orange:  #ea580c;
  --pink:    #db2777;
  --s1: 0 1px 2px rgba(0,0,0,.05), 0 1px 3px rgba(0,0,0,.04);
  --s2: 0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --s3: 0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --s4: 0 8px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;
}

/* ─── Base elements ──────────────────────────────────────────────────────── */
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }
svg.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.96); }       to { opacity: 1; transform: scale(1); } }
@keyframes popIn   { from { opacity: 0; transform: scale(.85); }       to { opacity: 1; transform: scale(1); } }

/* ─── Reveal animations ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .26s; }
.reveal-d4 { transition-delay: .34s; }
.reveal-d5 { transition-delay: .42s; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: -.1px; white-space: nowrap; cursor: pointer; border: none; border-radius: var(--r-sm); padding: 12px 22px; transition: background .18s, box-shadow .18s, transform .12s, color .18s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: #080808; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.btn-primary:hover { background: #222; box-shadow: 0 3px 8px rgba(0,0,0,.28); }
.btn-secondary { background: var(--canvas); color: var(--ink); border: 1.5px solid var(--hairline); }
.btn-secondary:hover { background: var(--canvas-soft); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--canvas-soft); }
.btn-on-dark { background: #fff; color: #080808; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.btn-on-dark:hover { background: #f3f4f6; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--hairline); }
.btn-outline:hover { background: var(--canvas-soft); }
.btn-lg { font-size: 16px; padding: 14px 28px; }
.btn-sm { font-size: 13.5px; padding: 9px 16px; }
.btn-full { width: 100%; }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.section-h { font-size: clamp(30px, 3.5vw, 44px); font-weight: 700; letter-spacing: -.65px; line-height: 1.07; color: var(--ink); text-wrap: balance; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ─── Photo placeholder ──────────────────────────────────────────────────── */
.photo-slot { width: 100%; border-radius: var(--r-lg); background: linear-gradient(145deg,#f3f4f6 0%,#e9ebee 50%,#f0f1f3 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #6b7280; font-size: 13px; font-weight: 500; border: 2px dashed #d1d5db; position: relative; overflow: hidden; }
.photo-slot::before, .photo-slot::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.3); pointer-events: none; }
.photo-slot::before { width: 200px; height: 200px; top: -60px; right: -60px; }
.photo-slot::after  { width: 130px; height: 130px; bottom: -40px; left: -40px; background: rgba(255,255,255,.2); }
.photo-slot-inner { position: relative; z-index: 1; text-align: center; padding: 20px; }
.photo-slot-icon { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.65); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.photo-slot-label { font-weight: 500; color: #4b5563; }
.photo-slot-sub { font-size: 11.5px; color: #9ca3af; margin-top: 3px; }
.photo-slot-warm { background: linear-gradient(145deg,#f9f9f7 0%,#eeece6 50%,#e8e4d8 100%); border-color: #d6d0c0; }
.photo-slot-map { background: linear-gradient(135deg,#f3f4f6 0%,#e9ebee 100%); border-color: #d1d5db; }
.photo-slot-map.has-iframe { border: none; display: block; padding: 0; }
.photo-slot-map.has-iframe iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
#site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
#site-nav.scrolled { background: rgba(255,255,255,.86); border-bottom-color: var(--hairline); }
.nav-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: flex; align-items: center; flex-shrink: 0; }
.wordmark-logo { height: 40px; width: auto; }
footer .wordmark-logo { height: 80px; }
.nav-links { display: flex; align-items: center; gap: 15px; list-style: none; }
.nav-link { font-size: 15px; font-weight: 500; letter-spacing: -.1px; color: var(--body); text-decoration: none; padding: 8px 4px; transition: color .15s; cursor: pointer; background: none; border: none; display: inline-flex; align-items: center; gap: 5px; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-caret { display: inline-block; width: 14px; height: 14px; transition: transform .15s; }
.nav-link[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown-wrap { position: relative; }
.nav-dropdown { display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md); box-shadow: var(--s4); padding: 8px; z-index: 100; animation: scaleIn .15s ease; transform-origin: top left; }
.nav-dropdown.open { display: block; }
.nav-dropdown a { display: block; padding: 9px 14px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; transition: background .12s, color .12s; }
.nav-dropdown a:hover { background: var(--canvas-soft); color: var(--ink); }
.nav-dropdown .dd-desc { font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .15s; }
.nav-phone:hover { color: var(--primary); }
.nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--ink); }

/* Mobile drawer - responsive from 1200px down to 0px */
#nav-drawer { display: none; border-top: 1px solid var(--hairline); background: #fff; max-height: 80vh; overflow-y: auto; }
#nav-drawer.open { display: block; }
.drawer-body { padding: 16px 24px 28px; }
.drawer-item { padding: 12px 0; border-bottom: 1px solid #f9fafb; }
.drawer-item:last-child { border-bottom: none; }
.drawer-main { font-size: 17px; font-weight: 500; color: var(--ink); display: block; text-decoration: none; }
.drawer-subs { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.drawer-sub { font-size: 14.5px; color: var(--muted); text-decoration: none; padding-left: 2px; transition: color .15s; }
.drawer-sub:hover { color: var(--primary); }
.drawer-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.drawer-tel { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer { background: #fff; border-top: 1px solid #f3f4f6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer-brand-desc { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 20px 0 0; max-width: 280px; text-wrap: pretty; }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.footer-phone { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; transition: color .15s; }
.footer-phone:hover { color: var(--primary); }
.footer-address { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.55; color: var(--muted); text-decoration: none; transition: color .15s; }
.footer-address:hover { color: var(--ink); }
.footer-col-head { font-size: 11.5px; font-weight: 600; letter-spacing: .7px; text-transform: uppercase; color: var(--subtle); margin: 0 0 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 14px; line-height: 1.5; color: var(--muted); text-decoration: none; width: fit-content; transition: color .12s; }
.footer-link:hover { color: var(--ink); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #f3f4f6; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--subtle); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* ─── Responsive — nav & footer (mobile menu from 1200px down to 0px) ─── */
@media (max-width: 1200px) {
  .nav-link { font-size: 13.5px; }
  .nav-links { gap: 8px; }
  .nav-phone span { display: none; }
}
@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none !important; }
  .nav-mobile-btn { display: flex !important; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-legal { flex-wrap: wrap; gap: 12px 20px; }
}
