/*
Theme Name:   Colca Canyon Tours
Theme URI:    https://colcacanyontours-arequipa.com
Description:  Premium child theme — WP Travel + Rank Math + Site Reviews. GetYourGuide-inspired UX.
Author:       Colca Canyon Tours Arequipa
Template:     generatepress
Version:      4.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License:      GPL v2 or later
Text Domain:  colca-canyon
*/

/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS
   Palette: Canyon Teal — deep teal anchors, warm gold
   accents, clean whites. No generic terracotta clichés.
═══════════════════════════════════════════════════════ */
:root {
  /* Brand */
  --teal-900: #012b26;
  --teal-800: #014a40;
  --teal-700: #016655;
  --teal-600: #018065;
  --teal-500: #00a680;   /* primary action */
  --teal-400: #00c499;
  --teal-100: #e0f6f0;
  --teal-50:  #f0faf7;

  /* Gold — used only for ratings, prices, hero numbers */
  --gold:     #c8a84b;
  --gold-lt:  #f0d070;

  /* Neutrals */
  --ink:      #0d1f1c;
  --ink-2:    #2a3d39;
  --ink-3:    #4a6660;
  --stone:    #708e89;
  --border:   #d8ecea;
  --bg-soft:  #f5faf9;
  --white:    #ffffff;

  /* Semantic */
  --success:  #1a7a45;
  --danger:   #c0392b;
  --warning:  #c8a84b;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs: 0 1px 3px rgba(1,43,38,.06);
  --sh-sm: 0 2px 8px rgba(1,43,38,.08);
  --sh-md: 0 4px 20px rgba(1,43,38,.10);
  --sh-lg: 0 8px 40px rgba(1,43,38,.13);
  --sh-xl: 0 16px 60px rgba(1,43,38,.16);

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
  --fast: .15s;
  --mid:  .25s;
  --slow: .4s;
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-500); text-decoration: none; transition: color var(--fast) var(--ease); }
a:hover { color: var(--teal-700); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 700;
}
h1 { font-size: clamp(30px, 5vw, 56px); }
h2 { font-size: clamp(22px, 3.5vw, 40px); }
h3 { font-size: clamp(18px, 2.5vw, 26px); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5rem; }

/* ═══════════════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════════════ */
.cct-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .cct-container { padding: 0 32px; } }
@media (min-width: 1280px) { .cct-container { padding: 0 24px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--mid) var(--ease);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: .1px;
}

.btn--primary {
  background: var(--teal-500);
  color: var(--white) !important;
  border-color: var(--teal-500);
}
.btn--primary:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,166,128,.28);
}

.btn--outline {
  background: transparent;
  color: var(--teal-500) !important;
  border-color: var(--teal-500);
}
.btn--outline:hover {
  background: var(--teal-500);
  color: var(--white) !important;
}

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white) !important;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.22);
  color: var(--white) !important;
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white) !important;
  border-color: #25d366;
}
.btn--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,.32);
}

.btn--lg  { padding: 16px 32px; font-size: 16px; }
.btn--sm  { padding: 9px 18px; font-size: 13px; }
.btn--full { width: 100%; }

/* ═══════════════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════════════ */
.cct-topbar {
  background: var(--teal-900);
  color: rgba(255,255,255,.65);
  font-size: 12.5px;
  padding: 8px 0;
}
.cct-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cct-topbar__contact {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cct-topbar__contact a,
.cct-topbar__contact span {
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  transition: color var(--fast) var(--ease);
}
.cct-topbar__contact a:hover { color: var(--gold-lt); }
.cct-topbar__social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cct-topbar__social a {
  color: rgba(255,255,255,.45);
  font-size: 16px;
  transition: color var(--fast) var(--ease);
  line-height: 1;
}
.cct-topbar__social a:hover { color: var(--gold-lt); }

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
.cct-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--mid) var(--ease);
}
.cct-header.scrolled { box-shadow: var(--sh-md); }

.cct-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 20px;
}

/* Logo */
.cct-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.cct-logo img { height: 44px; width: auto; }
.cct-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.cct-logo__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-800);
  letter-spacing: -.2px;
}
.cct-logo__sub {
  font-size: 10px;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: .9px;
}

/* Nav */
.cct-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.cct-nav .menu-item { position: relative; }
.cct-nav .menu-item > a {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: var(--r-xs);
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  transition: all var(--fast) var(--ease);
}
.cct-nav .menu-item > a:hover,
.cct-nav .menu-item.current-menu-item > a,
.cct-nav .menu-item.current-menu-parent > a {
  color: var(--teal-500);
  background: var(--teal-50);
}

/* Dropdown */
.cct-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  min-width: 240px;
  padding: 6px;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--mid) var(--ease);
}
.cct-nav .menu-item:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cct-nav .sub-menu li a {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: var(--r-xs);
  transition: all var(--fast) var(--ease);
}
.cct-nav .sub-menu li a:hover {
  background: var(--teal-50);
  color: var(--teal-500);
}

.cct-header__ctas { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.cct-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════════ */
.cct-breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 12.5px;
}
.cct-breadcrumb .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--stone);
}
.cct-breadcrumb .breadcrumbs a { color: var(--stone); }
.cct-breadcrumb .breadcrumbs a:hover { color: var(--teal-500); }
.cct-breadcrumb .breadcrumbs .separator { color: var(--border); }
.cct-breadcrumb .breadcrumbs .last { color: var(--ink-2); font-weight: 500; }

/* ═══════════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════════ */
.cct-section { padding: 64px 0; }
.cct-section--soft { background: var(--bg-soft); }
.cct-section--dark { background: var(--teal-900); }
.cct-section--sm { padding: 40px 0; }

.cct-section-header { margin-bottom: 40px; }
.cct-section-header--center { text-align: center; }
.cct-section-header--center .cct-section-sub { margin: 0 auto; }

.cct-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-500);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  background: var(--teal-100);
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 10px;
}

.cct-section-title { margin-bottom: 10px; }
.cct-section-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--stone);
  max-width: 520px;
  line-height: 1.7;
}

.cct-section-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.cct-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--teal-900);
  overflow: hidden;
}
.cct-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 9s var(--ease);
  will-change: transform;
}
.cct-hero.loaded .cct-hero__bg { transform: scale(1); }
.cct-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(1,43,38,.62) 0%,
    rgba(1,74,64,.50) 40%,
    rgba(1,27,23,.88) 100%
  );
}

.cct-hero__body {
  position: relative;
  z-index: 2;
  padding: 90px 0 110px;
  width: 100%;
}
.cct-hero__inner { max-width: 760px; }

.cct-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(200,168,75,.18);
  border: 1px solid rgba(200,168,75,.40);
  color: var(--gold-lt);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 22px;
}

.cct-hero__title {
  color: var(--white);
  line-height: 1.07;
  letter-spacing: -.4px;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,.28);
}
.cct-hero__title em {
  font-style: italic;
  color: var(--gold-lt);
}

.cct-hero__desc {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.cct-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Hero stats row */
.cct-hero__stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 36px;
  flex-wrap: wrap;
}
.cct-hero__stat {
  flex: 1;
  min-width: 100px;
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,.1);
  margin-right: 32px;
}
.cct-hero__stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.cct-hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
  margin-bottom: 4px;
}
.cct-hero__stat-lbl {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.50);
  text-transform: uppercase;
  letter-spacing: .9px;
}

/* ═══════════════════════════════════════════════════════
   SEARCH BAR (below hero, elevated)
═══════════════════════════════════════════════════════ */
.cct-search-wrap {
  position: relative;
  z-index: 10;
  margin-top: -44px;
  padding: 0 20px;
}
.cct-search {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  box-shadow: var(--sh-xl);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  max-width: 1200px;
  margin: 0 auto;
}
.cct-search__field { display: flex; flex-direction: column; gap: 5px; }
.cct-search__field label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: .9px;
}
.cct-search__field select,
.cct-search__field input {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  background: var(--white);
  width: 100%;
  transition: border-color var(--fast) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.cct-search__field select:focus,
.cct-search__field input:focus { outline: none; border-color: var(--teal-500); }

/* ═══════════════════════════════════════════════════════
   TRUST BAR (below search)
═══════════════════════════════════════════════════════ */
.cct-trust-bar {
  background: var(--teal-800);
  padding: 0;
}
.cct-trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.cct-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background var(--fast) var(--ease);
}
.cct-trust-item:last-child { border-right: none; }
.cct-trust-item__icon {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--teal-400);
  flex-shrink: 0;
}
.cct-trust-item__title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.cct-trust-item__sub {
  font-size: 12px;
  color: rgba(255,255,255,.52);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   CATEGORY FILTER CHIPS
═══════════════════════════════════════════════════════ */
.cct-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cct-chip {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: 8px 18px;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cct-chip:hover,
.cct-chip.active {
  background: var(--teal-500);
  border-color: var(--teal-500);
  color: var(--white);
}
.cct-chip__icon { font-size: 15px; }
.cct-chip__count {
  font-size: 11px;
  background: rgba(0,0,0,.08);
  border-radius: var(--r-full);
  padding: 1px 7px;
}
.cct-chip.active .cct-chip__count { background: rgba(255,255,255,.2); }

/* ═══════════════════════════════════════════════════════
   TOUR CARDS — GetYourGuide style
═══════════════════════════════════════════════════════ */
.cct-tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.cct-tour-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease);
  text-decoration: none;
}
.cct-tour-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

/* Card image */
.cct-tour-card__img {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--teal-100);
  flex-shrink: 0;
}
.cct-tour-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}
.cct-tour-card:hover .cct-tour-card__img img { transform: scale(1.06); }

.cct-tour-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cct-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--r-full);
  color: var(--white);
  background: var(--teal-500);
}
.cct-badge--gold   { background: var(--gold); color: var(--ink); }
.cct-badge--dark   { background: rgba(1,43,38,.88); backdrop-filter: blur(4px); }
.cct-badge--danger { background: var(--danger); }

.cct-tour-card__duration {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(1,27,23,.82);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--r-full);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 5px;
}

.cct-tour-card__wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--stone);
  border: none;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
  backdrop-filter: blur(4px);
}
.cct-tour-card__wishlist:hover { color: var(--danger); transform: scale(1.1); }

/* Card body */
.cct-tour-card__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cct-tour-card__loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--stone);
  margin-bottom: 6px;
}
.cct-tour-card__title {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--ink);
}
.cct-tour-card__title a { color: var(--ink); }
.cct-tour-card__title a:hover { color: var(--teal-500); }

.cct-tour-card__excerpt {
  font-size: 13.5px;
  color: var(--stone);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 12px;
}

/* Rating row */
.cct-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  margin-bottom: 10px;
}
.cct-rating__stars { color: var(--gold); letter-spacing: 1px; font-size: 12px; }
.cct-rating__score { font-weight: 700; color: var(--ink); }
.cct-rating__count { color: var(--stone); font-size: 12px; }

/* Meta chips */
.cct-tour-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.cct-tour-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--stone);
}
.cct-tour-card__meta-item i { color: var(--teal-500); font-size: 13px; }

/* Price + CTA */
.cct-tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cct-price-from { font-size: 11px; color: var(--stone); text-transform: uppercase; letter-spacing: .5px; }
.cct-price-amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--teal-500);
  line-height: 1;
}
.cct-price-per { font-size: 12px; color: var(--stone); }

/* ═══════════════════════════════════════════════════════
   REVIEWS SECTION (homepage)
═══════════════════════════════════════════════════════ */
.cct-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.cct-reviews-score {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--teal-900);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 20px 28px;
}
.cct-reviews-score__num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}
.cct-reviews-score__detail { line-height: 1.5; }
.cct-reviews-score__stars { color: var(--gold-lt); font-size: 16px; letter-spacing: 2px; }
.cct-reviews-score__label { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════════════════════ */
.cct-faq { max-width: 760px; }
.cct-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color var(--fast) var(--ease);
}
.cct-faq__item.open { border-color: var(--teal-400); }
.cct-faq__q {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: background var(--fast) var(--ease);
}
.cct-faq__q:hover { background: var(--bg-soft); }
.cct-faq__item.open .cct-faq__q { background: var(--teal-50); color: var(--teal-700); }
.cct-faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--teal-500);
  transition: transform var(--mid) var(--ease), background var(--fast) var(--ease);
}
.cct-faq__item.open .cct-faq__icon {
  transform: rotate(45deg);
  background: var(--teal-500);
  color: var(--white);
}
.cct-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--mid) var(--ease);
}
.cct-faq__a-inner {
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════ */
.cct-cta-banner {
  background: var(--teal-800);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cct-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(0,196,153,.25), transparent 60%);
  pointer-events: none;
}
.cct-cta-banner .cct-container { position: relative; z-index: 1; }
.cct-cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cct-cta-banner p { font-size: 18px; color: rgba(255,255,255,.70); max-width: 500px; margin: 0 auto 32px; }
.cct-cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.cct-footer { background: var(--teal-900); color: rgba(255,255,255,.60); font-family: var(--font-body); }
.cct-footer__main { padding: 60px 0 44px; }
.cct-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}

.cct-footer__brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.cct-footer__brand-text {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.50);
  margin-bottom: 18px;
}
.cct-footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.60);
  margin-bottom: 8px;
}
.cct-footer__contact a { color: rgba(255,255,255,.60); transition: color var(--fast) var(--ease); }
.cct-footer__contact a:hover { color: var(--gold-lt); }
.cct-footer__contact i { color: var(--teal-400); font-size: 15px; margin-top: 2px; flex-shrink: 0; }

.cct-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cct-footer__social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,.55);
  transition: all var(--fast) var(--ease);
}
.cct-footer__social-link:hover {
  background: var(--teal-500);
  color: var(--white);
}

.cct-footer__col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.28);
  margin-bottom: 16px;
}
.cct-footer__links { list-style: none; padding: 0; }
.cct-footer__links li { margin-bottom: 10px; }
.cct-footer__links a { font-size: 14px; color: rgba(255,255,255,.58); transition: color var(--fast) var(--ease); }
.cct-footer__links a:hover { color: var(--gold-lt); }

.cct-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}
.cct-footer__bottom span { color: rgba(255,255,255,.32); }

/* ═══════════════════════════════════════════════════════
   SINGLE TOUR — HERO
═══════════════════════════════════════════════════════ */
.cct-tour-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--teal-900);
  display: flex;
  align-items: flex-end;
}
.cct-tour-hero__img {
  position: absolute;
  inset: 0;
}
.cct-tour-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}
.cct-tour-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(1,43,38,.08) 0%,
    rgba(1,43,38,.45) 55%,
    rgba(1,27,23,.92) 100%
  );
}
.cct-tour-hero__content {
  position: relative;
  z-index: 2;
  padding: 40px 0 44px;
  width: 100%;
}

.cct-tour-hero__type {
  display: inline-block;
  background: var(--teal-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: 12px;
}
.cct-tour-hero__title {
  color: var(--white);
  font-size: clamp(26px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 14px rgba(0,0,0,.36);
  max-width: 840px;
}
.cct-tour-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cct-tour-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,.88);
}
.cct-tour-hero__meta-item i { color: var(--gold-lt); font-size: 16px; }

/* ═══════════════════════════════════════════════════════
   SINGLE TOUR — GALLERY
═══════════════════════════════════════════════════════ */
.cct-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 200px);
  gap: 6px;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 36px;
}
.cct-gallery__main { grid-row: 1 / 3; }
.cct-gallery__item {
  overflow: hidden;
  background: var(--teal-100);
  cursor: pointer;
  position: relative;
}
.cct-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}
.cct-gallery__item:hover img { transform: scale(1.06); }
.cct-gallery__more {
  position: absolute;
  inset: 0;
  background: rgba(1,43,38,.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  gap: 4px;
}
.cct-gallery__more i { font-size: 28px; }

/* Lightbox overlay */
.cct-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.cct-lightbox.open { display: flex; }
.cct-lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--r-md); object-fit: contain; }
.cct-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,.12);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════
   SINGLE TOUR — LAYOUT
═══════════════════════════════════════════════════════ */
.cct-tour-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 44px;
  align-items: start;
}
@media (min-width: 768px) { .cct-tour-layout { padding: 40px 32px 80px; } }

/* Trust badges */
.cct-tour-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.cct-trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--r-sm);
}
.cct-trust-badge i { color: var(--teal-500); font-size: 14px; }

/* Tour tabs */
.cct-tour-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.cct-tour-tabs::-webkit-scrollbar { display: none; }
.cct-tour-tab {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--stone);
  padding: 12px 18px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--fast) var(--ease);
  text-decoration: none;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.cct-tour-tab:hover,
.cct-tour-tab.active {
  color: var(--teal-500);
  border-bottom-color: var(--teal-500);
}

/* Tour sections */
.cct-tour-section { margin-bottom: 48px; scroll-margin-top: 100px; }
.cct-tour-section__title {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--teal-100);
}

/* Highlights */
.cct-highlights {
  background: var(--bg-soft);
  border-left: 4px solid var(--teal-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 22px 26px;
}
.cct-highlights__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.cct-highlights__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
}
.cct-highlights__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.cct-highlights__list li::before {
  content: '✓';
  color: var(--teal-500);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Itinerary */
.cct-itinerary-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 8px;
  overflow: hidden;
}
.cct-itinerary-item__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: var(--bg-soft);
  cursor: pointer;
  user-select: none;
}
.cct-itinerary-item__day {
  background: var(--teal-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}
.cct-itinerary-item__title {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}
.cct-itinerary-item__toggle {
  color: var(--stone);
  font-size: 16px;
  transition: transform var(--mid) var(--ease);
}
.cct-itinerary-item.open .cct-itinerary-item__toggle { transform: rotate(180deg); }
.cct-itinerary-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
}
.cct-itinerary-item__body-inner {
  padding: 16px 18px 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-3);
  border-top: 1px solid var(--border);
}

/* Includes / Excludes */
.cct-inc-exc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
.cct-inc-exc-box {
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.cct-inc-exc-box--inc { background: #edfbf3; border: 1px solid #a8e6c0; }
.cct-inc-exc-box--exc { background: #fef2f2; border: 1px solid #fcc; }
.cct-inc-exc-box__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .9px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cct-inc-exc-box--inc .cct-inc-exc-box__title { color: var(--success); }
.cct-inc-exc-box--exc .cct-inc-exc-box__title { color: var(--danger); }
.cct-inc-exc-box ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cct-inc-exc-box ul li {
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.5;
  color: var(--ink-2);
}
.cct-inc-exc-box--inc li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.cct-inc-exc-box--exc li::before { content: '✗'; color: var(--danger); font-weight: 700; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   BOOKING CARD (sidebar)
═══════════════════════════════════════════════════════ */
.cct-booking-card {
  position: sticky;
  top: 84px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.cct-booking-card__head {
  background: var(--teal-900);
  padding: 26px 24px 22px;
  position: relative;
  overflow: hidden;
}
.cct-booking-card__head::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.035);
}
.cct-booking-card__from {
  font-size: 11px;
  color: rgba(255,255,255,.48);
  text-transform: uppercase;
  letter-spacing: .9px;
  margin-bottom: 4px;
}
.cct-booking-card__price {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}
.cct-booking-card__per {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
}
.cct-booking-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.cct-booking-card__rating .cct-rating__stars { font-size: 14px; }
.cct-booking-card__rating .cct-rating__score,
.cct-booking-card__rating .cct-rating__count { color: rgba(255,255,255,.6); }
.cct-booking-card__rating .cct-rating__score { font-weight: 700; }

.cct-booking-card__body { padding: 20px 22px 22px; }

.cct-booking-facts {
  list-style: none;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 18px;
}
.cct-booking-fact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.cct-booking-fact:last-child { border-bottom: none; }
.cct-booking-fact__lbl {
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cct-booking-fact__lbl i { color: var(--teal-500); font-size: 14px; }
.cct-booking-fact__val { font-weight: 600; color: var(--ink); font-size: 13px; text-align: right; }

.cct-booking-card__actions { display: flex; flex-direction: column; gap: 10px; }
.cct-booking-card__note {
  font-size: 12px;
  color: var(--stone);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
}
.cct-booking-card__note i { color: var(--success); font-size: 13px; }

/* ═══════════════════════════════════════════════════════
   ARCHIVE PAGE
═══════════════════════════════════════════════════════ */
.cct-archive-header {
  background: var(--teal-900);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.cct-archive-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,196,153,.12), transparent 60%);
  pointer-events: none;
}
.cct-archive-header .cct-container { position: relative; z-index: 1; }
.cct-archive-header h1 { color: var(--white); margin-bottom: 10px; }
.cct-archive-header p { font-size: 17px; color: rgba(255,255,255,.68); max-width: 560px; }

/* ═══════════════════════════════════════════════════════
   STAR RATING GLOBAL
═══════════════════════════════════════════════════════ */
.star-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}
.star-rating__stars { color: var(--gold); letter-spacing: 1px; font-size: 12px; }
.star-rating__count { color: var(--stone); font-size: 12px; }

/* ═══════════════════════════════════════════════════════
   RELATED TOURS
═══════════════════════════════════════════════════════ */
.cct-related {
  background: var(--bg-soft);
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════
   WP TRAVEL OVERRIDES
═══════════════════════════════════════════════════════ */
.wp-travel-trip-price .trip-price {
  font-family: var(--font-display) !important;
  color: var(--teal-500) !important;
  font-size: 32px !important;
}
.wp-travel-tab-content { font-family: var(--font-body) !important; }
.wp-travel-trip-booking .wt-book-btn,
.wp-travel-front .wt-book-btn {
  background: var(--teal-500) !important;
  border-color: var(--teal-500) !important;
  border-radius: var(--r-sm) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  padding: 13px 24px !important;
}
.wp-travel-trip-booking .wt-book-btn:hover { background: var(--teal-700) !important; }
.glsr-star-rating .glsr-star { color: var(--gold) !important; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cct-tour-layout { grid-template-columns: 1fr; }
  .cct-booking-card { position: static; }
  .cct-trust-bar__inner { grid-template-columns: 1fr 1fr; }
  .cct-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cct-search { grid-template-columns: 1fr 1fr; }
  .cct-hero__stat-num { font-size: 28px; }
}

@media (max-width: 768px) {
  .cct-topbar { display: none; }
  .cct-nav { display: none; }
  .cct-nav-toggle { display: flex; }
  .cct-hero { min-height: 78vh; }
  .cct-hero__body { padding: 60px 0 80px; }
  .cct-hero__stats { gap: 0; }
  .cct-hero__stat { padding-right: 20px; margin-right: 20px; }
  .cct-search { grid-template-columns: 1fr; }
  .cct-search-wrap { margin-top: 0; }
  .cct-trust-bar__inner { grid-template-columns: 1fr 1fr; }
  .cct-trust-item { padding: 16px 16px; }
  .cct-tours-grid { grid-template-columns: 1fr; }
  .cct-tour-hero { min-height: 380px; }
  .cct-gallery { grid-template-columns: 1fr; grid-template-rows: 240px 120px 120px; }
  .cct-gallery__main { grid-row: 1; }
  .cct-inc-exc { grid-template-columns: 1fr; }
  .cct-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cct-hero__stats { flex-direction: column; gap: 16px; border-top: none; padding-top: 0; }
  .cct-hero__stat { border-right: none; margin-right: 0; padding-right: 0; }
  .cct-trust-bar__inner { grid-template-columns: 1fr; }
  .cct-trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .cct-trust-item:last-child { border-bottom: none; }
  .btn--lg { padding: 14px 22px; font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════
   PERFORMANCE / PERF PLACEHOLDERS
═══════════════════════════════════════════════════════ */
.cct-tour-card__img,
.cct-tour-hero,
.cct-hero { background-color: var(--teal-100); }

/* Icon fallback if CDN fails */
.ti::before { font-style: normal; }
@supports not (font-family: 'tabler-icons') {
  .ti::before { content: '•'; }
}

/* Font fallback if Google Fonts fails */
@supports not (font-family: 'DM Sans') {
  :root {
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }
}
