/* =========================================================
   MARKETING SITE — STYLE.CSS
   Design DNA: high-contrast-bw + dark-luxury accents
   Corners: rounded-12 | Shadows: bold-offset
   Fonts: JetBrains Mono (headings) / Inter (body)
   ========================================================= */

/* ---------- 1. 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');

/* ---------- 2. Design Tokens ---------- */
:root {
  /* Brand palette */
  --primary: #000000;
  --accent: #E63946;
  --bg: #FFFFFF;
  --surface: #F5F5F5;
  --text: #000000;
  --muted: #888888;

  /* Derived tokens */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

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

  --header-h: 72px;
  --container: 1200px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms var(--ease);
  --t-base: 260ms var(--ease);
  --t-slow: 420ms var(--ease);

  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-heading: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  max-width: 100%;
  display: block;
}

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

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

ul, ol { list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3vw + 1rem, 3rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 1rem, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }

p { max-width: 68ch; }

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

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 60ch;
}

.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted); }

/* ---------- 5. Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
}

.section {
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}

@media (min-width: 1024px) {
  .section { padding-block: 8rem; }
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

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

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

/* ---------- 6. Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--surface);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .header-inner { padding-inline: 2rem; }
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow-offset-sm);
  box-shadow: 3px 3px 0 var(--accent);
}

/* Base nav (desktop-first base) */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.25rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--t-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* CRITICAL: hamburger rules */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--primary);
  background: var(--bg);
  position: relative;
  flex-shrink: 0;
}

.mobile-menu-toggle span,
.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: transform var(--t-base), top var(--t-base), opacity var(--t-fast);
}

.mobile-menu-toggle span { top: 50%; transform: translate(-50%, -50%); }
.mobile-menu-toggle span::before { top: -7px; left: 0; transform: none; }
.mobile-menu-toggle span::after  { top:  7px; left: 0; transform: none; }

.mobile-menu-toggle[aria-expanded="true"] span { background: transparent; }
.mobile-menu-toggle[aria-expanded="true"] span::before {
  top: 0; transform: rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] span::after {
  top: 0; transform: rotate(-45deg);
}

@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);
    gap: 0.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  .nav-menu.open a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .nav-menu.open a:hover {
    background: var(--surface);
  }
  .nav-menu.open .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* ---------- 7. Buttons ---------- */
.btn,
.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-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  text-align: center;
}

.btn-primary,
.cta-button,
.form-submit {
  background: var(--primary);
  color: var(--bg);
  box-shadow: var(--shadow-offset-sm);
}

.btn-primary:hover,
.cta-button:hover,
.form-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn-primary:active,
.cta-button:active,
.form-submit:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--primary);
}

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

.btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset);
  background: var(--surface);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text);
  padding-inline: 0.75rem;
}

.btn-ghost:hover {
  color: var(--accent);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1rem;
}

/* ---------- 8. Hero ---------- */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--bg);
  overflow: hidden;
  padding-block: 5rem 4rem;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section p,
.hero-section .lead,
.hero-section .eyebrow {
  color: var(--bg);
}

.hero-section .eyebrow {
  color: var(--accent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-inner h1 {
  margin-bottom: 1.25rem;
}

.hero-inner .lead {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

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

.hero-section .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 6px 6px 0 #000;
}

.hero-section .btn-primary:hover {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--bg);
  box-shadow: 8px 8px 0 var(--accent);
}

.hero-section .btn-secondary {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
  box-shadow: none;
}

.hero-section .btn-secondary:hover {
  background: var(--bg);
  color: var(--primary);
  transform: none;
  box-shadow: none;
}

/* ---------- 9. Photo overlay pattern (CRITICAL) ---------- */
.has-photo-bg {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

/* ---------- 10. Feature / Service Cards ---------- */
.card {
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-offset);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--primary);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 3px 3px 0 var(--accent);
}

.card h3 {
  font-size: 1.35rem;
}

.card p {
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-link:hover { gap: 0.75rem; }

/* Service card variant */
.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-offset);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.service-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--accent);
}

.service-card .price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary);
  margin-block: 1rem;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 0.95rem;
}

.service-card li::before {
  content: "→";
  color: var(--accent);
  font-weight: 700;
}

/* ---------- 11. About ---------- */
.about-section .about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-section .about-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
  }
}

.about-copy h2 { margin-bottom: 1.25rem; }
.about-copy p { margin-bottom: 1rem; color: var(--muted); }

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-offset-lg);
  aspect-ratio: 4 / 5;
  background: var(--surface);
}

/* ---------- 12. Stats ---------- */
.stats-section {
  background: var(--primary);
  color: var(--bg);
  padding-block: 4rem;
}

.stats-section h2,
.stats-section h3,
.stats-section p {
  color: var(--bg);
}

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

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

.stat {
  text-align: left;
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
}

.stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 13. Testimonials ---------- */
.testimonial-section {
  color: var(--bg);
  padding-block: 6rem;
}

.testimonial-section h2,
.testimonial-section .eyebrow {
  color: var(--bg);
}

.testimonial-section .eyebrow { color: var(--accent); }
.testimonial-section .lead { color: rgba(255, 255, 255, 0.8); }

.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

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

.testimonial-card {
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-offset);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 800;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

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

/* ---------- 14. CTA Section ---------- */
.cta-section {
  padding-block: 5rem;
}

.cta-box {
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  border: 2px solid var(--primary);
  box-shadow: 10px 10px 0 var(--accent);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-box { padding: 5rem 3rem; }
}

.cta-box h2 {
  color: var(--bg);
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-box .cta-button {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  box-shadow: 6px 6px 0 var(--bg);
}

.cta-box .cta-button:hover {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--bg);
  box-shadow: 8px 8px 0 var(--accent);
}

/* ---------- 15. Contact Rows ---------- */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-row .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-top: 0.15rem;
}

.contact-row strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-row span,
.contact-row a {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- 16. Forms ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

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

.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: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.18);
}

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

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ---------- 17. Policy Pages ---------- */
.policy {
  padding-block: 5rem;
}

.policy-article {
  max-width: 780px;
  margin-inline: auto;
}

.policy-article h1 {
  margin-bottom: 0.5rem;
}

.policy-article .updated {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.policy-article h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.policy-article h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.policy-article p {
  margin-bottom: 1rem;
  color: var(--text);
}

.policy-article ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.policy-article ul li {
  margin-bottom: 0.4rem;
  color: var(--text);
}

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

/* ---------- 18. Footer ---------- */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 4rem 2rem;
  margin-top: 4rem;
}

.footer a { color: rgba(255, 255, 255, 0.75); }
.footer a:hover { color: var(--accent); }

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

@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 .logo {
  color: var(--bg);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 36ch;
  font-size: 0.95rem;
}

.footer-col h4 {
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col li a {
  font-size: 0.95rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.socials {
  display: flex;
  gap: 0.75rem;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translate(-2px, -2px);
}

/* ---------- 19. Cookie Popup ---------- */
.cookie-popup {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  left: 1.25rem;
  max-width: 420px;
  margin-left: auto;
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-offset);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}

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

.cookie-popup h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.cookie-popup p {
  font-size: 0.9rem;
  color: var(--muted);
}

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

.cookie-popup .btn-primary,
.cookie-popup .btn-secondary {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

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

/* ---------- 20. Accessibility ---------- */
:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: var(--bg);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  z-index: 999;
  font-family: var(--font-heading);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

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

/* ---------- 21. Utility Classes ---------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.divider {
  height: 1px;
  background: var(--surface);
  border: 0;
  margin-block: 2rem;
}

/* ---------- 22. Selection ---------- */
::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ---------- 23. Scrollbar ---------- */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border: 3px solid var(--surface);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- 24. Print ---------- */
@media print {
  .header,
  .footer,
  .cookie-popup,
  .cta-section,
  .mobile-menu-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  a { text-decoration: underline; }
}