/* =============================================================
   Confidence Concierge — Los Cabos  |  Shared Stylesheet
   Dark teal + gold luxury system
   Cormorant Garamond (display) · Outfit (body)
   ============================================================= */

/* ── Tokens ── */
:root {
  --white:    #FFFFFF;
  --cream:    #F8F4EE;
  --linen:    #EDE6D8;
  --charcoal: #111010;
  --mid:      #5A5450;
  --gold:     #B48A2A;
  --gold-lt:  #D0AA60;
  --teal:     #0D1C19;
  --teal-2:   #12231F;
  --border:   rgba(17,16,16,0.10);
  --border-lt: rgba(208,170,96,0.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --gap:       clamp(1.5rem, 4vw, 4rem);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.t-hero {
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.t-h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.t-h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.t-lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--mid);
}

/* ── Layout ── */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gap);
  padding-right: var(--gap);
}
.section        { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--cream { background: #F8F4EE; background: var(--cream); }
.section--linen { background: #EDE6D8; background: var(--linen); }
.section--dark  { background: #0D1C19; background: var(--teal); color: var(--white); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.1rem;
}
.eyebrow--lt { color: var(--gold-lt); }
.divider { width: 36px; height: 1px; background: var(--gold); margin: 1.3rem 0; }
.divider--lt { background: var(--gold-lt); }
.divider--center { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #9A7620; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(180,138,42,0.5); }
.btn--outline-light { border: 1.5px solid rgba(255,255,255,0.4); color: var(--white); }
.btn--outline-light:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.btn--outline-dark { border: 1.5px solid rgba(17,16,16,0.3); color: var(--charcoal); }
.btn--outline-dark:hover { border-color: var(--gold); color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.6rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 0.9rem 0;
  background: rgba(13,28,25,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-lt);
}
/* Solid nav for interior pages (no hero image behind) */
.nav--solid {
  position: sticky;
  background: var(--teal);
  border-bottom-color: var(--border-lt);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: flex; align-items: center; gap: 0.7rem; color: var(--white); flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--white); letter-spacing: 0.01em; }
.logo-city { font-family: var(--font-body); font-size: 0.57rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-lt); margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-lt);
  transition: width 0.3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; z-index: 110; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: transform 0.3s var(--ease), opacity 0.3s; }

@media (max-width: 940px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(78vw, 320px);
    background: var(--teal);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem var(--gap);
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    border-left: 1px solid var(--border-lt);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; color: var(--white); }
  .nav-burger { display: flex; }
}

/* ── Hero (home) ── */
.hero {
  position: relative;
  background-color: #0a1a17;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--white);
  padding: 7rem var(--gap) 5rem;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=85');
  background-size: cover;
  background-position: center 40%;
  background-color: #0a1a17;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(10,22,18,0.5) 0%, rgba(10,22,18,0.4) 40%, rgba(10,22,18,0.7) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 840px; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.hero-eyebrow { display: flex; align-items: center; gap: 0.8rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-lt); }
.hero-eyebrow .rule { width: 30px; height: 1px; background: var(--gold-lt); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 300; color: rgba(255,255,255,0.8); max-width: 48ch; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 0.4rem; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.hero-scroll .line { width: 1px; height: 38px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ── Page hero (interior pages) ── */
.page-hero {
  position: relative;
  background-color: #0a1a17;
  color: #fff;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-color: #0a1a17;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(10,22,18,0.9) 0%, rgba(10,22,18,0.4) 55%, rgba(10,22,18,0.55) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .crumb { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(208,170,96,0.85); margin-bottom: 1rem; }
.page-hero .crumb a { color: rgba(255,255,255,0.6); }
.page-hero .crumb a:hover { color: var(--gold-lt); }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.5vw, 4.2rem); max-width: 18ch; }
.page-hero p { margin-top: 1.1rem; color: rgba(255,255,255,0.75); font-size: 1.08rem; max-width: 54ch; line-height: 1.7; }

/* Page hero background images */
.bg-concierge   { background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1920&q=85'); }
.bg-transport   { background-image: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1920&q=85'); }
.bg-activities  { background-image: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&w=1920&q=85'); }
.bg-residential { background-image: url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?auto=format&fit=crop&w=1920&q=85'); }
.bg-about       { background-image: url('https://images.unsplash.com/photo-1519046904884-53103b34b206?auto=format&fit=crop&w=1920&q=85'); }

/* ── Marquee ── */
.marquee-wrap { background: #0D1C19; background: var(--teal); border-top: 1px solid var(--border-lt); border-bottom: 1px solid var(--border-lt); overflow: hidden; padding: 1.05rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-size: 0.95rem; color: rgba(237,230,216,0.6); white-space: nowrap; padding: 0 2rem; display: flex; align-items: center; gap: 2rem; }
.marquee-track span::after { content: '·'; color: var(--gold-lt); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── Service panels (alternating, used on home) ── */
.svc-panel { display: flex; flex-wrap: nowrap; min-height: 560px; }
.svc-text { flex: 1 1 50%; background: #F8F4EE; background: var(--cream); display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 5.5rem); }
.svc-text h3 { margin: 0.2rem 0 0; }
.svc-text p { color: var(--mid); max-width: 40ch; font-size: 1rem; line-height: 1.75; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.7rem; }
.svc-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.38rem 0.75rem; border-radius: 999px; border: 1px solid var(--border); color: var(--mid); }
.svc-link { margin-top: 1.8rem; font-size: 0.84rem; font-weight: 600; letter-spacing: 0.04em; color: var(--gold); display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.25s; }
.svc-link:hover { gap: 0.7rem; }
.svc-photo { flex: 1 1 50%; background-size: cover; background-position: center; min-height: 380px; }
.svc-panel--flip .svc-text { order: 2; }
.svc-panel--flip .svc-photo { order: 1; }

.svc-photo--dining     { background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1000&q=80'); background-color: #1a1210; }
.svc-photo--villa      { background-image: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1000&q=80'); background-color: #0e1c1a; }
.svc-photo--transport  { background-image: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1000&q=80'); background-color: #111318; }
.svc-photo--activities { background-image: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&w=1000&q=80'); background-color: #0a161f; }

@media (max-width: 860px) {
  .svc-panel { flex-direction: column; }
  .svc-panel--flip .svc-text { order: 1; }
  .svc-panel--flip .svc-photo { order: 0; }
  .svc-photo { flex: none; width: 100%; min-height: 280px; }
  .svc-text { flex: none; width: 100%; }
  .svc-text p { max-width: none; }
}

/* ── Statement band ── */
.statement { background: #0D1C19; background: var(--teal); padding: clamp(4.5rem, 9vw, 7.5rem) 0; text-align: center; }
.statement blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.9rem); color: #fff; max-width: 720px; margin: 0 auto; line-height: 1.3; }
.statement blockquote em { color: var(--gold-lt); font-style: normal; }
.statement cite { display: block; margin-top: 1.6rem; font-family: var(--font-body); font-style: normal; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(208,170,96,0.6); }

/* ── Section heading block ── */
.head { max-width: 640px; margin-bottom: 3.2rem; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── Intro split (interior pages) ── */
.intro-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.intro-split .sticky { position: sticky; top: 7rem; }
.intro-body p { color: var(--mid); font-size: 1.04rem; line-height: 1.78; }
.intro-body p + p { margin-top: 1.1rem; }
@media (max-width: 860px) { .intro-split { grid-template-columns: 1fr; } .intro-split .sticky { position: static; } }

/* ── Feature grid (service detail cards) ── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feat-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(17,16,16,0.22); border-color: rgba(180,138,42,0.35); }
.feat-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); flex-shrink: 0; }
.feat-icon svg { width: 21px; height: 21px; }
.feat-card h4 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.feat-card p { font-size: 0.95rem; color: var(--mid); line-height: 1.7; }
.section--dark .feat-card { background: var(--teal-2); border-color: var(--border-lt); }
.section--dark .feat-card h4 { color: #fff; }
.section--dark .feat-card p { color: rgba(248,244,238,0.7); }
@media (max-width: 880px) { .feat-grid, .feat-grid--2 { grid-template-columns: 1fr; } }

/* ── Checklist (what's included) ── */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; margin-top: 2rem; }
.check-item { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.check-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.check-item span { font-size: 0.98rem; color: var(--charcoal); }
.section--dark .check-item { border-bottom-color: var(--border-lt); }
.section--dark .check-item span { color: rgba(255,255,255,0.85); }
@media (max-width: 700px) { .checklist { grid-template-columns: 1fr; } }

/* ── Image + text row ── */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.media-row .media-img { aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--teal); border-radius: 2px; min-height: 320px; }
.media-row--flip .media-img { order: 2; }
@media (max-width: 820px) { .media-row { grid-template-columns: 1fr; } .media-row--flip .media-img { order: 0; } }

/* ── Process steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.step { display: grid; gap: 0.7rem; align-content: start; }
.step-num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 400; color: var(--linen); line-height: 1; }
.section--dark .step-num { color: rgba(208,170,96,0.25); }
.step h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.step p { font-size: 0.94rem; color: var(--mid); }
.section--dark .step h4 { color: #fff; }
.section--dark .step p { color: rgba(248,244,238,0.7); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ── CTA band ── */
.cta-band { background: #EDE6D8; background: var(--linen); padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.cta-band--dark { background: var(--teal); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.cta-copy h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; max-width: 24ch; }
.cta-band--dark .cta-copy h2 { color: #fff; }
.cta-copy p { margin-top: 0.6rem; color: var(--mid); font-size: 1rem; max-width: 42ch; }
.cta-band--dark .cta-copy p { color: rgba(255,255,255,0.7); }
.cta-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ── Team (about) ── */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 3rem; }
.team-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -16px rgba(17,16,16,0.2); }
.team-photo { aspect-ratio: 3/2; min-height: 240px; background: linear-gradient(135deg, var(--teal) 0%, #1a3530 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-monogram { font-family: var(--font-display); font-size: 2.8rem; color: var(--gold-lt); }
.team-body { padding: 1.8rem 2rem 2rem; display: grid; gap: 0.55rem; }
.team-body h3 { font-size: 1.3rem; }
.team-role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.team-bio { font-size: 0.93rem; color: var(--mid); line-height: 1.7; }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }

/* ── Values ── */
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; margin-top: 3rem; }
.value-item { border-top: 1px solid var(--border); padding-top: 1.3rem; }
.value-item h4 { font-size: 1.1rem; margin-bottom: 0.5rem; font-family: var(--font-display); font-weight: 600; }
.value-item p { font-size: 0.93rem; color: var(--mid); }
@media (max-width: 700px) { .values-row { grid-template-columns: 1fr; } }

/* ── Footer ── */
footer { background: #111010; background: var(--charcoal); color: rgba(248,244,238,0.55); padding: 3rem 0 2rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.7rem; align-items: center; }
.footer-nav a { font-size: 0.87rem; transition: color 0.25s; }
.footer-nav a:hover { color: var(--gold-lt); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; padding-top: 1.7rem; font-size: 0.77rem; }

/* ── WhatsApp FAB ── */
.wa-fab { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px -8px rgba(180,138,42,0.6); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.wa-fab:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 32px -8px rgba(180,138,42,0.7); }
.wa-fab svg { width: 26px; height: 26px; color: #fff; }
