/* Curio — Comparador de apuestas en Colombia */
:root {
  --bg: #0f1419;
  --bg-card: #1a222d;
  --bg-card-alt: #232d3b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf1;
  --text-muted: #9aa5b5;
  --accent: #1a7f4b;
  --accent-hover: #22a362;
  --accent-gold: #d4a84b;
  --danger: #c94a4a;
  --radius: 12px;
  --header-h: 64px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1120px;
  --page-gutter: clamp(1rem, 4.2vw, 1.5rem);
}

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

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

#main,
#contenido,
body > main {
  flex: 1 0 auto;
}

body.nav-open {
  overflow: hidden;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: #6eb5ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: var(--header-h);
  background: #0f1419;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.45rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand:hover {
  text-decoration: none;
  color: #fff;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand > span {
  min-width: 0;
  overflow: hidden;
}

.brand-tagline {
  display: none;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 420px) {
  .brand-tagline {
    display: block;
  }
}

.header-inner > nav {
  display: none;
}

.nav-desktop {
  display: none;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-desktop a:hover {
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  z-index: 301;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f1419;
  padding: 1.25rem 1rem 2rem;
  z-index: 250;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-mobile.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile a {
  display: block;
  padding: 0.85rem 0;
  color: var(--text);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  background: rgba(201, 74, 74, 0.2);
  border: 1px solid rgba(201, 74, 74, 0.45);
  color: #ffb4b4;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-header .badge-18 {
  justify-self: end;
}

@media (min-width: 768px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .header-inner > nav {
    display: block;
  }

  .nav-desktop {
    display: flex;
    justify-content: flex-end;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
}

main#contenido {
  box-sizing: border-box;
}

main#contenido.home-fold {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

main#contenido.container {
  width: 100%;
  max-width: var(--max);
}

.section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
}

.section-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
}

.section-stack > * {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.section-stack .section-lead {
  margin-bottom: 0;
}

.section-stack .content-photo {
  margin-bottom: 0;
}

.section-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.2;
}

.section-lead {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 100%;
  line-height: 1.5;
}

/* Home fold — two cards visible */
.home-fold {
  display: flex;
  flex-direction: column;
}

.home-fold .comparison-block.container {
  padding-top: 0.35rem;
}

.hero-compact {
  margin: 0 0 0.35rem;
}

.hero-compact__stage {
  position: relative;
  display: grid;
  grid-template-areas: "hero";
  width: 100%;
  min-height: 148px;
  height: clamp(148px, 38vw, 176px);
  max-height: 176px;
  overflow: hidden;
  background: #0a1018;
}

.hero-compact__picture {
  display: block;
  grid-area: hero;
  width: 100%;
  height: 100%;
  min-height: 148px;
  max-height: 176px;
  margin: 0;
}

.hero-visual {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 148px;
  max-height: 176px;
  object-fit: cover;
  object-position: center 42%;
  aspect-ratio: auto;
}

.hero-compact__scrim {
  grid-area: hero;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 20, 25, 0.35) 0%,
    rgba(15, 20, 25, 0.72) 52%,
    rgba(15, 20, 25, 0.94) 100%
  );
  pointer-events: none;
}

.hero-compact__copy {
  grid-area: hero;
  z-index: 2;
  align-self: end;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem var(--page-gutter) 0.55rem;
}

.hero-compact__badge {
  margin: 0 0 0.25rem;
}

.hero-compact h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.05rem, 4.2vw, 1.65rem);
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.hero-compact .hero-desc {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(232, 236, 241, 0.88);
  max-width: 52ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .hero-compact {
    padding: 0 var(--page-gutter);
  }

  .hero-compact__stage {
    min-height: 188px;
    height: 188px;
    max-height: 188px;
    border-radius: var(--radius);
  }

  .hero-compact__picture,
  .hero-visual {
    min-height: 188px;
    max-height: 188px;
    border-radius: var(--radius);
  }

  .hero-compact .hero-desc {
    font-size: 0.88rem;
    -webkit-line-clamp: 2;
    max-width: 62ch;
  }

  .hero-compact h1 {
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  }
}

.alert-banner--compact {
  margin: 0 0 0.45rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.72rem;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .alert-banner--compact {
    font-size: 0.78rem;
    margin-bottom: 0.55rem;
  }
}

.home-fold .section-lead,
.home-fold .affiliate-note,
.home-fold .alert-banner {
  max-width: none;
}

.alert-banner {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  background: rgba(201, 74, 74, 0.12);
  border-left: 3px solid var(--danger);
  font-size: 0.82rem;
  color: #f0d0d0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.affiliate-note {
  margin: 0.5rem 0 0;
  padding: 0.5rem 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .affiliate-note {
    font-size: 0.82rem;
    padding: 0.65rem 0.85rem;
    display: block;
    -webkit-line-clamp: unset;
  }
}

.comparison-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 1rem;
}

.comparison-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.4rem;
}

.comparison-head h2 {
  margin: 0;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .comparison-head h2 {
    font-size: 1.1rem;
  }
}

.comparison-updated {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.operator-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.operator-list--home {
  flex: 0 0 auto;
}

.operator-list--home .operator-card {
  flex: 0 0 auto;
}

/* Operator card — reference-inspired */
.operator-card {
  display: block;
  width: 100%;
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.operator-list--home .operator-card {
  align-self: stretch;
}

.operator-card__rank {
  position: absolute;
  margin: 0;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.operator-card__inner {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.35rem 0.55rem;
  padding: 0.55rem 0.6rem 0.5rem;
}

.operator-card__logo {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 0.35rem;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  box-sizing: border-box;
}

.operator-card__logo img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.operator-card__logo--wplay {
  background: linear-gradient(160deg, #0c1a33 0%, #152a52 100%);
  border: 1px solid rgba(120, 160, 255, 0.18);
}

.operator-card__logo--wplay img {
  max-height: 100%;
}

.operator-card__main {
  min-width: 0;
}

.operator-card__name {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.operator-card__desc {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.operator-card__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.operator-card__score {
  grid-column: 1 / -1;
  text-align: left;
}

.operator-card__score-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.operator-card__score-label {
  font-size: 0.65rem;
  color: var(--accent-gold);
}

.operator-card__actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.operator-card__legal {
  grid-column: 1 / -1;
  font-size: 0.62rem;
  color: var(--text-muted);
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
  line-height: 1.35;
}

@media (min-width: 640px) {
  .operator-card__inner {
    grid-template-columns: 120px minmax(0, 1fr) 148px;
    grid-template-rows: auto auto auto;
    padding: 0.85rem 1rem;
    gap: 0.5rem 1rem;
    align-items: start;
  }

  .operator-card__logo {
    grid-row: 1 / 3;
    width: 120px;
    height: 88px;
    min-width: 120px;
    min-height: 88px;
  }

  .operator-card__meta {
    grid-column: 2;
  }

  .operator-card__actions {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 148px;
    min-width: 148px;
    max-width: 148px;
  }

  .operator-card__actions .btn {
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.7rem;
  }

  .operator-card__legal {
    grid-column: 1 / 3;
  }

  .operator-card__score {
    grid-column: 3;
    grid-row: 3;
    align-self: end;
    text-align: right;
    width: 148px;
  }
}

@media (min-width: 900px) {
  .operator-list--home {
    gap: 0.75rem;
  }

  .operator-card__inner {
    grid-template-columns: 120px minmax(0, 1fr) 160px;
  }

  .operator-card__actions,
  .operator-card__score {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
  }

  .operator-card__desc {
    -webkit-line-clamp: 3;
    font-size: 0.78rem;
  }

  .operator-card__actions .btn {
    font-size: 0.75rem;
  }
}

/* Content blocks */
.prose {
  max-width: 100%;
}

main#contenido.container.prose {
  width: 100%;
  max-width: var(--max);
}

main#contenido.container.prose > :not(.table-wrap) {
  max-width: 100%;
}

main#contenido.container.prose .table-wrap {
  width: 100%;
  max-width: 100%;
}

main#contenido.container.prose .content-photo,
main#contenido.container.prose .brand-logo-hero,
main#contenido.container.prose .page-hero {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  main#contenido.container.prose > :where(h1, h2, h3, p, ul, ol, .page-hero) {
    max-width: 72ch;
  }
}

.prose h2,
.prose h3 {
  margin-top: 1.75rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.criteria-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0;
}

@media (min-width: 768px) {
  .criteria-table {
    min-width: 420px;
  }
}

.content-photo {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: 180px;
  max-height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0;
}

.brand-logo-hero {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: #0a0a0f;
  border: 1px solid var(--border);
}

.brand-logo-hero--wplay {
  background: linear-gradient(160deg, #0c1a33 0%, #152a52 100%);
}

.page-hero .page-brand-logo {
  width: 120px;
  height: 88px;
  min-width: 120px;
  min-height: 88px;
  margin: 0 0 1rem;
  grid-row: auto;
}

.page-hero .page-brand-logo img {
  max-height: 100%;
}

@media (min-width: 768px) {
  .content-photo {
    height: 280px;
    max-height: 280px;
  }
}

.criteria-table th,
.criteria-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.section-stack .criteria-table th:last-child,
.section-stack .criteria-table td:last-child {
  width: 5.5rem;
  text-align: center;
  white-space: nowrap;
}

.criteria-table th {
  background: var(--bg-card);
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  background: var(--bg-card);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.faq-a {
  padding: 0 1.1rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  display: none;
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-item.is-open .faq-q::after {
  content: "−";
}

.faq-q::after {
  content: "+";
  color: var(--accent);
  font-weight: 700;
}

/* Contact page */
.contact-page {
  padding-bottom: 1.5rem;
}

.contact-page__hero.page-hero {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.contact-page__lead {
  margin: 0.5rem 0 0;
  max-width: 58ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-page__grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 800px) {
  .contact-page__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 1.25rem;
    align-items: start;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-card__media {
  position: relative;
  aspect-ratio: 21 / 9;
  max-height: 132px;
  background: #0a1018;
}

.contact-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.contact-card__body,
.contact-card--form .contact-form {
  padding: 1rem 1.05rem 1.1rem;
}

.contact-card__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.contact-details {
  margin: 0;
}

.contact-details__item {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-details__item:first-child {
  padding-top: 0;
}

.contact-details__item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-details dt {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-details dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-details a {
  font-weight: 600;
}

.contact-card__note {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-card--form {
  height: 100%;
}

.contact-card--form .contact-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form .form-group {
  margin-bottom: 0.75rem;
}

.contact-form .form-group:last-of-type {
  margin-bottom: 0;
}

.contact-form .form-group label {
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  width: 100%;
  max-width: none;
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
  outline: none;
  border-color: rgba(26, 127, 75, 0.65);
  box-shadow: 0 0 0 2px rgba(26, 127, 75, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.contact-form__row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
  }
}

.contact-form__footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .contact-form__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.contact-form__legal {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.contact-form__footer .btn {
  width: 100%;
  padding: 0.65rem 1rem;
}

@media (min-width: 640px) {
  .contact-form__footer .btn {
    width: auto;
    min-width: 8.5rem;
  }
}

.contact-form__status {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
}

.contact-form__status:not([hidden]) {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: rgba(26, 127, 75, 0.15);
  border: 1px solid rgba(26, 127, 75, 0.35);
}

/* Contact form */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
}

@media (min-width: 640px) {
  .form-group input,
  .form-group textarea,
  .form-group select {
    max-width: 480px;
  }
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  margin-top: 2.5rem;
  background: linear-gradient(180deg, #0c1118 0%, #080b0f 100%);
  border-top: 1px solid var(--border);
  padding: 2.25rem 0 1.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-disclaimer p {
  margin: 0 0 0.85rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-links li:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--border);
}

.footer-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}

/* Page hero inner */
.page-hero {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.analysis-grid {
  display: grid;
  gap: 1rem;
}

.analysis-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.analysis-card h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}