/*
 * groupia.css — Shared stylesheet for all Groupia landing pages
 * Load AFTER Bootstrap 5 CDN. Overrides and extends Bootstrap.
 * Brand colours are set via :root overrides in each page's <style> block.
 *
 * Token convention (set per-page):
 *   --brand          main brand accent colour
 *   --brand-dark     dark version (nav bg, footer, dark section bg)
 *   --brand-mid      mid version (stats bar bg)
 *   --brand-light    very light tint (section backgrounds)
 *   --brand-shadow   rgba string for box-shadow
 *   --brand-glow     rgba string for radial gradient glows
 *   --reviews-bg     background for reviews section
 *   --cta-bg         background for CTA strip
 * ─────────────────────────────────────────────────────────────────────────────
 */

/* ── Shared Design Tokens ───────────────────────────────────────────────── */
/* Per-page overrides: --brand* (and optional --text) in each testing template’s <style> */
:root {
  --primary:      #042698;
  --text:         #0d1f3c;
  --text-muted:   #4a5e78;
  --font-d:       'Bebas Neue', sans-serif;
  --font-b:       'Inter', sans-serif;
  --radius-pill:  999px;
  --radius-sm:    6px;
  --radius-md:    14px;
  --radius-lg:    24px;
  --reviews-bg:   var(--brand-dark);
  --cta-bg:       var(--brand-mid);
}

.footer-cta{display:none;}

/* ── Base Reset / Body ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html body {
  font-family: var(--font-b);
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  overflow-x: hidden;
}
html h1, html h2, html h3, html h4, html h5, html h6,
html .h1, html .h2, html .h3, html .h4, html .h5, html .h6 {
  font-family: var(--font-b);
  letter-spacing: -0.02em;
}
img { display: block; max-width: 100%; height: auto; }
a, a:link, a:visited, a:active { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Display Typography ──────────────────────────────────────────────────── */
.d-xl {
  font-family: var(--font-d);
  font-size: clamp(2.8rem, 8vw, 7.5rem);
  line-height: .92;
  letter-spacing: .01em;
}
.d-lg {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: .96;
}
.d-md {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1.05;
}
.eyebrow {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
}

/* ── Button Overrides (work on top of Bootstrap .btn base) ──────────────── */
.btn {
  font-family: var(--font-b);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-pill) !important;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s !important;
}
.btn:hover { transform: translateY(-2px); }

/* Volt CTA — primary action */
.btn-volt {
  background: #d4ff00 !important;
  color: #080f22 !important;
  border-color: #d4ff00 !important;
}
.btn-volt:hover, .btn-volt:focus {
  background: #bae600 !important;
  border-color: #bae600 !important;
  color: #080f22 !important;
  box-shadow: 0 8px 28px rgba(212,255,0,.45) !important;
}

/* Ghost — white outline on dark backgrounds */
.btn-ghost {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.5) !important;
}
.btn-ghost:hover, .btn-ghost:focus {
  background: rgba(255,255,255,.12) !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* Bootstrap .btn-outline-light fix for dark backgrounds */
.btn-outline-light {
  font-family: var(--font-b);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Landing Page Section Components ────────────────────────────────────── */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  background: var(--brand-dark);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.48);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(160deg, rgba(0,0,0,.65) 0%, transparent 60%),
    linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.4) 38%, transparent 65%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 24px 72px;
  max-width: 1400px; margin: 0 auto; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(12px);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero-badge .brand-name {
  font-family: var(--font-d);
  font-size: 1.2rem;
  color: var(--brand);
  letter-spacing: .06em;
}
.hero-badge span {
  color: rgba(255,255,255,.65);
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
}
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero h1 em { color: var(--brand); font-style: normal; display: block; }
.hero-sub {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem; font-weight: 500;
  max-width: 560px; margin-bottom: 32px; line-height: 1.65;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 600;
}
.hero-trust-item .dot {
  width: 7px; height: 7px;
  background: var(--brand); border-radius: 50%;
  animation: pulse 2s infinite; flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.6)} }

/* Stats bar */
.stats-bar { background: var(--brand-mid); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  text-align: center; padding: 22px 12px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border: none; }
.stat-num {
  font-family: var(--font-d); font-size: 2.6rem;
  color: var(--brand); line-height: 1; display: block;
}
.stat-lbl {
  font-size: .67rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.45); margin-top: 5px; display: block;
}

/* Trust pills */
.trust-strip {
  background: var(--brand-dark);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.trust-pills {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; padding: 0 16px;
}
.trust-pill {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-pill);
  padding: 8px 16px; color: #fff; font-size: .78rem; font-weight: 700;
}
.trust-pill .icon { color: var(--brand); }

/* Brand intro */
.brand-intro { padding: 72px 0; background: var(--brand-light); }
.brand-intro-img {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  position: relative; background: var(--brand-dark);
}
.brand-intro-img img { width: 100%; height: 100%; object-fit: cover; }
.brand-intro-img-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: #fff; border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  display: flex; align-items: center; gap: 12px;
}
.brand-intro-img-badge .big {
  font-family: var(--font-d); font-size: 1.8rem;
  color: var(--brand); line-height: 1;
}
.brand-intro-img-badge .lbl {
  font-size: .68rem; font-weight: 800;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em;
}
.brand-pill-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-dark); color: var(--brand);
  padding: 6px 16px; border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 16px;
}
.brand-intro-text h2 { color: var(--brand-dark); margin-bottom: 16px; }
.brand-intro-text p { color: var(--text-muted); margin-bottom: 16px; font-size: .96rem; line-height: 1.72; }
.feat-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; padding: 0; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: .93rem; }
.feat-list li::before {
  content: '✓';
  min-width: 22px; height: 22px;
  background: var(--brand); color: var(--brand-dark);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 900; flex-shrink: 0; margin-top: 1px;
}

/* Packages — image cards (.package-card-img / .package-card-body …) */
.packages-section { padding: 72px 0; background: var(--brand-light); }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991.98px) {
  .packages-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 575.98px) {
  .packages-grid { grid-template-columns: 1fr; }
}

.package-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .25s;
}
.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .06);
  border-color: rgba(0, 0, 0, .1);
}
.package-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.package-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand-dark);
}
.package-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
  transition: transform .55s ease;
}
.package-card:hover .package-card-img img { transform: scale(1.05); }
.package-card-img-location {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .94);
  color: var(--brand-dark);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
.package-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.package-card h4 {
  margin: 0;
  font-family: var(--font-d);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
  color: var(--brand-dark);
  transition: color .2s;
}
.package-card:hover h4 { color: var(--brand-mid); }
.package-card-price {
  margin-top: 12px;
  font-family: var(--font-d);
  font-size: 1.65rem;
  letter-spacing: .03em;
  line-height: 1.2;
  color: var(--brand);
}
.package-card-price span {
  font-family: var(--font-b);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: 6px;
}
.package-card-arrow {
  margin-top: auto;
  padding-top: 16px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-mid);
  transition: color .2s, transform .25s;
}
.package-card:hover .package-card-arrow {
  color: var(--brand);
  transform: translateX(4px);
}
/* Legacy class names (simple text cards / old snippets) */
.package-title { color: var(--brand-dark); font-family: var(--font-d); font-size: 1.3rem; letter-spacing: .03em; line-height: 1.15; margin-bottom: 10px; }
.package-price { color: var(--brand); font-family: var(--font-d); font-size: 1.8rem; letter-spacing: .03em; line-height: 1.15; margin-bottom: 10px; }
.package-arrow { color: var(--brand-mid); font-size: .85rem; font-weight: 600; }

/* Discover grid */
.discover-section { padding: 72px 0; background: #fff; }
.discover-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.discover-card {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; aspect-ratio: 3/4;
  cursor: pointer; display: block;
  background: var(--brand-dark);
  transition: transform .3s, box-shadow .3s;
}
.discover-card:hover { transform: translateY(-8px); box-shadow: 0 24px 80px rgba(0,0,0,.24); }
.discover-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.discover-card:hover img { transform: scale(1.08); }
.discover-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, transparent 52%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px 16px; gap: 5px;
}
.discover-card-tag {
  display: inline-flex;
  background: var(--brand); color: var(--brand-dark);
  font-size: .63rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 9px; border-radius: var(--radius-pill); width: fit-content;
}
.discover-card-title { color: #fff; font-family: var(--font-d); font-size: 1.3rem; letter-spacing: .03em; line-height: 1.15; }
.discover-card-sub { color: rgba(255,255,255,.6); font-size: .8rem; font-weight: 500; }
.discover-card-arrow {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: var(--brand); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark); font-size: .85rem; font-weight: 900;
  opacity: 0; transform: scale(.7); transition: opacity .2s, transform .2s;
}
.discover-card:hover .discover-card-arrow { opacity: 1; transform: scale(1); }

/* How it works */
.how-section { padding: 72px 0; background: var(--brand-dark); position: relative; overflow: hidden; }
.how-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 10% 70%, var(--brand-glow) 0, transparent 45%),
              radial-gradient(circle at 85% 10%, rgba(255,255,255,.04) 0, transparent 40%);
  pointer-events: none;
}
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; position: relative; z-index: 1; }
.how-card {
  border-radius: var(--radius-lg); padding: 40px 28px 32px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  position: relative; overflow: hidden; transition: transform .3s, background .3s;
}
.how-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.how-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.09); }
.how-card:hover::after { transform: scaleX(1); }
.how-step { font-family: var(--font-d); font-size: 5rem; color: var(--brand); opacity: .75; line-height: 1; margin-bottom: -14px; }
.how-card h3 { font-family: var(--font-d); font-size: 1.9rem; color: #fff; margin-bottom: 10px; letter-spacing: .02em; }
.how-card p { color: rgba(255,255,255,.62); font-size: .93rem; line-height: 1.65; }

/* Destinations */
.dest-section { padding: 72px 0; background: var(--brand-light); }
.dest-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.dest-card {
  background: #fff; border-radius: var(--radius-md); padding: 18px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border: 2px solid transparent;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  font-weight: 700; color: var(--brand-dark);
}
.dest-card:hover { border-color: var(--brand-dark); box-shadow: 0 4px 24px rgba(0,0,0,.1); transform: translateX(4px); }
.dest-num { font-family: var(--font-d); font-size: 1.5rem; color: var(--brand-mid); line-height: 1; margin-right: 12px; }
.dest-name { font-size: .93rem; font-weight: 700; flex: 1; }
.dest-arrow { color: var(--brand-mid); font-size: .9rem; opacity: .5; transition: opacity .2s, transform .2s; }
.dest-card:hover .dest-arrow { opacity: 1; transform: translateX(3px); }

/* About */
.about-section { padding: 72px 0; background: var(--bs-white); }
.about-img {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  position: relative; background: var(--brand-dark);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { color: var(--brand-dark); margin-bottom: 16px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: .96rem; line-height: 1.72; }

/* Reviews */
.reviews-section { padding: 72px 0; background: var(--reviews-bg); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.review-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg); padding: 28px; transition: transform .3s, background .3s;
}
.review-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.16); }
.stars { color: var(--brand); font-size: .95rem; letter-spacing: 3px; margin-bottom: 14px; }
.review-q { color: #fff; font-style: italic; line-height: 1.65; font-size: .95rem; font-weight: 500; margin-bottom: 16px; }
.reviewer { font-family: var(--font-d); color: #fff; font-size: 1.1rem; letter-spacing: .04em; }
.reviewer-meta { color: rgba(255,255,255,.4); font-size: .77rem; margin-top: 4px; }

/* CTA Strip */
.cta-strip { background: var(--cta-bg); padding: 72px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-strip h2 { font-family: var(--font-d); font-size: clamp(2.2rem,5vw,4.5rem); color: var(--brand); margin-bottom: 12px; position: relative; z-index: 1; letter-spacing: .02em; }
.cta-strip p { color: rgba(255,255,255,.82); font-size: 1.05rem; font-weight: 500; margin-bottom: 28px; position: relative; z-index: 1; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-strip .btn-group { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ── Mobile Responsive ───────────────────────────────────────────────────── */

/* Tablet ≤900px */
@media (max-width: 900px) {
  .brand-intro { padding: 56px 0; }
  .packages-section { padding: 56px 0; }
  .discover-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-card { padding: 32px 24px 28px; }
  .dest-grid { grid-template-columns: repeat(2,1fr); }
  .about-section { padding: 56px 0; }
  .reviews-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .g-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile ≤640px */
@media (max-width: 640px) {
  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content { padding: 0 20px 56px; }
  .d-xl { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .d-lg { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .d-md { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero-sub { font-size: .95rem; max-width: 100%; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 12px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-num { font-size: 2rem; }

  /* Trust pills */
  .trust-pill { font-size: .72rem; padding: 7px 12px; }

  /* Brand intro */
  .brand-intro { padding: 48px 0; }
  .brand-intro-img { aspect-ratio: 16/9; }

  /* Packages */
  .packages-section { padding: 48px 0; }

  /* Discover */
  .discover-section { padding: 48px 0; }
  .discover-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .discover-card { aspect-ratio: 1/1.1; }
  .discover-card-title { font-size: 1.05rem; }

  /* How it works */
  .how-section { padding: 48px 0; }
  .how-card h3 { font-size: 1.6rem; }
  .how-step { font-size: 4rem; }

  /* Destinations */
  .dest-section { padding: 48px 0; }
  .dest-grid { grid-template-columns: 1fr; }

  /* About */
  .about-section { padding: 48px 0; }
  .about-img { aspect-ratio: 16/9; }

  /* Reviews */
  .reviews-section { padding: 48px 0; }
  .reviews-grid { grid-template-columns: 1fr; gap: 12px; }
  .review-card { padding: 20px; }

  /* CTA strip */
  .cta-strip { padding: 52px 20px; }
  .cta-strip .btn-group { flex-direction: column; align-items: center; }
  .cta-strip .btn-group .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Footer */
  .g-footer-grid { grid-template-columns: 1fr; }
  .g-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .g-footer-legal { gap: 10px; }
  .g-promo-bar { font-size: .78rem; padding: 8px 12px; }
}

/* Small mobile ≤400px */
@media (max-width: 400px) {
  .hero-content { padding: 0 16px 44px; }
  .discover-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.8rem; }
  .trust-pills { gap: 6px; }
  .d-xl { font-size: clamp(2.4rem, 12vw, 3.6rem); }
}
