/* ============================================
   MARKETING SITE — STYLE.CSS
   Editorial Magazine | Cool Blue Tones | Brutalist Shadows
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary: #0ea5e9;
  --accent: #14b8a6;
  --bg: #1e293b;
  --surface: #334155;
  --text: #f1f5f9;
  --muted: #94a3b8;

  --font-heading: "JetBrains Mono", monospace;
  --font-body: "Inter", sans-serif;

  --shadow-offset: 6px 6px 0 var(--primary);
  --shadow-offset-accent: 6px 6px 0 var(--accent);
  --shadow-offset-sm: 4px 4px 0 var(--primary);

  --header-height: 72px;
  --container-max: 1280px;
  --container-narrow: 860px;

  --transition-base: 0.25s ease;
  --transition-fast: 0.15s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--muted);
}

/* --- Focus Visible --- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* --- Prefers Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.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;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 1.25rem;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(30, 41, 59, 0.97);
  border-bottom-color: var(--surface);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.header__logo span {
  color: var(--primary);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* --- Mobile Menu Toggle --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--muted);
  border-radius: 0;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  line-height: 1;
  transition: border-color var(--transition-fast);
}

.mobile-menu-toggle:hover {
  border-color: var(--primary);
}

/* --- Nav Menu --- */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
  border-bottom-color: var(--primary);
}

/* --- Mobile Nav Rules --- */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: inline-block;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1rem;
    border-top: 1px solid var(--muted);
  }

  .nav-menu.open a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--surface);
  }
}

/* ============================================
   HERO SECTION — Text-over-photo with overlay
   ============================================ */
.hero-section {
  position: relative;
  isolation: isolate;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 6rem 0 4rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
  z-index: 0;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-section .container {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

.hero-section__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-section h1 {
  margin-bottom: 1.5rem;
}

.hero-section h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-section__lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-section__image {
  position: relative;
}

.hero-section__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-offset);
}

/* ============================================
   HAS-PHOTO-BG — Contrast Overlay Pattern
   ============================================ */
.has-photo-bg {
  position: relative;
  isolation: isolate;
}

.has-photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
  z-index: 0;
}

.has-photo-bg > * {
  position: relative;
  z-index: 1;
}

/* ============================================
   SECTION BASE
   ============================================ */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--surface);
}

.section__header {
  margin-bottom: 3rem;
  max-width: 680px;
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section__header p {
  font-size: 1.05rem;
  margin-top: 1rem;
}

/* --- Editorial Divider --- */
.editorial-rule {
  width: 60px;
  height: 4px;
  background: var(--primary);
  border: none;
  margin: 1.5rem 0;
}

.section__header--center .editorial-rule {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FEATURES SECTION — Magazine Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.feature-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 0;
  box-shadow: var(--shadow-offset);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--primary);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   SERVICES SECTION — Asymmetric Editorial
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.service-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--surface);
}

.service-item__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
}

.service-item h3 {
  font-size: 1.35rem;
}

.service-item p {
  font-size: 0.95rem;
}

/* ============================================
   ABOUT SECTION — Two-Column Editorial
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-offset-accent);
}

.about-image__caption {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.25rem;
}

.about-content .pullquote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.5;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--surface);
  padding: 4rem 0;
}

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

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

.stat-item {
  padding: 1.5rem 1rem;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ============================================
   TESTIMONIALS SECTION — Photo BG + Opaque Cards
   ============================================ */
.testimonial-section {
  position: relative;
  isolation: isolate;
  padding: 5rem 0;
  background-image: url('/images/testimonials-bg.jpg');
  background-size: cover;
  background-position: center;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
  z-index: 0;
}

.testimonial-section > * {
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.testimonial-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 0;
  box-shadow: var(--shadow-offset-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 0;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: var(--surface);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary,
.btn-secondary,
.cta-button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 2rem;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: var(--shadow-offset-sm);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--accent);
  color: var(--bg);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
  box-shadow: var(--shadow-offset-sm);
}

.btn-secondary:hover {
  background: var(--text);
  color: var(--bg);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--muted);
}

.cta-button {
  background: var(--accent);
  color: var(--bg);
  box-shadow: var(--shadow-offset-sm);
}

.cta-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--primary);
  color: var(--bg);
}

.form-submit {
  background: var(--primary);
  color: var(--bg);
  box-shadow: var(--shadow-offset-sm);
  width: auto;
  align-self: flex-start;
}

.form-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--accent);
  color: var(--bg);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-row__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--primary);
  line-height: 1.5;
}

.contact-row__text {
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-row__text strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* ============================================
   FORMS
   ============================================ */
.contact-form {
  background: var(--surface);
  padding: 2rem;
  box-shadow: var(--shadow-offset);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  width: 100%;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--muted);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

/* ============================================
   POLICY PAGES (Privacy, Terms, etc.)
   ============================================ */
.policy-page {
  padding: 4rem 0 5rem;
}

.policy-page__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--surface);
}

.policy-page__header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.policy-page__header .meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.policy-content {
  max-width: var(--container-narrow);
}

.policy-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface);
}

.policy-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.policy-content h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
}

.policy-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.policy-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.policy-content ul li {
  margin-bottom: 0.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.policy-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   MULTI-COLUMN TEXT (Editorial)
   ============================================ */
.editorial-columns {
  column-count: 1;
  column-gap: 2.5rem;
  column-rule: 1px solid var(--surface);
}

@media (min-width: 768px) {
  .editorial-columns {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .editorial-columns--three {
    column-count: 3;
  }
}

.editorial-columns p {
  break-inside: avoid;
}

/* --- Drop Cap --- */
.drop-cap::first-letter {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  float: left;
  line-height: 0.8;
  margin-right: 0.5rem;
  margin-top: 0.15rem;
  color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0f172a;
  color: var(--muted);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--surface);
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__brand .header__logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__bottom p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  color: var(--muted);
  font-size: 1.2rem;
  transition: color var(--transition-fast);
}

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

/* ============================================
   COOKIE POPUP
   ============================================ */
.cookie-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 0;
  box-shadow: var(--shadow-offset);
  z-index: 9999;
  border: 1px solid var(--muted);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.cookie-popup.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.cookie-popup h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-popup p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cookie-popup__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-popup__actions .btn-primary {
  font-size: 0.75rem;
  padding: 0.6rem 1.25rem;
}

.cookie-popup__actions .btn-secondary {
  font-size: 0.75rem;
  padding: 0.6rem 1.25rem;
}

@media (min-width: 768px) {
  .cookie-popup {
    left: auto;
  }
}

/* ============================================
   IMAGE PLACEMENTS — Asymmetric Editorial
   ============================================ */
.image-offset-right {
  position: relative;
}

.image-offset-right img {
  box-shadow: var(--shadow-offset);
}

@media (min-width: 768px) {
  .image-offset-right img {
    transform: translateX(2rem);
  }
}

.image-offset-left {
  position: relative;
}

.image-offset-left img {
  box-shadow: var(--shadow-offset-accent);
}

@media (min-width: 768px) {
  .image-offset-left img {
    transform: translateX(-2rem);
  }
}

/* ============================================
   CARD GRID — Generic
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

  .card-grid--four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--surface);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-offset-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: 1.5rem;
}

.card__body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card__body p {
  font-size: 0.9rem;
}

.card__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ============================================
   PRICING / TABLE
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

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

.pricing-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  border-radius: 0;
  box-shadow: var(--shadow-offset);
  text-align: center;
  position: relative;
}

.pricing-card--featured {
  border: 2px solid var(--primary);
}

.pricing-card--featured::after {
  content: "Popular";
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  margin: 1rem 0;
}

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

.pricing-card__features {
  text-align: left;
  margin: 1.5rem 0 2rem;
}

.pricing-card__features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.9rem;
  color: var(--muted);
}

.pricing-card__features li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

/* ============================================
   BADGES & TAGS
   ============================================ */
.badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 0;
  background: var(--primary);
  color: var(--bg);
}

.badge--accent {
  background: var(--accent);
}

.badge--outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--muted);
}

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

.breadcrumbs__separator {
  color: var(--muted);
  opacity: 0.5;
}

.breadcrumbs__current {
  color: var(--text);
  font-weight: 500;
}

/* ============================================
   SCROLL-TO-TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 0;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-offset-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset);
}

/* ============================================
   ANIMATIONS (with reduced-motion safety)
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease both;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .header,
  .footer,
  .cookie-popup,
  .scroll-top,
  .mobile-menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding: 2rem 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}