/* ============================================================
   Isaac Goes Cruising — Design System & Styles
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  --color-navy:      #1B3A5C;
  --color-blue:      #2563EB;
  --color-seafoam:   #EFF6FF;
  --color-white:     #FFFFFF;
  --color-text:      #1E293B;
  --color-muted:     #64748B;
  --color-success:   #16A34A;
  --color-error:     #DC2626;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-card: 10px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --transition:  200ms ease;

  --nav-height: 68px;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--color-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 0 0 4px 0;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
p  { margin-bottom: 1rem; }

/* --- Utility ---------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-alt { background: var(--color-seafoam); }
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading p {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--color-blue);
  color: #fff;
  border-color: var(--color-blue);
}
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-navy {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}
.btn-navy:hover { background: #142d48; border-color: #142d48; }

/* --- Navigation ------------------------------------------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--color-navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
#navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img {
  height: 42px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  height: 2px; width: 0;
  background: var(--color-blue);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; text-decoration: none; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  aria-label: "Toggle menu";
}
.hamburger span {
  display: block;
  height: 2px;
  width: 24px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--color-navy);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: #fff; text-decoration: none; }

/* --- Hero ------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-navy) url('https://images.unsplash.com/photo-1548574505-5e239809ee19?w=1920&q=80') center/cover no-repeat;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,92,0.88) 0%, rgba(27,58,92,0.55) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  background: rgba(37,99,235,0.25);
  color: #93c5fd;
  border: 1px solid rgba(37,99,235,0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  margin-bottom: 1.5rem;
}
.hero-content h1 { color: #fff; margin-bottom: 1rem; }
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* --- Offers Slideshow ------------------------------------- */
#offers { padding: 5rem 0; background: var(--color-white); }
.slideshow-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.slideshow-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slide {
  min-width: 100%;
  position: relative;
  height: 480px;
  background: var(--color-navy) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,0.9) 0%, rgba(10,20,40,0.3) 60%, transparent 100%);
}
.slide-content {
  position: relative;
  padding: 2.5rem;
  width: 100%;
}
.slide-supplier {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 0.4rem;
}
.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 0.3rem;
}
.slide-price {
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.slide-tagline {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  max-width: 520px;
}
.slide-cta { margin-bottom: 0; }

.slide-btn-prev,
.slide-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background var(--transition);
  z-index: 10;
  backdrop-filter: blur(4px);
}
.slide-btn-prev { left: 1rem; }
.slide-btn-next { right: 1rem; }
.slide-btn-prev:hover,
.slide-btn-next:hover { background: rgba(255,255,255,0.3); }

.slide-dots {
  position: absolute;
  bottom: 1.2rem;
  right: 2rem;
  display: flex;
  gap: 0.4rem;
}
.slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  transition: background var(--transition), transform var(--transition);
}
.slide-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.slideshow-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  background: var(--color-seafoam);
  border-radius: var(--radius-card);
  color: var(--color-muted);
  font-size: 1.1rem;
}

/* --- About ------------------------------------------------ */
#about { padding: 5rem 0; background: var(--color-seafoam); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
}
.about-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--color-navy), var(--color-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 5rem;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--color-muted); margin-bottom: 1rem; }
.credential-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-white);
  border: 1px solid rgba(27,58,92,0.15);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-navy);
}
.badge svg { width: 14px; height: 14px; color: var(--color-blue); }

/* --- Expertise -------------------------------------------- */
#expertise { padding: 5rem 0; }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.expertise-card {
  background: var(--color-white);
  border: 1px solid rgba(27,58,92,0.1);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.expertise-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.expertise-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.expertise-card p { color: var(--color-muted); font-size: 0.9rem; margin: 0; }

/* --- Booking Links ---------------------------------------- */
#book { padding: 5rem 0; background: var(--color-seafoam); }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.booking-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.booking-card-icon { font-size: 2.5rem; }
.booking-card h3 { margin-bottom: 0.25rem; }
.booking-card p { color: var(--color-muted); font-size: 0.9rem; flex: 1; margin: 0; }

/* --- Contact ---------------------------------------------- */
#contact { padding: 5rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--color-muted); margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-size: 0.95rem;
}
.contact-detail svg { color: var(--color-blue); flex-shrink: 0; }

.quote-form {
  background: var(--color-seafoam);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
}
.form-group label .required { color: var(--color-error); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid rgba(27,58,92,0.2);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .error-msg {
  display: none;
  color: var(--color-error);
  font-size: 0.78rem;
  margin-top: 0.3rem;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--color-error); }
.form-group.has-error .error-msg { display: block; }

.hp-field { display: none !important; }

.form-submit-wrap { margin-top: 0.5rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--color-success);
}
.form-success svg { font-size: 2rem; margin-bottom: 0.75rem; }
.form-error-banner {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--color-error);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

/* --- Footer ----------------------------------------------- */
#footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.75);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}
.footer-brand .nav-logo-text { font-size: 1.3rem; color: #fff; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.88rem; margin-bottom: 1.25rem; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.footer-social a:hover { background: var(--color-blue); color: #fff; }
.footer-nav h4, .footer-contact h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color var(--transition); }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-contact p { font-size: 0.9rem; margin-bottom: 0.5rem; color: rgba(255,255,255,0.65); }
.footer-contact a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* --- Legal pages ------------------------------------------ */
.legal-page { padding: 8rem 0 5rem; }
.legal-page h1 { margin-bottom: 0.5rem; }
.legal-meta { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 3rem; }
.legal-body h2 { font-size: 1.35rem; margin: 2.5rem 0 0.75rem; }
.legal-body p, .legal-body li { color: var(--color-muted); margin-bottom: 0.75rem; }
.legal-body ul { padding-left: 1.5rem; list-style: disc; }

/* --- Admin login page ------------------------------------- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-seafoam);
}
.login-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
}
.login-card h1 { font-size: 1.6rem; margin-bottom: 0.25rem; }
.login-card .sub { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.login-logo { text-align: center; margin-bottom: 1.75rem; }
.login-logo-text { font-family: var(--font-heading); font-size: 1.4rem; color: var(--color-navy); font-weight: 700; }

/* --- Admin panel ------------------------------------------ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 240px;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}
.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar-header .brand { font-family: var(--font-heading); font-size: 1rem; color: #fff; font-weight: 700; }
.admin-sidebar-header .brand small { display: block; color: rgba(255,255,255,0.5); font-family: var(--font-body); font-size: 0.72rem; font-weight: 400; margin-top: 2px; }
.admin-nav { padding: 1rem 0; flex: 1; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.admin-nav a:hover,
.admin-nav a.active { background: rgba(255,255,255,0.08); color: #fff; }
.admin-nav a svg { width: 16px; height: 16px; flex-shrink: 0; }
.admin-nav .nav-section {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 1.25rem 1.5rem 0.4rem;
}
.admin-sidebar-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar-footer a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: color var(--transition);
}
.admin-sidebar-footer a:hover { color: #fff; }

.admin-main {
  margin-left: 240px;
  flex: 1;
  background: #f8fafc;
  min-height: 100vh;
}
.admin-topbar {
  background: var(--color-white);
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar h1 { font-size: 1.25rem; }
.admin-content { padding: 2rem; }

.admin-section { display: none; }
.admin-section.active { display: block; }

.admin-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.admin-card-header h2 { font-size: 1.1rem; }

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.data-table th {
  background: var(--color-seafoam);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  text-align: left;
}
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #f8fafc; }

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.status-active   { background: #dcfce7; color: #15803d; }
.status-draft    { background: #fef9c3; color: #92400e; }
.status-pending  { background: #fef3c7; color: #92400e; }
.status-signed   { background: #dcfce7; color: #15803d; }
.status-reviewed { background: #e0e7ff; color: #3730a3; }
.status-archived { background: #f1f5f9; color: #64748b; }

.btn-sm {
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  border-radius: 4px;
}
.btn-danger { background: #fef2f2; color: var(--color-error); border: 1px solid #fecaca; }
.btn-danger:hover { background: var(--color-error); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-blue); border: 1px solid var(--color-blue); }
.btn-ghost:hover { background: var(--color-blue); color: #fff; }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  padding: 2rem;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.modal-header h2 { font-size: 1.2rem; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-muted);
  line-height: 1;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--color-text); }

.copy-link-box {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.copy-link-box input {
  flex: 1;
  font-size: 0.82rem;
  background: var(--color-seafoam);
}
.copy-success { color: var(--color-success); font-size: 0.8rem; margin-top: 0.4rem; display: none; }

/* Drag handle */
.drag-handle { cursor: grab; color: var(--color-muted); }
.drag-handle:active { cursor: grabbing; }

/* --- Sign page -------------------------------------------- */
.sign-page {
  min-height: 100vh;
  background: var(--color-seafoam);
  padding: 2rem 1rem 4rem;
}
.sign-header {
  text-align: center;
  padding: 1.5rem 0 2rem;
}
.sign-header .brand { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-navy); font-weight: 700; }
.sign-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
}
.sign-greeting { font-size: 1.1rem; color: var(--color-navy); margin-bottom: 1.5rem; }
.trip-summary {
  background: var(--color-seafoam);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.trip-detail-item label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  display: block;
  margin-bottom: 0.2rem;
}
.trip-detail-item span { font-weight: 600; color: var(--color-navy); font-size: 0.9rem; }
.tc-text-box {
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  padding: 1.25rem;
  max-height: 300px;
  overflow-y: auto;
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  background: #fafafa;
}
.sign-confirm {
  margin-bottom: 1.25rem;
}
.sign-confirm label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.sign-confirm input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }
.sign-success {
  text-align: center;
  padding: 3rem;
  color: var(--color-success);
}
.sign-success h2 { color: var(--color-navy); margin-bottom: 1rem; }
.sign-error-page {
  text-align: center;
  padding: 3rem;
}
.sign-error-page h2 { color: var(--color-error); margin-bottom: 1rem; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .admin-sidebar { width: 200px; }
  .admin-main { margin-left: 200px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .about-grid  { grid-template-columns: 1fr; }
  .about-photo-placeholder { max-width: 280px; margin: 0 auto; }
  .booking-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trip-summary { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { transform: translateX(-100%); transition: transform var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .expertise-grid { grid-template-columns: 1fr; }
  .trip-summary { grid-template-columns: 1fr; }
  .sign-card { padding: 1.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
