/* ===== VARIABLES ===== */
:root {
  --background: hsl(55, 33%, 97%);
  --foreground: hsl(0, 0%, 13%);
  --primary: hsl(48, 95%, 55%);
  --primary-foreground: hsl(0, 0%, 13%);
  --secondary: hsl(55, 33%, 95%);
  --muted: hsl(55, 20%, 92%);
  --muted-foreground: hsl(0, 0%, 40%);
  --border: hsl(0, 0%, 88%);
  --card: hsl(0, 0%, 100%);
  --radius: 2rem;
  --font: 'Nunito Sans', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 768px; }
.container-md { max-width: 960px; }
.container-xs { max-width: 640px; }
.text-center { text-align: center; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }

/* ===== SECTION ===== */
.section { padding: 6rem 0; }
.bg-background { background: var(--background); }
.bg-secondary { background: var(--secondary); }
.bg-primary { background: var(--primary); }
.bg-dark { background: var(--foreground); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 900; line-height: 1.1; }
.section-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  letter-spacing: -0.025em;
  margin-top: 0.5rem;
}
.section-title-md {
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.025em;
}
.section-subtitle {
  margin-top: 2rem;
  font-size: 1.25rem;
  color: var(--muted-foreground);
  font-weight: 500;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.text-muted { color: var(--muted-foreground); font-weight: 500; margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.7; }
.text-light { color: var(--background); }
.text-light-muted { color: hsla(55, 33%, 97%, 0.6); font-weight: 500; margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.7; }
.text-dark { color: var(--foreground); }
.text-dark-muted { color: hsla(0, 0%, 13%, 0.7); font-weight: 500; margin-top: 1.5rem; font-size: 1.25rem; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.highlight { position: relative; display: inline-block; }
.highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 1rem;
  background: var(--primary);
  border-radius: 3px;
  z-index: -1;
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}
.badge-light { background: hsla(48, 95%, 55%, 0.15); color: var(--muted-foreground); }
.badge-accent { background: hsla(48, 95%, 55%, 0.2); color: var(--muted-foreground); }
.badge-accent-dark { background: hsla(48, 95%, 55%, 0.2); color: var(--primary); }
.badge-hero {
  background: hsla(0, 0%, 13%, 0.15);
  border: 1px solid hsla(0, 0%, 13%, 0.2);
  color: var(--foreground);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-lg { padding: 0.875rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.5rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.9; }
.btn-dark { background: var(--foreground); color: var(--background); box-shadow: 0 4px 14px -4px hsla(0, 0%, 13%, 0.3); }
.btn-dark:hover { opacity: 0.9; }
.btn-ghost-hero {
  background: transparent;
  color: var(--foreground);
  border: 2px solid hsla(0, 0%, 13%, 0.3);
}
.btn-ghost-hero:hover { background: hsla(0, 0%, 13%, 0.1); }
.btn-icon { width: 1.25rem; height: 1.25rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: hsla(55, 33%, 97%, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.06);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--foreground);
  transition: color 0.3s;
}
.navbar:not(.scrolled) .logo { color: var(--foreground); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a:not(.nav-cta) {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsla(0, 0%, 13%, 0.7);
  transition: all 0.2s;
}
.nav-links a:not(.nav-cta):hover {
  color: var(--foreground);
  background: var(--muted);
}
.nav-cta { margin-left: 0.75rem; }
.mobile-toggle {
  display: none;
  padding: 0.5rem;
  border-radius: 9999px;
  color: var(--foreground);
}
.mobile-toggle .icon { width: 1.25rem; height: 1.25rem; }
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem;
  background: hsla(55, 33%, 97%, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsla(0, 0%, 13%, 0.7);
  transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--foreground); background: var(--muted); }

.mobile-menu a.btn-dark { color: var(--background); }
.mobile-menu a.btn-dark:hover { color: var(--background); }


@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}
.hero-map {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-map-img {
  width: 120%;
  max-width: none;
  object-fit: contain;
  opacity: 0.12;
  mix-blend-mode: multiply;
}
@media (max-width: 768px) {
  .hero-map-img { transform: scale(2.5); }
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 768px;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--foreground);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--foreground);
  text-wrap: balance;
}
.hero-subtitle {
  margin-top: 2rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: hsla(0, 0%, 13%, 0.75);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  line-height: 1.7;
}
.hero-buttons {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
    margin-bottom: 1rem;

}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 5rem; display: block; }
@media (min-width: 769px) { .hero-wave svg { height: 6rem; } }

/* ===== SPLIT LAYOUT ===== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.split-layout.items-center { align-items: center; }
@media (min-width: 769px) {
  .split-layout { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.split-half { }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: 1fr 1fr 1fr; } }
.feature-card {
  background: var(--card);
  border: 1px solid hsla(0, 0%, 88%, 0.5);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s;
}
.feature-card:hover {
  box-shadow: 0 20px 40px -12px hsla(0, 0%, 0%, 0.1);
  transform: translateY(-4px);
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; letter-spacing: -0.025em; }
.feature-card p { color: var(--muted-foreground); font-weight: 500; line-height: 1.6; }
.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.feature-icon .icon { width: 1.5rem; height: 1.5rem; }

/* ===== MAP VISUAL ===== */
.tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.tag {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
}
.split-visual { position: relative; }
.map-image-wrapper {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px hsla(0, 0%, 0%, 0.15);
  border: 4px solid hsla(0, 0%, 13%, 0.05);
}
.map-image { width: 100%; height: auto; }
.radius-badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: var(--primary);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 25px -5px hsla(0, 0%, 0%, 0.15);
}
.radius-value { font-size: 1.5rem; font-weight: 900; color: var(--foreground); }
.radius-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: hsla(0, 0%, 13%, 0.7); }

/* ===== SAFETY ===== */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) { .safety-grid { grid-template-columns: 1fr; } }
.safety-card {
  background: hsla(55, 33%, 97%, 0.05);
  border: 1px solid hsla(55, 33%, 97%, 0.1);
  border-radius: 1rem;
  padding: 1.25rem;
}
.safety-card h4 { color: var(--background); font-weight: 900; margin-bottom: 0.25rem; }
.safety-card p { color: hsla(55, 33%, 97%, 0.5); font-size: 0.875rem; font-weight: 500; line-height: 1.6; }
.safety-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.safety-icon .icon { width: 1.25rem; height: 1.25rem; color: var(--foreground); }

/* ===== TESTIMONIAL ===== */
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: hsla(0, 0%, 13%, 0.2);
  font-weight: 900;
  user-select: none;
}
.testimonial-quote {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-top: -0.5rem;
}
.testimonial-image {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--muted);
}
.testimonial-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== PHILOSOPHY / STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: 1fr 1fr 1fr; } }
.stat-card {
  background: hsla(0, 0%, 13%, 0.1);
  border: 1px solid hsla(0, 0%, 13%, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
}
.stat-value { font-size: 3rem; font-weight: 900; color: var(--foreground); margin-bottom: 0.5rem; }
.stat-label { color: hsla(0, 0%, 13%, 0.6); font-weight: 500; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 2px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item.open {
  border-color: var(--primary);
  background: hsla(48, 95%, 55%, 0.05);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 900;
  text-align: left;
  color: var(--foreground);
  letter-spacing: -0.025em;
}
.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-content {
  max-height: 200px;
}
.faq-content p {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted-foreground);
  font-weight: 500;
  line-height: 1.7;
}

/* ===== FINAL CTA ===== */
.cta-mockup {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--muted);
}
.cta-mockup img { width: 100%; height: 100%; object-fit: cover; }
.text-center-mobile { text-align: left; }
@media (max-width: 768px) { .text-center-mobile { text-align: center; } }

/* ===== FOOTER ===== */
.footer {
  background: var(--foreground);
  color: var(--background);
  padding: 4rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 769px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  font-size: 0.875rem;
  color: hsla(55, 33%, 97%, 0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid hsla(55, 33%, 97%, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 769px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-logo { font-size: 1.25rem; font-weight: 900; color: var(--primary); }
.footer-bottom p {
  font-size: 0.75rem;
  color: hsla(55, 33%, 97%, 0.4);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.heart-icon { width: 0.75rem; height: 0.75rem; color: var(--primary); fill: var(--primary); }

/* ===== UTILITY COLORS ===== */
.bg-primary { background: var(--primary); }
.bg-dark { background: var(--foreground); }
.text-dark .icon, .icon.text-dark { color: var(--foreground); }
.icon.text-light { color: var(--background); }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
