/* ===========================================================
   Waypoint Adventures — public-facing CSS for shortcode output.
   Loaded on every page where a [waypoint_*] shortcode is used.
   =========================================================== */

/* Bundled fonts. Heading Now Variable is shipped INSIDE the plugin
   (assets/fonts/) so widget titles always render correctly — doesn't
   depend on the Media Library upload staying in place. The Media URL
   stays as a fallback so if Elementor has already uploaded the same
   font, the browser can re-use the cached copy. */
@font-face {
  font-family: 'Heading Now Variable';
  src: url('fonts/Heading-Now-Variable.ttf') format('truetype-variations'),
       url('https://www.new.waypoint-adventures.co.za/wp-content/uploads/2026/05/Heading-Now-Variable.ttf') format('truetype-variations'),
       url('fonts/Heading-Now-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 25% 200%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Deja Vu';
  src: url('https://www.new.waypoint-adventures.co.za/wp-content/uploads/2026/04/DejaVuSans.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'REALity Hyper';
  src: url('https://www.new.waypoint-adventures.co.za/wp-content/uploads/2026/04/reality-hyper.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Brand tokens — match Elementor Global Colors */
:root {
  --wp-primary: #482818;          /* dark brown — TITLES */
  --wp-primary-dark: #2B1409;     /* darker brown — button hover state */
  --wp-accent: #D77534;            /* orange — CTAs, icons, price */
  --wp-accent-dark: #B85E22;       /* orange hover */
  --wp-dark: #2B1409;              /* secondary dark brown — button hover */
  --wp-text-body: rgba(10,10,10,0.59); /* body text token */
  --wp-text-muted: #6B5744;
  --wp-bg: #FFFFFF;
  --wp-bg-subtle: #FFF6DF;         /* L BG Yellow */
  --wp-bg-grey: #F0F0F1;           /* L BG Grey */
  --wp-border: #E8E0D8;
  --wp-success: #38A169;
  --wp-danger: #C53030;
  --wp-font-heading: 'Heading Now Variable', system-ui, sans-serif;
  --wp-font-body: 'Deja Vu', system-ui, sans-serif;
  --wp-font-display: 'REALity Hyper', system-ui, sans-serif;
}

/* Tier helpers — apply variable axis settings from Elementor Global Fonts */
.wp-tier-1 { font-variation-settings: 'wght' 900, 'wdth' 726; letter-spacing: -0.4px; }
.wp-tier-2 { font-variation-settings: 'wght' 809, 'wdth' 743; }
.wp-tier-3 { font-variation-settings: 'wght' 809, 'wdth' 743; letter-spacing: 0.6px; }
.wp-tier-4 { font-variation-settings: 'wght' 809, 'wdth' 743; }
.wp-tier-button { font-variation-settings: 'wght' 809, 'wdth' 743; letter-spacing: -1px; }

/* Elementor heading widgets — force the wght/wdth variable axis on live so
   the heading renders the SAME as the editor preview. Elementor's compiled
   CSS emits font-family + font-weight but often drops font-variation-settings,
   which makes the variable font fall back to its regular instance and look
   thin/narrow on live even though the editor canvas shows it heavy/wide. */
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-heading h4.elementor-heading-title,
.elementor-widget-heading h5.elementor-heading-title {
  font-variation-settings: 'wght' 809, 'wdth' 743;
}
.elementor-widget-heading h1.elementor-heading-title {
  font-variation-settings: 'wght' 900, 'wdth' 726;
}
/* Elementor button widget — match Juanita's button text tier */
.elementor-button .elementor-button-text {
  font-variation-settings: 'wght' 809, 'wdth' 743;
  letter-spacing: -1px;
}

/* ===========================================================
   TRIP CARD — used by [waypoint_trip_cards] and grids
   Matches Jean's mockup design exactly.
   =========================================================== */

.wp-trip-card {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(43, 20, 9, 0.06);
}
.wp-trip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(43, 20, 9, 0.12);
}

/* Image — clean, no dark overlay (title moves to body). Bumped from
   200px → 240px (+20%) per Juanita's request. */
.wp-trip-card-image {
  position: relative;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-color: #2B1409;
}

/* Short overview snippet under the title — 3 lines max. Keeps the card
   readable when locations are trimmed to "& more". */
.wp-trip-card-excerpt {
  font-family: var(--wp-font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp-text-muted, #6B5744);
  margin: 4px 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Country pill — top-left of image */
.wp-trip-card-country {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--wp-accent);
  color: white;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-style: normal;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 4px;
}

/* Days pill — top-right of image */
.wp-trip-card-days {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--wp-accent);
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-style: normal;
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* SAVE % red circle badge — top-right of image, overlapping days badge */
.wp-trip-card-save {
  position: absolute;
  top: -10px;
  right: 14px;
  z-index: 4;
  background: var(--wp-danger);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-style: normal;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.wp-trip-card-save strong { font-size: 14px; margin-top: 2px; font-weight: 800; }

/* Body — white, padded, stacked content */
.wp-trip-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  font-family: var(--wp-font-body);
}

.wp-trip-card-title {
  margin: 0 0 4px;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-style: normal;
  font-weight: 809;
  color: var(--wp-primary);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.wp-trip-card-subtitle {
  margin: 0 0 14px;
  font-family: var(--wp-font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--wp-text-body);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stacked single-column meta rows. Sized closer to Elementor body text
   (17px / weight 500) so the card content reads as a continuation of
   the section copy instead of small print. */
.wp-trip-card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--wp-font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--wp-text-body);
  margin-bottom: 16px;
}
.wp-trip-card-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wp-trip-card-meta-row svg {
  width: 14px;
  height: 14px;
  color: var(--wp-accent);
  stroke: var(--wp-accent);
  flex-shrink: 0;
}

/* Price footer — single row: price left, plain Book Now text-link right */
.wp-trip-card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--wp-border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.wp-trip-card-foot-price { display: flex; flex-direction: column; min-width: 0; }
.wp-trip-card-foot-noprice { justify-content: flex-end; }
.wp-trip-card-price-from {
  display: block;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-size: 11px;
  color: var(--wp-text-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.wp-trip-card-price-current {
  display: block;
  font-family: var(--wp-font-heading);
  /* Softer weight + smaller size — Juanita found the 22px/wght 809 too
     dominant on the card. 18px with wght 700 still reads as the price
     but doesn't crowd the title above. */
  font-variation-settings: 'wght' 700, 'wdth' 580;
  font-style: normal;
  font-size: 18px;
  color: var(--wp-accent);
  line-height: 1.15;
}

/* ============================================================
   THEME VARIANTS — wrap shortcode in .wp-theme-light or
   .wp-theme-dark to switch card colour scheme.
   Default = light. Add data-theme="dark" on shortcode to flip.
   Section background must be set on the Elementor SECTION,
   not the widget — these styles only target the card itself.
   ============================================================ */

/* Light variant (default) — already covered by base styles above. */

/* Dark variant — for use on dark sections */
.wp-theme-dark .wp-trip-card {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.wp-theme-dark .wp-trip-card:hover {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.wp-theme-dark .wp-trip-card-title { color: #FFFFFF; }
.wp-theme-dark .wp-trip-card-subtitle { color: rgba(255, 255, 255, 0.75); }
.wp-theme-dark .wp-trip-card-meta { color: rgba(255, 255, 255, 0.75); }
.wp-theme-dark .wp-trip-card-foot { border-top-color: rgba(255, 255, 255, 0.12); }
.wp-theme-dark .wp-trip-card-price-from { color: rgba(255, 255, 255, 0.7); }
.wp-theme-dark .wp-trip-card-price-was { color: rgba(255, 255, 255, 0.5); }
.wp-trip-card-price-was {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--wp-text-muted);
  text-decoration: line-through;
}

/* Trip card Book Now — plain orange text link with arrow, no background.
   Whole card is clickable (anchor wrapper); this just gives a clear CTA. */
.wp-trip-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  color: var(--wp-accent);
  padding: 0;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-style: normal;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: -1px;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}
.wp-trip-card-cta::after {
  content: '\2192';
  font-size: 14px;
  letter-spacing: 0;
  transition: transform 0.15s ease;
}
.wp-trip-card:hover .wp-trip-card-cta { color: var(--wp-dark); }
.wp-trip-card:hover .wp-trip-card-cta::after { transform: translateX(3px); }

/* ===========================================================
   TRIP CARDS GRID + CAROUSEL
   =========================================================== */

.wp-trip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .wp-trip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wp-trip-grid { grid-template-columns: 1fr; } }

.wp-trip-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 4px 4px 16px;
}
.wp-trip-carousel::-webkit-scrollbar { display: none; }
.wp-trip-carousel.is-dragging { cursor: grabbing; }
.wp-trip-carousel .wp-trip-card { flex: 0 0 calc((100% - 48px) / 4); }
@media (max-width: 1200px) { .wp-trip-carousel .wp-trip-card { flex: 0 0 calc((100% - 32px) / 3); } }
@media (max-width: 800px)  { .wp-trip-carousel .wp-trip-card { flex: 0 0 calc((100% - 16px) / 2); } }
@media (max-width: 560px)  { .wp-trip-carousel .wp-trip-card { flex: 0 0 80%; } }

/* ===========================================================
   DESTINATIONS WIDGET
   =========================================================== */

.wp-destinations {
  font-family: var(--wp-font-body);
}

.wp-destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.wp-destinations-grid .wp-dest-card { height: 288px; }
@media (max-width: 1024px) { .wp-destinations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .wp-destinations-grid { grid-template-columns: 1fr; } }

.wp-destinations-carousel {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.wp-destinations-carousel.is-dragging { cursor: grabbing; }
.wp-destinations-carousel-track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.wp-destinations-carousel-track .wp-dest-card {
  flex: 0 0 calc((100% - 48px) / 4);
  height: 288px;
}
@media (max-width: 1200px) { .wp-destinations-carousel-track .wp-dest-card { flex: 0 0 calc((100% - 32px) / 3); } }
@media (max-width: 800px)  { .wp-destinations-carousel-track .wp-dest-card { flex: 0 0 calc((100% - 16px) / 2); } }
@media (max-width: 560px)  { .wp-destinations-carousel-track .wp-dest-card { flex: 0 0 80%; } }

.wp-dest-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  color: white;
  display: block;
  background: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.wp-dest-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.18); }
.wp-dest-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wp-dest-card:hover .wp-dest-card-img { transform: scale(1.08); }
.wp-dest-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.30) 50%, rgba(0,0,0,0.15) 100%);
  transition: background 0.4s ease;
}
.wp-dest-card:hover .wp-dest-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.40) 50%, rgba(0,0,0,0.20) 100%);
}
.wp-dest-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; z-index: 2; }
.wp-dest-card h3 {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-style: normal;
  font-size: 26px;
  margin: 0 0 8px 0;
  letter-spacing: 0.02em;
  color: white;
}
.wp-dest-card .wp-dest-count {
  font-family: var(--wp-font-body);
  font-size: 13px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 999px;
  color: white;
  font-weight: 400;
  transition: background 0.3s ease;
}
.wp-dest-card:hover .wp-dest-count { background: var(--wp-accent); }

/* Stagger fade-in */
.wp-dest-card { opacity: 0; transform: translateY(20px); animation: wpFadeInUp 0.6s ease forwards; }
.wp-dest-card:nth-child(1) { animation-delay: 0.05s; }
.wp-dest-card:nth-child(2) { animation-delay: 0.15s; }
.wp-dest-card:nth-child(3) { animation-delay: 0.25s; }
.wp-dest-card:nth-child(4) { animation-delay: 0.35s; }
.wp-dest-card:nth-child(5) { animation-delay: 0.45s; }
.wp-dest-card:nth-child(6) { animation-delay: 0.55s; }
@keyframes wpFadeInUp { to { opacity: 1; transform: translateY(0); } }

/* ===========================================================
   FORMS — newsletter, contact, enquiry
   =========================================================== */

.wp-form {
  font-family: var(--wp-font-body);
  max-width: 640px;
  text-align: left;
}
.wp-form h3 {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-style: normal;
  font-size: 22px;
  margin: 0 0 8px 0;
  color: var(--wp-primary);
}
.wp-form p { margin: 0 0 20px 0; color: var(--wp-text-muted); font-size: 14px; }

.wp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.wp-form-row.wp-form-row-1 { grid-template-columns: 1fr; }
@media (max-width: 560px) { .wp-form-row { grid-template-columns: 1fr; } }

.wp-form input,
.wp-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--wp-border);
  border-radius: 999px;
  font-family: var(--wp-font-body);
  font-size: 14px;
  background: white;
  color: var(--wp-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wp-form textarea {
  border-radius: 12px;
  resize: vertical;
  min-height: 100px;
}
.wp-form input:focus,
.wp-form textarea:focus {
  outline: none;
  border-color: var(--wp-primary);
  box-shadow: 0 0 0 3px rgba(215, 116, 52, 0.15);
}

.wp-form button {
  background: var(--wp-primary);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 999px;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin-top: 8px;
}
.wp-form button:hover { background: var(--wp-accent); color: white; }
.wp-form button:disabled { opacity: 0.6; cursor: not-allowed; }

.wp-form-honeypot { position: absolute; left: -9999px; opacity: 0; }

.wp-form-disclaimer {
  margin-top: 12px;
  font-size: 12px;
  color: var(--wp-text-muted);
  line-height: 1.5;
}
.wp-form-disclaimer a { color: var(--wp-primary); text-decoration: underline; }

.wp-form-success {
  background: rgba(56, 161, 105, 0.1);
  border: 1px solid rgba(56, 161, 105, 0.3);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  color: var(--wp-success);
  font-weight: 600;
}
.wp-form-error {
  background: rgba(197, 48, 48, 0.1);
  border: 1px solid rgba(197, 48, 48, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  color: var(--wp-danger);
  font-size: 14px;
}

/* ===========================================================
   SECTION HEADER — used in various places
   =========================================================== */

.wp-section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--wp-primary);
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  margin: 0 0 8px 0;
}
.wp-section-title {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--wp-dark);
  margin: 0 0 12px 0;
  letter-spacing: 0.02em;
}

/* ===========================================================
   SINGLE TRIP TEMPLATE
   =========================================================== */

.wp-single-trip {
  font-family: var(--wp-font-body);
  color: var(--wp-dark);
}
.wp-single-trip-hero {
  position: relative;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  background-color: var(--wp-dark);
}
.wp-single-trip-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}
.wp-single-trip-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 60px;
  color: white;
  text-align: center;
}
.wp-single-trip-hero h1 {
  font-family: var(--wp-font-display);
  font-size: clamp(32px, 5.5vw, 48px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.wp-single-trip-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
}
@media (max-width: 900px) {
  .wp-single-trip-content { grid-template-columns: 1fr; }
}

.wp-single-trip-facts {
  background: var(--wp-bg-subtle);
  border-radius: 16px;
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 24px;
}
.wp-single-trip-facts h3 {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px 0;
  color: var(--wp-dark);
}
.wp-single-trip-facts ul { list-style: none; margin: 0 0 20px 0; padding: 0; }
.wp-single-trip-facts li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--wp-border); font-size: 14px; }
.wp-single-trip-facts li:last-child { border-bottom: none; }
.wp-single-trip-facts li svg { width: 18px; height: 18px; stroke: var(--wp-primary); fill: none; stroke-width: 2; flex-shrink: 0; }

.wp-single-trip-price {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: 28px;
  color: var(--wp-primary);
  margin: 16px 0;
}
.wp-single-trip-price small {
  font-size: 13px;
  color: var(--wp-text-muted);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.wp-single-trip-cta {
  display: block;
  background: var(--wp-primary);
  color: white;
  padding: 16px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  transition: background 0.2s;
}
.wp-single-trip-cta:hover { background: var(--wp-primary-dark); color: white; }

.wp-single-trip-body h2 {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: 28px;
  color: var(--wp-dark);
  margin: 32px 0 16px 0;
  letter-spacing: 0.02em;
}
.wp-single-trip-body p { line-height: 1.7; color: var(--wp-dark); margin: 0 0 16px 0; }
.wp-single-trip-body ul { line-height: 1.7; color: var(--wp-dark); margin: 0 0 16px 0; padding-left: 20px; }

.wp-itinerary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin-top: 16px;
}
@media (max-width: 640px) { .wp-itinerary-grid { grid-template-columns: 1fr; } }
.wp-itinerary-day {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}
.wp-itinerary-day-icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(215, 116, 52, 0.1);
  color: var(--wp-primary);
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wp-itinerary-day-text strong {
  display: block;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wp-dark);
}
.wp-itinerary-day-text span { font-size: 13px; color: var(--wp-text-muted); line-height: 1.5; }

/* ===========================================================
   SEARCH BAR
   =========================================================== */

.wp-search-bar {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 16px;
  display: grid;
  /* Destination | Year | Trip | Dates | Book Now */
  grid-template-columns: 1.2fr 0.9fr 1.6fr 1.4fr auto;
  gap: 10px;
  font-family: var(--wp-font-body);
  align-items: stretch;
}
@media (max-width: 1024px) {
  .wp-search-bar { grid-template-columns: 1fr 1fr 1fr; }
  .wp-search-bar .wp-search-go { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wp-search-bar { grid-template-columns: 1fr; }
  .wp-search-bar .wp-search-go { grid-column: auto; }
}
.wp-search-field {
  padding: 8px 12px;
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wp-search-field-label {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-size: 11px;
  color: var(--wp-text-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}
.wp-search-field input,
.wp-search-field select,
.wp-search-field .wp-search-dates {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--wp-font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--wp-primary);
  line-height: 1.3;
}
.wp-search-field .wp-search-dates {
  display: block;
  padding-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Book Now — orange bg + brown text + dark brown 1px border by default;
   inverts to dark brown bg + white text + orange border on hover. */
.wp-search-bar .wp-search-go {
  background: var(--wp-accent);
  color: var(--wp-primary);
  border: 1px solid var(--wp-dark);
  border-radius: 12px;
  padding: 0 28px;
  min-height: 56px;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.wp-search-bar .wp-search-go:hover:not([disabled]),
.wp-search-bar .wp-search-go:focus-visible:not([disabled]) {
  background: var(--wp-dark);
  color: #FFFFFF;
  border-color: var(--wp-accent);
}
.wp-search-bar .wp-search-go[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ===========================================================
   ARCHIVE PAGES — /tours, /shop, /blog
   =========================================================== */

.wp-archive { font-family: var(--wp-font-body); color: var(--wp-dark); }

.wp-archive-hero {
  position: relative;
  background: var(--wp-bg-subtle);
  padding: clamp(60px, 9vw, 120px) 24px clamp(48px, 7vw, 96px);
  text-align: center;
  border-bottom: 1px solid var(--wp-border);
  overflow: hidden;
}
.wp-archive-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.wp-archive-hero h1 {
  font-family: var(--wp-font-display);
  font-size: clamp(34px, 6vw, 60px);
  letter-spacing: 0.02em;
  color: var(--wp-dark);
  margin: 0 0 16px 0;
  line-height: 1.05;
}
.wp-archive-hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--wp-text-muted);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* Image-banner variant — Shop, Blog & Tours archives use this to match the
   nature-photo + dark-overlay + white-text look from the React TripsArchivePage.
   Background image is set inline via style="background-image:url(...)". */
.wp-archive-hero--image {
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 0;
  padding: clamp(80px, 12vw, 160px) 24px clamp(64px, 9vw, 128px);
}
.wp-archive-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}
.wp-archive-hero--image h1                   { color: #FFFFFF; }
.wp-archive-hero--image .wp-archive-hero-sub { color: rgba(255,255,255,0.82); }
.wp-archive-hero--image .wp-section-eyebrow  { color: var(--wp-primary); }

.wp-archive-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}
.wp-archive-body .wp-search-bar { margin-bottom: 48px; }
.wp-archive-body .wp-region-block { margin-bottom: 56px; }
.wp-archive-body .wp-region-block:last-child { margin-bottom: 0; }

/* ===========================================================
   PRODUCT CARDS + SINGLE PRODUCT
   =========================================================== */

.wp-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .wp-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wp-product-grid { grid-template-columns: 1fr; } }

.wp-product-card {
  display: block;
  background: white;
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wp-product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }

.wp-product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
}
.wp-product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--wp-text-muted);
  color: white;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 999px;
}
.wp-product-card-badge-sale { background: var(--wp-primary); }

.wp-product-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wp-product-card-title {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: 16px;
  margin: 0;
  color: var(--wp-dark);
  line-height: 1.3;
}
.wp-product-card-excerpt {
  font-size: 13px;
  color: var(--wp-text-muted);
  margin: 0;
  line-height: 1.5;
}
.wp-product-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
}
.wp-product-card-price-current { font-size: 18px; color: var(--wp-dark); }
.wp-product-card-price-was { font-size: 14px; color: var(--wp-text-muted); text-decoration: line-through; }

.wp-single-product { font-family: var(--wp-font-body); color: var(--wp-dark); }
.wp-single-product-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .wp-single-product-grid { grid-template-columns: 1fr; } }

.wp-single-product-image {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
  border-radius: 16px;
}

.wp-single-product-title {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: clamp(26px, 3.5vw, 34px);
  letter-spacing: 0;
  margin: 8px 0 16px;
  color: var(--wp-dark);
  line-height: 1.2;
}

.wp-single-product-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 16px;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
}
.wp-single-product-price-current { font-size: 32px; color: var(--wp-primary); }
.wp-single-product-price-was { font-size: 18px; color: var(--wp-text-muted); text-decoration: line-through; }

.wp-single-product-stock {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--wp-success);
  font-weight: 600;
}
.wp-single-product-stock-out { color: var(--wp-danger); }

.wp-single-product-description {
  margin: 24px 0;
  line-height: 1.7;
}
.wp-single-product-description p { margin: 0 0 16px; }

/* ===========================================================
   BLOG CARDS + SINGLE POST
   =========================================================== */

.wp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .wp-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wp-blog-grid { grid-template-columns: 1fr; } }

.wp-blog-card {
  display: block;
  background: white;
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wp-blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }

.wp-blog-card-image {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
}
.wp-blog-card-body { padding: 18px; }
.wp-blog-card-title {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: 18px;
  margin: 8px 0 8px;
  color: var(--wp-dark);
  line-height: 1.3;
}
.wp-blog-card-excerpt {
  font-size: 14px;
  color: var(--wp-text-muted);
  margin: 0 0 12px;
  line-height: 1.5;
}
.wp-blog-card-date {
  font-size: 12px;
  color: var(--wp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.wp-single-post { font-family: var(--wp-font-body); color: var(--wp-dark); }
.wp-single-post-hero {
  position: relative;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  background-color: var(--wp-dark);
}
.wp-single-post-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}
.wp-single-post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 24px 60px;
  color: white;
  text-align: center;
}
.wp-single-post-hero h1 {
  font-family: var(--wp-font-display);
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 8px 0 12px;
}
.wp-single-post-meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin: 0;
}

.wp-single-post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px;
  font-size: 17px;
  line-height: 1.7;
}
.wp-single-post-body p { margin: 0 0 18px; }
.wp-single-post-body h2,
.wp-single-post-body h3 {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  color: var(--wp-dark);
  margin: 32px 0 12px;
}
.wp-single-post-body h2 { font-size: 26px; }
.wp-single-post-body h3 { font-size: 20px; }
.wp-single-post-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; }

.wp-single-post-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ===========================================================
   FOOTER V2 — refined dynamic [waypoint_footer]
   =========================================================== */

/* Topographic contour-map pattern — brand visual used as a subtle overlay on
   solid-colour surfaces (footer, hero sections, plain Elementor blocks).
   Pattern itself is cream (#F4E4D0) so it reads as a soft highlight over the
   dark brand colours (orange #D77434, brown #482818, deep brown #2B1409) and
   on cream itself. Opacity per-surface via --wp-topo-opacity. */
:root {
  --wp-topo-opacity: 0.05;
  /* Brand topographic asset (Juanita's source file in assets/). Filename
     contains spaces, so encode them as %20 in the url(). */
  --wp-topo-pattern: url("Topography%20bg%20waypoint.svg");
}

.wp-footer-v2 {
  position: relative;
  isolation: isolate;
  background-color: var(--wp-footer-bg, #2B1409);
  color: #FFFFFF;
  font-family: var(--wp-font-body);
  font-weight: 400;
  font-size: 18px;
  padding: 44px 24px 20px;
}
/* Topo overlay sits between footer-bg and content — z-index:-1 puts it
   behind every child without forcing any layout/position changes on them. */
.wp-footer-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--wp-topo-pattern);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: var(--wp-topo-opacity);
  pointer-events: none;
}

/* Reusable utility — drop "wp-topo-bg" into any Elementor section's
   CSS Class field to overlay the topographic pattern on its existing bg.
   Children stay untouched (no position/z-index gymnastics required). */
.wp-topo-bg { position: relative; isolation: isolate; }
.wp-topo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--wp-topo-pattern);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: var(--wp-topo-opacity);
  pointer-events: none;
}
/* Force body text to Deja Vu 400 throughout the footer — without this
   Elementor's body-bold defaults bleed in and the text reads heavy. */
.wp-footer-v2,
.wp-footer-v2 p,
.wp-footer-v2 a,
.wp-footer-v2 li,
.wp-footer-v2 span,
.wp-footer-v2 input { font-weight: 400; }
.wp-footer-v2-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--wp-accent) 30%, var(--wp-accent) 70%, transparent 100%);
}

/* — Top action bar (Book / Login / Download App) — */
.wp-footer-v2-actionbar {
  max-width: 1240px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 700px) {
  .wp-footer-v2-actionbar { grid-template-columns: 1fr; gap: 8px; }
}
.wp-footer-v2-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: #FFFFFF;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-style: normal;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.25s ease;
  text-align: left;
}
.wp-footer-v2-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }
.wp-footer-v2-action:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.4);
  color: white;
  transform: translateY(-2px);
}
.wp-footer-v2-action-primary {
  background: var(--wp-accent);
  border-color: var(--wp-accent);
  color: white !important;
  box-shadow: 0 6px 20px rgba(215, 116, 52, 0.25);
}
.wp-footer-v2-action-primary:hover {
  background: var(--wp-accent-dark);
  border-color: var(--wp-accent-dark);
  color: white !important;
  box-shadow: 0 8px 24px rgba(215, 116, 52, 0.4);
}

.wp-footer-v2-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1024px) { .wp-footer-v2-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px)  { .wp-footer-v2-inner { grid-template-columns: 1fr; gap: 28px; } }

/* TABLET ONLY (561–1024px) — promote the brand into a centred row that
   spans the full width, then sit Explore / Legal / Get In Touch in three
   equal columns below. Stops the long brand description from skewing
   the 2×2 grid heights and gives the tablet footer a proper hierarchy.
   Desktop (>1024px) and phone (≤560px) layouts are untouched. */
@media (min-width: 561px) and (max-width: 1024px) {
  .wp-footer-v2-inner {
    grid-template-columns: 1fr 1fr 1fr !important;
    column-gap: 36px !important;
    row-gap: 44px !important;
  }
  .wp-footer-v2-brand {
    grid-column: 1 / -1 !important;
    max-width: 600px !important;
    margin: 0 auto 8px !important;
    text-align: center !important;
  }
  .wp-footer-v2-brand .wp-footer-v2-logo {
    margin: 0 auto 18px !important;
    text-align: center !important;
  }
  .wp-footer-v2-brand .wp-footer-v2-tag {
    margin: 0 auto 22px !important;
    max-width: none !important;
  }
  .wp-footer-v2-brand .wp-footer-v2-socials {
    justify-content: center !important;
  }
  /* Centre the copyright + managed-by line at the very bottom too. */
  .wp-footer-v2-bottom {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* — Brand column — */
.wp-footer-v2-brand { text-align: left; }
.wp-footer-v2-brand .wp-footer-v2-logo {
  display: block;
  margin: 0 0 20px;
  padding: 0;
  line-height: 0;
  text-align: left;
  width: fit-content;
  max-width: 100%;
  /* Negative margin compensates for whitespace baked into the .webp file
     so the visible logo art aligns flush with the tagline below it. */
  margin-left: -16px;
}
.wp-footer-v2-brand .wp-footer-v2-logo img {
  max-width: 320px;
  max-height: 120px;
  width: auto;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left center;
}
.wp-footer-v2-wordmark {
  display: inline-block;
  font-family: var(--wp-font-display);
  font-size: 30px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  margin-bottom: 16px;
  line-height: 1;
}
.wp-footer-v2-wordmark span { color: var(--wp-accent); }
.wp-footer-v2-tag {
  font-family: var(--wp-font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: #FFFFFF;
  margin: 0 0 22px;
  /* Match the socials row width below it so the text block ends at the
     same x as the last social icon. 5 × 38 + 4 × 10 = 230px. */
  max-width: 260px;
}

.wp-footer-v2-socials { display: flex; gap: 10px; }
.wp-footer-v2-socials a {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.25s ease, transform 0.25s ease;
}
.wp-footer-v2-socials a:hover {
  background: var(--wp-accent);
  transform: translateY(-2px);
}
.wp-footer-v2-socials svg { width: 17px; height: 17px; fill: currentColor; }

/* — Link columns — */
.wp-footer-v2-col h4,
.wp-footer-v2-contact h4 {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 20px;
  color: #FFFFFF;
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 12px;
}
.wp-footer-v2-col h4::after,
.wp-footer-v2-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px;
  height: 2px;
  background: var(--wp-accent);
  border-radius: 2px;
}

.wp-footer-v2-col ul,
.wp-footer-v2-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wp-footer-v2-col li { margin-bottom: 10px; }
.wp-footer-v2-col a {
  font-family: var(--wp-font-body);
  font-weight: 400;
  font-size: 18px;
  color: #FFFFFF;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.wp-footer-v2-col a::before {
  content: '→';
  position: absolute;
  left: -16px;
  opacity: 0;
  color: var(--wp-accent);
  transition: opacity 0.2s ease, left 0.2s ease;
}
.wp-footer-v2-col a:hover {
  color: var(--wp-accent);
  padding-left: 16px;
}
.wp-footer-v2-col a:hover::before { opacity: 1; left: 0; }

/* — Contact column with pill icons — */
.wp-footer-v2-contact ul { margin-bottom: 24px; }
.wp-footer-v2-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--wp-font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #FFFFFF;
}
.wp-footer-v2-contact a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}
.wp-footer-v2-contact a:hover { color: var(--wp-accent); }

.wp-footer-v2-pin {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(215, 116, 52, 0.15);
  border: 1px solid rgba(215, 116, 52, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wp-footer-v2-pin svg {
  width: 16px; height: 16px;
  stroke: var(--wp-accent);
  fill: none;
  stroke-width: 2;
}
/* WhatsApp icon inside a pin needs filled paths, not stroked */
.wp-footer-v2-pin svg[fill="currentColor"] {
  fill: var(--wp-accent);
  stroke: none;
}

/* — Newsletter band (own row under the 4 columns) — */
.wp-footer-v2-newsletter-band {
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: block;
}
.wp-footer-v2-newsletter-band-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 800px) {
  .wp-footer-v2-newsletter-band { padding: 24px 20px; }
  .wp-footer-v2-newsletter-band-inner { grid-template-columns: 1fr; gap: 20px; }
}
.wp-footer-v2-newsletter-text { color: #FFFFFF; }
.wp-footer-v2-newsletter-title {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-style: normal;
  font-size: 22px;
  color: #FFFFFF;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.wp-footer-v2-newsletter-sub {
  font-family: var(--wp-font-body);
  font-weight: 400;
  font-size: 18px;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.5;
}

/* — Newsletter form (used inside the band) — */
.wp-footer-v2-newsletter {
  margin: 0;
  max-width: none;
}
.wp-footer-v2-newsletter h3,
.wp-footer-v2-newsletter > p { display: none; }
.wp-footer-v2-newsletter-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.wp-footer-v2-newsletter-row:focus-within {
  border-color: var(--wp-accent);
  background: rgba(255,255,255,0.1);
}
.wp-footer-v2-newsletter-row input[type=email] {
  flex: 1;
  background: transparent;
  border: none !important;
  outline: none;
  padding: 14px 18px;
  font-family: var(--wp-font-body);
  font-weight: 400;
  font-size: 15px;
  color: #FFFFFF;
  width: 100%;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wp-footer-v2-newsletter-row input[type=email]::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.wp-footer-v2-newsletter-row button {
  flex-shrink: 0;
  width: 40px; height: 40px;
  margin: 4px 4px 4px 0;
  background: var(--wp-accent);
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.wp-footer-v2-newsletter-row button:hover {
  background: var(--wp-accent-dark);
  transform: scale(1.05);
}
.wp-footer-v2-newsletter-row button svg { width: 16px; height: 16px; }
.wp-footer-v2-newsletter .wp-form-success,
.wp-footer-v2-newsletter .wp-form-error { font-size: 13px; padding: 10px 14px; }


/* — Bottom bar — */
.wp-footer-v2-bottom {
  max-width: 1240px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--wp-font-body);
  font-size: 14px;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}
.wp-footer-v2-bottom a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}
.wp-footer-v2-bottom a:hover { color: var(--wp-accent); }

/* ===========================================================
   FOOTER (legacy static .wp-footer — kept for back-compat)
   =========================================================== */

.wp-footer {
  background: #2B1409;
  color: #E8E0D8;
  font-family: var(--wp-font-body);
  padding: 60px 24px 24px;
}
.wp-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 900px) { .wp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wp-footer-grid { grid-template-columns: 1fr; } }

.wp-footer-col h4 {
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: white;
  margin: 0 0 16px;
}
.wp-footer-col p,
.wp-footer-col a {
  font-size: 14px;
  color: #E8E0D8;
  margin: 0 0 8px;
  text-decoration: none;
  display: block;
  line-height: 1.6;
}
.wp-footer-col a:hover { color: var(--wp-primary); }
.wp-footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.wp-footer-socials a {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.2s;
}
.wp-footer-socials a:hover { background: var(--wp-primary); color: white; }
.wp-footer-socials svg { width: 18px; height: 18px; fill: currentColor; }

.wp-footer-cta {
  display: inline-block;
  background: var(--wp-primary);
  color: white !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--wp-font-heading);
  font-variation-settings: 'wght' 700, 'wdth' 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 8px 8px 0;
}
.wp-footer-cta:hover { background: var(--wp-primary-dark); color: white !important; }

.wp-footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.wp-footer-bottom a { color: rgba(255,255,255,0.6); }
.wp-footer-bottom a:hover { color: var(--wp-primary); }

/* ============================================================
   [waypoint_values] — Our Values grid (Who-We-Are page)
   3 left / 3 right. Flat — NO card box, no border, no shadow.
   Icon left (orange line), <h3> title + description right.
   ============================================================ */
.wp-values { width: 100%; }
.wp-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .wp-values-grid { grid-template-columns: 1fr; gap: 28px; }
}
.wp-value {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.wp-value-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: var(--wp-primary, #D77434);
}
.wp-value-icon svg { width: 44px; height: 44px; display: block; }
.wp-value-text { min-width: 0; }
.wp-value-text h3 {
  margin: 2px 0 6px;
  font-family: var(--wp-font-heading), system-ui, sans-serif;
  font-variation-settings: 'wght' 809, 'wdth' 743;
  font-style: normal;
  font-size: 19px;
  line-height: 1.2;
  color: var(--wp-dark, #2B1409);
}
.wp-value-text p {
  margin: 0;
  font-family: var(--wp-font-body), system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--wp-text-muted, #6B5744);
}
