/* =========================================================================
   Betfair Guatemala — bespoke stylesheet
   Premium exchange-heritage sportsbook. Black + amber-gold identity.
   ========================================================================= */

:root {
  --black: #1e1e1e;
  --black-deep: #141414;
  --black-soft: #2a2a2a;
  --amber: #ffb80c;
  --amber-light: #ffd851;
  --amber-deep: #ffc400;
  --grey-surface: #e1e1e1;
  --grey-100: #f5f5f4;
  --grey-200: #ececeb;
  --white: #ffffff;
  --ink: #1e1e1e;
  --ink-soft: #4a4a48;
  --line: #d8d8d6;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --shadow-card: 0 2px 14px rgba(30, 30, 30, 0.09);
  --shadow-lift: 0 10px 30px rgba(30, 30, 30, 0.16);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--grey-100);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--amber);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { height: 26px; width: auto; }
.brand .brand-name { font-size: 0; }

.main-nav { display: flex; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  color: var(--grey-200);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--amber); border-color: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--black-soft);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a {
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--grey-200);
  letter-spacing: .03em;
}
.lang-switch a[aria-current="true"] { background: var(--amber); color: var(--black); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-s);
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.35);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-primary {
  background: linear-gradient(180deg, var(--amber-light), var(--amber-deep));
  color: var(--black);
  box-shadow: 0 6px 16px rgba(255, 184, 12, .35);
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(255, 184, 12, .5); }
.btn-block { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: var(--radius-s);
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--black);
  border-bottom: 3px solid var(--amber);
}
.mobile-nav.is-open { display: block; }
.mobile-nav .container { padding: 18px 24px 26px; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a {
  display: block;
  color: var(--grey-200);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a:hover { color: var(--amber); }
.mobile-lang {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.mobile-lang a {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: var(--radius-s);
  background: var(--black-soft);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  border-bottom: none;
}
.mobile-lang a[aria-current="true"] { background: var(--amber); color: var(--black); }
.mobile-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }

/* -------------------------------------------------------------------------
   Hero + odds board
   ------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(255,184,12,.16), transparent 60%),
    linear-gradient(180deg, var(--black) 0%, var(--black-deep) 100%);
  color: var(--white);
  padding: 56px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}
.hero--single .container { grid-template-columns: 1fr; max-width: 760px; }
.hero--single .hero-sub { max-width: 60ch; }
.hero-eyebrow {
  display: inline-block;
  color: var(--amber);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.hero-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -.01em;
}
.hero-title em { color: var(--amber); font-style: normal; }
.hero-sub {
  font-size: 16px;
  color: #cfcfcd;
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-trust .stat p:first-child {
  font-size: 22px;
  font-weight: 800;
  color: var(--amber-light);
}
.hero-trust .stat p:last-child {
  font-size: 12.5px;
  color: #a8a8a5;
  margin-top: 2px;
}

/* Odds board */
.odds-board {
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  color: var(--ink);
}
.odds-board-head {
  background: var(--black-deep);
  color: var(--white);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.odds-board-head p {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--amber-light);
}
.odds-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #d8d8d6;
  font-weight: 700;
}
.odds-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5c5c;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.odds-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 14px 0;
  flex-wrap: wrap;
}
.odds-tab {
  border: 1px solid var(--line);
  background: var(--grey-100);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
}
.odds-tab[aria-pressed="true"] {
  background: var(--black);
  border-color: var(--black);
  color: var(--amber-light);
}

.odds-rows { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.odds-row {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 12px 12px;
}
.odds-row.is-visible { display: block; }
.odds-row-league {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.odds-row-match { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.odds-teams p { font-size: 14px; font-weight: 700; line-height: 1.4; }
.odds-teams p:last-child { color: var(--ink-soft); font-weight: 600; }
.odds-prices { display: flex; gap: 6px; flex-shrink: 0; }
.odds-price {
  min-width: 52px;
  text-align: center;
  background: var(--grey-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 7px 6px;
}
.odds-price p:first-child { font-size: 10px; color: var(--ink-soft); font-weight: 700; }
.odds-price p:last-child { font-size: 15px; font-weight: 800; color: var(--black); }
.odds-note {
  font-size: 11px;
  color: var(--ink-soft);
  padding: 0 14px 14px;
}

/* -------------------------------------------------------------------------
   Sections generic
   ------------------------------------------------------------------------- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--black); color: var(--white); }
.section-head { max-width: 62ch; margin: 0 0 36px; }
.section-eyebrow {
  color: var(--amber-deep);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.section-dark .section-eyebrow { color: var(--amber-light); }
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0 0 10px;
}
.section-desc { color: var(--ink-soft); font-size: 15.5px; }
.section-dark .section-desc { color: #b9b9b6; }

/* Feature cards (exchange/sportsbook/cashout) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 20px;
  font-weight: 800;
}
.feature-card p.card-title { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.feature-card p.card-body { font-size: 14.5px; color: var(--ink-soft); }

/* Casino secondary strip */
.casino-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.casino-chip {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-m);
  padding: 20px 16px;
  text-align: left;
}
.casino-chip p.chip-title { color: var(--amber-light); font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.casino-chip p.chip-body { color: #bdbdba; font-size: 13.5px; }

/* Bono teaser */
.bono-teaser {
  background: linear-gradient(120deg, var(--black) 0%, var(--black-deep) 100%);
  border-radius: var(--radius-l);
  color: var(--white);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.bono-teaser::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,184,12,.28), transparent 70%);
}
.bono-teaser p.tag {
  color: var(--amber-light);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bono-teaser p.headline { font-size: 24px; font-weight: 800; max-width: 34ch; }
.bono-teaser p.copy { color: #c6c6c3; font-size: 14.5px; margin-top: 8px; max-width: 46ch; }

/* Payments band */
.pay-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pay-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

/* -------------------------------------------------------------------------
   Breadcrumb
   ------------------------------------------------------------------------- */
.breadcrumb { background: var(--grey-200); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.breadcrumb a { font-weight: 700; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--amber-deep); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #b7b7b4; }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 700; }

/* -------------------------------------------------------------------------
   SEO article block
   ------------------------------------------------------------------------- */
.seo-block { background: var(--white); }
.seo-block .container { max-width: 840px; }
.article h1 {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0 0 20px;
  color: var(--black);
}
.article h2 {
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 800;
  margin: 40px 0 14px;
  color: var(--black);
  border-left: 4px solid var(--amber);
  padding-left: 12px;
}
.article h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 26px 0 10px;
  color: var(--black);
}
.article p { margin: 0 0 16px; color: #333331; font-size: 15.5px; }
.article strong { color: var(--black); }
.article a { color: #a86a00; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.article a:hover { color: var(--amber-deep); }
.article ol, .article ul { margin: 0 0 20px; padding-left: 22px; list-style: decimal; }
.article ul { list-style: disc; }
.article li { margin-bottom: 10px; color: #333331; font-size: 15.5px; }

.article table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 14px;
}
.article table th, .article table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  overflow-wrap: anywhere;
  text-align: left;
}
.article table th { background: var(--grey-100); font-weight: 800; }

/* FAQ accordion */
.faq-list { margin-top: 8px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--grey-100);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 44px 16px 18px;
  position: relative;
  display: block;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 15.5px; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 700;
  color: var(--amber-deep);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 18px 18px; }
.faq-item .faq-a p { margin: 0; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--black); color: #c7c7c4; padding: 48px 0 26px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 24px; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: #9c9c99; max-width: 34ch; }
.footer-col p.col-title {
  color: var(--white);
  font-weight: 800;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 14px; color: #b7b7b4; padding: 5px 0; }
.footer-col a:hover { color: var(--amber); }
.footer-badges { display: flex; align-items: center; gap: 16px; padding: 26px 0; flex-wrap: wrap; }
.footer-badges img { height: 34px; width: auto; }
.footer-rg {
  font-size: 12.5px;
  color: #9c9c99;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  line-height: 1.7;
}
.footer-rg strong { color: #d8d8d6; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 12.5px;
  color: #8c8c89;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .casino-strip { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-actions .lang-switch, .header-actions .btn { display: none; }
  .burger { display: flex; }
  .header-actions { gap: 10px; }
  .hero { padding: 40px 0 48px; }
  .bono-teaser { padding: 28px; }
  .bono-teaser .btn { width: 100%; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .casino-strip { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .odds-row-match { flex-direction: column; align-items: stretch; gap: 10px; }
  .odds-prices { justify-content: space-between; }
  .odds-price { flex: 1; }
  .bono-teaser { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .article table { font-size: 12.5px; }
  .article table th, .article table td { padding: 6px 7px; }
}

@media (max-width: 400px) {
  .casino-strip { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .site-header .container { height: 64px; }
  .brand img { height: 22px; }
}
