:root {
  --blue-900: #0a2540;
  --blue-800: #0d3866;
  --blue-700: #0f4c85;
  --blue-600: #1565c0;
  --blue-500: #1e88e5;
  --blue-100: #e3f2fd;
  --blue-50: #f2f8fd;
  --white: #ffffff;
  --gray-700: #445267;
  --gray-500: #6b7787;
  --gray-100: #eef2f7;
  --green: #25d366;
  --green-dark: #1ebd59;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(10, 37, 64, 0.10);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--blue-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); margin: 0 0 0.5em; color: var(--blue-900); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-badge {
  width: 38px; height: 38px;
  object-fit: contain;
}
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--blue-900); }
.footer-logo .logo-badge { filter: brightness(0) invert(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  font-family: var(--font-body);
}
.btn:active { transform: scale(0.97); }
.btn-header { background: var(--blue-700); color: #fff; padding: 9px 16px; font-size: 13px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,0.35); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--blue-700); border: 2px solid var(--blue-700); }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-600) 100%);
  color: #fff;
  padding: 48px 0 44px;
}
.hero-inner { text-align: center; }
.hero-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.5);
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.eyebrow {
  color: var(--blue-100);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}
.hero h1 {
  color: #fff;
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.hero-sub {
  color: var(--blue-100);
  font-size: 15px;
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}
.hero .btn-outline {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.hero .btn-outline:hover { background: rgba(255,255,255,0.16); }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

/* Sections */
.section { padding: 44px 0; }
.section h2 {
  text-align: center;
  font-size: 24px;
}
.section-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  margin: 0 0 24px;
}

/* Carousel */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 14px;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 78%;
  scroll-snap-align: center;
  background: linear-gradient(160deg, var(--blue-50), var(--white));
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  user-select: none;
}
.card:active { transform: scale(0.98); }
.card-icon { font-size: 40px; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 13px; color: var(--gray-500); margin: 0; }

.car-nav {
  display: none;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  width: 36px; height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--blue-700);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 2;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gray-100);
  transition: background .2s ease, width .2s ease;
}
.dot.active { background: var(--blue-600); width: 20px; border-radius: 4px; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  padding: 0;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 20px 20px 0 0;
  padding: 28px 24px 32px;
  position: relative;
  text-align: center;
  animation: slideUp .25s ease;
}
@media (min-width: 640px) {
  .modal-overlay { align-items: center; }
  .modal { border-radius: 20px; }
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-icon { font-size: 46px; margin-bottom: 10px; }
.modal h3 { font-size: 20px; }
.modal p { color: var(--gray-700); font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: var(--gray-100);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--gray-700);
  cursor: pointer;
}

/* Reviews */
.reviews { background: var(--blue-50); text-align: center; }
.review-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}
.stars { color: #f5b400; font-size: 24px; letter-spacing: 2px; }
.review-score { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.review-source { color: var(--gray-500); font-size: 13px; }

.modal-reviews { max-width: 480px; text-align: left; }
.modal-reviews .review-summary { justify-content: center; margin-bottom: 18px; }
.review-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  max-height: 46vh;
  overflow-y: auto;
}
.review-item {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  padding: 14px 16px;
}
.review-stars { color: #f5b400; font-size: 14px; margin: 0 0 6px; letter-spacing: 1px; }
.review-text { font-size: 14px; color: var(--gray-700); margin: 0 0 6px; line-height: 1.5; }
.review-author { font-size: 12px; color: var(--gray-500); margin: 0; font-weight: 600; }
.review-external-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--blue-700);
  text-decoration: none;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}
.hp-field { display: none; }

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-900);
  text-align: left;
}
.form input, .form select {
  padding: 13px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--gray-100);
  background: var(--blue-50);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--blue-900);
  outline: none;
  transition: border-color .15s ease;
}
.form input:focus, .form select:focus { border-color: var(--blue-500); }

.direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 26px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.direct-contacts a {
  color: var(--blue-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* Map */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--blue-100);
}
.map-embed iframe { display: block; }

/* Footer */
.site-footer {
  background: var(--blue-900);
  color: var(--blue-100);
  text-align: center;
  padding: 36px 0 100px;
}
.footer-logo { justify-content: center; margin-bottom: 14px; }
.site-footer p { margin: 4px 0; font-size: 13px; }
.footer-meta { color: rgba(255,255,255,0.65); }
.footer-meta a { color: var(--blue-100); text-decoration: none; }
.footer-copy { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.5); }

/* Floating WhatsApp button */
.fab-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px; height: 56px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37,211,102,0.45);
  z-index: 40;
  text-decoration: none;
}

/* Legal pages */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 20px;
}
.legal-content h1 { font-size: 26px; margin-bottom: 4px; }
.legal-updated { color: var(--gray-500); font-size: 13px; margin-bottom: 24px; }
.legal-content h2 { font-size: 18px; margin-top: 30px; }
.legal-content p, .legal-content li { color: var(--gray-700); font-size: 14px; line-height: 1.7; }
.legal-content ul { padding-left: 20px; margin: 10px 0; }
.legal-content a { color: var(--blue-700); }

/* Desktop refinements */
@media (min-width: 720px) {
  .hero h1 { font-size: 38px; max-width: 700px; margin-left: auto; margin-right: auto; }
  .hero-sub { font-size: 17px; }
  .hero-actions { flex-direction: row; max-width: none; justify-content: center; }
  .card { flex: 0 0 260px; }
  .car-nav { display: flex; }
  .section h2 { font-size: 30px; }
}
