/**
 * @license
 * SPDX-License-Identifier: Apache-2.0
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --primary: #092F44;
  --secondary: #0B7285;
  --accent: #F47A38;
  --bg-light: #F6F0E6;
  --bg-mist: #E8F6F8;
  --text-dark: #263238;
  --text-muted: #546E7A;
  --white: #FFFFFF;
  --border-color: rgba(9, 47, 68, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 16px rgba(9, 47, 68, 0.06);
  --shadow-lg: 0 16px 32px rgba(9, 47, 68, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: #FAFAFA;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  width: 100%;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: var(--white);
  padding: 8px 16px;
  z-index: 9999;
  transition: top var(--transition);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 0;
}

/* Common Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--primary);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

h2.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background-color: var(--accent);
  margin-top: 8px;
  border-radius: 2px;
}

h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--primary);
  margin-bottom: 8px;
}

p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

p.lead {
  font-size: 1.15rem;
  font-weight: 500;
}

.font-mono {
  font-family: var(--font-mono);
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

/* Announcement Strip */
.announcement-bar {
  position: sticky;
  top: 0;
  z-index: 1100;
  height: 35px;
  background-color: var(--primary);
  color: var(--bg-light);
  font-size: 0.85rem;
  overflow: hidden;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-ticker {
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
}

.announcement-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: announcement-scroll 24s linear infinite;
}

.announcement-item {
  flex: none;
  white-space: nowrap;
  padding-right: 72px;
}

.announcement-bar:hover .announcement-track {
  animation-play-state: paused;
}

@keyframes announcement-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

/* Header & Nav */
header {
  position: sticky;
  top: 35px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

header.shadow {
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  min-height: 80px;
}

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

.logo-img {
  height: 64px;
  width: auto;
  max-width: 86px;
  object-fit: contain;
}

.header-nav-group {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 20px);
  margin-left: auto;
  flex: 1;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.8vw, 24px);
  list-style: none;
  margin-left: auto;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 500;
  color: var(--primary);
  padding: 8px 0;
  font-family: var(--font-display);
  position: relative;
  white-space: nowrap;
  font-size: 0.95rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

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

.nav-link.active {
  color: var(--secondary);
}

/* Dropdowns */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 18px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  list-style: none;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-menu {
  width: min(1040px, calc(100vw - 32px));
  left: 50%;
  transform: translateX(-50%) translateY(10px);
}

.explore-menu {
  width: min(760px, calc(100vw - 32px));
}

.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.nav-mega-column h4 {
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.nav-mega-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-mega-list li strong {
  color: var(--primary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-mega-list a {
  display: block;
  padding: 6px 0;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.92rem;
}

.nav-mega-list a:hover,
.nav-cta-link {
  color: var(--secondary);
}

.nav-mega-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.nav-mega-footer .btn-sm {
  height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
  border-radius: 8px;
}

/* Header Buttons Group */
.header-ctas-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-ctas-group .btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* For mobile CTAs in the nav menu */
.mobile-cta-item {
  display: none; /* Hide on desktop */
}

@media (max-width: 768px) {
  .header-ctas-group {
    display: none !important;
  }
  
  .mobile-cta-item {
    display: block;
    width: 100%;
    padding: 12px 0;
  }
  
  .mobile-cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  
  .mobile-cta-group .btn {
    width: 100%;
    height: 46px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  margin: 6px 0;
  transition: var(--transition);
}

/* Homepage photo hero */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-color: var(--primary);
}

.home-hero::before {
  content: '';
  position: absolute;
  z-index: -3;
  inset: -4%;
  background: url('../images/goa/Calangute%20%26%20Baga%20Beach.png') center 52% / cover no-repeat;
  animation: heroScenicReveal 9s cubic-bezier(.2,.7,.2,1) both;
}

.home-hero::after {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 76% 45%, rgba(244,122,56,.18), transparent 34%),
    linear-gradient(90deg, rgba(4,29,45,.96) 0%, rgba(4,38,56,.88) 42%, rgba(4,38,56,.48) 69%, rgba(4,29,45,.32) 100%);
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  padding-top: 76px;
  padding-bottom: 76px;
}

.home-hero-copy {
  max-width: 650px;
  animation: heroCopyIn .9s .12s cubic-bezier(.2,.75,.25,1) both;
}

.home-hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(244,122,56,.92);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(244,122,56,.22);
}

.home-hero h1 {
  color: var(--white);
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0,0,0,.24);
}

.home-hero-copy > p {
  max-width: 610px;
  color: rgba(255,255,255,.9);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.75;
  margin-bottom: 30px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-hero-actions .btn {
  min-height: 50px;
  padding-inline: 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.home-hero-whatsapp {
  background: #25d366;
  color: #072f25;
}

.home-hero-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.home-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.82);
  font-size: .84rem;
}

.home-hero-trust strong {
  color: var(--white);
}

.home-hero-visual {
  position: relative;
  min-width: 0;
  animation: heroCarIn 1.05s .28s cubic-bezier(.16,.78,.22,1) both;
}

.home-hero-car {
  display: block;
  width: 118%;
  max-width: none;
  margin-left: -10%;
  filter: drop-shadow(0 30px 24px rgba(0,18,31,.48));
}

.home-hero-car-card {
  position: relative;
  overflow: hidden;
  padding: 20px 20px 18px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 30px 8px 30px 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(235,247,249,.92));
  box-shadow: 0 35px 80px rgba(0,18,31,.38);
  transform: rotate(-1.5deg);
}

.home-hero-car-card::after {
  content: '';
  position: absolute;
  inset: auto -20% -46% 20%;
  height: 60%;
  border-radius: 50%;
  background: rgba(11,114,133,.12);
  filter: blur(3px);
}

.home-hero-car-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 118%;
  max-width: none;
  margin: 24px 0 2px -9%;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 18px rgba(9,47,68,.18));
}

.home-hero-car-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-hero-car-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 4px 2px;
  color: var(--primary);
}

.home-hero-car-meta strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.home-hero-car-meta span {
  color: var(--text-muted);
  font-size: .75rem;
}

.home-hero-float {
  position: absolute;
  z-index: 3;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 10px;
  color: var(--white);
  background: rgba(9,47,68,.9);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  font-size: .76rem;
  font-weight: 700;
  animation: heroFloat 4s ease-in-out infinite;
}

.home-hero-float-one { top: -18px; right: -12px; }
.home-hero-float-two { bottom: 46px; left: -24px; animation-delay: -2s; background: rgba(244,122,56,.94); }

@keyframes heroScenicReveal {
  from { opacity: .55; transform: scale(1.1); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroCarIn {
  from { opacity: 0; transform: translateX(70px) scale(.92); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

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

@media (max-width: 900px) {
  .home-hero { min-height: auto; }
  .home-hero::after {
    background: linear-gradient(180deg, rgba(4,29,45,.94), rgba(4,38,56,.76) 62%, rgba(4,29,45,.64));
  }
  .home-hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
  .home-hero-copy { max-width: 720px; }
  .home-hero-visual { width: min(620px, 92%); margin: 0 auto; }
}

@media (max-width: 560px) {
  .home-hero-inner { gap: 42px; padding-top: 50px; padding-bottom: 54px; }
  .home-hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .home-hero-actions { display: grid; grid-template-columns: 1fr; }
  .home-hero-actions .btn { width: 100%; }
  .home-hero-trust { gap: 10px 16px; }
  .home-hero-visual { width: 100%; }
  .home-hero-car { width: 112%; margin-left: -6%; }
  .home-hero-car-card { padding: 14px; border-radius: 22px 6px 22px 6px; }
  .home-hero-car-card img { margin-top: 32px; }
  .home-hero-car-meta { align-items: flex-start; flex-direction: column; }
  .home-hero-float-one { right: 4px; }
  .home-hero-float-two { left: -4px; bottom: 58px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-display);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--white) !important;
}

.btn-primary:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white) !important;
}

.btn-accent:hover {
  background-color: #d85c18;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: #ffffff !important;
  border: 2px solid #0B7285 !important;
  color: #092F44 !important;
  font-weight: 700 !important;
}

.btn-outline:hover {
  background-color: #0B7285 !important;
  color: var(--white) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

.btn-whatsapp {
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-whatsapp:hover {
  background-color: #20ba5a !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

.btn-call {
  background-color: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  border: none !important;
}

.btn-call:hover {
  background-color: #d85c18 !important;
  color: var(--white) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Fix specificity/conflicts for any remaining old elements */
.btn-primary.btn-outline,
.btn-accent.btn-outline {
  background-color: #ffffff !important;
  border: 2px solid #0B7285 !important;
  color: #092F44 !important;
}

.btn-primary.btn-outline:hover,
.btn-accent.btn-outline:hover {
  background-color: #0B7285 !important;
  color: var(--white) !important;
}

/* Ensure focus visibility on all buttons */
.btn:focus-visible,
.floating-btn:focus-visible,
a.btn:focus-visible {
  outline: 3px solid var(--accent) !important;
  outline-offset: 2px !important;
}

/* Grid layout for car cards buttons */
.card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
}

.card-actions .btn-whatsapp {
  grid-column: span 2 !important;
}

.card-actions .btn {
  min-width: 0;
  padding: 11px 8px;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Floating Controls */
.floating-controls {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  color: var(--white) !important;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  border: none;
}

.floating-btn svg {
  width: 24px;
  height: 24px;
}

.floating-btn::after {
  content: attr(data-label);
  position: absolute;
  right: 64px;
  background-color: var(--primary);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.floating-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.floating-call {
  background-color: #25D366; /* Note: Wait, call is standard green, whatsapp is green. Let's make call Accent or Navy */
  background-color: var(--accent);
}

.floating-whatsapp {
  background-color: #25D366;
}

.floating-chat {
  background-color: var(--primary);
}

/* Pulsing effect */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 122, 56, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(244, 122, 56, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 122, 56, 0); }
}

.pulse-animation {
  animation: pulse 2s infinite;
}
.pulse-animation:hover {
  animation-play-state: paused;
}

/* Chatbot Interface */
.chatbot-panel {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  height: 480px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 2000;
  overflow: hidden;
  border: 1px solid var(--border-color);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: var(--transition);
}

.chatbot-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #F8FAFC;
}

.chat-message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.chat-message-bot {
  background-color: var(--white);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.chat-message-user {
  background-color: var(--secondary);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
}

.chat-quick-reply {
  background-color: var(--bg-mist);
  color: var(--secondary);
  border: 1px solid rgba(11, 114, 133, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.chat-quick-reply:hover {
  background-color: var(--secondary);
  color: var(--white);
}

.chat-input-container {
  display: flex;
  border-top: 1px solid var(--border-color);
  background-color: var(--white);
}

.chat-input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 0.9rem;
  outline: none;
}

.chat-send-btn {
  background: none;
  border: none;
  color: var(--secondary);
  padding: 0 16px;
  cursor: pointer;
  transition: var(--transition);
}

.chat-send-btn:hover {
  color: var(--primary);
}

/* Google Map Section */
.location-map-section {
  padding: 64px 0;
  background-color: var(--bg-mist);
  border-top: 1px solid var(--border-color);
}

.location-map-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.location-map-heading h2 {
  display: block;
  margin: 6px 0 4px;
}

.location-map-heading p {
  margin: 0;
  color: var(--text-muted);
}

.location-map-eyebrow {
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.google-map-frame {
  height: 390px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.google-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .location-map-section {
    padding: 48px 0;
  }

  .location-map-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .location-map-heading .btn {
    width: 100%;
  }

  .google-map-frame {
    height: 320px;
  }
}

/* Footer Section */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding-top: 60px;
  padding-bottom: 24px;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col-brand {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .footer-col-brand {
    grid-column: span 1;
  }
}

.footer-logo {
  height: 108px;
  width: 108px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.footer-brand-text {
  color: rgba(246, 240, 230, 0.8);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-item a {
  color: rgba(246, 240, 230, 0.8);
  font-size: 0.9rem;
}

.footer-link-item a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(246, 240, 230, 0.8);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(246, 240, 230, 0.6);
}

.footer-credit,
.footer-business-note {
  display: inline-block;
  margin-left: 8px;
}

.footer-credit::before,
.footer-business-note::before {
  content: '•';
  margin-right: 8px;
  color: var(--accent);
}

.footer-credit strong {
  color: rgba(246, 240, 230, 0.92);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  list-style: none;
}

.footer-bottom-links a {
  color: rgba(246, 240, 230, 0.6);
}

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

/* Car Cards & Grids */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.fleet-segment-heading {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--primary), #0b7285);
  color: var(--white);
}

.fleet-segment-heading:first-child { margin-top: 0; }
.fleet-segment-heading span {
  display: block;
  margin-bottom: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.75;
}
.fleet-segment-heading h2 { color: inherit; font-size: clamp(1.3rem, 3vw, 1.75rem); }

@media (min-width: 1100px) {
  .car-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.car-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  container-type: inline-size;
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 114, 133, 0.3);
}

.car-card-img-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background-color: #F1F5F9;
  overflow: hidden;
}

.car-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.car-card:hover .car-card-img {
  transform: scale(1.05);
}

.car-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  z-index: 10;
}

.car-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.car-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.car-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.car-card-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(9, 47, 68, 0.05);
  padding-bottom: 12px;
}

.car-card-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.car-card-spec-item svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--secondary);
}

.car-card-spec-item span {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.car-card-pricing-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
}

.car-card-pricing-bar > div { width: 100%; }
.car-rate-label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.car-rate-list { display: grid; gap: 5px; width: 100%; }
.car-rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--bg-mist);
  font-size: 0.82rem;
}
.car-rate-row span { color: var(--primary); font-weight: 600; }
.car-rate-row strong { color: var(--accent); white-space: nowrap; font-size: clamp(0.72rem, 4cqi, 0.82rem); }

@container (max-width: 330px) {
  .car-card-specs { grid-template-columns: 1fr; }
  .car-card-content { padding: 16px; }
  .car-rate-row { gap: 8px; padding-inline: 8px; }
  .card-actions { gap: 8px !important; }
  .card-actions .btn { padding-inline: 6px; font-size: 0.78rem !important; }
}

@media (max-width: 380px) {
  .card-actions { grid-template-columns: 1fr !important; }
  .card-actions .btn-whatsapp { grid-column: auto !important; }
  .card-actions .btn { width: 100%; }
}

.car-card-price {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.15rem;
}

.car-card-price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: normal;
}

.car-card-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

/* Forms & Validation */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: var(--white);
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(11, 114, 133, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.error-message {
  font-size: 0.8rem;
  color: #D32F2F;
  margin-top: 4px;
  display: none;
}

.form-group.invalid .form-control {
  border-color: #D32F2F;
}

.form-group.invalid .error-message {
  display: block;
}

/* Custom Success Modal */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 47, 68, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.custom-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.custom-modal-content {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: translateY(-20px);
  transition: var(--transition);
}

.custom-modal.active .custom-modal-content {
  transform: translateY(0);
}

.modal-icon {
  width: 64px;
  height: 64px;
  background-color: var(--bg-mist);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
}

.modal-title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.modal-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* FAQ Accordion */
.accordion {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.accordion-header:hover {
  color: var(--secondary);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  color: var(--secondary);
}

.accordion.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 8px;
}

.accordion.active .accordion-content {
  max-height: 500px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
  padding-bottom: 16px;
}

/* Homepage rental editorial */
.new-car-detail-hero { position: relative; isolation: isolate; padding: 80px 0 60px; overflow: hidden; background: var(--primary); color: var(--white); text-align: center; }
.new-car-detail-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,47,68,.93) 0%, rgba(9,47,68,.79) 48%, rgba(11,114,133,.58) 100%); }
.new-car-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; display: block; }
.new-car-detail-hero .container { position: relative; z-index: 1; max-width: 800px; }
.new-car-detail-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 2.75rem); margin: 12px 0; }
.new-car-detail-hero p { color: rgba(255,255,255,.86); font-size: 1.08rem; margin: 0; }
.car-detail-category { display: inline-block; padding: 5px 13px; border-radius: 99px; background: var(--accent); color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.new-car-detail-main { padding: 80px 0; background: var(--white); }
.new-car-detail-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 48px; align-items: start; }
.new-car-image { aspect-ratio: 16 / 10; margin: 0 0 32px; overflow: hidden; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: #fafafa; }
.new-car-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.new-car-overview > p { line-height: 1.75; margin-bottom: 28px; }
.new-car-overview h2, .new-car-overview h3 { margin-bottom: 14px; }
.new-car-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-bottom: 30px; }
.new-car-spec-grid > div { min-width: 0; padding: 14px 16px; background: var(--bg-mist); border-radius: var(--radius-sm); }
.new-car-spec-grid span { display: block; margin-bottom: 3px; color: var(--text-muted); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.new-car-spec-grid strong { color: var(--primary); font-size: .92rem; overflow-wrap: anywhere; }
.new-car-note { padding: 22px; border-left: 4px solid var(--accent); border-radius: var(--radius-sm); background: #fff7ef; }
.new-car-note > strong { color: var(--primary); }
.new-car-note ul { margin: 10px 0 0 18px; line-height: 1.7; font-size: .9rem; }
.new-car-booking-card { position: sticky; top: 135px; padding: 30px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: #fafafa; box-shadow: var(--shadow-sm); }
.new-car-booking-card > span { display: block; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.new-car-price { margin: 4px 0; color: var(--primary); font-size: 2.2rem; font-weight: 800; text-align: center; }
.new-car-booking-card > p { margin-bottom: 22px; color: var(--text-muted); font-size: .8rem; text-align: center; }
.form-terms-row { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; }
.form-terms-row input { margin-top: 4px; }
.form-terms-row label { color: var(--text-muted); font-size: .78rem; line-height: 1.5; }
.new-car-submit { width: 100%; margin-top: 8px; }

.about-scenes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.about-scene-card { min-width: 0; background: var(--white); border: 1px solid var(--border-color); border-radius: 8px 24px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.about-scene-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.about-scene-card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.about-scene-card > div { padding: 24px; }
.about-scene-card span { display: block; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-scene-card h3 { margin: 8px 0 10px; color: var(--primary); font-size: 1.3rem; }
.about-scene-card p { margin-bottom: 18px; font-size: .9rem; line-height: 1.65; }
.about-scene-card small { display: block; padding-top: 14px; border-top: 1px solid var(--border-color); color: var(--secondary); font-weight: 700; line-height: 1.5; }

.rental-editorial { padding: 92px 0; background: #f7f2e9; color: var(--text-dark); overflow: hidden; }
.rental-editorial-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: end; margin-bottom: 44px; }
.rental-editorial-heading h2 { max-width: 650px; margin-top: 8px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.05; color: var(--primary); }
.rental-editorial-heading > p { font-size: 1.05rem; line-height: 1.75; margin: 0; }
.editorial-kicker, .article-number { color: var(--accent); font-family: var(--font-mono); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.editorial-feature { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--primary); color: var(--white); border-radius: 28px 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.editorial-feature-image { position: relative; min-height: 470px; margin: 0; }
.editorial-feature-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.editorial-feature-image figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; padding: 12px 16px; background: rgba(9,47,68,.84); backdrop-filter: blur(8px); border-radius: 4px 14px; font-size: .85rem; }
.editorial-feature-copy { padding: 58px 48px; display: flex; flex-direction: column; justify-content: center; }
.editorial-feature-copy h3 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.55rem); margin: 12px 0 18px; }
.editorial-feature-copy p { color: rgba(255,255,255,.84); line-height: 1.8; }
.article-note { display: grid; gap: 4px; margin-top: 26px; padding: 16px 18px; background: rgba(255,255,255,.1); border-left: 3px solid var(--accent); font-size: .88rem; }
.article-note strong { color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.rental-facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.rental-fact-card { padding: 36px; background: var(--white); border: 1px solid rgba(9,47,68,.1); border-radius: 6px 22px; }
.rental-fact-card--accent { background: #e76f34; color: var(--white); border-color: transparent; }
.rental-fact-card--accent .article-number, .rental-fact-card--accent h3, .rental-fact-card--accent .fact-display { color: var(--white); }
.rental-fact-card--accent .article-note { background: rgba(255,255,255,.14); }
.fact-display { display: block; margin: 18px 0 2px; color: var(--secondary); font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; }
.rental-fact-card h3 { margin: 10px 0; color: var(--primary); }
.rental-fact-card p { line-height: 1.7; }
.rental-fact-card--photo { grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.15fr; padding: 0; overflow: hidden; }
.rental-fact-card--photo img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.rental-fact-card--photo > div { padding: 42px; align-self: center; }
.rental-fact-card--photo a { display: inline-block; margin-top: 12px; color: var(--secondary); font-weight: 700; }
.booking-checklist-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 24px; border-radius: 18px 5px; overflow: hidden; }
.booking-checklist-strip > div { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 24px; background: var(--primary); color: var(--white); }
.booking-checklist-strip > div > span { color: var(--accent); font-size: 1.35rem; font-weight: 800; }
.booking-checklist-strip p { margin: 0; color: rgba(255,255,255,.76); font-size: .82rem; line-height: 1.55; }
.booking-checklist-strip strong { display: block; color: var(--white); font-size: .95rem; margin-bottom: 4px; }
.policy-essential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 36px; }
.policy-essential-grid > div { display: flex; flex-direction: column; padding: 18px; background: var(--bg-mist); border-top: 4px solid var(--secondary); border-radius: var(--radius-sm); }
.policy-essential-grid span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.policy-essential-grid strong { margin: 5px 0; color: var(--primary); font-size: 1.2rem; }
.policy-essential-grid small { line-height: 1.45; }

@media (max-width: 800px) {
  .new-car-detail-main { padding: 56px 0; }
  .new-car-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .new-car-booking-card { position: static; top: auto; padding: 24px; }
  .new-car-image { margin-bottom: 24px; }
  .about-scenes-grid { grid-template-columns: 1fr; }
  .about-scene-card { max-width: 560px; width: 100%; margin-inline: auto; }
  .about-scene-card img { height: clamp(210px, 58vw, 320px); }
  .rental-editorial { padding: 64px 0; }
  .rental-editorial-heading, .editorial-feature, .rental-fact-card--photo { grid-template-columns: 1fr; }
  .rental-editorial-heading { gap: 18px; }
  .editorial-feature-image { min-height: 330px; }
  .editorial-feature-copy { padding: 34px 24px; }
  .rental-facts-grid, .booking-checklist-strip, .policy-essential-grid { grid-template-columns: 1fr; }
  .rental-fact-card--photo { grid-column: auto; }
}

@media (max-width: 480px) {
  .new-car-detail-hero::after { background: linear-gradient(180deg, rgba(9,47,68,.88), rgba(9,47,68,.66)); }
  .new-car-hero-image { object-position: center; }
  .new-car-detail-main { padding: 42px 0; }
  .new-car-spec-grid { grid-template-columns: 1fr; gap: 10px; }
  .new-car-booking-card { padding: 20px 16px; }
}

/* Quick Navigation / Pre-footer blocks */
.quick-links-section {
  background-color: var(--bg-light);
  padding: 48px 0;
  border-top: 1px solid rgba(9, 47, 68, 0.05);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.quick-links-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 14px;
}

.quick-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.quick-links-list a {
  color: var(--text-muted);
}

.quick-links-list a:hover {
  color: var(--secondary);
}

/* Image Fallbacks */
.image-fallback {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 24px;
  text-align: center;
}

.image-fallback-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.8;
}
