/* ==========================================================================
   AUTO SOUND CAR - AUDIO (MÉRIDA, YUCATÁN)
   Design System: Light Theme with Alternating Deep-Petrol Sections
   Colors: White (#FFFFFF), Deep Petrol Blue (#0A2E38), Crimson Red (#FF0B2B)
   ========================================================================== */

:root {
  --bg-page: #FFFFFF;
  --bg-petrol: #0A2E38;
  --bg-petrol-deep: #071F26;
  --red-primary: #FF0B2B;
  --red-dark: #C9001B;
  --red-glow: rgba(255, 11, 43, 0.35);

  /* Text & surfaces (default = light sections) */
  --text-main: #1C2126;
  --text-muted: #5B6470;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F4F7F8;
  --border-glass: rgba(15, 45, 54, 0.12);
  --border-red-glow: rgba(255, 11, 43, 0.3);
  --surface-tint: rgba(15, 45, 54, 0.045);
  --surface-tint-strong: rgba(15, 45, 54, 0.08);
  --card-shadow: 0 10px 30px rgba(15, 45, 54, 0.08);

  --font-main: 'Outfit', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Deep-petrol alternating sections (dark blue) share one variable override */
.services-section,
.features-section,
.location-section,
.footer {
  --text-main: #FFFFFF;
  --text-muted: #B9CCCF;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.1);
  --border-glass: rgba(255, 255, 255, 0.16);
  --surface-tint: rgba(255, 255, 255, 0.05);
  --surface-tint-strong: rgba(255, 255, 255, 0.1);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: var(--bg-petrol);
}

.footer {
  background: var(--bg-petrol-deep);
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-muted);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar Header (always light — floats above every section as you scroll) */
.navbar-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 45, 54, 0.1);
  padding: 0.8rem 0;
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 11, 43, 0.15));
  transition: var(--transition);
}

.site-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 16px rgba(255, 11, 43, 0.35));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #5B6470;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #1C2126;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--red-primary);
  box-shadow: 0 0 8px var(--red-primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(15, 45, 54, 0.15);
  color: #1C2126;
  font-size: 1.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 11, 43, 0.6);
  color: #FFFFFF;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  color: #FFFFFF;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 6px 25px var(--red-glow);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(255, 11, 43, 0.7);
  color: #FFFFFF;
}

.btn-hero-secondary {
  background: var(--surface-tint);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-hero-secondary:hover {
  background: var(--surface-tint-strong);
  border-color: rgba(15, 45, 54, 0.3);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

/* Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-red-glow);
  box-shadow: var(--card-shadow), 0 0 20px rgba(255, 11, 43, 0.15);
}

/* Typography Gradient */
.gradient-text {
  color: var(--red-primary);
}

/* Section Shared Layouts */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red-primary);
  background: rgba(255, 11, 43, 0.1);
  border: 1px solid rgba(255, 11, 43, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.text-center { text-align: center; }

/* Hero Section Styling (always light) */
.hero-section {
  position: relative;
  padding: 5rem 0 7rem;
  overflow: hidden;
  background: #FFFFFF;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(15, 45, 54, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  display: none;
}

.hero-glow-2 {
  bottom: -150px;
  left: -100px;
  background: rgba(10, 46, 56, 0.25);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-tint);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 640px;
}

.hero-features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
}

.pill {
  background: rgba(255, 11, 43, 0.08);
  border: 1px solid rgba(255, 11, 43, 0.2);
  color: var(--text-main);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
}

.pill i {
  color: var(--red-primary);
  margin-right: 0.3rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--red-primary);
}

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

.stat-divider {
  width: 1px;
  height: 35px;
  background: var(--border-glass);
}

/* Hero Visual Graphic & Card — deliberately dark "device" card inside the light hero */
.hero-card {
  background: linear-gradient(145deg, rgba(11, 48, 58, 0.96), rgba(6, 28, 34, 0.98));
  border: 1px solid rgba(255, 11, 43, 0.25);
  box-shadow: 0 20px 50px rgba(6, 20, 24, 0.35);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-card-logo {
  height: 40px;
  width: auto;
}

.badge-live {
  background: rgba(255, 11, 43, 0.15);
  color: var(--red-primary);
  border: 1px solid var(--red-primary);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-weight: 700;
}

.hero-visual-graphic {
  background: rgba(4, 16, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  margin-bottom: 1rem;
}

.equalizer-bars .bar {
  width: 8px;
  background: linear-gradient(to top, var(--red-dark), var(--red-primary));
  border-radius: 4px;
  animation: eqAnim 1.2s ease-in-out infinite alternate;
}

.bar-1 { height: 40%; animation-delay: 0.1s; }
.bar-2 { height: 80%; animation-delay: 0.3s; }
.bar-3 { height: 100%; animation-delay: 0.5s; }
.bar-4 { height: 60%; animation-delay: 0.2s; }
.bar-5 { height: 90%; animation-delay: 0.4s; }
.bar-6 { height: 50%; animation-delay: 0.6s; }
.bar-7 { height: 75%; animation-delay: 0.15s; }

@keyframes eqAnim {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.audio-wave-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 11, 43, 0.15);
  border: 2px solid var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--red-glow);
}

.car-icon {
  font-size: 2rem;
  color: #FFFFFF;
}

.hero-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  color: #FFFFFF;
}

.quick-service-list {
  margin-bottom: 1.5rem;
}

.quick-service-list li {
  font-size: 0.9rem;
  color: #C3D3D6;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.quick-service-list i {
  color: var(--red-primary);
  font-size: 1rem;
}

.hero-card .btn-outline {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-card .btn-outline:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

/* Services Section Grid */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 340px;
  max-width: 376px;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 11, 43, 0.1);
  border: 1px solid rgba(255, 11, 43, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--red-primary);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--red-primary);
  color: #FFFFFF;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 20px var(--red-glow);
}

.service-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red-primary);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.service-checklist {
  margin-bottom: 1.8rem;
}

.service-checklist li {
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-checklist i {
  color: var(--red-primary);
}

.btn-service {
  background: var(--surface-tint);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  width: 100%;
}

.btn-service:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: #FFFFFF;
}

/* Calculator Section (light card, matches the white section it sits in) */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--card-shadow);
  padding: 3rem 2.5rem;
}

.calculator-body {
  margin-top: 2.5rem;
}

.calc-step {
  margin-bottom: 2.5rem;
}

.calc-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
  color: var(--text-main);
}

.step-num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.calc-btn {
  background: var(--surface-tint);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
}

.calc-btn i {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.calc-btn:hover {
  background: var(--surface-tint-strong);
  color: var(--text-main);
}

.calc-btn.active {
  background: rgba(255, 11, 43, 0.12);
  border-color: var(--red-primary);
  color: var(--text-main);
  box-shadow: 0 0 15px rgba(255, 11, 43, 0.2);
}

.calc-btn.active i {
  color: var(--red-primary);
}

/* Calculator Checkbox Grid */
.calc-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.calc-checkbox-card {
  position: relative;
  cursor: pointer;
}

.calc-checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-custom {
  background: var(--surface-tint);
  border: 1px solid var(--border-glass);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: var(--transition);
}

.checkbox-custom i {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.checkbox-custom span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.calc-checkbox-card:hover .checkbox-custom {
  border-color: rgba(15, 45, 54, 0.3);
}

.calc-checkbox-card input[type="checkbox"]:checked + .checkbox-custom {
  background: rgba(255, 11, 43, 0.12);
  border-color: var(--red-primary);
  box-shadow: 0 0 15px rgba(255, 11, 43, 0.2);
}

.calc-checkbox-card input[type="checkbox"]:checked + .checkbox-custom i,
.calc-checkbox-card input[type="checkbox"]:checked + .checkbox-custom span {
  color: var(--text-main);
}

/* Calculator Result Box — deliberately dark "receipt" panel inside the light card */
.calculator-result-box {
  background: rgba(10, 46, 56, 0.95);
  border: 1px solid var(--border-red-glow);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: center;
}

.result-details h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

#calcSelectedSummary {
  color: #B9C7CA;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.result-price-display {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.price-label {
  font-size: 1rem;
  color: #B9C7CA;
}

.price-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red-primary);
  text-shadow: 0 0 15px rgba(255, 11, 43, 0.4);
}

.price-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.result-action {
  min-width: 0;
}

.result-action .btn {
  white-space: normal;
  text-align: center;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 11, 43, 0.12);
  border: 1px solid var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--red-primary);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 20px rgba(255, 11, 43, 0.2);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Brands Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.brand-item {
  background: var(--surface-tint);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.brand-item:hover {
  background: rgba(255, 11, 43, 0.1);
  border-color: var(--red-primary);
  color: var(--text-main);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(15, 45, 54, 0.15);
}

/* Location Layout */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.location-address {
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  color: var(--text-main);
}

.hours-box {
  background: rgba(5, 30, 36, 0.35);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.hours-box h4 {
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-main);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  color: var(--text-main);
}

.hours-list li strong {
  color: var(--red-primary);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li.today-highlight {
  font-weight: 700;
}

.text-closed {
  color: var(--red-primary);
}

.contact-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.location-map-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  padding: 0;
}

.map-header {
  padding: 1rem 1.5rem;
  background: rgba(6, 30, 36, 0.9);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.map-link-btn {
  color: var(--red-primary);
  font-size: 0.85rem;
}

.location-map-container iframe {
  flex: 1;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Footer Styling */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 380px;
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-display);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  color: var(--text-main);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-contact p {
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--text-main);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 1.5rem 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

/* Floating WhatsApp Button (always dark, floats above whatever section is behind it) */
.whatsapp-float-wrapper {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-tooltip {
  background: rgba(10, 35, 42, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: #E7EDEE;
  animation: fadeInRight 0.5s ease-out;
}

.whatsapp-tooltip strong {
  color: #25D366;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: pulseGlow 2.5s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
  color: #FFFFFF;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .grid-2-col {
    grid-template-columns: 1fr;
  }
  .calculator-result-box {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.7rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(15, 45, 54, 0.1);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }
  .nav-menu.open {
    clip-path: circle(140% at 100% 0);
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .whatsapp-tooltip {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}
