/* ============================================
   RB ECO ENTULHOS - Design System (Pure CSS)
   Converted from Tailwind CSS
   ============================================ */

/* --- CSS Variables (from Tailwind config) --- */
:root {
  --background: hsl(210 20% 98%);
  --foreground: hsl(220 60% 15%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(220 60% 15%);
  --primary: hsl(224 76% 38%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(142 71% 45%);
  --secondary-foreground: hsl(0 0% 100%);
  --muted: hsl(210 20% 96%);
  --muted-foreground: hsl(220 20% 30%);
  --accent: hsl(43 96% 48%);
  --accent-foreground: hsl(220 60% 15%);
  --destructive: hsl(0 84% 60%);
  --destructive-foreground: hsl(0 0% 100%);
  --border: hsl(214 32% 91%);
  --input: hsl(214 32% 91%);
  --ring: hsl(224 76% 38%);
  --radius: 0.75rem;
  --whatsapp: hsl(142 70% 49%);
  --whatsapp-foreground: hsl(0 0% 100%);
  --hero-bg: hsl(224 76% 20%);
  --hero-foreground: hsl(0 0% 100%);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Animations --- */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 hsl(142 70% 49% / 0.4); }
  50% { box-shadow: 0 0 0 12px hsl(142 70% 49% / 0); }
}

@keyframes pulse-accent {
  0%, 100% { box-shadow: 0 0 0 0 hsl(43 96% 48% / 0.6); }
  50% { box-shadow: 0 0 0 8px hsl(43 96% 48% / 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes bounce-dot {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes slide-in-from-bottom {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-pulse-accent {
  animation: pulse-accent 2s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-slide-in {
  animation: slide-in-from-bottom 0.3s ease-out;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(214 32% 91% / 0.4);
  background: #fff;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

.header-inner {
  display: flex;
  min-height: 88px;
  padding: 1rem 0;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.header-nav button {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.header-nav button:hover {
  color: var(--foreground);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.btn-md {
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--whatsapp-foreground);
}

.btn-whatsapp:hover {
  background: hsl(142 70% 44%);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: hsl(224 76% 33%);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  background: hsl(43 96% 43%);
}

.btn-outline-accent {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-outline-white {
  background: #fff;
  border: 2px solid #fff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.btn-outline-white:hover {
  background: hsl(0 0% 95%);
}

.btn-icon {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 9999px;
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu button {
  text-align: left;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.mobile-menu button:hover {
  color: var(--foreground);
}

.mobile-menu .btn {
  margin-top: 0.5rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-foreground);
  overflow: hidden;
  border-bottom: 1px solid hsl(214 32% 91% / 0.3);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  padding: 5rem 0 4rem;
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-accent {
  background: hsl(43 96% 48% / 0.2);
  color: var(--accent);
  border: 1px solid hsl(43 96% 48% / 0.3);
}

.badge-outline-accent {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.badge-green {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.ping-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.ping-dot::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: var(--accent);
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot::after {
  content: '';
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--accent);
}

.hero h1 {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
  line-height: 1.2;
}

.hero h1 .text-accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(0 0% 100% / 0.8);
  max-width: 42rem;
  margin: 0 auto;
  text-wrap: balance;
}

.hero-subtitle strong {
  color: var(--accent);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 2rem;
  font-size: 0.875rem;
  color: hsl(0 0% 100% / 0.7);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   SECTIONS (generic)
   ============================================ */
.section {
  padding: 4rem 0;
}

.section-muted {
  background: hsl(210 20% 96% / 0.5);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-header h2 .text-accent {
  color: var(--accent);
}

.section-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.section-header p strong {
  color: var(--foreground);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-label svg {
  width: 1.5rem;
  height: 1.5rem;
}

.section-label span {
  font-weight: 600;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid hsl(214 32% 91% / 0.5);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
  transition: all 0.3s;
}

.card:hover {
  border-color: hsl(224 76% 38% / 0.5);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.card-accent-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: linear-gradient(to right, var(--primary), var(--accent), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover .card-accent-border {
  opacity: 1;
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
}

.card-header {
  padding: 1.5rem 1.5rem 1rem;
}

.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  background: hsl(224 76% 38% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.3s;
}

.card:hover .card-icon {
  background: hsl(224 76% 38% / 0.2);
}

.card-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.card-subtitle {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.875rem;
}

.card-body {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-body p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.price-box {
  background: hsl(43 96% 48% / 0.1);
  border: 1px solid hsl(43 96% 48% / 0.3);
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.price-box p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

/* Quantity Selector */
.quantity-section {
  padding-top: 0.5rem;
}

.quantity-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 0.5rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.qty-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: transparent;
}

.qty-btn:hover:not(:disabled) {
  background: hsl(224 76% 38% / 0.1);
}

.qty-btn:disabled {
  border-color: var(--muted);
  color: var(--muted-foreground);
  opacity: 0.5;
  cursor: not-allowed;
}

.qty-btn svg {
  width: 1rem;
  height: 1rem;
}

.qty-value {
  min-width: 2rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.qty-value.active {
  color: var(--accent);
}

/* ============================================
   COMBOS SECTION
   ============================================ */
.combos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.combo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  transition: all 0.3s;
  border: 1px solid hsl(214 32% 91% / 0.5);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

.combo-card:hover {
  border-color: hsl(224 76% 38% / 0.5);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.combo-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
  transform: scale(1);
}

.combo-header {
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.combo-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.combo-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.combo-icon.default {
  background: hsl(43 96% 48% / 0.2);
  color: var(--accent);
}

.combo-icon.featured {
  background: var(--accent);
  color: var(--accent-foreground);
}

.combo-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.combo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.combo-highlight {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.combo-body {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.combo-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.combo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.combo-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: hsl(142 71% 45% / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.combo-check svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--secondary);
}

.combo-item span {
  color: var(--foreground);
  font-weight: 500;
}

/* ============================================
   OTHER SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
  padding: 3rem 0;
  background: var(--background);
  border-top: 1px solid hsl(214 32% 91% / 0.5);
  border-bottom: 1px solid hsl(214 32% 91% / 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.stat-icon.text-accent { color: var(--accent); }
.stat-icon.text-primary { color: var(--primary); }
.stat-icon.text-secondary { color: var(--secondary); }

.stat-value {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.trust-badge {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.trust-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.trust-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--accent);
  color: var(--accent);
}

.trust-text {
  color: var(--muted-foreground);
}

.trust-text strong {
  color: var(--foreground);
}

/* ============================================
   AREAS SECTION
   ============================================ */
.areas-section {
  padding: 4rem 0;
  background: var(--hero-bg);
  color: var(--hero-foreground);
}

.areas-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.areas-header .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.areas-header .section-label svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.areas-header .section-label span {
  color: var(--accent);
  font-weight: 600;
}

.areas-header h2 {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--hero-foreground);
}

.areas-header h2 .text-accent {
  color: var(--accent);
}

.areas-header p {
  color: hsl(0 0% 100% / 0.8);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.areas-header p strong {
  color: var(--hero-foreground);
}

.areas-header .subtitle-bold {
  color: var(--hero-foreground);
  font-weight: 700;
  font-size: 1.25rem;
}

.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.neighborhood-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(0 0% 100% / 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(0 0% 100% / 0.1);
  transition: all 0.2s;
}

.neighborhood-item:hover {
  border-color: hsl(43 96% 48% / 0.5);
  background: hsl(0 0% 100% / 0.15);
}

.neighborhood-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.neighborhood-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hero-foreground);
}

.areas-footer {
  margin-top: 3rem;
  text-align: center;
}

.areas-footer p {
  color: hsl(0 0% 100% / 0.7);
  font-size: 0.875rem;
}

/* ============================================
   FLEET SECTION
   ============================================ */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.fleet-item {
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
}

.fleet-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.fleet-item:hover img {
  transform: scale(1.05);
}

.fleet-footer {
  margin-top: 2rem;
  text-align: center;
}

.fleet-footer p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--foreground);
  color: var(--background);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 3.5rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: hsl(210 20% 98% / 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer h3 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(210 20% 98% / 0.8);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links a svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-partner p {
  color: hsl(210 20% 98% / 0.7);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-divider {
  border-top: 1px solid hsl(210 20% 98% / 0.2);
  padding-top: 2rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(210 20% 98% / 0.6);
  text-align: center;
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */

/* WhatsApp Floating Button (desktop) */
.whatsapp-float {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  align-items: center;
  gap: 0.75rem;
  background: var(--whatsapp);
  color: var(--whatsapp-foreground);
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: all 0.3s;
  animation: pulse-glow 2s ease-in-out infinite;
  padding: 0;
  font-weight: 600;
  font-size: 0.875rem;
}

.whatsapp-float:hover {
  background: hsl(142 70% 44%);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.whatsapp-float-label {
  padding: 0 1.25rem 0 1.25rem;
  white-space: nowrap;
}

.whatsapp-float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
}

.whatsapp-float:hover .whatsapp-float-icon svg {
  transform: scale(1.1);
}

.whatsapp-float-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  transition: transform 0.2s;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
}

.mobile-bottom-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  font-weight: 700;
  font-size: 1rem;
}

.mobile-bottom-bar .bar-whatsapp {
  background: var(--whatsapp);
  color: var(--whatsapp-foreground);
}

.mobile-bottom-bar .bar-phone {
  background: var(--primary);
  color: var(--primary-foreground);
}

.mobile-bottom-bar svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Floating Cart Button */
.floating-cart {
  position: fixed;
  bottom: 6rem;
  right: 1rem;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  border-radius: 9999px;
  padding: 0 1.25rem;
  height: 3.5rem;
  animation: slide-in-from-bottom 0.3s ease-out;
}

.floating-cart:hover {
  background: hsl(43 96% 43%);
}

.floating-cart svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ============================================
   LEAD CHAT WIDGET
   ============================================ */
.chat-widget {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 50;
  width: 360px;
  max-width: calc(100vw - 2rem);
  height: 560px;
  max-height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  overflow: hidden;
  animation: slide-in-from-bottom 0.3s ease-out;
}

.chat-header {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-header-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: hsl(0 0% 100% / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.chat-header-title {
  font-weight: 700;
  font-size: 0.875rem;
}

.chat-header-subtitle {
  font-size: 0.75rem;
  color: hsl(0 0% 100% / 0.8);
}

.chat-close-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: var(--primary-foreground);
}

.chat-close-btn:hover {
  background: hsl(0 0% 100% / 0.2);
}

.chat-close-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: hsl(210 20% 96% / 0.3);
}

.chat-message {
  display: flex;
  max-width: 85%;
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
  justify-content: flex-end;
}

.chat-bubble {
  padding: 0.625rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-line;
}

.chat-message.user .chat-bubble {
  background: var(--primary);
  color: var(--primary-foreground);
  border-bottom-right-radius: 0.25rem;
}

.chat-message.bot .chat-bubble {
  background: var(--card);
  border: 1px solid hsl(214 32% 91% / 0.5);
  color: var(--foreground);
  border-bottom-left-radius: 0.25rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-self: flex-start;
}

.typing-bubble {
  background: var(--card);
  border: 1px solid hsl(214 32% 91% / 0.5);
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border-bottom-left-radius: 0.25rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

.typing-dots {
  display: flex;
  gap: 0.25rem;
}

.typing-dots span {
  width: 0.5rem;
  height: 0.5rem;
  background: hsl(220 20% 30% / 0.6);
  border-radius: 9999px;
  animation: bounce-dot 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: 0ms; }
.typing-dots span:nth-child(2) { animation-delay: 150ms; }
.typing-dots span:nth-child(3) { animation-delay: 300ms; }

/* Chat Input */
.chat-input-area {
  flex-shrink: 0;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  background: var(--card);
}

.chat-form {
  display: flex;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  border: 1px solid hsl(214 32% 91% / 0.5);
  background: hsl(210 20% 96% / 0.5);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: var(--primary);
}

.chat-input::placeholder {
  color: var(--muted-foreground);
}

.chat-send-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.chat-send-btn:hover:not(:disabled) {
  background: hsl(224 76% 33%);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-send-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Date/Time picker area */
.chat-datetime {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-datetime-row {
  display: flex;
  gap: 0.5rem;
}

.chat-date-input {
  flex: 1;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
}

.chat-time-select {
  width: 120px;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
}

.chat-confirm-btn {
  width: 100%;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.chat-confirm-btn:hover:not(:disabled) {
  background: hsl(224 76% 33%);
}

.chat-confirm-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* WhatsApp send button in chat */
.chat-whatsapp-btn {
  width: 100%;
  height: 3rem;
  background: var(--whatsapp);
  color: var(--whatsapp-foreground);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.chat-whatsapp-btn:hover:not(:disabled) {
  background: hsl(142 70% 44%);
}

.chat-whatsapp-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.chat-whatsapp-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ============================================
   RESPONSIVE (Desktop >= 768px)
   ============================================ */
@media (min-width: 768px) {
  .header-inner {
    min-height: 104px;
    padding: 1.25rem 0;
  }

  .header-logo img {
    height: 96px;
  }

  .header-nav {
    display: flex;
  }

  .header-cta {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero-inner {
    padding: 6rem 0;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }

  .section {
    padding: 6rem 0;
  }

  .section-header h2 {
    font-size: 1.875rem;
  }

  .combos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .combo-card.featured {
    transform: scale(1.02);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .stat-value {
    font-size: 1.875rem;
  }

  .trust-badge {
    flex-direction: row;
  }

  .neighborhoods-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .fleet-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .mobile-bottom-bar {
    display: none !important;
  }

  .whatsapp-float {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-inner {
    padding: 8rem 0;
  }
}

/* Mobile-specific overrides */
@media (max-width: 767px) {
  .site-header {
    border-bottom: 1px solid hsl(214 32% 91% / 0.4);
  }

  .hero {
    border-bottom: 1px solid hsl(214 32% 91% / 0.3);
  }

  /* Padding bottom for mobile bar */
  body {
    padding-bottom: 5rem;
  }

  .neighborhoods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
