:root {
  --blue-900: #1b4f72;
  --blue-700: #2874a6;
  --gold-600: #d68910;
  --gold-500: #f39c12;
  --white: #ffffff;
  --gray-900: #2c3e50;
  --bg: #f7f9fc;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial;
  color: var(--gray-900);
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.muted {
  opacity: 0.9;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e7eef7;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.brand-name {
  font-size: 1.05rem;
  line-height: 1;
}
.brand-name b {
  display: block;
  color: var(--blue-900);
}
.brand-name span {
  display: block;
  font-weight: 700;
  color: var(--gold-500);
}
.menu {
  display: none;
  gap: 18px;
  align-items: center;
}
.menu a {
  font-weight: 500;
  opacity: 0.9;
}
.menu a.active {
  color: var(--blue-900);
  font-weight: 700;
}
.menu a:hover {
  opacity: 1;
}
.actions {
  display: none;
  gap: 10px;
}
.btn {
  --bg: var(--blue-900);
  --fg: #fff;
  --bd: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid var(--bd);
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  letter-spacing: 0.2px;
}
.btn:hover {
  filter: brightness(1.05);
}
.btn.primary {
  --bg: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  --fg: #fff;
}
.btn.outline {
  --bg: #fff;
  --fg: var(--blue-900);
  --bd: var(--blue-900);
}
.btn.gold {
  --bg: var(--gold-500);
  --fg: #111;
}
.badge10 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px dashed var(--gold-500);
  color: var(--gold-600);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
}

/* Sections */
section {
  padding: 44px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.section-title {
  font-size: 1.5rem;
  color: var(--blue-900);
  margin: 0;
}
.section-sub {
  opacity: 0.9;
  margin: 0;
}

/* Grid & Cards */
.grid {
  display: grid;
  gap: 14px;
}
.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.card h3 {
  margin: 8px 0 6px;
  font-size: 1.05rem;
  color: var(--blue-900);
}
.card p {
  margin: 0;
  opacity: 0.95;
}
.icon {
  width: 28px;
  height: 28px;
  color: var(--blue-900);
}

/* Brands */
.brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.brand-tile {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--gray-900);
}
.brand-tile:hover {
  box-shadow: 0 6px 16px rgba(27, 79, 114, 0.12);
}

/* Maps */
.maps {
  display: grid;
  gap: 12px;
}
.maps iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 14px;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
}
.slides {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  padding: 0 4px;
}
.stars {
  color: #f1c40f;
}
.carousel .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #e7eef7;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.carousel .prev {
  left: 6px;
}
.carousel .next {
  right: 6px;
}
.dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfd9e6;
}
.dot.active {
  background: var(--blue-900);
}

/* CTA Final */
.cta-final {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff;
  border-radius: 18px;
  padding: 24px;
}
.cta-final h2 {
  margin: 0 0 8px;
}

/* Footer */
.footer {
  background: #0f2740;
  color: #dfe9f5;
  margin-top: 34px;
}
.footer-top {
  padding: 28px 0;
}
.footer-grid {
  display: grid;
  gap: 18px;
}
.footer a {
  color: #dfe9f5;
  opacity: 0.95;
}
.footer a:hover {
  opacity: 1;
}
.footer h4 {
  margin: 0 0 10px;
}
.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  font-size: 0.9rem;
  color: #c7d7ea;
}

/* Bottom Nav (mobile) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid #e7eef7;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  font-size: 0.75rem;
}
.bottom-nav a.big {
  font-weight: 800;
}
.bottom-nav .call {
  color: #0a7e20;
}
.bottom-nav .wa {
  color: #0a7e20;
}
.bottom-nav [data-lucide],
.bottom-nav i {
  width: 20px;
  height: 20px;
}

/* ScrollTop */
#scrollTop {
  position: fixed;
  right: 12px;
  bottom: 72px;
  z-index: 30;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: var(--gold-500);
  color: #111;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(243, 156, 18, 0.35);
  display: none;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease;
}
.reveal.show {
  opacity: 1;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf3fb, transparent);
}
.hero-wrap {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
}
.hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin: 0 0 8px;
  color: var(--blue-900);
}
.hero p {
  margin: 0 0 16px;
  font-size: 1.02rem;
}
.hero-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(27, 79, 114, 0.25);
}
.pill-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.pill {
  background: #fff;
  border: 1px solid #e5eef6;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
}

/* Responsive */
@media (min-width: 721px) {
  .menu {
    display: flex;
  }
  .actions {
    display: flex;
  }
  .hero-wrap {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    padding: 44px 0;
  }
  section {
    padding: 56px 0;
  }
  .grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .brands {
    grid-template-columns: repeat(6, 1fr);
  }
  .maps {
    grid-template-columns: repeat(2, 1fr);
  }
  .bottom-nav {
    display: none;
  }
}
@media (max-width: 720px) {
  body {
    padding-bottom: 64px;
  }
}

/* PAGE: index */

/* === Mobile polish pack (2025-10-31) === */
:root {
  --bottom-nav-h: 72px;
}

@media (max-width: 720px) {
  /* Ensure content never hides behind bottom nav (add safe area) */
  body {
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  }

  /* Bottom nav sizing and emphasis for Call/Whats */
  .bottom-nav {
    z-index: 60;
    height: var(--bottom-nav-h);
    grid-template-columns: 1fr 1fr 1.2fr 1.2fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-nav a {
    padding: 6px 4px;
    min-height: 54px;
    justify-content: center;
    touch-action: manipulation;
  }
  .bottom-nav a.big.call {
    background: #e8f7ee;
    border-top: 3px solid #1aa34a;
  }
  .bottom-nav a.big.wa {
    background: #e8f7ee;
    border-top: 3px solid #1aa34a;
  }

  /* Keep the scroll-to-top above nav */
  #scrollTop {
    bottom: calc(var(--bottom-nav-h) + 12px);
  }

  /* One column cards on phones */
  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  /* Hero compaction */
  .hero-wrap {
    padding: 18px 0;
  }
  .hero .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-final .btn {
    width: 100%;
    justify-content: center;
  }

  /* Control hero image height to avoid overflow */
  .hero-media {
    max-height: 260px;
  }
  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Slightly tighter sections on mobile */
  section {
    padding: 36px 0;
  }
}
