/* ── Tokens ── */
:root {
  --primary: #0e2347;
  --accent: #f0a500;
  --bg: #ffffff;
  --surface: #f8f9fa;
  --text: #1a1a2e;
  --muted: #6c757d;
  --border: #dee2e6;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --max-w: 1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Shared ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title {
  font-size: 2rem; font-weight: 700; text-align: center;
  margin-bottom: 48px; color: var(--primary);
}
.btn {
  display: inline-block; padding: 14px 32px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; cursor: pointer; border: none;
  transition: opacity .2s, transform .15s;
}
.btn:hover { opacity: .9; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--primary); height: 128px;
  display: flex; align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 16px;
}
.nav-left {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}
.nav-logo { height: 118px; width: auto; flex-shrink: 0; }
.nav-hours { height: 56px; width: auto; flex-shrink: 0; }
.nav-right {
  display: flex; align-items: center; gap: 28px; flex-shrink: 0;
}
.nav-location-wrap {
  display: flex; align-items: center; gap: 10px;
}
.nav-location {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem; font-weight: 800; color: #ffffff;
  letter-spacing: .02em; white-space: nowrap;
}
.nav-map { height: 70px; width: auto; opacity: .9; }
.nav-phone {
  font-size: 1.1rem; font-weight: 700; color: var(--accent);
  white-space: nowrap; transition: opacity .2s; flex-shrink: 0;
}
.nav-right .nav-phone { font-size: 1.35rem; }
.nav-phone:hover { opacity: .85; }
.nav-mobile { display: none; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-start; justify-content: center;
  text-align: center;
  background: url('/static/hero_01.png') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(26,60,110,0.72);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 0 24px; max-width: 860px;
  padding-top: 16vh;
}
.hero-title {
  font-size: 3.2rem; font-weight: 800; color: #fff;
  line-height: 1.15; margin-bottom: 16px;
}
.hero-tagline {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0 32px; margin-bottom: 36px;
  font-size: 1.05rem; color: rgba(255,255,255,.88);
  font-weight: 500;
}
.hero-tagline span { white-space: nowrap; }
.hero-tagline span + span::before { content: none; }

/* ── Mascot background wrap ── */
.mascot-wrap {
  background: url('/static/logo_main.png') center top / 100% auto repeat-y;
  background-color: #ffffff;
}
.mascot-wrap > .section { position: relative; }
.mascot-wrap > .section::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.87);
  pointer-events: none;
}
.mascot-wrap > .section > * { position: relative; }

/* ── Services ── */
.services { background: transparent; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 16px; text-align: center;
  box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.13); transform: translateY(-4px); }
.service-icon {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-icon img { height: 120px; width: auto; max-width: 90%; }
.service-name { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.service-desc { font-size: .85rem; color: var(--muted); }

/* ── Brands ── */
.brands { background: transparent; }
.brands-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 12px;
}
.brand-tag {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 18px;
  font-size: .9rem; font-weight: 600; color: var(--text);
  white-space: nowrap; transition: background .15s, border-color .15s;
}
.brand-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Why Us ── */
.why { background: transparent; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-item { text-align: center; padding: 24px 16px; }
.why-icon { font-size: 2.2rem; margin-bottom: 14px; }
.why-title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.why-desc { font-size: .9rem; color: var(--muted); }

/* ── Book CTA ── */
.contact { background: transparent; }
.contact-cta { text-align: center; padding: 20px 0 8px; }
.service-call-note {
  margin-top: 18px; font-size: .95rem; color: var(--muted); font-weight: 500;
}
.service-call-note strong { color: var(--text); }

/* ── Booking Modal ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: rgba(14,35,71,.6);
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: var(--bg); border-radius: var(--radius);
  max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 32px 28px;
  position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 1.8rem;
  line-height: 1; cursor: pointer; color: var(--muted);
}
.modal-close:hover { color: var(--text); }
.modal-title {
  font-size: 1.4rem; font-weight: 700; color: var(--primary);
  margin-bottom: 20px;
}
.booking-form { display: flex; flex-direction: column; gap: 14px; }
.booking-form[hidden] { display: none; }
.booking-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .85rem; font-weight: 600; color: var(--text);
}
.booking-form input, .booking-form select, .booking-form textarea {
  font-family: inherit; font-size: .95rem;
  padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 6px; color: var(--text);
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.modal-submit { margin-top: 6px; width: 100%; }
.modal-submit:disabled { opacity: .7; cursor: not-allowed; }
.modal-success { text-align: center; padding: 24px 0 8px; }
.modal-success p { font-size: 1.1rem; font-weight: 600; color: var(--primary); }
.modal-error { text-align: center; margin-top: 10px; font-size: .9rem; font-weight: 600; color: #c0392b; }

/* ── Call FAB (mobile) ── */
.call-fab {
  display: none;
  position: fixed; bottom: 20px; left: 50%; z-index: 200;
  transform: translateX(-50%);
  background: var(--accent); color: #fff;
  border-radius: 16px; padding: 16px 20px;
  font-size: 1.05rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
  justify-content: center; align-items: center; gap: 10px;
  white-space: nowrap;
  width: 78%;
  max-width: 340px;
  transition: opacity .2s, transform .15s;
}
.call-fab:hover { opacity: .9; transform: translateX(-50%) translateY(-2px); }
.call-fab:active { transform: translateX(-50%) scale(.97); }
.call-fab svg { flex-shrink: 0; }

/* ── Footer ── */
.footer {
  background: var(--primary); color: rgba(255,255,255,.8);
  padding: 40px 0; text-align: center;
}
.footer-phone {
  font-size: 1.8rem; font-weight: 700; color: var(--accent);
  margin-bottom: 12px; display: block;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 2fr); }
  .nav-location { font-size: 1.1rem; }
}
@media (max-width: 767px) {
  .navbar { height: 72px; }
  .navbar .container { padding: 0 16px; }
  .nav-desktop { display: none !important; }
  .nav-mobile { display: block; width: 100%; }
  .nav-row1 { display: flex; align-items: center; justify-content: space-between; width: 100%; }
  .nav-row2 { display: none; }
  .nav-logo { height: 58px; }
  .nav-hours { height: 30px; }
  .nav-row1 .nav-phone { font-size: .85rem; }
  .hero-title { font-size: 2rem; }
  .hero-tagline { font-size: .9rem; gap: 4px 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 1.6rem; }
  .service-icon img { height: auto; width: 65%; }
  .call-fab { display: flex; }
}
