/* ==========================================================================
   Car Rental Madeira — Modern Responsive Design System
   ========================================================================== */

:root {
  --navy-950: #07192f;
  --navy-900: #0b2545;
  --navy-800: #133863;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-50: #f0fdfa;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-600: #ea580c;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(11, 37, 69, 0.08), 0 4px 10px -4px rgba(11, 37, 69, 0.05);
  --shadow-lg: 0 24px 50px -12px rgba(7, 25, 47, 0.28);
  --container: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-900);
  background-color: var(--slate-50);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 0;
}

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

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--navy-900);
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= TOP UTILITY BAR ================= */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
  color: rgba(255, 255, 255, 0.9);
}

.topbar a:hover {
  color: var(--teal-500);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding: 6px 0;
}

.topbar-perks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar-perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.topbar-perk svg {
  color: var(--teal-500);
  flex-shrink: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.2s;
}

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

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--navy-900);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--teal-600) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--navy-900);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy-900);
  background: var(--slate-100);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-900);
  color: var(--white) !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--teal-600);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 12px 20px 20px;
}

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

.mobile-drawer a {
  display: block;
  padding: 12px 10px;
  font-weight: 600;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
}

.mobile-drawer a:last-of-type {
  border-bottom: none;
}

.mobile-drawer .mobile-cta {
  margin-top: 14px;
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--teal-600), var(--navy-900));
  color: var(--white) !important;
  padding: 13px 18px;
  border-radius: 12px;
  border-bottom: none;
}

/* ================= MAIN & INNER PAGE CONTAINER ================= */
.crm-main {
  min-height: 60vh;
}

.crm-page-container {
  padding-top: 36px;
  padding-bottom: 64px;
}

.crm-page-header {
  margin-bottom: 28px;
}

.crm-page-header h1 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.crm-page-header p {
  color: var(--slate-600);
  margin: 0;
  font-size: 1rem;
}

/* ================= CARDS (Replaces left_box / right_box / center_box) ================= */
.crm-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

.crm-card-header {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.crm-card-header h2,
.crm-card-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.crm-card-header a {
  color: #5eead4;
}

.crm-card-body {
  padding: 24px;
  color: var(--slate-700);
}

/* ================= LAYOUT GRIDS ================= */
.crm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.crm-layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.crm-layout-book {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(7, 25, 47, 0.90) 0%, rgba(11, 37, 69, 0.80) 48%, rgba(13, 148, 136, 0.58) 100%),
    url('images/background-madeira.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 52px 0 68px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.18);
  border: 1px solid rgba(20, 184, 166, 0.45);
  color: #99f6e4;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.25);
}

.hero h1 {
  font-size: clamp(2.05rem, 4vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--white);
}

.hero h1 span {
  color: #5eead4;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  margin-bottom: 26px;
}

.hero-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.check-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.25);
  color: #5eead4;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-stat strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.trust-stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ================= BOOKING CARD & FORM ================= */
.booking-card {
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.booking-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-100);
}

.booking-card-header h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 3px;
}

.booking-card-header p {
  font-size: 0.84rem;
  color: var(--slate-500);
  margin: 0;
}

.discount-pill {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid #fde68a;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-control {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1.5px solid var(--slate-200);
  border-radius: 11px;
  background: var(--slate-50);
  color: var(--slate-900);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
  outline: none;
}

textarea.form-control {
  height: auto;
  padding: 12px 13px;
  min-height: 110px;
}

.form-control:focus {
  background: var(--white);
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.datetime-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 8px;
}

.quote-summary-box {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #f0fdfa 0%, #eff6ff 100%);
  border: 1.5px solid #ccfbf1;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 2px;
}

.car-preview-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.car-thumb {
  width: 126px;
  height: 76px;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 4px;
  border: 1px solid var(--slate-200);
  flex-shrink: 0;
}

.car-preview-meta {
  min-width: 0;
}

.car-preview-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal-600);
  letter-spacing: 0.04em;
}

.car-preview-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 185px;
}

.price-display-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.price-display-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-500);
}

.price-input-group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.price-readonly {
  width: 82px;
  border: none;
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-900);
  text-align: right;
  outline: none;
}

.currency-select {
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-900);
  cursor: pointer;
}

.form-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 0.86rem;
  border-radius: 10px;
}

.btn-secondary {
  background: var(--slate-100);
  color: var(--navy-900);
  border: 1.5px solid var(--slate-200);
}

.btn-secondary:hover {
  background: var(--slate-200);
  color: var(--navy-900);
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--orange-600) 100%);
  color: var(--white) !important;
  box-shadow: 0 10px 20px -6px rgba(234, 88, 12, 0.42);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px -6px rgba(234, 88, 12, 0.52);
}

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

.btn-teal:hover {
  background: var(--navy-900);
}

.form-footnote {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ================= SECTIONS ================= */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--white);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--slate-600);
  font-size: 1rem;
  margin: 0;
}

/* ================= ADVANTAGES ================= */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.advantage-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #99f6e4;
}

.advantage-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.advantage-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin: 0;
}

/* ================= FLEET & PRICING CARDS ================= */
.fleet-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.car-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.car-card.hidden {
  display: none;
}

.car-card-media {
  position: relative;
  height: 220px;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
  display: grid;
  place-items: center;
  padding: 14px 18px;
}

.car-card-media img {
  max-height: 185px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

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

.car-group-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.car-discount-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.car-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.car-card-sub {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin: 0 0 14px;
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--slate-600);
}

.car-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.car-price strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
}

.car-price span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ================= RESPONSIVE DATA TABLES ================= */
.crm-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.crm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.crm-table th {
  background: var(--slate-100);
  color: var(--navy-900);
  font-weight: 700;
  text-align: left;
  padding: 13px 14px;
  border-bottom: 2px solid var(--slate-200);
  white-space: nowrap;
}

.crm-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
  vertical-align: middle;
}

.crm-table tbody tr:hover {
  background: #f8fafc;
}

.oldprices {
  text-decoration: line-through;
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 500;
}

.price-now {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-900);
}

.price-alt {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* ================= INCLUDED & EXTRAS ================= */
.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.info-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.info-panel h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 16px;
}

.included-list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--slate-700);
}

.included-list svg {
  color: var(--teal-600);
  margin-top: 3px;
  flex-shrink: 0;
}

.extras-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.extras-table tr {
  border-bottom: 1px solid var(--slate-200);
}

.extras-table tr:last-child {
  border-bottom: none;
}

.extras-table td {
  padding: 11px 4px;
  color: var(--slate-700);
}

.extras-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
}

/* ================= TRANSFERS BANNER ================= */
.transfer-card {
  background: linear-gradient(135deg, var(--navy-900) 0%, #10375c 60%, #0d6e6e 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.transfer-content {
  padding: 42px;
}

.transfer-content .section-eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #5eead4;
}

.transfer-content h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  color: var(--white);
  margin-bottom: 14px;
}

.transfer-content p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 22px;
}

.destination-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.destination-tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.transfer-media {
  height: 100%;
  min-height: 290px;
}

.transfer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= MADEIRA GUIDE & SIDEBAR CARDS ================= */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.guide-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.guide-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.guide-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
}

.guide-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.guide-card p {
  font-size: 0.86rem;
  color: var(--slate-600);
  margin: 0 0 14px;
  flex: 1;
}

.guide-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sidebar-links {
  display: grid;
  gap: 14px;
}

.sidebar-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: var(--slate-50);
  transition: all 0.2s;
}

.sidebar-link-card:hover {
  background: var(--white);
  border-color: var(--teal-500);
  transform: translateY(-1px);
}

.sidebar-link-card img {
  width: 68px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.sidebar-link-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 2px;
}

.sidebar-link-card p {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.35;
}

/* ================= FAQ ACCORDION ================= */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--teal-600);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 0.93rem;
  color: var(--slate-600);
}

/* ================= ALERT / NOTICE ================= */
.crm-alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.crm-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.crm-alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

/* ================= LEGACY CONTENT & FORM COMPATIBILITY ================= */
.crm-card-body table {
  max-width: 100%;
}

.myboxbody,
.myboxbody_2,
.myboxbody_3,
.myboxbody_left_2,
.myboxbody_center,
.myboxbody_center_2,
.myboxbody_center_3,
.myboxtextwhite,
.myboxtextwhite2 {
  color: var(--slate-700) !important;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.myboxbody_center_2,
.titles,
.myboxtextyellow,
.myboxtextyellow2 {
  color: var(--navy-900) !important;
  font-weight: 700;
}

.myboxtext,
.myboxtext3 {
  border: 1.5px solid var(--slate-200);
  border-radius: 9px;
  padding: 8px 11px;
  background: var(--slate-50);
  color: var(--slate-900);
  font-size: 0.92rem;
  max-width: 100%;
}

.myboxtext:focus {
  background: var(--white);
  border-color: var(--teal-600);
  outline: none;
}

.submit_button,
.submit_button_2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--orange-600) 100%);
  color: var(--white);
  transition: all 0.2s;
}

.submit_button_2 {
  background: var(--slate-100);
  color: var(--navy-900);
  border: 1.5px solid var(--slate-200);
}

.submit_button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px -4px rgba(234, 88, 12, 0.4);
}

.img_border_2 {
  border-radius: 10px;
  border: 1px solid var(--slate-200);
}

.navigation_big,
.navigation_big_2,
.myboxlink_2,
.myboxlink_3 {
  color: var(--teal-600) !important;
  font-weight: 600;
}

.navigation_big:hover,
.navigation_big_2:hover,
.myboxlink_2:hover,
.myboxlink_3:hover {
  color: var(--navy-900) !important;
  text-decoration: underline;
}

/* ================= FOOTER ================= */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 60px 0 28px;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer a:hover {
  color: #5eead4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 0.88rem;
  margin: 0;
  padding: 0;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.payment-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
}

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (max-width: 1024px) {
  .hero-grid,
  .crm-layout-sidebar,
  .crm-layout-book,
  .transfer-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .advantages-grid,
  .guide-grid,
  .guide-grid-3,
  .fleet-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .topbar-perks {
    display: none;
  }

  .hero {
    padding: 32px 0 44px;
  }

  .hero-checklist {
    grid-template-columns: 1fr;
  }

  .booking-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .form-grid,
  .form-actions,
  .crm-grid-2,
  .inclusions-grid,
  .advantages-grid,
  .fleet-grid,
  .guide-grid,
  .guide-grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-summary-box {
    flex-direction: column;
    align-items: stretch;
  }

  .price-display-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed var(--slate-300);
  }

  .section {
    padding: 48px 0;
  }

  .crm-card-body {
    padding: 18px 16px;
  }

  .transfer-content {
    padding: 28px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Make legacy personal booking form tables stack nicely on mobile */
  .crm-legacy-responsive table,
  .crm-legacy-responsive tbody,
  .crm-legacy-responsive tr,
  .crm-legacy-responsive td {
    display: block;
    width: 100% !important;
    text-align: left !important;
  }

  .crm-legacy-responsive td {
    padding: 4px 0;
  }
}

/* ================= GDPR COOKIE CONSENT BANNER ================= */
.crm-cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 960px;
  margin: 0 auto;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -12px rgba(7, 25, 47, 0.55);
  padding: 20px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.crm-cookie-banner.visible {
  display: flex;
}

.crm-cookie-text {
  font-size: 0.88rem;
  line-height: 1.55;
}

.crm-cookie-text strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.98rem;
  color: var(--white);
  margin-bottom: 4px;
}

.crm-cookie-text a {
  color: #5eead4;
  text-decoration: underline;
}

.crm-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.crm-cookie-btn-decline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.crm-cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.crm-cookie-btn-accept {
  background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-600) 100%);
  color: var(--white);
  border: none;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s;
}

.crm-cookie-btn-accept:hover {
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .crm-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
    gap: 14px;
  }

  .crm-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
