/* Trend Sale Social Casino — Corporate Tech meets Kiwi Nature */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

:root {
  --navy: #0a1929;
  --teal: #14b8a6;
  --silver: #94a3b8;
  --gold: #d4a574;
  --white: #ffffff;
  --glass: rgba(10, 25, 41, 0.65);
  --glass-border: rgba(20, 184, 166, 0.25);
  --gradient-hero: linear-gradient(135deg, var(--teal) 0%, var(--silver) 100%);
  --gradient-btn: linear-gradient(135deg, var(--teal) 0%, #0d9488 100%);
  --shadow-glow: 0 0 24px rgba(20, 184, 166, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --font-heading: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--navy);
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
  position: relative;
}

.section--light {
  background: var(--white);
  color: var(--navy);
}

.section--light a {
  color: #0d9488;
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section__subtitle {
  color: var(--silver);
  font-size: 1.05rem;
}

.section--light .section__subtitle {
  color: #64748b;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 25, 41, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.header__nav-link {
  display: block;
  padding: 8px 12px;
  color: var(--silver);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--teal);
  background: rgba(20, 184, 166, 0.1);
}

.header__actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}

.header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transition: var(--transition);
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1124px) {
  .header__nav,
  .header__actions {
    display: flex;
  }

  .header__burger {
    display: none;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-menu.is-open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--navy);
  border-left: 1px solid var(--glass-border);
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-bottom: 24px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--teal);
  font-size: 1.25rem;
  cursor: pointer;
}

.mobile-menu__list {
  list-style: none;
  margin-bottom: 24px;
}

.mobile-menu__link {
  display: block;
  padding: 14px 0;
  color: var(--white);
  font-weight: 500;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--gradient-btn);
  color: var(--white) !important;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(20, 184, 166, 0.45);
  color: var(--white);
}

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

.btn--secondary:hover {
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #b8956a 100%);
  color: var(--navy);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

/* Section background with blur + overlay */
.section-bg {
  position: relative;
  overflow: hidden;
}

.section-bg__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.section-bg__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px);
  transform: scale(1.08);
}

.section-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 41, 0.82);
  z-index: 1;
}

.section-bg > .container {
  position: relative;
  z-index: 2;
}

/* Hero decor wrap */
.hero__decor-wrap,
.page-hero__decor-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__decor-wrap img,
.page-hero__decor-wrap img {
  width: 100%;
  display: block;
}

.hero__decor-overlay,
.page-hero__decor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 25, 41, 0.92) 0%,
    rgba(10, 25, 41, 0.45) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.hero__decor-wrap img,
.page-hero__decor-wrap .page-hero__decor {
  filter: blur(3px);
  opacity: 0.75;
}

/* Footer partners */
.footer__partners {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.footer__partners a {
  display: inline-flex;
  align-items: center;
}

.footer__partners img {
  height: 28px;
  width: auto;
  opacity: 0.88;
  transition: opacity var(--transition);
}

.footer__partners a:hover img {
  opacity: 1;
}

.footer__partners a:focus-visible img {
  opacity: 1;
}

/* Hero */
.hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero__decor {
  width: 100%;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
}

.hero__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 20px;
}

.hero__text {
  color: var(--silver);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glow);
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 800 / 533;
  object-fit: cover;
}

/* Glass card */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.section--light .glass-card {
  background: #ffffff;
  border-color: rgba(20, 184, 166, 0.2);
  box-shadow: 0 4px 24px rgba(10, 25, 41, 0.08);
}

/* Features grid */
.features-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--teal);
}

.feature-card__title {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.feature-card__text {
  color: var(--silver);
  font-size: 0.9375rem;
}

.section--light .feature-card__text {
  color: #64748b;
}

/* Games grid */
.games-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.game-card__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/16;
}

.game-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card__image-wrapper img {
  transform: scale(1.05);
}

.game-card__body {
  padding: 20px;
}

.game-card__title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.section--light .game-card {
  background: #f1f5f9;
  border-color: #e2e8f0;
  backdrop-filter: none;
}

.section--light .game-card__title {
  color: var(--navy);
}

.section--light .game-card__desc {
  color: #475569;
}

.game-card__desc {
  color: var(--silver);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

/* Iframe game */
.game-embed {
  position: relative;
}

.iframe-wrapper {
  aspect-ratio: 1140 / 735;
  width: 100%;
  border: none;
  overflow: hidden;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  margin-bottom: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

/* How it works */
.steps {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  text-align: center;
  position: relative;
}

.step-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--gradient-btn);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.step-card__image {
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 800 / 533;
}

.step-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Daily challenges */
.challenges-list {
  display: grid;
  gap: 20px;
}

.challenge-item {
  padding: 24px;
}

:not(.section--light) .challenge-item {
  background: #0f2236;
  backdrop-filter: none;
}

.section--light .challenge-item {
  background: #f1f5f9;
  backdrop-filter: none;
  border-color: #e2e8f0;
}

.challenge-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.challenge-item__title {
  font-size: 1rem;
}

.challenge-item__reward {
  color: #f5d08a;
  font-weight: 600;
  font-size: 0.875rem;
}

.section--light .challenge-item__reward {
  color: #b45309;
}

.progress-bar {
  height: 8px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: var(--gradient-btn);
  border-radius: 4px;
  transition: width 1s ease;
}

.progress-bar__label {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.section--light .progress-bar__label {
  color: #475569;
}

/* Live feed ticker */
.live-feed {
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px 0;
  overflow: hidden;
  min-height: 52px;
}

.live-feed__track {
  display: flex;
  gap: 48px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.live-feed__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--silver);
}

.live-feed__item strong {
  color: var(--teal);
}

.live-feed__item span {
  color: var(--gold);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Leaderboard */
.leaderboard {
  display: grid;
  gap: 16px;
}

.leaderboard__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
}

.leaderboard__rank {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.15);
  border-radius: 50%;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.875rem;
}

.leaderboard__name {
  font-weight: 600;
}

.leaderboard__score {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.review-card__stars {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 0.875rem;
  letter-spacing: 2px;
}

.review-card__text {
  color: var(--silver);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  font-style: italic;
}

.section--light .review-card__text {
  color: #475569;
}

.review-card__author {
  font-weight: 600;
  font-size: 0.875rem;
}

.review-card__date {
  color: var(--silver);
  font-size: 0.8125rem;
}

.section--light .review-card__date {
  color: #64748b;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  color: inherit;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-item__icon {
  color: var(--teal);
  font-size: 1.25rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding-bottom: 20px;
  color: var(--silver);
  font-size: 0.9375rem;
}

.section--light .faq-item__answer-inner {
  color: #64748b;
}

/* Disclaimer */
.disclaimer {
  background: rgba(10, 25, 41, 0.92);
  border: 1px solid rgba(212, 165, 116, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.disclaimer .section__title {
  color: #f8fafc;
}

.disclaimer p {
  color: #cbd5e1;
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

.disclaimer p:last-child {
  margin-bottom: 0;
}

.disclaimer a {
  color: #5eead4;
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #060f18;
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer__brand img {
  height: 36px;
  margin-bottom: 16px;
}

.footer__brand p {
  color: var(--silver);
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.footer__heading {
  font-size: 0.9375rem;
  margin-bottom: 16px;
  color: var(--teal);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a {
  color: var(--silver);
  font-size: 0.875rem;
}

.footer__links a:hover {
  color: var(--teal);
}

.footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--silver);
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(212, 165, 116, 0.15);
  border-radius: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.8125rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
}

.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--navy);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  transform: scale(0.95);
  transition: transform var(--transition);
  box-shadow: var(--shadow-glow);
}

.modal-overlay.is-visible .modal {
  transform: scale(1);
}

.modal__title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.modal__text {
  color: var(--silver);
  margin-bottom: 24px;
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: rgba(10, 25, 41, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner.is-hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 0.875rem;
  color: var(--silver);
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.section--light .form-input,
.section--light .form-textarea,
.section--light .form-select {
  background: #f8fafc;
  color: var(--navy);
  border-color: #e2e8f0;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.form-tab {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--silver);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.form-tab.is-active {
  background: rgba(20, 184, 166, 0.15);
  border-color: var(--teal);
  color: var(--teal);
}

.form-panel {
  display: none;
}

.form-panel.is-active {
  display: block;
}

/* Page hero (inner pages) */
.page-hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.page-hero__decor {
  width: 100%;
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-hero__content {
    grid-template-columns: 1fr 1fr;
  }
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.page-hero__text {
  color: var(--silver);
  max-width: 540px;
}

/* Content blocks */
.content-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.content-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 800 / 533;
}

.content-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-block__title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.content-block__text {
  color: var(--silver);
  margin-bottom: 16px;
}

.section--light .content-block__text {
  color: #64748b;
}

.content-block__list {
  list-style: none;
  padding: 0;
}

.content-block__list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--silver);
  font-size: 0.9375rem;
}

.section--light .content-block__list li {
  color: #64748b;
}

.content-block__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin: 40px 0 16px;
  color: var(--teal);
}

.section--light .legal-content h2 {
  color: #0d9488;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin: 24px 0 12px;
}

.legal-content p,
.legal-content li {
  color: var(--silver);
  margin-bottom: 12px;
  font-size: 0.9375rem;
}

.section--light .legal-content p,
.section--light .legal-content li {
  color: #475569;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* Map */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 16/9;
}

.map-wrapper iframe {
  opacity: 1;
  margin-bottom: 0;
  height: 100%;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 32px rgba(212, 165, 116, 0.2);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal);
  margin: 16px 0;
}

.pricing-card__price span {
  font-size: 1rem;
  color: var(--silver);
  font-weight: 400;
}

.pricing-card__features {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}

.pricing-card__features li {
  padding: 8px 0;
  color: var(--silver);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

/* News cards */
.news-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card__image {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  padding: 20px;
}

.news-card__date {
  color: var(--teal);
  font-size: 0.8125rem;
  margin-bottom: 8px;
}

.news-card__title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.news-card__excerpt {
  color: var(--silver);
  font-size: 0.875rem;
}

.section--light .news-card__excerpt {
  color: #64748b;
}

/* Utility */
.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;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 32px;
}

/* Performance: lighter blur on mobile, defer off-screen paint */
@media (max-width: 768px) {
  .section-bg__media img {
    filter: blur(3px);
    transform: scale(1.04);
  }

  .hero__decor-wrap img,
  .page-hero__decor-wrap .page-hero__decor {
    filter: blur(1px);
  }
}

.main-content > .section {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.main-content {
  min-height: calc(100vh - var(--header-h));
}
