/* ============================================================
   The Argentine Playbook — base.css
   Shared resets, variables, flag stripe, nav, footer, buttons.
   Each landing version layers its own stylesheet on top.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Argentine-flag-inspired palette, tuned for legibility */
  --celeste:      #74ACDF;   /* flag light blue */
  --celeste-deep: #4A90D9;
  --blue:         #2C6FAC;
  --blue-dark:    #1B4F80;
  --blue-pale:    #EAF3FB;
  --blue-pale-2:  #F4F9FE;
  --sun:          #F6B40E;   /* flag sun yellow */
  --red:          #C0392B;
  --ink:          #1C1C1E;
  --ink-2:        #2E2E32;
  --ink-light:    #4A4A4E;
  --ink-muted:    #8E8E93;
  --rule:         #D8E6F3;
  --rule-light:   #EEF4FB;
  --bg:           #EBF3FA;
  --white:        #ffffff;
  --off-white:    #FAFAF7;

  /* Typography */
  --font-body:    'Lora', Georgia, 'Times New Roman', serif;
  --font-ui:      'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', 'Lora', Georgia, serif;

  --max:          1120px;
  --max-narrow:   760px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

/* ── Argentine flag stripe ───────────────────────────────── */
.flag-stripe { display: flex; height: 6px; width: 100%; }
.flag-stripe .s1 { flex: 1; background: var(--celeste); }
.flag-stripe .s2 { flex: 1; background: var(--white); }
.flag-stripe .s3 { flex: 1; background: var(--celeste); }

/* ── Site nav ────────────────────────────────────────────── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(1.1);
}
.site-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav-logo {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  text-decoration: none;
}
.site-nav-logo span { color: var(--red); }
.site-nav-right { display: flex; align-items: center; gap: 1.5rem; }
.site-nav-link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-light);
  text-decoration: none;
  transition: color .15s;
}
.site-nav-link:hover { color: var(--blue-dark); }
.site-nav-cta {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background .15s, transform .12s;
}
.site-nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

@media (max-width: 640px) {
  .site-nav-inner { padding: 0 1.25rem; }
  .site-nav-link { display: none; }
}

/* ── Buttons (shared base) ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 5px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background .15s, transform .12s, box-shadow .15s, color .15s, border-color .15s;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover  { transform: translateY(-1px); }
.btn-icon   { flex-shrink: 0; }
.btn-note   { font-weight: 500; opacity: .7; font-size: 12px; margin-left: 6px; }

.btn-primary                         { background: var(--blue); color: var(--white); }
.btn-primary:hover                   { background: var(--blue-dark); }
.btn-primary.is-secondary            { background: var(--white); color: var(--blue); border-color: var(--rule); }
.btn-primary.is-secondary:hover      { border-color: var(--blue); background: var(--blue-pale); }

.btn-white                           { background: var(--white); color: var(--blue-dark); font-weight: 700; }
.btn-white:hover                     { box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.btn-white.is-secondary              { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-white.is-secondary:hover        { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-inline                          { padding: 8px 14px; font-size: 13px; background: var(--blue-pale); color: var(--blue-dark); }
.btn-inline:hover                    { background: var(--blue); color: var(--white); }

.buy-links { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.buy-links-inline { gap: 0.5rem; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  padding: 48px 2rem 40px;
  text-align: center;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right,
    var(--celeste) 0 33.33%,
    var(--white)   33.33% 66.66%,
    var(--celeste) 66.66% 100%);
  opacity: .35;
}
.site-footer-inner { max-width: var(--max); margin: 0 auto; }
.site-footer-logo {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}
.site-footer-logo span { color: rgba(116,172,223,0.75); }
.site-footer-meta {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}
.site-footer-copy {
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(255,255,255,0.22);
}

/* ── Version switcher (small floating helper during review) ── */
.version-switcher {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: rgba(28,28,30,0.92);
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 200;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}
.version-switcher .vs-label { opacity: .55; text-transform: uppercase; font-weight: 700; font-size: 10px; letter-spacing: 0.12em; }
.version-switcher a {
  color: #fff;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: .6;
  transition: all .15s;
}
.version-switcher a:hover { opacity: 1; background: rgba(255,255,255,0.12); }
.version-switcher a.is-active { opacity: 1; background: var(--blue); }
@media (max-width: 640px) { .version-switcher { display: none; } }

/* ── Utility ─────────────────────────────────────────────── */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
