/* ============================================================
   PLEASURE RIDE COSTA RICA — main.css
   Compiled from style.css — enqueued by functions.php
   DO NOT edit style.css for visual styles; edit this file.
   ============================================================ */

/* ============================================================
   DESIGN TOKENS — Brand identity
   ============================================================ */
:root {
  /* Brand colors */
  --pr-jungle:       #0d1f14;
  --pr-forest:       #1b4332;
  --pr-green:        #2d6a4f;
  --pr-green-hover:  #1b4332;
  --pr-mint:         #74c69d;
  --pr-gold:         #d4a017;
  --pr-gold-hover:   #e8b520;
  --pr-coral:        #e76f51;
  --pr-cream:        #f4f1e8;
  --pr-cream-dark:   #e8e4d8;
  --pr-white:        #ffffff;

  /* Text */
  --pr-text-dark:    #1b2e1f;
  --pr-text-body:    #5a5a46;
  --pr-text-muted:   #7a7565;
  --pr-text-hint:    #9a9585;
  --pr-text-light:   rgba(244, 241, 232, 0.65);

  /* Borders */
  --pr-border:       #e0dcd0;
  --pr-border-light: #f0ece0;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Border radius */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 100px;

  /* Layout */
  --container-max:  1200px;
  --container-wide: 1400px;
  --container-pad:  40px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 400ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13, 31, 20, 0.08);
  --shadow-md: 0 4px 16px rgba(13, 31, 20, 0.1);
  --shadow-lg: 0 8px 32px rgba(13, 31, 20, 0.12);

  /* Header height (used for offset calculations) */
  --header-h: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--pr-text-body);
  background-color: var(--pr-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, select, textarea { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2px;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -1.5px;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.display-sm {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--pr-text-dark);
}

h1 { font-size: clamp(36px, 5vw, 56px);    font-weight: 900; line-height: 1.05; letter-spacing: -1.5px; }
h2 { font-size: clamp(28px, 3.5vw, 40px);  font-weight: 700; line-height: 1.1;  letter-spacing: -0.8px; }
h3 { font-size: clamp(20px, 2.5vw, 28px);  font-weight: 700; line-height: 1.2;  letter-spacing: -0.4px; }
h4 { font-size: clamp(16px, 2vw, 20px);    font-weight: 500; }
h5 { font-size: 16px; font-weight: 500; }
h6 { font-size: 14px; font-weight: 500; }

.text-italic-accent {
  font-style: italic;
  font-weight: 300;
  color: var(--pr-mint);
}

p {
  margin-bottom: var(--space-md);
}
p:last-child { margin-bottom: 0; }

/* Eyebrow label — gold, uppercase, with leading rule */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pr-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-md);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--pr-gold);
  flex-shrink: 0;
}

/* Section label — green, uppercase, with leading rule */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pr-green);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: var(--space-sm);
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--pr-green);
  flex-shrink: 0;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: 800px; }

.section    { padding: var(--space-3xl) 0; }
.section--sm { padding: var(--space-2xl) 0; }
.section--lg { padding: calc(var(--space-3xl) * 1.5) 0; }

/* Grid helpers */
.grid-2    { display: grid; grid-template-columns: 1fr 1fr;              gap: var(--space-xl); }
.grid-3    { display: grid; grid-template-columns: repeat(3, 1fr);       gap: var(--space-lg); }
.grid-4    { display: grid; grid-template-columns: repeat(4, 1fr);       gap: var(--space-md); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-lg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition:
    background var(--transition-base),
    transform var(--transition-fast),
    border-color var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

/* Gold — primary CTA */
.btn--gold { background: var(--pr-gold); color: #1b1400; }
.btn--gold:hover { background: var(--pr-gold-hover); }

/* Green — page action */
.btn--green { background: var(--pr-green); color: var(--pr-cream); }
.btn--green:hover { background: var(--pr-green-hover); }

/* Ghost — secondary CTA on dark bg */
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--pr-cream);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* Outline — secondary CTA on light bg */
.btn--outline {
  background: transparent;
  color: var(--pr-green);
  border: 1px solid var(--pr-border);
}
.btn--outline:hover {
  border-color: var(--pr-green);
  background: rgba(45, 106, 79, 0.04);
}

/* WhatsApp */
.btn--whatsapp {
  background: rgba(255, 255, 255, 0.08);
  color: var(--pr-cream);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn--whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
}

/* Sizes */
.btn--sm   { padding: 8px 16px;   font-size: 12px; }
.btn--lg   { padding: 16px 32px;  font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--pr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--pr-border);
  overflow: hidden;
  transition:
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}
.card:hover {
  border-color: var(--pr-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card__body { padding: var(--space-lg); }

.card__img { overflow: hidden; }
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card__img img { transform: scale(1.05); }

.card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--pr-text-dark);
  margin-bottom: var(--space-sm);
}

.card__meta {
  font-size: 12px;
  color: var(--pr-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.card__price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--pr-text-dark);
}
.card__price-suffix {
  font-size: 12px;
  font-weight: 400;
  color: var(--pr-text-muted);
  margin-left: 2px;
}

/* ============================================================
   DARK SECTION BASE
   ============================================================ */
.section--dark {
  background: var(--pr-jungle);
  color: var(--pr-cream);
  position: relative;
  overflow: hidden;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--pr-cream); }

.section--forest {
  background: var(--pr-forest);
  color: var(--pr-cream);
  position: relative;
  overflow: hidden;
}
.section--forest h1,
.section--forest h2,
.section--forest h3,
.section--forest h4 { color: var(--pr-cream); }

/* Radial jungle texture — absolute overlay */
.jungle-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 10% 100%, #1b4332 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 0%,   #0d2b1a 0%, transparent 50%);
  pointer-events: none;
}

/* SVG noise grain overlay */
.grain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.form-field label {
  font-size: 11px;
  font-weight: 500;
  color: var(--pr-text-muted);
  letter-spacing: 0.03em;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--pr-border);
  background: #faf8f3;
  font-size: 13px;
  color: var(--pr-text-dark);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--pr-green);
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge--green { background: #e8f5e9;              color: var(--pr-green); }
.badge--gold  { background: #fff3cd;              color: #b8860b; }
.badge--dark  { background: rgba(13, 31, 20, 0.75); color: var(--pr-cream); }
.badge--mint  { background: rgba(116, 198, 157, 0.15); color: var(--pr-mint); }
.badge--coral { background: rgba(231, 111, 81, 0.12);  color: var(--pr-coral); }

/* ============================================================
   STAR RATINGS
   ============================================================ */
.stars { color: var(--pr-gold); letter-spacing: 1.5px; }
.stars--sm { font-size: 11px; }
.stars--md { font-size: 14px; }
.stars--lg { font-size: 18px; }

/* ============================================================
   TOURUS WIDGET EMBED ZONE
   ============================================================ */
.tourus-embed {
  width: 100%;
  min-height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--pr-border);
  background: var(--pr-white);
}

.tourus-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  display: block;
}

.tourus-embed--loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-md);
  min-height: 300px;
  color: var(--pr-text-muted);
  font-size: 13px;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(244, 241, 232, 0.35);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.breadcrumb a { transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--pr-cream); }
.breadcrumb__sep { color: rgba(244, 241, 232, 0.2); }

/* Light variant (on cream background) */
.breadcrumb--light { color: var(--pr-text-hint); }
.breadcrumb--light a { color: var(--pr-text-muted); }
.breadcrumb--light a:hover { color: var(--pr-green); }
.breadcrumb--light .breadcrumb__sep { color: var(--pr-border); }

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

/* Skip-to-content link — visible on focus */
.skip-link:focus {
  position: fixed;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--pr-jungle);
  color: var(--pr-cream);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  clip: auto;
  width: auto;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--pr-green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-light   { color: var(--pr-text-light); }
.text-muted   { color: var(--pr-text-muted); }
.text-gold    { color: var(--pr-gold); }
.text-mint    { color: var(--pr-mint); }
.text-green   { color: var(--pr-green); }

.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.hidden   { display: none; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ============================================================
   RESPONSIVE — Tablet ≥768px
   ============================================================ */
@media (min-width: 768px) {
  .hidden-tablet { display: none; }
}

/* ============================================================
   RESPONSIVE — Desktop ≥1024px (collapse grids below)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --container-pad: 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — Mobile <768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --container-pad: 20px;
    --space-3xl: 64px;
    --space-2xl: 48px;
  }

  .grid-2,
  .grid-3,
  .grid-4    { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }

  .hidden-mobile { display: none; }
}
