﻿/* ========================================
   CSS VARIABLES & BASE STYLES
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  /* GPU-accelerate nothing by default — only opt-in below */
}

/* Promote animated elements to their own compositor layers */
.card, .offer, .btn, .btn-login, .btn-register,
nav a, .account-dropdown, .logo {
  will-change: transform;
}

/* Contain layout thrash on isolated components */
.card, .offer {
  contain: layout style;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #efeae1; }
::-webkit-scrollbar-thumb { background: #d3cabb; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--amazon-orange); }

/* Text selection */
::selection { background: rgba(184,134,46,.22); color: #20242b; }

:root {
  /* Evec Tours — Light Luxury palette (gold + ink on warm ivory) */
  --amazon-orange: #b8862e;        /* deep gold (primary accent, readable on light) */
  --amazon-orange-soft: #d9b25b;   /* light gold (hover/highlight) */
  --amazon-orange-dark: #936a22;   /* deeper gold */
  --amazon-dark: #1b1f24;          /* near-black ink (dark text/elements) */
  --amazon-navy: #ffffff;          /* card/panel bg (now white) */
  --amazon-slate: #f1ece2;         /* warm hover surface */
  --amazon-light: #fbf8f3;         /* page background (warm ivory) */
  --amazon-white: #ffffff;         /* surfaces */

  /* Evec Blue (secondary, logo) */
  --evec-blue: #1d4e6b;
  --evec-blue-light: #2f6f92;
  --evec-blue-dark: #143a51;

  /* Text Colors — warm dark on light */
  --text-primary: #20242b;         /* ink */
  --text-muted: #6b7280;           /* muted gray */
  --text-secondary: #3a3f47;

  /* Hairline borders (light) */
  --border-dark: rgba(31, 35, 40, 0.10);
  --hairline: rgba(31, 35, 40, 0.10);
  --hairline-gold: rgba(184, 134, 46, 0.45);

  /* Aliases used by per-page styles */
  --primary-orange: #b8862e;
  --primary-orange-light: #d9b25b;
  --primary-orange-dark: #936a22;
  --dark-bg: #fbf8f3;
  --card-bg: #ffffff;
  --card-bg-hover: #fffdf9;
  --border-color: rgba(31, 35, 40, 0.10);
  --border-color-hover: rgba(184, 134, 46, 0.5);
  --glow-orange: rgba(184, 134, 46, 0.20);
  --glow-blue: rgba(29, 78, 107, 0.18);

  /* Typography */
  /* "--font-serif" kept as the name for back-compat; now a bold display sans */
  --font-serif: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== DARK THEME (opt-in via the header toggle) ===== */
html[data-theme="dark"] {
  --amazon-orange: #d2ab57;
  --amazon-orange-soft: #e7cd8e;
  --amazon-orange-dark: #d2ab57;
  --amazon-navy: #14161c;
  --amazon-slate: #20232b;
  --amazon-light: #0b0c10;
  --amazon-white: #14161c;
  --text-primary: #ece8e1;
  --text-muted: #9b958a;
  --text-secondary: #d8d4cc;
  --border-dark: rgba(255, 255, 255, 0.10);
  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-gold: rgba(210, 171, 87, 0.40);
  --primary-orange: #d2ab57;
  --primary-orange-light: #e7cd8e;
  --primary-orange-dark: #d2ab57;
  --dark-bg: #0b0c10;
  --card-bg: rgba(20, 22, 28, 0.75);
  --card-bg-hover: rgba(26, 28, 36, 0.9);
  --border-color: rgba(255, 255, 255, 0.10);
  --glow-orange: rgba(210, 171, 87, 0.25);
}
html[data-theme="dark"] h1 { color: #fbf9f4; }
html[data-theme="dark"] .hero h1 { color: #fbf9f4; }
html[data-theme="dark"] .site-header { background: rgba(11, 12, 16, 0.82); }
html[data-theme="dark"] .hero { background: linear-gradient(160deg, #0b0c10 0%, #14161c 100%); }
html[data-theme="dark"] ::-webkit-scrollbar-track { background: #0b0c10; }
html[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #2a2c33; }
html[data-theme="dark"] ::selection { background: rgba(210,171,87,.30); color: #fbf9f4; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--amazon-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
  animation: pageFadeIn .25s ease both;
  /* prevent layout shift on scroll */
  overflow-x: hidden;
  /* smoother scrolling */
  scroll-behavior: smooth;
}

/* NOTE: opacity-only — a residual transform on <body> would create a containing
   block that breaks position:fixed for the chat widget, WhatsApp button, etc. */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

a {
  color: var(--amazon-orange-soft);
  text-decoration: none;
}

/* lazy-load images — decode off main thread */
img {
  loading: lazy;
  decoding: async;
  content-visibility: auto;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
  margin: 8px 0;
}

.lead {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 400;
}

h1 {
  color: #1b1f24;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }

/* Utility Classes */
.meta {
  color: var(--text-muted);
  margin-bottom: 6px;
  font-size: 0.92rem;
}

/* Alert Messages */
.alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: .93rem;
  animation: slideDown .25s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.alert-error, .flash-error {
  background: #fdf2f2;
  border: 1px solid #f3c2c2;
  color: #b91c1c;
}

.alert-success, .flash-success {
  background: #f0faf4;
  border: 1px solid #b9e4cb;
  color: #15803d;
}

.alert-warning, .flash-warning {
  background: #fdf8ed;
  border: 1px solid #ecd9a8;
  color: #92600c;
}

.alert-info, .flash-info {
  background: #eef5fb;
  border: 1px solid #bcd6ee;
  color: #1d4e6b;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--amazon-orange);
  color: #0b0c10;
  border-color: var(--amazon-orange);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--amazon-orange-soft);
  border-color: var(--amazon-orange-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px var(--glow-orange);
  color: #0b0c10;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
  background: transparent;
  border-color: var(--amazon-orange);
  color: var(--amazon-orange);
  transform: translateY(-2px);
}

.btn-danger {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
}

.btn-danger:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* Form Elements */
input, textarea, select {
  font-family: inherit;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--amazon-light,#fbf8f3);
  color: var(--text-primary);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amazon-orange);
  box-shadow: 0 0 0 3px rgba(255,153,0,.15);
}

input:focus, select:focus, textarea:focus {
  outline: none;
}

/* Badges */
.badge {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--amazon-slate);
  border: 1px solid var(--hairline);
}

.badge.destination {
  background: rgba(29, 78, 107, 0.10);
  border-color: rgba(29, 78, 107, 0.28);
  color: var(--evec-blue-dark);
}

.badge.dates {
  background: rgba(184, 134, 46, 0.12);
  border-color: rgba(184, 134, 46, 0.32);
  color: var(--amazon-orange-dark);
}

/* Grid Layouts */
.grid, .offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

/* Card Base */
.card, .offer {
  background: var(--amazon-navy);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: 0 4px 18px -12px rgba(31, 35, 40, 0.20);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.card h3, .offer h3 {
  margin-top: 0;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1.25;
  text-shadow: none;
}

.card p, .offer p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 8px 0;
  font-size: 0.95rem;
}

.card:hover, .offer:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px -22px rgba(31, 35, 40, 0.30);
  border-color: var(--hairline-gold);
}

/* Card Image */
.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid var(--hairline);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Card Body */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  position: relative;
  z-index: 2;
  flex: 1;
}

/* Card Footer */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  position: relative;
}

/* Card Header */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.card-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

/* Status Badges */
.status {
  padding: 4px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.status-pending {
  background: #ffc107;
  color: #0f1722;
}

.status-confirmed {
  background: #16a34a;
  color: #ffffff;
}

.status-cancelled {
  background: #dc2626;
  color: #ffffff;
}

.status-completed {
  background: #0ea5e9;
  color: #ffffff;
}

/* Back Link */
.back-link {
  margin-top: 18px;
  color: var(--text-muted);
}

.back-link a {
  color: var(--amazon-orange);
}

/* Inline Form */
.inline-form {
  margin: 0;
}

/* Error Message */
.error-message {
  color: #ff9900;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: left;
}
/* ========================================
   LAYOUT & HEADER STYLES
   ======================================== */

/* Site Header */
.site-header {
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(251, 248, 243, 0.88);
}

/* menus are portalled to <body> by JS — these rules position them */
.account-menu.portalled,
.lang-menu.portalled {
  position: fixed !important;
  z-index: 99999 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: none;
}
.account-menu.portalled.open,
.lang-menu.portalled.open {
  display: block;
}

/* blur via pseudo-element so the header doesn't create a stacking context */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  z-index: -1;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  font-size: 1.45rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--amazon-orange), var(--amazon-orange-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
  transition: opacity .2s;
}

.logo:hover { opacity: .85; }

/* Navigation */
nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

nav a.active, nav a:hover {
  color: var(--amazon-orange);
  border-color: var(--amazon-orange);
}

/* Light/Dark theme toggle */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  width: 38px; height: 38px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  padding: 0;
}
.theme-toggle:hover { border-color: var(--amazon-orange); transform: translateY(-1px); }

/* Auth Buttons */
.btn-login, .btn-register {
  background: transparent;
  color: var(--amazon-orange-soft);
  border: 1px solid var(--amazon-orange-soft);
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: 8px;
  transition: all 0.2s ease;
}

.btn-login:hover, .btn-register:hover {
  background: var(--amazon-orange-soft);
  color: var(--amazon-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.btn-register {
  background: var(--amazon-orange);
  color: var(--amazon-dark);
  border: 1px solid var(--amazon-orange);
}

.btn-register:hover {
  background: var(--amazon-orange-soft);
  border-color: var(--amazon-orange-soft);
}

/* ── Account Dropdown ─────────────────────────────────── */
.account-dropdown { position: relative; margin-left: 8px; }

.account-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amazon-orange) 0%, var(--amazon-orange-dark) 100%);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow .18s, border-color .18s;
}
.account-btn--img { background: var(--amazon-light,#fbf8f3); }
.account-btn:hover, .account-btn.active {
  border-color: rgba(184,134,46,0.55);
  box-shadow: 0 0 0 3px rgba(184,134,46,0.18);
}
.acct-initial {
  color: #fff; font-weight: 800; font-size: 0.84rem;
  line-height: 1; pointer-events: none; user-select: none;
}
.acct-avatar-photo {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%;
  pointer-events: none;
}
.acct-avatar-lg-initial {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}

.account-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 248px;
  background: var(--amazon-white,#fff);
  border: 1px solid var(--hairline,rgba(31,35,40,.10));
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(31,35,40,0.18);
  overflow: hidden;
  z-index: 10000;
}
.account-dropdown.active .account-menu { display: block; animation: acctIn .14s ease; }
@keyframes acctIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.acct-header {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline,rgba(31,35,40,.10));
}
.acct-avatar-lg {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amazon-orange), var(--amazon-orange-dark));
  color: #fff; font-size: 1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  overflow: hidden;
}
.acct-header-info { min-width: 0; }
.acct-header-info strong { display: block; color: var(--text-primary); font-size: .9rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-header-info span  { display: block; color: var(--text-muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.acct-role {
  display: inline-block; margin-top: 5px; padding: 1px 7px;
  border-radius: 20px; font-size: .64rem; font-weight: 700; font-style: normal;
  letter-spacing: .07em; text-transform: uppercase;
  background: rgba(184,134,46,.12); color: var(--amazon-orange); border: 1px solid var(--hairline-gold,rgba(184,134,46,.45));
}

.acct-section { padding: 5px 0; }
.acct-divider { height: 1px; background: var(--hairline,rgba(31,35,40,.10)); }
.acct-section-label { padding: 8px 16px 3px; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }

.account-link {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 16px; color: var(--text-secondary); text-decoration: none;
  font-size: .86rem; transition: background .12s, color .12s;
}
.account-link svg { flex-shrink: 0; opacity: .55; transition: opacity .12s; }
.account-link:hover { background: rgba(184,134,46,.08); color: var(--text-primary); }
.account-link:hover svg { opacity: .9; }
.account-link--admin { color: var(--evec-blue); }
.account-link--admin svg { opacity: .5; }
.account-link--admin:hover { background: rgba(29,78,107,0.10); color: var(--evec-blue-dark); }
.account-link--admin:hover svg { opacity: .85; }

.acct-footer { border-top: 1px solid var(--hairline,rgba(31,35,40,.10)); padding: 5px 0; }
.logout-btn {
  display: flex; align-items: center; gap: 9px;
  width: 100%; padding: 9px 16px; background: transparent; border: none;
  color: #dc2626; cursor: pointer; font-size: .86rem; font-family: inherit;
  text-align: left; transition: background .12s;
}
.logout-btn svg { opacity: .7; flex-shrink: 0; }
.logout-btn:hover { background: rgba(220,38,38,0.08); }

/* Site Footer */
.site-footer {
  background: var(--amazon-slate,#f1ece2);
  border-top: 1px solid var(--border-dark);
  padding: 32px 0 24px;
  margin-top: 60px;
}

.site-footer p {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: .88rem;
}

.site-footer p a {
  color: var(--amazon-orange-soft);
  text-decoration: none;
}

.site-footer p a:hover {
  color: var(--amazon-orange);
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--hairline,rgba(31,35,40,.10));
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px 10px;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-toggle:hover { background: rgba(184,134,46,.08); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-wrap {
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 0;
    position: relative;
  }

  .mobile-nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--amazon-white,#fff);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 16px 32px rgba(31,35,40,.12);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 14px;
    z-index: 10001; /* above mascot z-index 9999 */
    animation: navSlide .22s ease;
  }
  @keyframes navSlide {
    from { opacity:0; transform: translateY(-8px); }
    to   { opacity:1; transform: translateY(0); }
  }

  .site-header nav.active { display: flex; }

  .site-header nav a {
    padding: 13px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: .95rem;
  }
  .site-header nav a.active,
  .site-header nav a:hover {
    background: rgba(184,134,46,.08);
    border-left-color: var(--amazon-orange);
    color: var(--amazon-orange);
  }

  /* lang picker + account inside mobile nav */
  .lang-picker { padding: 10px 20px; }
  .account-dropdown { margin: 4px 16px 0; width: calc(100% - 32px); position: static; }
  .account-btn { width: 36px; height: 36px; border-radius: 50%; }
  .account-dropdown.active .account-menu { position: static; animation: none; box-shadow: none; border: 1px solid var(--hairline,rgba(31,35,40,.10)); margin-top: 8px; }
  .btn-login, .btn-register { margin: 4px 20px 0; width: calc(100% - 40px); display: block; text-align: center; }
}

/* ── Tablet ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .container { width: 95%; }
  .grid, .offers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .detail, .contact-box { grid-template-columns: 1fr; }
  .auth-section { padding: 60px 40px; }
  .auth-container { max-width: 500px; }
}

/* ── Desktop ── */
@media (min-width: 1025px) {
  .container { width: 90%; }
  .grid, .offers-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .detail, .contact-box { grid-template-columns: 1.25fr 1fr; }
  .auth-section { padding: 80px 0; }
  .auth-container { max-width: 600px; }
}
/* ========================================
COMPONENT STYLES
======================================== */

/* ========== HERO SECTION ========== */
/* Already in your components.css */



.hero {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(160deg, var(--amazon-light) 0%, #f6efe3 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(184, 134, 46, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.hero .eyebrow {
    color: var(--amazon-orange-dark);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: none;
}

.hero h1 {
    color: #1b1f24;
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    margin: 0 0 16px 0;
    line-height: 1.1;
    text-shadow: none;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 13px 28px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 2px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.hero-actions .btn-primary {
    background: var(--amazon-orange);
    color: #1b1f24;
    box-shadow: none;
    border: 1px solid var(--amazon-orange);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px var(--glow-orange);
    background: var(--amazon-orange-soft);
}

.hero-actions .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-dark);
    backdrop-filter: none;
}

.hero-actions .btn-secondary:hover {
    background: transparent;
    border-color: var(--amazon-orange);
    color: var(--amazon-orange);
}

/* ========== VOYAGES SECTION ========== */
.voyages-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--amazon-light) 0%, var(--amazon-navy) 100%);
    position: relative;
    overflow: hidden;
}

/* ========== ADMIN TABLES ========== */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    background: var(--amazon-white);

    border-radius: 12px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border-dark);
    text-align: left;
    color: var(--text-muted);
}
/* Header style for admin tables – dark navy background with primary text for better contrast */
.admin-table th {
    background: var(--amazon-navy);
    color: var(--text-primary);
    font-weight: 600;
}

.admin-table tr:hover {
    background: rgba(255, 153, 0, 0.08);
}

/* Ensure tables have a reasonable minimum width and consistent spacing */
.admin-table {
    min-width: 800px;
}

/* Enhance the container that wraps admin tables – similar to the reservations page container */
/* Enhanced container for admin tables – provides a distinct card‑like appearance */
/* Container for admin tables – mirrors the styling of the reservations page table container */
.admin-table-container {
    margin-top: 24px;
    background: var(--amazon-white);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.2);
    padding: 24px; /* provides consistent inner spacing */
}

/* The container styling defined above already provides the desired appearance, so the duplicate optional block has been removed. */

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title-row h2 {
    color: var(--text-primary);
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 600;
    margin: 0;
    -webkit-text-fill-color: currentColor;
    background: none;
}

.section-title-row a {
    color: var(--amazon-orange-soft);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.section-title-row a:hover {
    background: rgba(255, 153, 0, 0.1);
    transform: translateX(5px);
}

/* ========== FILTER BAR ========== */
.filter-bar {
    background: var(--amazon-white);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 32px;
}

.filter-form {
    width: 100%;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 140px;
}

.filter-field label {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-field input,
.filter-field select {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-dark);
    background: var(--amazon-white);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.filter-field input:focus,
.filter-field select:focus {
    border-color: var(--amazon-orange);
}

.filter-field input::placeholder {
    color: var(--text-muted);
}

.filter-field select {
    cursor: pointer;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.btn-filter {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: var(--amazon-orange);
    color: var(--amazon-dark);
}

.btn-filter:hover {
    background: var(--amazon-orange-soft);
}

.btn-filter-clear {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-dark);
}

.btn-filter-clear:hover {
    background: var(--amazon-slate);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .filter-bar {
        padding: 16px;
    }
    .filter-row {
        flex-direction: column;
    }
    .filter-field {
        width: 100%;
    }
    .filter-buttons {
        width: 100%;
    }
    .btn-filter {
        flex: 1;
    }
}

/* ========== VOYAGE CARD ========== */
.voyage-card {
    border: 1px solid var(--hairline);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.voyage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.voyage-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
    padding: 32px;
}

.voyage-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.voyage-card h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.voyage-card p {
    color: var(--text-muted);
}

.voyage-card .card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--hairline);
}

.voyage-card .btn-primary {
    background: var(--amazon-orange);
    border: 1px solid var(--amazon-orange);
    color: #1b1f24;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.voyage-card .btn-primary:hover {
    background: var(--amazon-orange-soft);
    border-color: var(--amazon-orange-soft);
}

/* ========== OFFER CARD ========== */
.offer::before, .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--amazon-orange) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.offer::after, .card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, var(--hairline-gold), transparent 60%, var(--hairline-gold));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.offer:hover::before, .card:hover::before {
    opacity: 1;
}

.offer:hover::after, .card:hover::after {
    opacity: 1;
}

.offer h3 span, .card h3 span {
    background: var(--amazon-orange);
    color: #0b0c10;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 153, 0, 0.3);
}

.offer p strong, .card-footer strong, .offer p strong {
    color: var(--amazon-orange-dark);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    text-shadow: none;
}

.offer > a, .card-footer > a {
    margin-top: auto;
    align-self: flex-start;
    color: #0a0f1c;
    background: linear-gradient(135deg, var(--amazon-orange), var(--amazon-orange-soft));
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    border: 1px solid rgba(255, 153, 0, 0.2);
}

.offer > a:hover, .card-footer > a:hover {
    background: linear-gradient(135deg, var(--amazon-orange-soft), #ffffff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
    color: #0a0f1c;
}

/* ========== FUTURISTIC OFFER ========== */
.futuristic-offer {
    border: 1px solid var(--hairline);
    background: var(--amazon-white);
    backdrop-filter: none;
    position: relative;
    overflow: hidden;
}

.futuristic-offer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}

.futuristic-offer .offer-banner {
    min-height: 160px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--hairline);
    position: relative;
}

.futuristic-offer .offer-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 16, 22, 0.05), rgba(12, 16, 22, 0.45));
}

.futuristic-offer .offer-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: var(--amazon-orange);
    color: #1b1f24;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 0.70rem;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.08em;
}

.futuristic-offer .offer-body {
    position: relative;
    padding: 22px;
    z-index: 1;
}

.futuristic-offer .offer-body h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.45rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.futuristic-offer .offer-body h3 span {
    background: rgba(184, 134, 46, 0.14);
    color: var(--amazon-orange-dark);
    border: 1px solid rgba(184, 134, 46, 0.35);
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 0.75rem;
}

.futuristic-offer .offer-desc {
    color: var(--text-muted);
    margin: 12px 0;
}

.futuristic-offer .offer-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 14px;
}

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

.futuristic-offer .price-block small {
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.futuristic-offer .price-block p {
    margin: 2px 0 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.futuristic-offer .price-block p strong {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--amazon-orange-dark);
}

.futuristic-offer .price-block del {
    color: var(--text-muted);
    opacity: 0.7;
}

.futuristic-offer .btn-primary {
    background: var(--amazon-orange);
    border: 1px solid var(--amazon-orange);
    color: #1b1f24;
    padding: 11px 20px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.futuristic-offer .btn-primary:hover {
    background: var(--amazon-orange-soft);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px var(--glow-orange);
}

/* ========== DETAIL PAGE ========== */
.detail {
    display: grid;
    grid-template-columns: minmax(240px, 400px) 1fr;
    gap: 28px;
    background: var(--amazon-white);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    overflow: hidden;
}

.voyage-detail-card {
    border-color: var(--amazon-navy);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.voyage-detail-image {
    filter: brightness(0.9);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.voyage-detail-content {
    padding: 24px;
}

.voyage-headline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.voyage-headline h1 {
    margin: 0;
    font-size: 2rem;
    color: var(--text-primary);
}

.voyage-description, .voyage-price {
    color: var(--text-muted);
    margin: 12px 0;
}

.voyage-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    background: rgba(29, 40, 56, 0.6);
    border: 1px solid rgba(62, 78, 99, 0.5);
    border-radius: 12px;
    padding: 14px;
}

.voyage-info div {
    line-height: 1.4;
}

.voyage-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-content {
    padding: 24px;
}

.detail-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.activity-list {
    padding-left: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 14px;
    padding-top: 10px;
}

.activity-list li {
    margin-bottom: 10px;
}

/* ========== RESERVATION CARD ========== */
.reservation-card {
    background: var(--amazon-white);
    border: 1px solid var(--border-dark);
    border-left: 4px solid var(--amazon-orange);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.reservation-header h2 {
    margin: 0;
    color: #f8f8f8;
    font-size: 1.5rem;
}

.reservation-meta p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.reservation-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.reservation-info-grid div {
    background: var(--amazon-light,#fbf8f3);
    border: 1px solid var(--hairline,rgba(31,35,40,.10));
    border-radius: 12px;
    padding: 12px;
}

.reservation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    margin-top: 12px;
}

/* ========== SETTINGS CARD ========== */
.settings-card {
    background: var(--amazon-white);
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    padding: 22px;
    max-width: 720px;
}

/* ========== CONTACT BOX ========== */
.contact-box {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 20px;
}

.contact-form, .contact-info {
    background: var(--amazon-white);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 16px;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    border: 1px solid var(--border-dark);
    background: var(--amazon-light,#fbf8f3);
    color: var(--text-primary);
    border-radius: 9px;
    padding: 10px;
    font: inherit;
}

.contact-info h3, section h1, section h2 {
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-muted);
}

/* ========== AUTH PAGES ========== */
.auth-section {
    padding: 40px 20px;
    text-align: center;
}

.auth-container {
    max-width: 400px;
    margin: 0 auto;
}

/* ========== IMAGE GALLERY ========== */
.image-gallery {
    position: relative;
    overflow: hidden;
}

.gallery-container {
    position: relative;
}

.gallery-main {
    position: relative;
    overflow: hidden;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.gallery-nav:hover {
    background: rgba(255, 153, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.image-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 10;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--amazon-orange) transparent;
    background: rgba(0, 0, 0, 0.2);
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--amazon-orange);
    border-radius: 3px;
}

.thumbnail {
    width: 70px;
    height: 50px;
    object-fit: contain;
    object-position: center;
    background: var(--amazon-light,#fbf8f3);
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
    flex-shrink: 0;
    padding: 4px;
    box-sizing: border-box;
}

.thumbnail:hover {
    opacity: 0.9;
    transform: scale(1.05);
    border-color: rgba(255, 153, 0, 0.5);
}

.thumbnail.active {
    border-color: var(--amazon-orange);
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 153, 0, 0.5);
}

.voyage-detail-card .image-gallery {
    min-height: 280px;
}

@media (max-width: 768px) {
    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .gallery-prev {
        left: 8px;
    }
    .gallery-next {
        right: 8px;
    }
    .thumbnail {
        width: 60px;
        height: 42px;
    }
    .image-counter {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}
/* ========================================
   MOBILE & TOUCH — comprehensive pass
   ======================================== */
@media (max-width: 768px) {

  /* Hero */
  .hero { padding: 40px 16px 36px; }
  .hero h1 { font-size: 2rem; line-height: 1.22; }
  .hero p  { font-size: 1rem; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; padding: 13px 20px; font-size: .95rem; }

  /* Voyages / Offers grid → single column */
  .voyages-section { padding: 32px 16px; }
  .grid, .offers-grid, .recommendations-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
    padding: 0;
  }

  /* Voyage card */
  .voyage-card .card-body { padding: 18px; gap: 8px; }
  .voyage-card h3 { font-size: 1.15rem; }
  .voyage-footer { flex-direction: column; gap: 10px; }
  .voyage-footer .btn { width: 100%; text-align: center; }

  /* Offer card */
  .offer { border-radius: 14px; }
  .offer-image { height: 180px; }

  /* Section headers */
  .section-title-row {
    flex-direction: column; gap: 10px; text-align: center;
  }
  .section-title { font-size: 1.4rem; }

  /* Buttons — bigger tap targets */
  .btn { min-height: 44px; padding: 11px 18px; }

  /* Forms */
  .form-group { margin-bottom: 14px; }
  .form-control { font-size: 16px; } /* prevent iOS zoom */
  input, select, textarea { font-size: 16px !important; }

  /* Auth */
  .auth-section { padding: 32px 16px; }
  .auth-container { max-width: 100%; padding: 24px 18px; }

  /* Contact */
  .contact-hero { padding: 40px 16px 32px; }
  .contact-box  { grid-template-columns: 1fr; gap: 24px; padding: 0; }
  .contact-form, .contact-info { padding: 0; }

  /* Detail page */
  .detail { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .detail-image  { min-height: 220px; border-radius: 14px 14px 0 0; }
  .detail-content { padding: 18px 16px; }

  /* Tables → scrollable */
  .admin-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Flash messages */
  .flash-success, .flash-error, .flash-info, .alert {
    margin: 8px 16px; font-size: .9rem;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 { font-size: 2.4rem; }
  .grid, .offers-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .voyages-section { padding: 48px 24px; }
}

/* =============================================
   TRAVAGIR — UI ENHANCEMENTS
   ============================================= */

/* ── Page transition — animate #pg wrapper, NOT body, so fixed mascot/canvas are unaffected ── */
/* NOTE: 'backwards' (not 'both') — 'both' would keep transform:translateY(0) on
   #pg permanently, and a transform on this ancestor breaks position:sticky for the
   header inside it. 'backwards' plays the entrance then drops the transform. */
#pg { animation: tg-page-in .28s ease backwards; }
@keyframes tg-page-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.tg-leaving #pg { opacity: 0; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease; }

/* ── Toast notifications ── */
#tg-toast-rack {
  position: fixed;
  bottom: 24px; left: 24px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 99996;
  pointer-events: none;
}
.tg-toast {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  font-family: Inter, sans-serif; font-size: 13.5px; font-weight: 600;
  color: #f1f5f9;
  background: rgba(15,23,42,.96);
  border: 1px solid rgba(99,140,255,.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,.45), 0 0 0 1px rgba(99,140,255,.08);
  pointer-events: auto;
  max-width: 320px;
  animation: tg-toast-in .32s cubic-bezier(.34,1.56,.64,1) both;
}
.tg-toast.out { animation: tg-toast-out .22s ease forwards; }
@keyframes tg-toast-in {
  from { opacity:0; transform: translateX(-24px) scale(.94); }
  to   { opacity:1; transform: translateX(0) scale(1); }
}
@keyframes tg-toast-out {
  to { opacity:0; transform: translateX(-16px) scale(.94); max-height:0; padding:0; margin:0; }
}
.tg-toast-icon { font-size: 16px; flex-shrink: 0; }
.tg-toast-msg  { flex: 1; }
.tg-toast-close {
  background: none; border: none; color: #64748b;
  font-size: 14px; cursor: pointer; padding: 0 0 0 4px;
  transition: color .15s;
}
.tg-toast-close:hover { color: #f1f5f9; }
.tg-toast.success { border-color: rgba(34,197,94,.3);  background: rgba(10,30,20,.96); }
.tg-toast.error   { border-color: rgba(239,68,68,.3);  background: rgba(30,10,10,.96); }
.tg-toast.info    { border-color: rgba(99,140,255,.3); }
.tg-toast.warning { border-color: rgba(251,191,36,.3); background: rgba(30,25,5,.96); }
/* progress bar */
.tg-toast::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  height: 2px; border-radius: 0 0 14px 14px;
  background: currentColor; opacity: .35;
  animation: tg-toast-bar var(--dur, 4s) linear forwards;
}
.tg-toast { position: relative; overflow: hidden; }
@keyframes tg-toast-bar { from { width:100%; } to { width:0; } }

/* ── Back to top ── */
#tg-top {
  position: fixed; bottom: 150px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(15,23,42,.92);
  border: 1px solid rgba(99,140,255,.25);
  color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 9990;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s cubic-bezier(.34,1.56,.64,1), background .18s, color .18s;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
#tg-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#tg-top:hover { background: rgba(79,110,247,.85); color: #fff; border-color: transparent; }
#tg-top svg { width: 18px; height: 18px; }

/* ── Skeleton loaders ── */
.tg-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.04) 75%);
  background-size: 200% 100%;
  animation: tg-shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes tg-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.tg-skeleton-card {
  border-radius: 20px;
  border: 1px solid var(--hairline,rgba(31,35,40,.10));
  overflow: hidden;
  background: var(--amazon-light,#fbf8f3);
}
.tg-skeleton-img  { height: 200px; }
.tg-skeleton-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.tg-skeleton-line { height: 14px; border-radius: 6px; }
.tg-skeleton-line.w-80 { width: 80%; }
.tg-skeleton-line.w-60 { width: 60%; }
.tg-skeleton-line.w-40 { width: 40%; }
.tg-skeleton-btn  { height: 38px; border-radius: 10px; margin-top: 6px; }

/* ── Empty state ── */
.tg-empty {
  text-align: center;
  padding: 64px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.tg-empty-icon {
  font-size: 52px;
  filter: grayscale(1) opacity(.55);
  animation: tg-empty-float 3s ease-in-out infinite;
}
@keyframes tg-empty-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.tg-empty h3 { color: var(--text-primary); font-size: 1.5rem; font-weight: 600; margin: 0; }
.tg-empty p  { color: var(--text-muted); font-size: .92rem; margin: 0; max-width: 320px; line-height: 1.6; }
.tg-empty .btn { margin-top: 6px; }

/* ── Image blur-up ── */
.tg-img-wrap { position: relative; overflow: hidden; background: var(--amazon-light,#fbf8f3); }
.tg-img-wrap img {
  transition: opacity .4s ease, filter .4s ease;
}
.tg-img-wrap img.loading {
  opacity: 0; filter: blur(12px) scale(1.04);
}
.tg-img-wrap img.loaded {
  opacity: 1; filter: blur(0) scale(1);
}

/* ── Confirm dialog ── */
#tg-confirm-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 99995;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
#tg-confirm-overlay.open { opacity: 1; pointer-events: auto; }
#tg-confirm-box {
  background: var(--amazon-white,#fff);
  border: 1px solid var(--hairline,rgba(31,35,40,.10));
  border-radius: 20px;
  padding: 28px 28px 22px;
  width: min(360px, calc(100vw - 32px));
  box-shadow: 0 24px 64px rgba(31,35,40,.22);
  transform: scale(.94) translateY(10px);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1);
}
#tg-confirm-overlay.open #tg-confirm-box { transform: scale(1) translateY(0); }
#tg-confirm-icon { font-size: 32px; margin-bottom: 10px; }
#tg-confirm-title { font-family: Inter,sans-serif; font-size: 16px; font-weight: 800; color: var(--text-primary); margin: 0 0 6px; }
#tg-confirm-msg   { font-family: Inter,sans-serif; font-size: 13px; color: var(--text-muted); margin: 0 0 22px; line-height: 1.6; }
.tg-confirm-btns  { display: flex; gap: 10px; justify-content: flex-end; }
.tg-confirm-btns button {
  padding: 9px 20px; border-radius: 10px; border: none;
  font-family: Inter,sans-serif; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.tg-confirm-btns button:hover { transform: scale(1.04); }
.tg-confirm-cancel { background: var(--amazon-light,#fbf8f3); color: var(--text-secondary); border: 1px solid var(--hairline,rgba(31,35,40,.10)); }
.tg-confirm-ok     { background: linear-gradient(135deg,#ef4444,#dc2626); color: #fff; }
.tg-confirm-ok.safe { background: linear-gradient(135deg,#4f6ef7,#6366f1); }

/* ── Share button ── */
.tg-share-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(99,140,255,.2);
  background: rgba(29,78,107,.08); color: var(--evec-blue);
  font-family: Inter,sans-serif; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: background .18s, border-color .18s, transform .18s;
}
.tg-share-btn:hover { background: rgba(99,140,255,.18); border-color: rgba(99,140,255,.4); transform: scale(1.04); }
.tg-share-btn svg { width: 13px; height: 13px; }

/* ── Recently viewed ── */
.tg-recent-section { margin: 40px 0 0; }
.tg-recent-section h3 {
  font-family: Inter,sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--text-muted); margin: 0 0 14px; text-transform: uppercase; letter-spacing: .6px;
}
.tg-recent-row {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: none;
}
.tg-recent-row::-webkit-scrollbar { display: none; }
.tg-recent-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 14px; flex-shrink: 0;
  background: var(--amazon-light,#fbf8f3); border: 1px solid var(--hairline,rgba(31,35,40,.10));
  text-decoration: none; color: var(--text-primary);
  font-family: Inter,sans-serif; font-size: 13px; font-weight: 600;
  transition: background .18s, border-color .18s, transform .2s;
  max-width: 180px;
}
.tg-recent-chip:hover { background: rgba(29,78,107,.08); border-color: var(--hairline-gold,rgba(184,134,46,.45)); transform: translateY(-2px); color: var(--text-primary); }
.tg-recent-thumb {
  width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.tg-recent-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Countdown timer ── */
.tg-countdown {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: Inter,sans-serif; font-size: 12px; font-weight: 700;
  color: var(--amazon-orange-dark); background: rgba(184,134,46,.10);
  border: 1px solid rgba(184,134,46,.30);
  border-radius: 6px; padding: 4px 10px;
  margin-top: 6px;
}
.tg-countdown.urgent { color: #f87171; background: rgba(248,113,113,.1); border-color: rgba(248,113,113,.3); animation: tg-urgency 1s ease-in-out infinite; }
@keyframes tg-urgency { 0%,100%{opacity:1} 50%{opacity:.6} }
.tg-countdown-icon { font-size: 13px; }

/* ── Form autosave indicator ── */
.tg-autosave {
  font-family: Inter,sans-serif; font-size: 11px; font-weight: 600;
  color: #22c55e; opacity: 0;
  transition: opacity .3s;
  display: flex; align-items: center; gap: 4px;
}
.tg-autosave.visible { opacity: 1; }

/* ── Button loading spinner ── */
@keyframes tg-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  #tg-toast-rack { bottom: 16px; left: 16px; right: 16px; }
  .tg-toast { max-width: 100%; }
  #tg-top { bottom: 80px; right: 16px; }
}

/* ========================================
   VOYAGE DETAIL PAGE STYLES
   ======================================== */

/* ========== VOYAGE HERO ========== */
.voyage-hero {
  position: relative;
  height: 450px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0f1c 0%, #1a2f4a 50%, #0f1722 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(68, 121, 207, 0.1) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.voyage-hero .image-gallery {
  height: 100%;
}

.voyage-hero .gallery-main {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.voyage-hero-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 30px;
  filter: brightness(0.9) contrast(1.05);
  box-sizing: border-box;
  position: absolute;
}

.gallery-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 28, 0) 0%, rgba(10, 15, 28, 0.3) 50%, rgba(10, 15, 28, 0.8) 100%);
  pointer-events: none;
}

/* ========== VOYAGE DETAIL CONTAINER ========== */
.voyage-detail-container {
  position: relative;
  margin-top: -80px;
  padding-bottom: 40px;
}

.voyage-detail-wrapper {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 0 20px;
}

.voyage-main-card {
  background: var(--amazon-white);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 24px 50px -28px rgba(31, 35, 40, 0.30);
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.voyage-main-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

/* ========== VOYAGE HEADER SECTION ========== */
.voyage-header-section {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.voyage-headline-enhanced {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.headline-content {
  flex: 1;
}

.meta-location {
  color: var(--amazon-orange-dark);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-shadow: none;
}

.voyage-title-premium {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
  line-height: 1.1;
}

.voyage-tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-style: italic;
  margin: 0;
}

.voyage-date-badge {
  background: rgba(184, 134, 46, 0.10);
  border: 1px solid rgba(184, 134, 46, 0.30);
  border-radius: 8px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.badge-icon {
  font-size: 1.8rem;
}

.badge-text {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
}

/* ========== VOYAGE QUICK INFO ========== */
.voyage-quick-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.info-card {
  background: #fbf8f3;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-smooth);
}

.info-card:hover {
  background: #fffdf9;
  border-color: var(--hairline-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -18px rgba(31, 35, 40, 0.25);
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-value {
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

/* ========== VOYAGE SEPARATOR ========== */
.voyage-separator {
  height: 1px;
  background: var(--hairline);
  margin: 32px 0;
}

/* ========== VOYAGE DESCRIPTION SECTION ========== */
.voyage-description-section {
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.voyage-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
  padding: 20px;
  background: #fbf8f3;
  border-left: 3px solid var(--amazon-orange);
  border-radius: 8px;
}

/* ========== VOYAGE ACTIVITIES SECTION ========== */
.voyage-activities-section {
  margin-bottom: 40px;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.activity-card {
  background: #fbf8f3;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 24px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.activity-card:hover {
  background: #fffdf9;
  border-color: var(--hairline-gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(31, 35, 40, 0.25);
}

.activity-card:hover::before {
  opacity: 1;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.activity-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
}

.activity-duration {
  color: var(--amazon-orange);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.activity-description {
  color: var(--text-muted);
  margin: 12px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.activity-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  position: relative;
  z-index: 1;
}

.activity-price {
  color: var(--amazon-orange-soft);
  font-size: 1.4rem;
  font-weight: 800;
}

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

/* ========== VOYAGE ACTIONS ========== */
.voyage-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-reserve {
  background: linear-gradient(135deg, var(--amazon-orange) 0%, var(--amazon-orange-soft) 100%);
  border: none;
  color: #0a0f1c;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-reserve:hover {
  background: linear-gradient(135deg, var(--amazon-orange-soft) 0%, #ffffff 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(255, 153, 0, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-primary);
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(68, 121, 207, 0.2);
  border-color: rgba(68, 121, 207, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(68, 121, 207, 0.2);
}

/* ========== VOYAGE OFFER SECTION ========== */
.voyage-offer-section {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

.offer-banner {
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.1) 0%, rgba(68, 121, 207, 0.1) 100%);
  border: 2px solid rgba(255, 153, 0, 0.4);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 8px 32px rgba(255, 153, 0, 0.15);
}

.offer-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amazon-orange), var(--amazon-orange-soft), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.offer-badge-large {
  display: inline-block;
  background: linear-gradient(135deg, var(--amazon-orange), var(--amazon-orange-soft));
  color: #0a0f1c;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.offer-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amazon-orange-soft);
  margin: 8px 0;
}

.offer-description {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 12px 0 16px 0;
  line-height: 1.5;
}

.offer-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.offer-discount {
  display: inline-block;
  color: var(--amazon-orange-soft);
  font-size: 1.2rem;
  font-weight: 800;
  padding: 8px 12px;
  background: rgba(255, 153, 0, 0.15);
  border-radius: 8px;
  border: 1px solid rgba(255, 153, 0, 0.3);
}

.offer-expiry {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.offer-badge {
  display: inline-block;
  margin-top: 8px;
  color: var(--amazon-orange-soft);
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(255, 153, 0, 0.15);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 153, 0, 0.3);
}

/* ========== ANIMATIONS ========== */
@keyframes cardGlow {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(68, 121, 207, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

/* Background Patterns */
.voyages-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(68, 121, 207, 0.05) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(255, 153, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: rgba(255, 153, 0, 0.1);
  border-radius: 50%;
  filter: blur(20px);
  animation: float 6s ease-in-out infinite;
}

.hero::before {
  content: '';
  position: absolute;
  top: 60%;
  right: 15%;
  width: 60px;
  height: 60px;
  background: rgba(68, 121, 207, 0.1);
  border-radius: 50%;
  filter: blur(15px);
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .voyage-main-card {
    padding: 24px;
  }
  
  .voyage-title-premium {
    font-size: 2rem;
  }
  
  .voyage-headline-enhanced {
    flex-direction: column;
  }
  
  .voyage-date-badge {
    width: 100%;
    justify-content: center;
  }
  
  .activities-grid {
    grid-template-columns: 1fr;
  }
  
  .voyage-actions {
    flex-direction: column;
  }
  
  .btn-reserve, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .voyage-quick-info {
    grid-template-columns: 1fr;
  }
  
  .voyage-hero {
    height: 300px;
  }
  
  .offer-banner {
    padding: 24px;
  }
  
  .offer-title {
    font-size: 1.2rem;
  }
  
  .offer-details {
    flex-direction: column;
    gap: 12px;
  }
}
/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* ========== HERO SECTION ========== */
.contact-hero-section {
  position: relative;
  padding: 120px 20px 100px;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35, 47, 75, 0.92), rgba(19, 26, 34, 0.97)), url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1200&q=80') center/cover;
  z-index: -1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255, 153, 0, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(68, 121, 207, 0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  animation: slideInUp 0.8s ease-out;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.15), rgba(68, 121, 207, 0.1));
  color: var(--primary-orange-light);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 153, 0, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
}

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

.badge-icon {
  font-size: 1.1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 20px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 40px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-scroll {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 153, 0, 0.5);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-orange);
  border-radius: 50%;
  animation: float 1.5s ease-in-out infinite;
}

/* ========== STATS SECTION ========== */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.stat-item {
  background: var(--amazon-white,#fff);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), transparent, rgba(68, 121, 207, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-item:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(31, 35, 40, 0.12), 0 0 30px rgba(184, 134, 46, 0.12);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.stat-icon {
  font-size: 3.2rem;
  display: block;
  transition: var(--transition-bounce);
  position: relative;
  z-index: 1;
}

.stat-item:hover .stat-icon {
  transform: scale(1.2) rotate(-10deg);
}

.stat-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-item:hover .stat-glow {
  opacity: 1;
}

.stat-item h3 {
  color: var(--text-primary);
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.stat-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

/* ========== CONTACT GRID ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: start;
}

/* ========== FORM CARD ========== */
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 45px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-light), transparent);
}

.form-header {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 153, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-header-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.2), rgba(68, 121, 207, 0.2));
  border: 1px solid rgba(255, 153, 0, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
}

.form-header-icon svg {
  width: 28px;
  height: 28px;
}

.form-header h2 {
  color: var(--text-primary);
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
}

.form-header p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1rem;
}

.premium-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Floating Label Styles */
.form-group.floating-label {
  position: relative;
}

.form-group.floating-label input,
.form-group.floating-label select,
.form-group.floating-label textarea {
  width: 100%;
  background: var(--amazon-light,#fbf8f3);
  border: 2px solid var(--hairline,rgba(31,35,40,.10));
  border-radius: 14px;
  padding: 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-group.floating-label textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.floating-label label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  pointer-events: none;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group.floating-label.textarea-group label {
  top: 24px;
  transform: translateY(0);
}

.form-group.floating-label input:focus,
.form-group.floating-label select:focus,
.form-group.floating-label textarea:focus,
.form-group.floating-label input:not(:placeholder-shown),
.form-group.floating-label select:not(:placeholder-shown),
.form-group.floating-label textarea:not(:placeholder-shown) {
  border-color: var(--primary-orange);
  background: var(--amazon-white,#fff);
  box-shadow: 0 0 0 4px rgba(184, 134, 46, 0.15);
}

.form-group.floating-label input:focus + label,
.form-group.floating-label select:focus + label,
.form-group.floating-label textarea:focus + label,
.form-group.floating-label input:not(:placeholder-shown) + label,
.form-group.floating-label select:not(:placeholder-shown) + label,
.form-group.floating-label textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  transform: translateY(0) scale(0.85);
  background: var(--dark-bg);
  padding: 0 8px;
  color: var(--primary-orange);
}

.label-icon {
  font-size: 1rem;
}

.required {
  color: var(--primary-orange);
}

.select-group select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.8rem;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.select-group select:focus ~ .select-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: var(--primary-orange);
}

.char-count {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--amazon-white,#fff);
  padding: 4px 10px;
  border-radius: 20px;
}

.char-count.warning {
  color: var(--primary-orange);
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
  color: #000;
  border: none;
  border-radius: 14px;
  padding: 18px 32px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 10px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 153, 0, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon svg {
  transform: translateX(4px);
}

.btn-loading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-icon {
  font-size: 1.1rem;
}

/* ========== INFO CARD ========== */
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  gap: 35px;
  height: fit-content;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 100px;
}

.info-section h2, .info-section h3 {
  color: var(--text-primary);
  margin: 0 0 20px;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.15), rgba(68, 121, 207, 0.15));
  border: 1px solid rgba(255, 153, 0, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
}

.section-icon svg {
  width: 18px;
  height: 18px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--amazon-light,#fbf8f3);
  border-radius: 14px;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--hairline,rgba(31,35,40,.10));
}

.contact-method:hover {
  background: var(--amazon-white,#fff);
  border-color: var(--hairline-gold,rgba(184,134,46,.45));
  transform: translateX(5px);
}

.method-icon-wrapper {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.15), rgba(68, 121, 207, 0.15));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon {
  font-size: 1.6rem;
}

.method-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.method-content strong {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.method-value {
  color: var(--primary-orange-light);
  font-size: 0.95rem;
  font-weight: 500;
}

.method-content small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hours-grid span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hours-grid b {
  color: var(--text-secondary);
  font-weight: 600;
}

.method-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition-smooth);
}

.contact-method:hover .method-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary-orange);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 153, 0, 0.1);
  border: 1px solid rgba(255, 153, 0, 0.2);
  border-radius: 12px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  color: #fff;
}

.social-link.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.social-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(220, 39, 67, 0.4);
}

.social-link.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  box-shadow: 0 10px 30px rgba(29, 161, 242, 0.4);
}

.social-link.linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  box-shadow: 0 10px 30px rgba(10, 102, 194, 0.4);
}

/* Map Section */
.map-section {
  margin-top: 10px;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
}

.map-container iframe {
  display: block;
  filter: grayscale(30%) contrast(1.1);
  transition: filter 0.3s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%) contrast(1);
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(10, 15, 28, 0.95), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-container:hover .map-overlay {
  opacity: 1;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 16px;
  background: rgba(255, 153, 0, 0.2);
  border: 1px solid rgba(255, 153, 0, 0.3);
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.map-link:hover {
  background: rgba(255, 153, 0, 0.3);
  transform: translateY(-2px);
}

.map-link svg {
  width: 16px;
  height: 16px;
}

/* ========== FAQ SECTION ========== */
.faq-section {
  background: linear-gradient(180deg, rgba(27, 38, 56, 0.4) 0%, rgba(19, 26, 34, 0.6) 100%);
  padding: 100px 20px;
  margin-bottom: 60px;
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.3), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: rgba(255, 153, 0, 0.15);
  color: var(--primary-orange);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header h2 {
  color: var(--text-primary);
  font-size: 2.5rem;
  margin: 0 0 16px;
  font-weight: 800;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.1rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-card:hover {
  border-color: var(--border-color-hover);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.faq-card.active {
  border-color: var(--primary-orange);
  box-shadow: 0 10px 40px rgba(255, 153, 0, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--primary-orange-light);
}

.faq-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.faq-question span:nth-child(2) {
  flex: 1;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  background: rgba(255, 153, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-orange);
  transition: var(--transition-smooth);
}

.faq-card.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--primary-orange);
  color: #000;
}

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

.faq-card.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
  padding: 0 24px 24px;
  padding-left: 64px;
}

/* ========== CTA SECTION ========== */
.cta-section {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35, 47, 75, 0.95), rgba(19, 26, 34, 0.98));
}

.cta-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 70%, rgba(255, 153, 0, 0.08) 0%, transparent 40%), radial-gradient(circle at 70% 30%, rgba(68, 121, 207, 0.08) 0%, transparent 40%);
}

.cta-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.cta-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

.cta-section h2 {
  color: var(--text-primary);
  font-size: 2.4rem;
  margin: 0 0 16px;
  font-weight: 800;
}

.cta-section p {
  color: var(--text-muted);
  margin: 0 0 35px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
  color: #000;
  border: none;
  border-radius: 14px;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(255, 153, 0, 0.4);
}

.cta-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(5px);
}

/* ========== CONTACT MAIN ========== */
.contact-main {
  padding: 0 20px 60px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .info-card {
    position: static;
    padding: 30px;
  }
  
  .form-card {
    padding: 35px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero-section {
    padding: 80px 20px 60px;
    margin-bottom: 40px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 50px;
  }
  
  .stat-item {
    padding: 25px 15px;
  }
  
  .stat-icon {
    font-size: 2.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-card, .info-card {
    padding: 25px;
    border-radius: 20px;
  }
  
  .form-header h2 {
    font-size: 1.6rem;
  }
  
  .faq-section {
    padding: 60px 20px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .faq-grid {
    gap: 16px;
  }
  
  .faq-question {
    padding: 20px;
    font-size: 0.95rem;
  }
  
  .faq-answer p {
    padding: 0 20px 20px;
    padding-left: 56px;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
  
  .cta-section h2 {
    font-size: 1.9rem;
  }
  
  .cta-icon {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .contact-hero-section {
    padding: 60px 16px 40px;
    margin-bottom: 30px;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 8px 14px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .stats-section {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
  }
  
  .stat-item {
    padding: 20px 12px;
  }
  
  .stat-icon {
    font-size: 2rem;
  }
  
  .stat-item h3 {
    font-size: 0.95rem;
  }
  
  .stat-item p {
    font-size: 0.8rem;
  }
  
  .form-card {
    padding: 20px;
  }
  
  .form-header-icon {
    width: 48px;
    height: 48px;
  }
  
  .form-header h2 {
    font-size: 1.4rem;
  }
  
  .info-card {
    gap: 25px;
    padding: 20px;
  }
  
  .contact-method {
    padding: 14px;
    gap: 12px;
  }
  
  .method-icon-wrapper {
    width: 40px;
    height: 40px;
  }
  
  .method-icon {
    font-size: 1.3rem;
  }
  
  .social-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .social-link {
    width: 44px;
    height: 44px;
  }
  
  .faq-card {
    border-radius: 14px;
  }
  
  .faq-question {
    padding: 18px;
  }
  
  .faq-icon {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 1.7rem;
  }
  
  .cta-section h2 {
    font-size: 1.6rem;
  }
  
  .cta-button {
    padding: 16px 28px;
    font-size: 1rem;
  }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.form-group.floating-label input:focus-visible,
.form-group.floating-label select:focus-visible,
.form-group.floating-label textarea:focus-visible,
.submit-btn:focus-visible,
.cta-button:focus-visible,
.contact-method:focus-visible,
.social-link:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* ========== BREADCRUMB (global) ========== */
.breadcrumb-bar{background:var(--amazon-light,#fbf8f3);border-bottom:1px solid var(--hairline,rgba(31,35,40,.10));padding:10px 24px}
.breadcrumb-list{display:flex;align-items:center;gap:8px;list-style:none;margin:0;padding:0;font-size:.85rem}
.breadcrumb-list li{color:var(--text-muted)}
.breadcrumb-list li:not(:last-child)::after{content:'›';margin-left:8px;opacity:.5}
.breadcrumb-list a{color:var(--amazon-orange);text-decoration:none}
.breadcrumb-list a:hover{text-decoration:underline}
.breadcrumb-list li[aria-current="page"]{color:var(--text-secondary)}

/* ========================================
   MOBILE & SAFARI / iOS COMPATIBILITY
   ======================================== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  overflow-x: hidden; /* prevent accidental horizontal scroll on phones */
}
/* Normalize iOS form-control chrome (rounded inner shadow, etc.) */
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="tel"], input[type="number"],
input[type="url"], input[type="date"], textarea {
  -webkit-appearance: none;
  appearance: none;
}
/* Native momentum scrolling for inner scroll areas */
.account-menu, .lang-menu, .ts-suggestions, .table-wrap, .admin-table-wrap {
  -webkit-overflow-scrolling: touch;
}
/* Notch-safe spacing for fixed bottom UI */
@supports (padding: env(safe-area-inset-bottom)) {
  #cookie-banner { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
/* Stop iOS Safari from auto-zooming when a small input gains focus */
@media (max-width: 767px) {
  input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
  select, textarea { font-size: 16px !important; }
  /* Tables scroll horizontally instead of breaking the layout */
  .admin-table, table.admin-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  img { max-width: 100%; height: auto; }
}
