/* ==========================================================================
   HappyFeet — Components
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5); border-radius: var(--r-pill); cursor: pointer;
  font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-sm);
  border: 1.5px solid transparent; transition: transform var(--t-fast), background var(--t-fast),
    box-shadow var(--t-fast), color var(--t-fast); white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-accent); color: var(--c-navy-900); box-shadow: var(--sh-sm); }
.btn-primary:hover { background: var(--c-accent-strong); color: var(--c-navy-900); box-shadow: var(--sh-md); }
.btn-azure { background: var(--c-primary); color: #fff; }
.btn-azure:hover { background: var(--c-primary-strong); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--c-line); color: var(--c-ink-700); }
.btn-ghost:hover { background: var(--c-azure-50); border-color: var(--c-azure-500); color: var(--c-primary); }
.btn-light { background: #fff; color: var(--c-primary); box-shadow: var(--sh-sm); }
.btn-light:hover { background: var(--c-azure-50); color: var(--c-primary-strong); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: var(--sp-2) var(--sp-4); font-size: var(--fs-xs); }
.btn-lg { padding: var(--sp-4) var(--sp-6); font-size: var(--fs-base); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px;
  border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: var(--fw-semi);
  background: var(--c-azure-50); color: var(--c-azure-600);
}
.badge-accent  { background: var(--c-gold-100); color: var(--c-accent-strong); }
.badge-amber   { background: var(--c-gold-100); color: #a86a12; }
.badge-success { background: #dff2e8; color: #1f7a52; }
.badge-warning { background: #fbeecf; color: #97690f; }
.badge-danger  { background: #fbe0dc; color: #ab3a2c; }
.badge-info    { background: #dcecf8; color: #245e8f; }
.badge-neutral { background: var(--c-warm-200); color: var(--c-ink-500); }

.pill-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border: 1px solid var(--c-line); border-radius: var(--r-pill); font-size: var(--fs-sm);
  background: #fff; color: var(--c-ink-700);
}

/* ---------- Star rating ---------- */
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--c-gold-500); }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); }
.rating b { color: var(--c-ink-900); }

/* ---------- Card (generic) ---------- */
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); overflow: hidden;
}
.card-body { padding: var(--sp-5); }
.card-pad { padding: var(--sp-5); }

/* ---------- Media / photo placeholder ---------- */
.ph {
  background: linear-gradient(135deg, var(--c-navy-700), var(--c-azure-600));
  position: relative; display: grid; place-items: center; color: rgba(255,255,255,0.85);
  font-family: var(--font-head); font-weight: var(--fw-semi); letter-spacing: 0.03em;
}
.ph::after { content: attr(data-label); font-size: var(--fs-sm); }
.ph-2 { background: linear-gradient(135deg, var(--c-gold-400), var(--c-gold-600)); }
.ph-3 { background: linear-gradient(135deg, var(--c-azure-500), var(--c-blue-800)); }
.ph-4 { background: linear-gradient(135deg, var(--c-blue-800), var(--c-navy-800)); }
.img-fill { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tour card ---------- */
.tour-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.tour-media { position: relative; aspect-ratio: 4 / 3; }
.tour-media .ph, .tour-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour-media .fav {
  position: absolute; top: var(--sp-3); right: var(--sp-3); width: 38px; height: 38px;
  border-radius: var(--r-pill); background: rgba(255,255,255,0.92); border: none; cursor: pointer;
  display: grid; place-items: center; font-size: 1.05rem; color: var(--c-ink-500); box-shadow: var(--sh-sm);
}
.tour-media .fav:hover, .tour-media .fav.on { color: var(--c-accent); }
.tour-media .card-tag {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
}
.tour-body { padding: var(--sp-4) var(--sp-5) var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.tour-meta { display: flex; align-items: center; gap: var(--sp-3); color: var(--c-ink-500);
  font-size: var(--fs-xs); margin-bottom: var(--sp-2); }
.tour-card h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.tour-card h3 a { color: var(--c-ink-900); }
.tour-card h3 a:hover { color: var(--c-primary); }
.tour-foot { margin-top: auto; padding-top: var(--sp-4); display: flex; align-items: flex-end;
  justify-content: space-between; gap: var(--sp-3); }
.price { font-family: var(--font-head); }
.price .amt { font-size: var(--fs-lg); font-weight: var(--fw-bold); color: var(--c-ink-900); }
.price .cur { color: var(--c-ink-500); font-size: var(--fs-sm); }
.price small { display: block; color: var(--c-ink-500); font-size: var(--fs-xs); font-weight: var(--fw-normal); }

/* ---------- Destination card ---------- */
.dest-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4;
  box-shadow: var(--sh-sm); display: block;
}
.dest-card .ph, .dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.dest-card::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(var(--c-overlay-dark),0.78) 8%, rgba(var(--c-overlay-dark),0.05) 55%); }
.dest-card .dest-info { position: absolute; left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4);
  z-index: 1; color: #fff; }
.dest-card h3 { color: #fff; font-size: var(--fs-lg); }
.dest-card small { color: var(--c-on-dark); }
.dest-card:hover .ph, .dest-card:hover img { transform: scale(1.06); }
.dest-card .ph, .dest-card img { transition: transform var(--t-slow); }

/* ---------- Category chip card ---------- */
.cat-card {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.cat-card:hover { border-color: var(--c-azure-500); box-shadow: var(--sh-md); }
.cat-card .ic {
  width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--c-azure-50); color: var(--c-primary); font-size: 1.3rem; flex: none;
}
.cat-card b { display: block; color: var(--c-ink-900); }
.cat-card small { color: var(--c-ink-500); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, var(--c-navy-800), var(--c-azure-500) 55%, var(--c-azure-500)); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(1200px 400px at 80% -10%, rgba(209,165,78,0.30), transparent 60%); }
.hero-inner { position: relative; z-index: 1; padding-block: var(--sp-9) var(--sp-8); }
.hero h1 { color: #fff; font-size: var(--fs-hero); max-width: 16ch; }
.hero .lead { color: var(--c-on-dark); max-width: 52ch; }
.hero-stats { display: flex; gap: var(--sp-6); flex-wrap: wrap; margin-top: var(--sp-6); }
.hero-stats b { font-family: var(--font-head); font-size: var(--fs-xl); color: #fff; display: block; }
.hero-stats span { color: var(--c-on-dark-muted); font-size: var(--fs-sm); }

.page-hero { position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--c-navy-800), var(--c-azure-500)); }
.page-hero .hero-inner { padding-block: var(--sp-7); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: var(--c-on-dark); }

/* ---------- Search bar ---------- */
.searchbar {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: var(--sp-3);
  display: grid; grid-template-columns: 2fr 1.4fr 1.2fr auto; gap: var(--sp-2); align-items: stretch;
}
.searchbar .field { display: flex; flex-direction: column; padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md); }
.searchbar .field + .field { border-left: 1px solid var(--c-line); }
.searchbar label { font-size: var(--fs-xs); color: var(--c-ink-500); font-weight: var(--fw-semi);
  text-transform: uppercase; letter-spacing: 0.04em; }
.searchbar input, .searchbar select { border: none; background: transparent; padding: 4px 0;
  color: var(--c-ink-900); font-weight: var(--fw-medium); }
.searchbar input:focus, .searchbar select:focus { outline: none; box-shadow: none; }
@media (max-width: 860px) {
  .searchbar { grid-template-columns: 1fr; }
  .searchbar .field + .field { border-left: none; border-top: 1px solid var(--c-line); }
}

/* ---------- Forms ---------- */
.form-row { margin-bottom: var(--sp-4); }
.form-row label { display: block; font-size: var(--fs-sm); font-weight: var(--fw-semi);
  color: var(--c-ink-900); margin-bottom: var(--sp-2); }
.input, .select, .textarea {
  width: 100%; padding: var(--sp-3) var(--sp-4); border: 1.5px solid var(--c-line);
  border-radius: var(--r-md); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--c-azure-500); box-shadow: var(--sh-focus); }
.textarea { min-height: 120px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.help { font-size: var(--fs-xs); color: var(--c-ink-500); margin-top: 4px; }
.checkbox { display: flex; gap: var(--sp-2); align-items: flex-start; font-size: var(--fs-sm); }
.checkbox input { margin-top: 3px; }

/* ---------- Auth card ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, var(--c-azure-600), var(--c-navy-900)); padding: var(--sp-8);
  display: flex; flex-direction: column; justify-content: center; }
.auth-aside h2 { color: #fff; font-size: var(--fs-2xl); }
.auth-aside p { color: var(--c-on-dark); }
.auth-main { display: grid; place-items: center; padding: var(--sp-7) var(--sp-5); }
.auth-card { width: 100%; max-width: 420px; }
.role-picker { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.role-picker label { display: flex; gap: var(--sp-2); align-items: center; padding: var(--sp-3);
  border: 1.5px solid var(--c-line); border-radius: var(--r-md); cursor: pointer; font-size: var(--fs-sm); }
.role-picker input { accent-color: var(--c-primary); }
.role-picker label:hover { border-color: var(--c-azure-500); }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-aside { display: none; } }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: var(--sp-1); border-bottom: 1px solid var(--c-line); flex-wrap: wrap; }
.tab {
  padding: var(--sp-3) var(--sp-4); background: none; border: none; cursor: pointer;
  font-weight: var(--fw-semi); color: var(--c-ink-500); border-bottom: 2px solid transparent;
  font-size: var(--fs-sm); margin-bottom: -1px;
}
.tab:hover { color: var(--c-primary); }
.tab.active { color: var(--c-primary); border-bottom-color: var(--c-accent); }
.tab-panel { display: none; padding-top: var(--sp-5); }
.tab-panel.active { display: block; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; gap: var(--sp-2); flex-wrap: wrap; font-size: var(--fs-sm);
  color: var(--c-ink-500); padding-block: var(--sp-4); }
.breadcrumbs a { color: var(--c-ink-500); }
.breadcrumbs a:hover { color: var(--c-primary); }
.breadcrumbs .sep { color: var(--c-ink-300); }

/* ---------- Filter sidebar ---------- */
.filters { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5); }
.filter-group { padding-block: var(--sp-4); border-bottom: 1px solid var(--c-line); }
.filter-group:last-child { border-bottom: none; }
.filter-group h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--c-ink-500); margin-bottom: var(--sp-3); }
.filter-opt { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2);
  font-size: var(--fs-sm); }
.filter-opt input { accent-color: var(--c-primary); }
.filter-opt .count { margin-left: auto; color: var(--c-ink-300); font-size: var(--fs-xs); }
.range { width: 100%; accent-color: var(--c-primary); }

.listing { display: grid; grid-template-columns: 300px 1fr; gap: var(--sp-6); align-items: start; }
.listing-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: var(--sp-3); margin-bottom: var(--sp-5); }
@media (max-width: 900px) { .listing { grid-template-columns: 1fr; } }

/* ---------- Booking widget ---------- */
.booking { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  box-shadow: var(--sh-md); padding: var(--sp-5); position: sticky; top: calc(var(--header-h) + 16px); }
.booking .price-row { display: flex; align-items: baseline; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.booking .price-row .amt { font-size: var(--fs-2xl); font-weight: var(--fw-bold);
  font-family: var(--font-head); color: var(--c-ink-900); }
.stepper { display: flex; align-items: center; gap: var(--sp-3); }
.stepper button { width: 36px; height: 36px; border-radius: var(--r-pill); border: 1.5px solid var(--c-line);
  background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--c-ink-700); }
.stepper button:hover { border-color: var(--c-azure-500); color: var(--c-primary); }
.stepper output { min-width: 2ch; text-align: center; font-weight: var(--fw-semi); }
.total-row { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-4);
  margin-top: var(--sp-4); border-top: 1px solid var(--c-line); }
.total-row .amt { font-size: var(--fs-xl); font-weight: var(--fw-bold); font-family: var(--font-head); }

/* PayPal button placeholder */
.paypal-btn {
  width: 100%; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-pill); border: none; cursor: pointer;
  background: #ffc439; color: #253b80; font-family: var(--font-head); font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: var(--sh-sm);
}
.paypal-btn:hover { background: #f5b800; }
.paypal-btn i { font-style: italic; }
.paypal-btn i b { color: #179bd7; }
.pay-note { font-size: var(--fs-xs); color: var(--c-ink-500); text-align: center; margin-top: var(--sp-3);
  display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ---------- Itinerary / schedule ---------- */
.itinerary { list-style: none; padding: 0; position: relative; }
.itinerary::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px;
  background: var(--c-line); }
.itin-item { position: relative; padding-left: var(--sp-7); padding-bottom: var(--sp-5); }
.itin-item .dot { position: absolute; left: 6px; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-azure-500); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--c-line); z-index: 1; }
.itin-item h4 { margin-bottom: 4px; }
.itin-time { font-size: var(--fs-xs); color: var(--c-accent); font-weight: var(--fw-semi);
  text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; }
table.data th, table.data td { text-align: left; padding: var(--sp-3) var(--sp-4); font-size: var(--fs-sm);
  border-bottom: 1px solid var(--c-line); }
table.data th { background: var(--c-bg-soft); color: var(--c-ink-500); font-weight: var(--fw-semi);
  text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: 0.04em; }
table.data tbody tr:last-child td, table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--c-bg-soft); }
.cell-user { display: flex; align-items: center; gap: var(--sp-3); }
.cell-user .avatar { width: 34px; height: 34px; border-radius: var(--r-pill); background: var(--c-azure-100);
  color: var(--c-azure-600); display: grid; place-items: center; font-weight: var(--fw-bold); font-size: var(--fs-sm); }

/* ---------- Stat tiles ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.stat {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5);
}
.stat .ic { width: 42px; height: 42px; border-radius: var(--r-md); display: grid; place-items: center;
  font-size: 1.2rem; margin-bottom: var(--sp-3); }
.stat .ic.azure  { background: var(--c-azure-50); color: var(--c-primary); }
.stat .ic.gold { background: var(--c-gold-100); color: var(--c-accent-strong); }
.stat .ic.amber { background: var(--c-gold-100); color: #a86a12; }
.stat .ic.info  { background: #dcecf8; color: #245e8f; }
.stat b { font-family: var(--font-head); font-size: var(--fs-2xl); color: var(--c-ink-900); display: block; }
.stat span { color: var(--c-ink-500); font-size: var(--fs-sm); }
.stat .trend { font-size: var(--fs-xs); font-weight: var(--fw-semi); }
.trend.up { color: var(--c-success); }
.trend.down { color: var(--c-danger); }
@media (max-width: 1024px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stat-grid { grid-template-columns: 1fr; } }

/* ---------- CRM pipeline (kanban) ---------- */
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: var(--sp-4);
  overflow-x: auto; padding-bottom: var(--sp-3); }
.pipe-col { background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: var(--sp-3); }
.pipe-col > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-3);
  font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--c-ink-700); }
.pipe-col .count-badge { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-pill);
  padding: 1px 8px; font-size: var(--fs-xs); color: var(--c-ink-500); }
.lead-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: var(--sp-3);
  margin-bottom: var(--sp-2); box-shadow: var(--sh-sm); cursor: grab; }
.lead-card:hover { border-color: var(--c-azure-500); }
.lead-card b { font-size: var(--fs-sm); color: var(--c-ink-900); }
.lead-card p { font-size: var(--fs-xs); color: var(--c-ink-500); margin: 2px 0 var(--sp-2); }
.lead-card .lead-foot { display: flex; justify-content: space-between; align-items: center; }

/* ---------- Gallery + lightbox ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.gallery-grid.masonry .g-item:nth-child(6n+1) { grid-row: span 2; }
.g-item { position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer;
  aspect-ratio: 1 / 1; }
.gallery-grid.masonry .g-item:nth-child(6n+1) { aspect-ratio: auto; }
.g-item .ph, .g-item img { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-item::after { content: ""; position: absolute; inset: 0; background: rgba(var(--c-overlay-dark),0);
  transition: background var(--t-fast); }
.g-item:hover::after { background: rgba(var(--c-overlay-dark),0.28); }
.g-item .g-type { position: absolute; top: var(--sp-2); right: var(--sp-2); z-index: 1;
  background: rgba(0,0,0,0.55); color: #fff; border-radius: var(--r-pill); padding: 2px 9px;
  font-size: var(--fs-xs); }
.g-item .play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.g-item .play span { width: 54px; height: 54px; border-radius: var(--r-pill); background: rgba(255,255,255,0.92);
  color: var(--c-primary); display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--sh-md); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(var(--c-overlay-dark),0.94);
  display: none; place-items: center; padding: var(--sp-5); }
.lightbox.open { display: grid; }
.lightbox-inner { max-width: 960px; width: 100%; }
.lightbox figure { background: #000; border-radius: var(--r-md); overflow: hidden; }
.lightbox .frame { aspect-ratio: 16 / 9; }
.lightbox .frame iframe, .lightbox .frame .ph { width: 100%; height: 100%; border: 0; }
.lightbox figcaption { color: var(--c-on-dark); margin-top: var(--sp-3); text-align: center; font-size: var(--fs-sm); }
.lightbox-close { position: absolute; top: var(--sp-5); right: var(--sp-5); width: 46px; height: 46px;
  border-radius: var(--r-pill); background: rgba(255,255,255,0.14); color: #fff; border: none; cursor: pointer;
  font-size: 1.4rem; }
.lightbox-close:hover { background: rgba(255,255,255,0.28); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border-radius: var(--r-pill); background: rgba(255,255,255,0.14); color: #fff; border: none; cursor: pointer;
  font-size: 1.5rem; }
.lightbox-nav:hover { background: rgba(255,255,255,0.28); }
.lightbox-nav.prev { left: var(--sp-5); }
.lightbox-nav.next { right: var(--sp-5); }

/* ---------- Reviews / testimonials ---------- */
.review { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5); }
.review-head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.review-head .avatar { width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--c-gold-100);
  color: var(--c-accent-strong); display: grid; place-items: center; font-weight: var(--fw-bold); }
.review-head b { display: block; color: var(--c-ink-900); }
.review-head small { color: var(--c-ink-500); }
.quote { font-size: var(--fs-md); line-height: var(--lh-snug); color: var(--c-ink-700); }

/* ---------- YouTube / video embed ---------- */
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Map placeholder ---------- */
.map-embed { aspect-ratio: 16 / 7; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--c-azure-100), #bcd4ec); position: relative; display: grid; place-items: center;
  color: var(--c-navy-800); border: 1px solid var(--c-line); }
.map-embed .pin { font-size: 2rem; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-6); }
.pagination a, .pagination span { min-width: 40px; height: 40px; border-radius: var(--r-md);
  display: grid; place-items: center; border: 1px solid var(--c-line); color: var(--c-ink-700);
  font-size: var(--fs-sm); background: #fff; }
.pagination a:hover { border-color: var(--c-azure-500); color: var(--c-primary); }
.pagination .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ---------- Alerts / notices ---------- */
.notice { display: flex; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-md);
  background: var(--c-azure-50); border: 1px solid var(--c-azure-100); font-size: var(--fs-sm); }
.notice.info    { background: #eef5fb; border-color: #d5e6f5; }
.notice.success { background: #eaf6f0; border-color: #cdeadd; }
.notice.warn    { background: #fdf4e3; border-color: #f6e4c0; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; right: var(--sp-5); bottom: var(--sp-5); z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: var(--sp-2); }
.toast { background: var(--c-ink-900); color: #fff; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); font-size: var(--fs-sm); animation: toast-in var(--t-base); }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Role switcher (demo only) ---------- */
.role-switch { display: flex; align-items: center; gap: var(--sp-2); background: var(--c-warm-200);
  border-radius: var(--r-pill); padding: 4px; }
.role-switch a { padding: 6px 12px; border-radius: var(--r-pill); font-size: var(--fs-xs);
  font-weight: var(--fw-semi); color: var(--c-ink-500); }
.role-switch a.active { background: #fff; color: var(--c-primary); box-shadow: var(--sh-sm); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); color: var(--c-navy-900);
  background: linear-gradient(120deg, var(--c-gold-400), var(--c-gold-500)); padding: var(--sp-8);
  text-align: center; }
.cta-band h2 { color: var(--c-navy-900); font-size: var(--fs-2xl); }
.cta-band p { color: var(--c-navy-800); max-width: 48ch; margin-inline: auto; }

/* ---------- Feature / trust row ---------- */
.feature { text-align: center; padding: var(--sp-4); }
.feature .ic { width: 56px; height: 56px; margin: 0 auto var(--sp-3); border-radius: var(--r-md);
  display: grid; place-items: center; background: var(--c-azure-50); color: var(--c-primary); font-size: 1.5rem; }
.feature b { display: block; color: var(--c-ink-900); font-family: var(--font-head); }
.feature p { font-size: var(--fs-sm); color: var(--c-ink-500); }
