/* ============================================================
   RealMaster Alpha Realty Inc. — Brokerage Website
   Light default · Dark mode via body.dark
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- Light theme (default) ---- */
:root {
  --red:           #F02C33;
  --red-light:     #ff5a60;
  --red-dark:      #c81f27;
  --red-glow:      rgba(240,44,51,0.14);
  --red-tint:      rgba(240,44,51,0.07);
  --bg:            #ffffff;
  --bg-2:          #f7f7fa;
  --bg-3:          #eeeef4;
  --card-bg:       #ffffff;
  --card-border:   #e4e4ec;
  --card-border-h: rgba(240,44,51,0.28);
  --text:          #14141c;
  --text-dim:      #3a3a46;
  --text-muted:    #6c6c7a;
  --nav-bg:        rgba(255,255,255,0.88);
  --nav-border:    #e4e4ec;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.12);
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
  --radius:        12px;
  --radius-lg:     20px;
  --max-w:         1180px;
  --nav-h:         68px;
}

/* ---- Dark theme ---- */
body.dark {
  --red-glow:      rgba(240,44,51,0.22);
  --red-tint:      rgba(240,44,51,0.10);
  --bg:            #0a0a10;
  --bg-2:          #0f0f18;
  --bg-3:          #14141f;
  --card-bg:       rgba(255,255,255,0.034);
  --card-border:   rgba(255,255,255,0.08);
  --card-border-h: rgba(240,44,51,0.34);
  --text:          #f2f2f8;
  --text-dim:      #bcbccd;
  --text-muted:    #7a7a8d;
  --nav-bg:        rgba(10,10,16,0.88);
  --nav-border:    rgba(255,255,255,0.08);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.30);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.42);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.55);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               'Noto Sans SC', 'Noto Sans TC', 'Noto Sans JP', 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.sec { padding: 96px 0; position: relative; }
.sec.alt { background: var(--bg-2); }

.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; font-weight: 700; }
.lede { font-size: 17px; color: var(--text-dim); margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 20px var(--red-glow); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 28px var(--red-glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--card-border); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Navbar ---------- */
#navbar {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center; gap: 18px;
  padding: 0 24px; background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
#navbar.scrolled { border-bottom-color: var(--nav-border); box-shadow: var(--shadow-sm); }

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img { height: 34px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--text-dim);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--red); background: var(--red-tint); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.theme-toggle, .lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px; border-radius: 999px;
  background: transparent; border: 1px solid var(--card-border);
  color: var(--text-dim); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.theme-toggle { width: 36px; padding: 0; justify-content: center; }
.theme-toggle:hover, .lang-btn:hover { border-color: var(--red); color: var(--red); }
.icon-sun  { display: block; }
.icon-moon { display: none; }
body.dark .icon-sun  { display: none; }
body.dark .icon-moon { display: block; }

.lang-switcher { position: relative; }
.lang-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all var(--transition);
}
body.dark .lang-dropdown { background: var(--bg-3); }
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 8px; font-size: 14px; color: var(--text-dim);
  transition: background var(--transition), color var(--transition);
}
.lang-option:hover { background: var(--red-tint); color: var(--red); }
.lang-option.active { color: var(--red); font-weight: 600; }
.lang-flag { font-size: 15px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--bg); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform var(--transition);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu > a {
  padding: 15px 4px; font-size: 17px; font-weight: 600;
  border-bottom: 1px solid var(--card-border);
}
.mobile-lang-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mobile-lang-btn {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--card-border);
  font-size: 13px; font-weight: 600; color: var(--text-dim);
}
.mobile-lang-btn.active { border-color: var(--red); color: var(--red); }
.mobile-theme-btn {
  margin-top: 18px; padding: 12px; border-radius: var(--radius);
  border: 1px solid var(--card-border); background: transparent;
  color: var(--text-dim); font-size: 14px; font-weight: 600; cursor: pointer;
}

/* ---------- Hero ---------- */
#hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 72px) 0 88px; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--card-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--card-border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-radial {
  position: absolute; top: -18%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px; pointer-events: none;
  background: radial-gradient(ellipse at center, var(--red-glow), transparent 68%);
}
.hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; width: 100%; }
.hero-content { position: relative; z-index: 2; min-width: 0; }
.hero-cities { position: relative; z-index: 2; display: grid; gap: 18px; min-width: 0; }
.city-photo { margin: 0; min-width: 0; }
.city-photo-frame { position: relative; overflow: hidden; border-radius: 20px; background: #14141c; }
.city-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2.2; object-fit: cover; }
.city-photo-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.7)); pointer-events: none; }
.city-photo-label { position: absolute; z-index: 1; bottom: 20px; left: 24px; color: #fff; }
.city-photo-label b { display: block; font-size: 26px; font-weight: 700; }
.city-photo-label span { font-size: 13px; }
.city-photo figcaption { margin-top: 5px; font-size: 10px; color: var(--text-muted); }
.city-photo figcaption a:hover { text-decoration: underline; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--card-border); background: var(--card-bg);
  font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 26px;
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero-title { font-size: clamp(36px, 6.4vw, 66px); letter-spacing: -0.035em; }
.hero-title .red { color: var(--red); }
.hero-title-sub {
  margin-top: 14px; font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600; color: var(--text-dim); letter-spacing: -0.01em;
}
.hero-desc { margin-top: 22px; font-size: 17.5px; color: var(--text-dim); max-width: 660px; }
.hero-actions { margin-top: 34px; }
.footer-locations { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--card-border); scroll-margin-top: 90px; }
.footer-location-note { color: var(--text-dim); font-size: 13px; max-width: 760px; margin-bottom: 18px; }
.footer-locations .office-card { padding: 18px 20px; }
.footer-locations .office-card h3 { font-size: 15px; }
.footer-locations .office-row { font-size: 13px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 30px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: var(--card-border-h); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 15px; }

.card-icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-tint); color: var(--red);
}
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 14px; font-weight: 700; color: var(--red);
}
.card-link::after { content: '→'; transition: transform var(--transition); }
.card:hover .card-link::after { transform: translateX(4px); }

.card-num {
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--red); margin-bottom: 12px; display: block;
}

/* ---------- Platform cards (Report.Rentals, OpenHouse24) ---------- */
.platform-card { display: flex; flex-direction: column; }
.platform-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.platform-points li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--text-dim); }
.platform-points li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.platform-card .card-link { margin-top: auto; padding-top: 16px; }
.platform-card .card-link::after { content: '↗'; }

/* ---------- Feature list ---------- */
.feature-list { display: grid; gap: 16px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px;
  background: var(--red-tint); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}
.feature-item p { color: var(--text-dim); font-size: 15px; }
.feature-item b { color: var(--text); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  position: relative; padding: 24px 26px 24px 74px;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 24px; top: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 15px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat-num { font-size: clamp(30px, 4.4vw, 44px); font-weight: 900; color: var(--red); letter-spacing: -0.03em; }
.stat-label { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Office cards ---------- */
.office-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 30px; }
.office-city { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.office-card h3 { margin: 8px 0 16px; }
.office-row { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 15px; color: var(--text-dim); }
.office-row .ic { flex-shrink: 0; width: 20px; text-align: center; }
.office-row a:hover { color: var(--red); }

/* ---------- App / QR band ---------- */
.app-band {
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 44px;
}
.app-qr { width: 168px; height: 168px; border-radius: var(--radius); background: #fff; padding: 10px; border: 1px solid var(--card-border); }
.app-qr-caption { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: var(--radius-lg); padding: 56px 44px; text-align: center; color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,0.88); font-size: 16.5px; }
.cta-band .btn-primary { background: #fff; color: var(--red); box-shadow: none; }
.cta-band .btn-primary:hover { background: #fff; color: var(--red-dark); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.cta-band .btn-ghost:hover { color: #fff; border-color: #fff; }
.cta-band .btn-row { margin-top: 28px; }

/* ---------- Page header (sub pages) ---------- */
.page-head { position: relative; padding: calc(var(--nav-h) + 72px) 0 56px; background: var(--bg-2); overflow: hidden; }
.page-head .hero-radial { top: -40%; }
.page-head-inner { position: relative; z-index: 2; max-width: 800px; }
.page-head h1 { font-size: clamp(32px, 5vw, 50px); margin-top: 12px; }
.page-head .lede { font-size: 18px; }

.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-muted); }
.crumb a { color: var(--text-muted); }
.crumb a:hover { color: var(--red); }
.crumb [aria-current="page"] { color: var(--text-dim); font-weight: 600; }
.crumb [aria-hidden="true"] { color: var(--card-border); }

/* ---------- Prose / legal ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p  { color: var(--text-dim); margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 0; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 20px; color: var(--text-dim); }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.prose a { color: var(--red); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* ---------- Notice / callout ---------- */
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--card-border); border-left: 3px solid var(--red);
  background: var(--red-tint); border-radius: var(--radius);
  padding: 20px 22px; margin: 24px 0;
}
.notice .ic { flex-shrink: 0; font-size: 18px; line-height: 1.4; }
.notice p { color: var(--text-dim); font-size: 15px; margin: 0; }
.notice p + p { margin-top: 8px; }
.notice b { color: var(--text); }

/* ---------- Method blocks (deposit page) ---------- */
.method { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 30px; }
.method-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.method-tag {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); background: var(--red-tint); padding: 5px 10px; border-radius: 999px;
}
.method h3 { font-size: 19px; }
.method ul { display: grid; gap: 9px; margin-top: 12px; }
.method ul li { position: relative; padding-left: 20px; color: var(--text-dim); font-size: 15px; }
.method ul li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.method .mail { color: var(--red); font-weight: 600; }
.method .mail:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 18px 22px;
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 20px; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 12px; color: var(--text-dim); font-size: 15px; }

/* ---------- Footer ---------- */
footer { background: var(--bg-2); border-top: 1px solid var(--card-border); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-logo-img { height: 32px; width: auto; margin-bottom: 16px; }
.footer-brand-desc { font-size: 14px; color: var(--text-muted); max-width: 320px; }
.fcol-title { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.flinks { display: grid; gap: 10px; }
.flinks a { font-size: 14px; color: var(--text-muted); }
.flinks a:hover { color: var(--red); }
.fcontact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.fcontact-item a:hover { color: var(--red); }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--card-border);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--text-muted); }
.footer-legal a:hover { color: var(--red); }
.footer-disclaimer { font-size: 12px; color: var(--text-muted); margin-top: 18px; max-width: 900px; line-height: 1.6; }

/* ---------- Reveal ---------- */
#expertise { scroll-margin-top: 90px; }
.expertise-stories { display: grid; gap: 56px; margin-bottom: 48px; }
.expertise-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.expertise-row-reverse { grid-template-columns: 1fr 1.1fr; }
.expertise-row-reverse .expertise-media { order: 2; }
.expertise-media { min-width: 0; margin: 0; }
.expertise-image-frame { overflow: hidden; border-radius: 24px; background: var(--card-bg); }
.expertise-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transform: scale(1.06); transition: transform 1.25s cubic-bezier(.2,.65,.3,1); }
.expertise-media.visible img { transform: scale(1); }
.expertise-media figcaption { font-size: 11px; color: var(--text-muted); margin-top: 8px; }
.expertise-copy { min-width: 0; }
.expertise-number { display: block; font-size: 13px; letter-spacing: .14em; color: var(--red); font-weight: 700; margin-bottom: 16px; }
.expertise-copy h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.3; margin-bottom: 18px; }
.expertise-copy p { font-size: 16px; color: var(--text-dim); line-height: 1.85; }
.home-page .grid > .reveal:nth-child(2) { transition-delay: 90ms; }
.home-page .grid > .reveal:nth-child(3) { transition-delay: 180ms; }
.home-page .grid > .reveal:nth-child(4) { transition-delay: 270ms; }
.expertise-copy.reveal { transition-delay: 120ms; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .expertise-media img { transform: none; }
  .home-page .grid > .reveal, .expertise-copy.reveal { transition-delay: 0ms; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .expertise-row, .expertise-row-reverse { grid-template-columns: 1fr; gap: 20px; }
  .expertise-row-reverse .expertise-media { order: 0; }
  .expertise-stories { gap: 36px; margin-bottom: 32px; }
  .expertise-image-frame { border-radius: 18px; }
  #hero { min-height: auto; padding: calc(var(--nav-h) + 36px) 0 48px; }
  .hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .city-photo img { aspect-ratio: 1.35; }
  .city-photo-label { bottom: 12px; left: 12px; }
  .city-photo-label b { font-size: clamp(18px, 4vw, 26px); }
  .hero-desc { font-size: 16px; margin-top: 16px; }
  .hero-actions { margin-top: 22px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .sec { padding: 72px 0; }
  .app-band { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 34px; }
}
@media (max-width: 560px) {
  .hero-title { font-size: 36px; }
  .hero-title-sub { margin-top: 10px; }
  .hero-badge { margin-bottom: 18px; }
  .city-photo-frame { border-radius: 14px; }
  #services .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #services .card { padding: 20px 16px; }
  #services .card h3 { font-size: 17px; }
  #services .card p { font-size: 13px; }
  .sec { padding: 48px 0; }
  .wrap { padding: 0 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .office-card, .method { padding: 24px; }
  .cta-band { padding: 40px 24px; }
  .step { padding: 20px 20px 20px 66px; }
  .step::before { left: 20px; top: 20px; }
}

/* ---------- Print ---------- */
@media print {
  #navbar, .mobile-menu, .hamburger, .cta-band, .hero-grid-bg, .hero-radial { display: none !important; }
  body { background: #fff; color: #000; }
  .sec { padding: 24px 0; }
}
