/* =============================================
   OLPA THEME — BASE STYLES
   CSS Variables are overridden by Customizer via wp_head
   ============================================= */

:root {
  /* ---- Backgrounds ---- */
  --black: #0a0a0a;
  --dark1: #111;
  --dark2: #161616;
  --dark3: #1e1e1e;
  --dark4: #252525;
  --dark5: #2e2e2e;

  /* ---- Brand colors ---- */
  --red: #e31b23;
  --red-dark: #b5151c;
  --red-glow: rgba(227,27,35,0.3);
  --gold: #f5a623;
  --green: #22c55e;

  /* ---- Text colors ---- */
  --white: #f0f0f0;
  --grey1: #c0c0c0;
  --grey2: #888;
  --grey3: #555;
  --selection-color: #ffffff;

  /* ---- Borders ---- */
  --border: rgba(255,255,255,0.07);

  /* ---- Typography — Families ---- */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-button: var(--font-display);

  /* ---- Typography — Sizes ---- */
  --fs-h1: clamp(34px, 5vw, 56px);
  --fs-h2: clamp(20px, 3vw, 28px);
  --fs-h3: 18px;
  --fs-h4: 16px;
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-nav: 13px;
  --fs-badge: 10px;
  --fs-button: 13px;
  --fs-button-lg: 14px;
  --fs-price: 24px;
  --fs-price-old: 12px;
  --fs-cuotas: 12px;
  --fs-eyebrow: 11px;

  /* ---- Typography — Weights ---- */
  --fw-hero: 900;
  --fw-heading: 800;
  --fw-button: 800;
  --fw-nav: 600;
  --fw-badge: 800;

  /* ---- Typography — Line Heights ---- */
  --lh-body: 1.5;
  --lh-heading: 1.1;

  /* ---- Typography — Letter Spacing ---- */
  --ls-nav: 0.06em;

  /* ---- Spacing ---- */
  --container-max-width: 1380px;
  --container-padding: 24px;
  --section-padding: 48px;
  --card-gap: 16px;
  --grid-sidebar-width: 260px;
  --grid-gap: 28px;
  --header-height: 80px;
  --footer-padding: 48px;

  /* ---- Border Radius ---- */
  --radius-card: 14px;
  --radius-button: 8px;
  --radius-badge: 5px;
  --radius-small: 4px;

  /* ---- Component Sizes ---- */
  --btn-height: 42px;
  --btn-height-lg: 44px;
  --icon-btn-size: 40px;
  --card-image-height: 200px;
  --brand-stripe-height: 32px;
  --benefit-icon-size: 48px;
  --sidebar-sticky-top: 100px;
  --logo-height: 60px;
  --logo-height-mobile: 40px;

  /* ---- Search bar ---- */
  --search-bg: #ffffff;
  --search-text: #111111;

  /* ---- Card image bg ---- */
  --card-bg: #0d0d0d;

  /* ---- Animation ---- */
  --promo-speed: 25s;
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-heading);
  text-transform: uppercase;
  line-height: var(--lh-heading);
  color: var(--white);
}
h1 { font-size: var(--fs-h1); font-weight: var(--fw-hero); }
h2 { font-size: var(--fs-h2); letter-spacing: 0.04em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { color: var(--grey1); line-height: 1.6; margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.accent { color: var(--red); }
.accent-gold { color: var(--gold); }

/* =============================================
   UTILITY CLASSES
   ============================================= */
.container { max-width: var(--container-max-width); margin: 0 auto; padding: 0 var(--container-padding); }
.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; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.5;
}

/* Section title pattern */
.section-title {
  font-family: var(--font-display);
  font-weight: var(--fw-hero);
  font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 16px;
}
.section-title .thin { font-weight: 400; color: var(--grey1); }

/* =============================================
   ICON UTILITY (Phosphor Icons)
   ============================================= */
.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}
.ico svg { display: block; }
.ico i { font-size: inherit; line-height: 1; }

/* Icon size classes (replaces inline font-size styles) */
.icon-xs { font-size: 9px; }
.icon-sm { font-size: 11px; }
.icon-md { font-size: 14px; }
.icon-base { font-size: 16px; }
.icon-lg { font-size: 18px; }
.icon-xl { font-size: 22px; }
.icon-2xl { font-size: 36px; }

/* =============================================
   SELECTION
   ============================================= */
::selection {
  background: var(--red);
  color: var(--selection-color);
}

/* =============================================
   SCROLLBAR (optional)
   ============================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark1); }
::-webkit-scrollbar-thumb { background: var(--dark4); border-radius: var(--radius-small); }
::-webkit-scrollbar-thumb:hover { background: var(--dark5); }
