:root {
  --bg: #f6f8fc;
  --bg-2: #ffffff;
  --bg-3: #0f2744;
  --ink: #10233d;
  --muted: #5b6b82;
  --line: #dbe3ef;
  --orange: #f97316;
  --orange-2: #ea580c;
  --blue: #1d4ed8;
  --blue-2: #2563eb;
  --navy: #0b1f38;
  --paper: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(16, 35, 61, 0.12);
  --sans: "Manrope", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.container-wide { width: min(1240px, calc(100% - 24px)); margin: 0 auto; }

.muted { color: var(--muted); }
.gold, .accent { color: var(--orange); }
.kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 22px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold, .btn-orange {
  background: linear-gradient(180deg, #fb923c, var(--orange));
  color: #fff;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.28);
}
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ink { background: var(--navy); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }

#site-header { position: sticky; top: 0; z-index: 1200; }
.site-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 24px;
  background: var(--navy);
  color: #c9d6e8;
  font-size: 13px;
}
.site-top a:hover { color: #fff; }
.site-top-left, .site-top-right { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

header.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.nav-links { display: flex; gap: 20px; align-items: center; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--ink); }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.menu-btn {
  display: none;
  background: var(--navy);
  color: #fff;
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 22px;
  cursor: pointer;
  z-index: 1200;
  position: relative;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1100;
  padding: 88px 24px 32px;
  overflow: auto;
  flex-direction: column;
  gap: 4px;
}
.menu-btn {
  z-index: 1200;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-size: 22px;
  font-weight: 700;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer .drawer-cta { margin-top: 18px; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72vh;
  background: #fff;
}
.hero-copy {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
}
.hero p.lead { max-width: 520px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-visual { position: relative; min-height: 420px; overflow: hidden; }
.hero-visual img, .hero-visual video { width: 100%; height: 100%; object-fit: cover; }
.frame-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,.92);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: #fff;
}
.stat { padding: 22px 20px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 22px; font-weight: 800; color: var(--orange); }
.stat span { color: #c9d6e8; font-size: 13px; }

.section { padding: 72px 0; }
.section h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 8px 0 12px;
}
.section-head { max-width: 680px; margin-bottom: 32px; }

.work-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.work-tabs button {
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 42px;
  cursor: pointer;
  font-weight: 700;
}
.work-tabs button.active { color: #fff; background: var(--blue); border-color: var(--blue); }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.preview-grid .card {
  min-height: 0;
  aspect-ratio: 4 / 3;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.gallery-grid .card {
  min-height: 0;
  aspect-ratio: 4 / 3;
}
.gallery-grid.is-tall .card {
  aspect-ratio: 3 / 4;
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 220px;
  background: #ddd;
}
.card img, .card video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover img, .card:hover video { transform: scale(1.04); }
.card .label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(11,31,56,.8);
  color: #fff;
  padding: 7px 10px;
  border-radius: 999px;
}
.span-7 { grid-column: span 7; min-height: 380px; }
.span-5 { grid-column: span 5; min-height: 380px; }
.span-4 { grid-column: span 4; min-height: 280px; }
.span-6 { grid-column: span 6; min-height: 300px; }
.span-3 { grid-column: span 3; min-height: 240px; }
.span-8 { grid-column: span 8; min-height: 300px; }

.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.compare-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 340px;
  user-select: none;
}
.compare-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.compare-item .after { clip-path: inset(0 0 0 50%); }
.compare-item input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; z-index: 3;
}
.handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: #fff; z-index: 2; pointer-events: none;
}
.handle::after {
  content: "‹ ›";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
}
.ba-tag {
  position: absolute; top: 14px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(0,0,0,.5); color: #fff; padding: 6px 10px; border-radius: 999px;
}
.ba-tag.left { left: 14px; }
.ba-tag.right { right: 14px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16,35,61,.04);
}
.service-card img { width: 100%; height: 210px; object-fit: cover; }
.service-card div { padding: 18px 18px 22px; }
.service-card h3 { font-size: 22px; margin-bottom: 6px; }
.service-card .price-tag { color: var(--orange); font-weight: 800; margin-top: 10px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  padding: 22px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  border: 1px solid var(--line);
  min-height: 210px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.step .num { font-size: 28px; font-weight: 800; color: var(--orange); line-height: 1; }
.step h3 { margin: 12px 0 8px; font-size: 18px; color: var(--ink); font-weight: 800; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  background: #fff;
}
.faq summary { cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin-top: 8px; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; }
.contact-card, .form-card, .calendar-card, .appt-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.contact-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row small { color: var(--muted); display: block; font-size: 12px; }
.contact-row a { font-weight: 700; color: var(--blue); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 6px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 46px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); background: #fff; }
textarea { min-height: 100px; resize: vertical; }
input[type="file"] {
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
}
.file-hint { margin-top: 6px; font-size: 12px; }

.times, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.times button, .chips button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 42px;
  cursor: pointer;
  font-weight: 700;
}
.times button.active, .chips button.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.times button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.swatch { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.swatch .tone { height: 84px; }
.swatch p { padding: 10px 12px; font-size: 12px; }

.page-hero {
  padding: 48px 0 28px;
  background: linear-gradient(180deg, #fff, var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 820px;
}
.area-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: center;
}
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: stretch; }
.split > .card {
  min-height: 460px;
  height: 100%;
  aspect-ratio: auto;
}
.split > .card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.about-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 40px;
  align-items: center;
}
.about-logo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 28px;
  box-shadow: 0 16px 40px rgba(16, 35, 61, 0.06);
}
.about-logo-card img {
  width: min(280px, 100%);
  height: auto;
  object-fit: contain;
}
.about-logo-card p {
  margin-top: 18px;
  font-weight: 800;
  font-size: 18px;
}
.about-logo-card small { color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.about-stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.about-stats b { display: block; font-size: 22px; font-weight: 800; color: var(--orange); }
.about-stats span { color: var(--muted); font-size: 13px; font-weight: 600; }
.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.city-pills span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}
.map-panel {
  background: #e8eef4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
}
.map-panel .map-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #e8eef4;
}
.map-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  top: auto;
  z-index: 3;
  background: rgba(249, 115, 22, .95);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.map-legend {
  display: flex;
  gap: 18px;
  color: #c9d6e8;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 8px 2px;
}
.map-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}
.map-legend .dot.orange { background: var(--orange); }
.map-legend .dot.blue { background: #60a5fa; }
.home-contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin: -8px 0 22px;
  font-size: 14px;
  font-weight: 700;
}
.home-contact-bar a { color: var(--blue); }
.home-contact-bar span { color: var(--muted); font-weight: 600; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.price {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.price b { display: block; font-size: 22px; font-weight: 800; color: var(--orange); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.feature h3 { margin-bottom: 6px; }

.navy-band { background: var(--navy); color: #fff; }
.navy-band .muted { color: #c9d6e8; }
.navy-band .kicker { color: var(--orange); }
.navy-band .section-head h2 { color: #fff; }
.navy-band .step,
.navy-band .step h3 { color: var(--ink); }
.navy-band .step p { color: var(--muted); }
.navy-band .steps-cta { margin-top: 28px; }

footer {
  padding: 48px 0 24px;
  background: var(--navy);
  color: #c9d6e8;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
footer h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
footer a { display: block; color: #c9d6e8; margin: 7px 0; font-size: 14px; }
footer a:hover { color: #fff; }
footer .logo img { height: 64px; background: #fff; border-radius: 12px; padding: 6px; }
.legal {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; font-size: 12px;
}
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: #fff; margin: 0; font-weight: 700; font-size: 13px;
}

.modal {
  position: fixed; inset: 0; background: rgba(11,31,56,.55);
  display: none; align-items: center; justify-content: center; z-index: 1300; padding: 20px;
}
.modal.open { display: flex; }
.modal-card {
  width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: #fff; border-radius: 18px; padding: 24px;
}
.toast {
  position: fixed; bottom: calc(20px + var(--safe-b)); right: 16px; left: 16px;
  background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 12px;
  display: none; z-index: 1400;
}
.toast.show { display: block; }
@media (min-width: 900px) {
  .toast { left: auto; width: min(380px, calc(100% - 32px)); }
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: calc(12px + var(--safe-b));
  z-index: 90;
  background: var(--orange); color: #fff; text-align: center;
  padding: 14px 18px; border-radius: 999px; font-weight: 800;
}

.book-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.cal-head h3 { font-size: 22px; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-week { margin-bottom: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; text-align: center; font-weight: 700; }
.cal-day {
  min-height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-weight: 700;
}
.cal-day.empty { background: transparent; border-color: transparent; cursor: default; }
.cal-day:disabled { opacity: .3; cursor: not-allowed; }
.cal-day.selected { background: var(--orange); color: #fff; border-color: var(--orange); }
.cal-day.booked { box-shadow: inset 0 0 0 1px var(--blue); }
.selected-slot { margin: 12px 0 6px; color: var(--blue); font-weight: 700; }
.appt-list { display: grid; gap: 10px; margin-top: 16px; }
.appt-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13px; background: #f8fafc; }
.appt-item b { color: var(--orange); }

@media (max-width: 980px) {
  .hero, .contact-grid, .split, .area-split, .about-layout, .footer-grid, .stats, .steps, .price-grid, .feature-grid, .book-layout, .service-grid, .about-stats {
    grid-template-columns: 1fr;
  }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split > .card { min-height: 320px; }
  .compare { grid-template-columns: repeat(2, 1fr); }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .span-7, .span-5, .span-4, .span-8, .span-6, .span-3 { grid-column: span 12; min-height: 240px; }
  .gallery-grid .span-7,
  .gallery-grid .span-5,
  .gallery-grid .span-4,
  .gallery-grid .span-8,
  .gallery-grid .span-6,
  .gallery-grid .span-3 { grid-column: auto; min-height: 0; }
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hero-copy { padding: 32px 20px; }
  .hero-visual { min-height: 280px; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-top { display: none; }
  .section { padding: 52px 0; }
  .compare-item { height: 260px; }
  .mobile-cta { display: block; }
  body { padding-bottom: calc(76px + var(--safe-b)); }
  .map-panel .map-img { max-height: 360px; }
}

@media (max-width: 640px) {
  .container, .container-wide { width: calc(100% - 24px); }
  header.nav { padding: 8px 12px; }
  .nav-actions .btn { display: none; }
  .hero h1 { font-size: 30px; }
  .preview-grid .card,
  .gallery-grid .card { aspect-ratio: 1; }
  .gallery-grid.is-tall .card { aspect-ratio: 3 / 4; }
  .compare-item { height: 200px; }
}
