:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-deep: #0d5428;
  --ink: #111827;
  --muted: #6b7280;
  --bg: #f7faf8;
  --card: #ffffff;
  --line: rgba(17, 24, 39, 0.08);
  --maxw: 920px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links a { margin-left: 18px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff; text-align: center;
  padding: 64px 20px 72px;
}
.hero img.logo { width: 108px; height: 108px; border-radius: 26px; box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.hero h1 { font-size: 42px; font-weight: 800; margin: 22px 0 6px; letter-spacing: -0.5px; }
.hero p.tagline { font-size: 19px; max-width: 560px; margin: 0 auto 28px; color: rgba(255,255,255,0.94); }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #0b1220; color: #fff; text-decoration: none;
  padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 16px;
}
.badge.disabled { opacity: 0.92; cursor: default; }
.badge small { display: block; font-size: 10px; font-weight: 600; opacity: 0.7; letter-spacing: 0.4px; text-transform: uppercase; }
.badge .big { font-size: 17px; line-height: 1.05; }
.comingsoon { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.8); }

/* Features */
.features { padding: 64px 0 32px; }
.features h2 { text-align: center; font-size: 28px; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 20px; text-align: center;
}
.feature .ic {
  width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 14px;
  background: rgba(22,163,74,0.12); display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* Content pages */
.page { padding: 48px 0 64px; }
.page h1 { font-size: 32px; margin: 0 0 6px; }
.page .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.page h2 { font-size: 20px; margin: 32px 0 8px; }
.page p, .page li { color: #374151; font-size: 15.5px; }
.page ul { padding-left: 22px; }
.page a.back { display: inline-block; margin-bottom: 24px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 24px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
footer .links a { margin-left: 18px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; }
footer .links a:first-child { margin-left: 0; }
footer .copy { color: var(--muted); font-size: 13px; }
.attr { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 18px; }

@media (max-width: 680px) {
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .nav-links { display: none; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
  footer .links a { margin: 0 18px 0 0; }
}

/* Scroll cue */
.scrollcue { display: inline-block; margin-top: 26px; color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; font-weight: 600; }
.scrollcue:hover { color: #fff; }

/* Map section */
.map-section { padding: 56px 0 0; }
.map-section h2 { text-align: center; font-size: 28px; margin: 0 0 8px; }
.sectionsub { text-align: center; color: var(--muted); margin: 0 auto 24px; max-width: 560px; font-size: 15px; }
#map-wrap { position: relative; height: 70vh; min-height: 420px; }
#map { position: absolute; inset: 0; background: #eef2ef; }
.map-card {
  position: absolute; left: 16px; bottom: 26px; z-index: 5;
  background: #fff; border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
  display: flex; flex-direction: column; gap: 2px; max-width: 260px;
}
.map-card strong { font-size: 17px; }
.map-card span { color: var(--muted); font-size: 13px; }
.map-card .cta {
  margin-top: 10px; background: var(--green); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14px; padding: 9px 12px; border-radius: 10px; text-align: center;
}
.map-card .cta:hover { background: var(--green-dark); }
#map-fallback {
  position: absolute; inset: 0; z-index: 6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff;
  text-align: center; padding: 24px;
}
#map-fallback[hidden] { display: none; }

/* Hero: two-column with fanned phone trio */
.hero-inner {
  display: flex; align-items: center; gap: 36px;
  max-width: var(--maxw); margin: 0 auto; text-align: left;
}
.hero-copy { flex: 1 1 0; min-width: 0; }
.hero-copy img.logo { display: block; width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 10px 26px rgba(0,0,0,0.18); }
.hero-copy h1 { font-size: 40px; margin: 20px 0 10px; }
.hero-copy p.tagline { margin: 0 0 26px; max-width: 460px; }
.hero-phones { position: relative; flex: 0 0 50%; height: 500px; min-width: 0; }
.hero-phones img {
  position: absolute; top: 50%; width: 42%;
  border-radius: 26px; border: 5px solid #0b1220;
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.35);
  background: #fff;
}
.hero-phones .ph-front { left: 50%; transform: translate(-50%, -50%); width: 44%; z-index: 3; }
.hero-phones .ph-left  { left: 0;  transform: translateY(-48%) rotate(-10deg); z-index: 1; }
.hero-phones .ph-right { right: 0; transform: translateY(-48%) rotate(10deg);  z-index: 2; }

/* FAQ */
.faq { padding: 56px 0 24px; }
.faq h2 { text-align: center; font-size: 28px; margin: 0 0 26px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; }
.faq details p { margin: 10px 0 2px; color: #374151; font-size: 14.5px; }

@media (max-width: 820px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 8px; }
  .hero-copy img.logo { margin: 0 auto; }
  .hero-copy h1 { font-size: 32px; }
  .hero-copy p.tagline { margin-left: auto; margin-right: auto; }
  .hero-phones { flex: none; width: 100%; height: 440px; margin-top: 20px; }
  .hero-phones .ph-side { display: none; }
  .hero-phones .ph-front { width: 62%; max-width: 250px; }
}

@media (max-width: 680px) {
  #map-wrap { height: 60vh; }
  .map-card { left: 10px; right: 10px; max-width: none; }
}

/* No-JS fallback for the map section */
.noscript-map {
  position: absolute; inset: 0; z-index: 7;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff;
  text-align: center; padding: 24px;
}
