/* girodorado.click — Main Stylesheet
   Brand: Giro Dorado · Buenos Aires · 18+
   Palette: Emerald & Gold on dark backgrounds, unique layout.
   -------------------------------------------------------------------- */

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --emerald:     #0D3B2E;
  --emerald-dk:  #082A20;
  --emerald-lt:  #E8F5F0;
  --gold:        #D4A843;
  --gold-dk:     #B08A2A;
  --gold-lt:     #FDF6E3;
  --bg:          #F7F5F0;
  --bg-alt:      #FFFFFF;
  --ink:         #1C2B26;
  --muted:       #5A6E66;
  --line:        #D6DDD9;
  --ok:          #1D7A44;
  --err:         #C0392B;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 4px 20px rgba(13,59,46,.08);
  --shadow-lg:   0 12px 40px rgba(13,59,46,.12);
  --font:        'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition:  .2s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold-dk); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--emerald-dk); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }

/* ===== UTILITIES ===== */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== AGE BANNER — NON-BLOCKING BOTTOM PANEL =====
   ANTI-CLOAKING: This is NOT a full-screen overlay.
   All page content is visible and scrollable with or without JS.
   No user-agent sniffing, no content switching, no redirects.
   Google bots see exactly the same HTML as human visitors.
   Body never gets overflow:hidden. */
.age-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--emerald-dk);
  color: #fff;
  padding: 18px 20px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
.age-banner__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: center;
  text-align: center;
}
.age-banner__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid var(--err);
  color: var(--err);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  background: rgba(255,255,255,.1);
}
.age-banner__text {
  font-size: .92rem;
  max-width: 480px;
  margin: 0;
}
.age-banner__text a { color: var(--gold); }
.age-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.age-banner__btn {
  padding: 9px 20px;
  border-radius: 6px;
  border: 2px solid transparent;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.age-banner__btn--yes {
  background: var(--gold);
  color: var(--emerald-dk);
  border-color: var(--gold);
}
.age-banner__btn--yes:hover { background: var(--gold-dk); color: #fff; }
.age-banner__btn--yes:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.age-banner__btn--no {
  background: transparent;
  color: #ccc;
  border-color: #555;
}
.age-banner__btn--no:hover { background: rgba(255,255,255,.08); }
.age-banner__btn--no:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.age-banner__minor-msg {
  display: none;
  color: var(--gold-lt);
  font-weight: 600;
  font-size: .9rem;
  width: 100%;
  text-align: center;
}
.age-banner__minor-msg a { color: #fff; }
.age-banner--hidden { display: none; }

/* ===== HEADER ===== */
.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: auto;
}
.brand__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: contain;
}
.brand__name {
  line-height: 1.15;
  white-space: nowrap;
}

/* Nav */
.nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 2px;
}
.nav__link {
  display: block;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-size: .93rem;
  font-weight: 500;
  transition: background var(--transition);
}
.nav__link:hover { background: var(--emerald-lt); color: var(--emerald); }
.nav__link[aria-current="page"] {
  color: var(--emerald);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--gold);
}

.header-badge {
  border: 2px solid var(--gold);
  color: var(--gold-dk);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
  line-height: 0;
}
.nav-toggle svg { display: block; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: .65em 1.4em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn--primary { background: var(--emerald); color: #fff; }
.btn--primary:hover { background: var(--emerald-dk); color: #fff; }
.btn--gold { background: var(--gold); color: var(--emerald-dk); }
.btn--gold:hover { background: var(--gold-dk); color: #fff; }
.btn--outline { background: transparent; border-color: var(--emerald); color: var(--emerald); }
.btn--outline:hover { background: var(--emerald-lt); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2em; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, var(--emerald) 0%, var(--emerald-dk) 60%, #061A14 100%);
  color: #fff;
  padding: 60px 0 52px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.webp') center/cover no-repeat;
  opacity: .12;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: .8em;
}
.hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.hero p { color: #C4DED5; font-size: 1.05rem; max-width: 600px; }

/* Score card */
.score-card {
  background: var(--bg-alt);
  color: var(--ink);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--gold);
}
.score-card__name { font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; }
.score-card__number { font-size: 3.2rem; font-weight: 800; color: var(--emerald); line-height: 1; }
.score-card__number span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.score-card__list {
  list-style: none; padding: 0;
  margin: 16px 0 18px;
  text-align: left; font-size: .9rem;
}
.score-card__list li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.score-card__list li:last-child { border: 0; }
.score-card .btn { width: 100%; text-align: center; }
.score-card__note { font-size: 11px; color: var(--muted); margin: 10px 0 0; }

/* ===== SECTIONS ===== */
.section { padding: 52px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow); }
.card__accent {
  width: 36px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 14px;
}

/* Callout */
.callout {
  border-left: 5px solid var(--gold);
  background: var(--gold-lt);
  padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout h2, .callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* Info note */
.note { font-size: .88rem; color: var(--muted); }

/* ===== PAGE HEAD (inner pages) ===== */
.page-head {
  background: var(--emerald);
  color: #fff;
  padding: 40px 0 32px;
  border-bottom: 3px solid var(--gold);
}
.page-head h1 { color: #fff; }
.page-head p { color: #C4DED5; max-width: 680px; margin: 0; }
.crumbs { font-size: 13px; color: var(--gold); margin-bottom: 8px; }
.crumbs a { color: var(--gold-lt); }
.crumbs a:hover { color: #fff; }

/* Content layout — sidebar */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

/* Prose */
.prose { max-width: 740px; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .updated { font-size: 13px; color: var(--muted); }

/* Aside box */
.aside-box {
  position: sticky;
  top: 86px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--emerald);
  border-radius: var(--radius);
  padding: 22px;
}
.aside-box h3 { font-size: 1rem; }
.aside-box dl { margin: 0 0 16px; }
.aside-box dt { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-top: 10px; }
.aside-box dt:first-child { margin-top: 0; }
.aside-box dd { margin: 2px 0 0; font-weight: 600; }
.aside-box .btn { width: 100%; text-align: center; margin-top: 12px; }

/* Pros / Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1em 0 1.5em;
}
.pros-cons .card { padding: 20px; }
.pros h3 { color: var(--ok); }
.cons h3 { color: #9A6B00; }

/* Table */
.table-wrap { overflow-x: auto; margin: 1em 0; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-alt);
  min-width: 520px;
}
.compare th, .compare td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  background: var(--emerald);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
}
.compare tbody th { width: 34%; font-weight: 600; background: var(--emerald-lt); }

/* Operator card */
.operator {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 22px;
  align-items: center;
}
.operator__logo {
  background: var(--emerald);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: var(--radius);
  height: 76px;
  display: grid;
  place-items: center;
  letter-spacing: .5px;
}
.operator__meta { font-size: .88rem; color: var(--muted); margin: 0; }
.operator__score { text-align: center; min-width: 140px; }
.operator__score strong { display: block; font-size: 1.9rem; color: var(--emerald); line-height: 1.1; }
.operator__score .btn { margin-top: 8px; display: block; }

/* Helpline */
.helpline {
  background: var(--emerald);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  margin: 1.5em 0;
}
.helpline h2, .helpline h3 { color: #fff; margin-top: 0 !important; }
.helpline .phone {
  display: inline-block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 1px;
}
.helpline p { margin-bottom: .5em; }
.helpline a { color: #fff; }

/* FAQ accordion */
.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 48px 16px 20px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  color: var(--ink);
}
.faq-q:hover { background: var(--emerald-lt); }
.faq-q:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: var(--radius-sm); }
.faq-q::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--emerald);
  transition: transform var(--transition);
}
.faq-item.open .faq-q::after { content: "\2013"; }
.faq-a { display: none; padding: 0 20px 16px; }
.faq-item.open .faq-a { display: block; }

/* Forms */
.form-grid { display: grid; gap: 16px; }
.form-grid label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: var(--bg-alt);
}
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus { outline: 2px solid var(--emerald-lt); border-color: var(--emerald); }
.form-grid textarea { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; display: none; }
.alert.show { display: block; }
.alert--ok { background: #E5F5EB; border: 1px solid #A6D8B8; color: var(--ok); }
.alert--err { background: #FDECEA; border: 1px solid #F2B8B5; color: var(--err); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--emerald-dk);
  color: #B0C4B8;
  font-size: .92rem;
}
.site-footer a { color: #D0E0D8; }
.site-footer a:hover { color: var(--gold); }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }

/* Responsible gambling block */
.rg-block {
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 32px 0 26px;
}
.rg-block__title { color: var(--gold); font-size: 1.05rem; letter-spacing: .5px; margin-bottom: .6em; }
.rg-block p { max-width: 840px; }
.rg-block__phone { color: #fff; font-weight: 700; white-space: nowrap; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-badges span,
.footer-badges a {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #C5D8CE;
  text-decoration: none;
}
.footer-badges .badge--18 { border-color: var(--gold); color: var(--gold); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 30px 0;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 5px; }

.footer-license {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  font-size: .82rem;
  color: #7E9A8D;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 14px 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

/* Floating 18+ badge */
.floating-18 {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid var(--err);
  color: var(--err);
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
  text-decoration: none;
  transition: bottom var(--transition);
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 150;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 20px;
  display: none;
  max-width: 860px;
  margin: 0 auto;
}
.cookie-bar.show { display: flex; align-items: center; gap: 16px; }
.cookie-bar p { margin: 0; font-size: .9rem; flex: 1; }
.cookie-bar__btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-bar .btn { padding: .5em 1em; white-space: nowrap; }
body.cookie-open .floating-18 { bottom: 100px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .score-card { max-width: 360px; }
  .layout { grid-template-columns: 1fr; }
  .aside-box { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(0,0,0,.06);
    z-index: 49;
  }
  .main-nav.open { display: block; }
  .nav__list { flex-direction: column; padding: 8px 14px 14px; }
  .nav__link { padding: 10px 14px; }
  .nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
  .card-grid { grid-template-columns: 1fr; }
  .operator { grid-template-columns: 1fr; text-align: center; }
  .operator__logo { max-width: 150px; margin: 0 auto; width: 100%; }
  .pros-cons { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 36px 0; }
  .section { padding: 36px 0; }
  .header-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-bar.show { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-bar__btns { justify-content: center; }
  body.cookie-open .floating-18 { bottom: 160px; }
  .age-banner__inner { flex-direction: column; }
}
