/* FBadsmartet — Vodafone-inspired design system */
:root {
  --primary: #e60000;
  --on-primary: #ffffff;
  --ink: #25282b;
  --body: #7e7e7e;
  --mute: #bebebe;
  --canvas: #ffffff;
  --canvas-soft: #f2f2f2;
  --on-dark: #ffffff;
  --radius-sm: 6px;
  --radius-card: 6px;
  --radius-pill-md: 32px;
  --radius-pill-lg: 60px;
  --radius-full: 9999px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-2xl: 24px;
  --space-3xl: 32px;
  --container-max: 1400px;
  --nav-height: 72px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-lg);
  z-index: 9999;
  background: var(--primary);
  color: var(--on-primary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-lg);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3xl);
}

/* Typography */
.eyebrow {
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.display-hero {
  font-size: clamp(48px, 10vw, 144px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.display-xl {
  font-size: clamp(36px, 6vw, 90px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.display-lg {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.08;
}

.display-md {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.1;
}

.display-sm {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.25;
}

.display-xs {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}

.body-lg {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
}

.body-md {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.body-sm {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.caption {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.14;
  color: var(--body);
}

.caption-uppercase {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.57px;
  text-transform: uppercase;
}

.text-body {
  color: var(--body);
}

.text-on-dark {
  color: var(--on-dark);
}

.text-primary {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-pill-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  min-height: 52px;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #cc0000;
  border-color: #cc0000;
}

.btn-outline-red {
  background: var(--canvas);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-red:hover {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-outline-dark {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--on-dark);
}

.btn-outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--on-dark);
}

.btn-outline-light:hover {
  background: var(--on-dark);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Badge */
.badge-chip {
  display: inline-block;
  background: var(--canvas-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-pill-md);
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--ink);
  color: var(--on-dark);
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.logo-orb {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-orb svg {
  width: 18px;
  height: 18px;
  fill: var(--on-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-links a {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  position: relative;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.nav-cta {
  margin-left: var(--space-md);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--on-dark);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Hero */
.hero-band {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--on-dark);
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 40, 43, 0.55) 0%, rgba(37, 40, 43, 0.92) 65%, var(--ink) 100%);
  z-index: 1;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-3xl) 0 calc(var(--space-3xl) * 2);
}

.hero-brand {
  font-size: clamp(56px, 12vw, 160px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.8s ease both;
}

.hero-headline {
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  max-width: 18ch;
  margin-bottom: var(--space-2xl);
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-desc {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-3xl);
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
  animation: fadeUp 0.8s 0.45s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--ink);
  color: var(--on-dark);
  padding: calc(var(--nav-height) + var(--space-3xl) * 2) 0 var(--space-3xl);
}

.page-hero .eyebrow {
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.page-hero h1 {
  font-size: clamp(40px, 8vw, 126px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.page-hero .lead {
  font-size: 22px;
  line-height: 1.45;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.85);
}

/* Content bands */
.content-band {
  padding: calc(var(--space-3xl) * 2) 0;
}

.content-band--soft {
  background: var(--canvas-soft);
}

.section-header {
  margin-bottom: var(--space-3xl);
  max-width: 720px;
}

.section-header .eyebrow {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.section-header p {
  margin-top: var(--space-lg);
  color: var(--body);
  font-size: 18px;
  line-height: 1.55;
}

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.card {
  background: var(--canvas);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-4px);
}

.card--soft {
  background: var(--canvas-soft);
  border: 1px solid var(--mute);
}

.card--featured {
  background: var(--ink);
  color: var(--on-dark);
}

.card--featured .caption {
  color: rgba(255, 255, 255, 0.7);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--on-primary);
}

.card h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

.card p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
}

.card--featured p {
  color: rgba(255, 255, 255, 0.75);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.card--featured .card-link {
  color: var(--on-dark);
}

/* Stats band */
.stats-band {
  background: var(--primary);
  color: var(--on-primary);
  padding: calc(var(--space-3xl) * 2) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  text-align: center;
}

.stat-number {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 16px;
  font-weight: 400;
  margin-top: var(--space-sm);
  opacity: 0.9;
}

/* Speechmark anchor */
.brand-anchor {
  display: flex;
  justify-content: center;
  padding: var(--space-3xl) 0;
  background: var(--canvas);
}

.brand-anchor-orb {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-anchor-orb svg {
  width: 32px;
  height: 32px;
  fill: var(--on-primary);
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--on-dark);
  padding: calc(var(--space-3xl) * 2) 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.cta-band p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  max-width: 56ch;
  margin: 0 auto var(--space-3xl);
}

/* About split */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.split-layout img {
  border-radius: var(--radius-sm);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.feature-list li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  font-size: 18px;
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: var(--radius-full);
  margin-top: 10px;
  flex-shrink: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-item h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.57px;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.contact-item p,
.contact-item a {
  font-size: 18px;
  line-height: 1.55;
}

.contact-item a:hover {
  color: var(--primary);
}

/* Forms */
.form-card {
  background: var(--canvas-soft);
  border-radius: var(--radius-card);
  padding: var(--space-3xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 20px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

.form-success {
  display: none;
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--space-lg);
  border-radius: var(--radius-sm);
  margin-top: var(--space-lg);
  font-size: 16px;
}

.form-success.is-visible {
  display: block;
  animation: fadeUp 0.4s ease both;
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
  padding-bottom: var(--space-2xl);
}

.faq-answer p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
}

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

.legal-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: var(--space-3xl) 0 var(--space-lg);
}

.legal-content p,
.legal-content li {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: var(--space-lg);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-2xl);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: calc(var(--space-3xl) * 2) 0 var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-brand p {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-lg);
  max-width: 36ch;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.57px;
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.6);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-col a {
  font-size: 16px;
  line-height: 20px;
  color: var(--on-dark);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-top: var(--space-3xl);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ink);
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-3xl) var(--space-3xl);
  flex-direction: column;
  gap: var(--space-2xl);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-size: 24px;
  font-weight: 700;
  color: var(--on-dark);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--primary);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1023px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-brand {
    letter-spacing: -1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
