/* ==========================================================================
   Realclean Services — Design System
   Aesthetic: Crisp, dependable, thorough — the site embodies cleanliness
   ========================================================================== */

/* --- Fonts --- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700&display=swap');
}

/* --- Custom Properties --- */
:root {
  /* Color — OKLCH palette, maroon-tinted */
  --teal:        oklch(55% 0.12 18);
  --teal-dark:   oklch(45% 0.10 18);
  --teal-light:  oklch(22% 0.025 18);
  --teal-wash:   oklch(18% 0.015 18);
  --amber:       oklch(72% 0.155 70);
  --amber-hover: oklch(67% 0.155 70);
  --amber-light: oklch(25% 0.03 70);
  --ink:         oklch(92% 0.01 18);
  --ink-muted:   oklch(72% 0.012 18);
  --ink-faint:   oklch(58% 0.01 18);
  --surface:     oklch(16% 0.012 18);
  --surface-alt: oklch(20% 0.015 18);
  --border:      oklch(28% 0.012 18);
  --border-light:oklch(24% 0.01 18);
  --white:       oklch(14% 0.01 18);

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Figtree', system-ui, sans-serif;

  /* Type scale — fluid clamp for headings */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --text-2xl:  clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --text-3xl:  clamp(1.875rem, 1.4rem + 1.5vw, 2.5rem);
  --text-4xl:  clamp(2.25rem, 1.5rem + 2.5vw, 3.25rem);
  --text-5xl:  clamp(2.75rem, 1.6rem + 3.5vw, 4.25rem);

  /* Spacing — 4pt scale, semantic tokens */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  12px;
  --space-base:16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Easing */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1200px;
  --content-padding: clamp(var(--space-base), 4vw, var(--space-2xl));
}

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

html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s var(--ease-out-quart);
}

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--text-5xl); letter-spacing: -0.02em; }
h2 { font-size: var(--text-4xl); letter-spacing: -0.015em; }
h3 { font-size: var(--text-2xl); letter-spacing: -0.01em; }
h4 { font-size: var(--text-xl); }

p {
  max-width: 68ch;
}

.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

/* --- Layout --- */
.section-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
  container-type: inline-size;
}

section {
  padding-block: clamp(var(--space-3xl), 8vw, var(--space-4xl));
}

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(14% 0.01 18 / 0.92);
  border-bottom: 1px solid oklch(25% 0.01 18 / 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo:hover { color: var(--ink); }

.nav-logo .logo-mark {
  height: 48px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease-out-quart);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: oklch(95% 0.005 18);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--teal);
  color: var(--white) !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--text-sm);
  min-height: 40px;
  transition: background 0.2s var(--ease-out-quart), transform 0.2s var(--ease-out-quart);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--teal-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s ease;
}

.nav-toggle span + span { margin-top: 6px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle { display: grid; place-items: center; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out-expo), visibility 0.35s;
    z-index: 100;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: var(--text-2xl);
    font-family: var(--font-display);
    font-weight: 600;
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.4s ease, color 0.2s;
  }

  .nav-links.is-open a {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links.is-open a:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.is-open a:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.is-open a:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.is-open a:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.is-open a:nth-child(5) { transition-delay: 0.25s; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.85rem 1.75rem;
  min-height: 44px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out-quart),
              background 0.25s var(--ease-out-quart),
              box-shadow 0.25s var(--ease-out-quart);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 4px 16px oklch(32% 0.12 18 / 0.25);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--amber);
  color: oklch(15% 0.02 70);
}

.btn-accent:hover {
  background: var(--amber-hover);
  color: oklch(15% 0.02 70);
  box-shadow: 0 8px 25px oklch(72% 0.155 70 / 0.3);
  transform: translateY(-2px);
}

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

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(500px, 80vh, 800px);
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: oklch(15% 0.01 18);
}

.hero-bg video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* Kill iOS default play button */
.hero-bg video::-webkit-media-controls-start-playback-button,
.hero-bg video::-webkit-media-controls-panel,
.hero-bg video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
  pointer-events: none !important;
}
.hero-bg video::-webkit-media-controls-enclosure {
  display: none !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, oklch(12% 0.02 18 / 0.6) 0%, oklch(12% 0.02 18 / 0.45) 40%, oklch(12% 0.02 18 / 0.7) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
  padding-block: clamp(var(--space-4xl), 12vw, 160px) clamp(var(--space-3xl), 8vw, var(--space-4xl));
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 680px;
}

.hero h1 {
  color: oklch(97% 0.005 18);
  text-shadow:
    0 0 30px oklch(12% 0.02 18 / 0.8),
    0 0 60px oklch(12% 0.02 18 / 0.5),
    0 2px 4px oklch(5% 0.01 18 / 0.9);
}

.hero h1 em {
  font-style: normal;
  color: oklch(82% 0.14 70);
}

.hero .label {
  color: oklch(82% 0.14 70);
}

.hero-lead {
  font-size: var(--text-lg);
  color: oklch(88% 0.01 18);
  line-height: 1.7;
  max-width: 52ch;
  text-shadow: 0 1px 4px oklch(12% 0.02 18 / 0.3);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding-top: var(--space-sm);
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid oklch(100% 0 0 / 0.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: oklch(82% 0.14 70);
  line-height: 1.1;
}

.hero-stat span {
  font-size: var(--text-xs);
  color: oklch(80% 0.01 18);
  font-weight: 500;
}

/* Legacy hero-visual hidden when video bg is active */
.hero-visual {
  display: none;
}

/* Hero trust bar */
.trust-bar {
  background: var(--surface-alt);
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.trust-bar-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-xl), 5vw, var(--space-3xl));
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--ink-muted);
  font-weight: 500;
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--amber);
}

/* --- Section Patterns --- */
.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.section-header.centered {
  align-items: center;
  text-align: center;
}

.section-header.centered p {
  margin-inline: auto;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  gap: var(--space-lg);
}

@container (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@container (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: border-color 0.25s var(--ease-out-quart), box-shadow 0.25s var(--ease-out-quart);
}

.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px oklch(5% 0.01 18 / 0.4);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--amber);
}

.service-card h3 {
  font-size: var(--text-xl);
}

.service-card p {
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* --- Why Section (alternating layout) --- */
.why-grid {
  display: grid;
  gap: var(--space-3xl);
}

.why-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.why-item:nth-child(even) {
  direction: rtl;
}

.why-item:nth-child(even) > * {
  direction: ltr;
}

.why-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why-content h3 {
  font-size: var(--text-3xl);
}

.why-content p {
  color: var(--ink-muted);
  line-height: 1.75;
}

.why-visual {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--teal-light);
}

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

@container (max-width: 700px) {
  .why-item,
  .why-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .why-visual {
    order: -1;
  }
}

/* --- CTA Band --- */
.cta-band {
  background: oklch(25% 0.08 18);
  padding-block: clamp(var(--space-2xl), 6vw, var(--space-4xl));
}

.cta-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.cta-band h2 {
  color: oklch(95% 0.005 18);
  font-size: var(--text-3xl);
}

.cta-band p {
  color: oklch(90% 0.015 18);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-top: var(--space-md);
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.btn-on-dark:hover {
  background: var(--amber-hover);
  color: var(--ink);
  box-shadow: 0 4px 20px oklch(72% 0.155 70 / 0.35);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid oklch(90% 0.015 18 / 0.4);
}

.btn-outline-light:hover {
  background: oklch(99% 0.002 18 / 0.1);
  color: var(--white);
  border-color: oklch(90% 0.015 18 / 0.7);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-actions {
    justify-content: center;
  }
}

/* --- Testimonials / Social Proof --- */
.testimonials-grid {
  display: grid;
  gap: var(--space-lg);
}

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

@container (min-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1.2fr 1fr;
  }
}

.testimonial {
  padding: var(--space-xl) var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
}

.testimonial blockquote {
  font-size: var(--text-base);
  color: var(--ink-muted);
  line-height: 1.75;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: auto;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-light);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--teal);
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--ink-faint);
}

/* --- Footer --- */
.site-footer {
  background: oklch(10% 0.008 18);
  color: oklch(65% 0.01 18);
  padding-block: var(--space-3xl) var(--space-xl);
  container-type: inline-size;
}

.footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid oklch(20% 0.01 18);
}

@container (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

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

.footer-brand .nav-logo {
  color: var(--white);
}

.footer-brand .logo-mark {
  height: 48px;
  width: auto;
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 38ch;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(55% 0.01 18);
  margin-bottom: var(--space-base);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a,
.footer-links span {
  font-size: var(--text-sm);
  color: oklch(75% 0.01 18);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: oklch(92% 0.005 18);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  font-size: var(--text-xs);
  color: oklch(50% 0.01 18);
}

.footer-bottom a {
  color: oklch(60% 0.01 18);
}

.footer-bottom a:hover {
  color: oklch(85% 0.005 18);
}

/* --- Form Styles --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-md) var(--space-base);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s var(--ease-out-quart), box-shadow 0.2s var(--ease-out-quart);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px oklch(32% 0.12 18 / 0.1);
}

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

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

/* --- Scroll Animations --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

[data-reveal="delay-1"].is-visible { transition-delay: 0.1s; }
[data-reveal="delay-2"].is-visible { transition-delay: 0.2s; }
[data-reveal="delay-3"].is-visible { transition-delay: 0.3s; }
[data-reveal="delay-4"].is-visible { transition-delay: 0.4s; }

/* --- Responsive Hero --- */
@media (max-width: 900px) {
  .hero-stats {
    gap: var(--space-xl);
  }
}

@media (max-width: 500px) {
  .hero-stats {
    flex-direction: column;
    gap: var(--space-base);
  }
}

/* --- About Page --- */
.about-hero {
  background: var(--white);
  padding-block: clamp(var(--space-3xl), 8vw, var(--space-4xl));
}

.about-hero-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-portrait {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--teal-light);
}

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

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-content p {
  color: var(--ink-muted);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    aspect-ratio: 16 / 9;
    max-height: 280px;
  }
}

/* Values */
.values-list {
  display: grid;
  gap: var(--space-lg);
  counter-reset: values;
}

@container (min-width: 600px) {
  .values-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-item {
  display: flex;
  gap: var(--space-base);
  counter-increment: values;
}

.value-item::before {
  content: counter(values, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
  flex-shrink: 0;
}

.value-item h4 {
  margin-bottom: var(--space-xs);
}

.value-item p {
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* --- Services Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  padding-block: var(--space-2xl);
}

.service-detail + .service-detail {
  border-top: 1px solid var(--border-light);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-detail-content h3 {
  font-size: var(--text-3xl);
}

.service-detail-content p {
  color: var(--ink-muted);
  line-height: 1.75;
}

.service-detail-content ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
}

.service-detail-content li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.6;
}

.service-detail-content li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal);
}

.service-detail-visual {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--teal-light);
}

.service-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@container (max-width: 700px) {
  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .service-detail-visual {
    order: -1;
  }
}

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

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

.contact-item {
  display: flex;
  gap: var(--space-md);
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 2px;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item-text strong {
  font-size: var(--text-sm);
  font-weight: 600;
}

.contact-item-text span,
.contact-item-text a {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
}

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

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

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

/* --- Page Hero (secondary pages) --- */
.page-hero {
  background: var(--white);
  padding-block: clamp(var(--space-2xl), 6vw, var(--space-3xl));
  border-bottom: 1px solid var(--border-light);
}

.page-hero-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

.page-hero h1 {
  margin-bottom: var(--space-md);
}

.page-hero p {
  font-size: var(--text-lg);
  color: var(--ink-muted);
  max-width: 60ch;
}

/* --- Sponsor Gallery --- */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: var(--space-md);
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--teal-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: oklch(18% 0.02 18 / 0);
  transition: background 0.3s var(--ease-out-quart);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover::after {
  background: oklch(18% 0.02 18 / 0.15);
}

.gallery-item.featured {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

@container (max-width: 700px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
}

@container (max-width: 400px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }
}

/* Gallery lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(8% 0.01 18 / 0.92);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out-expo), visibility 0.35s;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.92);
  transition: transform 0.4s var(--ease-out-expo);
  box-shadow: 0 24px 80px oklch(8% 0 0 / 0.6);
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-caption {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  color: oklch(85% 0.01 18);
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
  max-width: 60ch;
}

/* --- Premium: Grain Overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

/* --- Premium: Atmospheric Gradients --- */
/* Hero gradients handled by .hero-overlay when video bg is active */

/* --- Premium: Glass Morphism Nav --- */
.site-header.is-scrolled {
  background: oklch(14% 0.01 18 / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px oklch(5% 0.01 18 / 0.3);
}

/* --- Premium: Gradient Dividers --- */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(32% 0.12 18 / 0.25), transparent);
  border: none;
}

/* --- Premium: Card Glow on Hover --- */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, oklch(32% 0.12 18 / 0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(var(--mouse-x, -150px), var(--mouse-y, -150px));
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.service-card:hover::before {
  opacity: 1;
}

/* --- Premium: Button Hover Enhancement --- */
.btn:hover {
  transform: translateY(-2px);
}

/* --- Premium: Image Hover Zoom --- */
.hero-visual img,
.why-visual img,
.service-detail-visual img {
  transition: transform 600ms cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-visual:hover img,
.why-visual:hover img,
.service-detail-visual:hover img {
  transform: scale(1.06);
}

/* --- Premium: Custom Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: oklch(95% 0.003 18); }
::-webkit-scrollbar-thumb { background: oklch(32% 0.12 18 / 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: oklch(32% 0.12 18 / 0.6); }

/* --- Premium: Selection Colors --- */
::selection {
  background: oklch(32% 0.12 18 / 0.2);
  color: var(--ink);
}

/* --- Premium: Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-indicator span {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.scroll-indicator svg {
  color: var(--ink-faint);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.9; transform: translateX(-50%) translateY(6px); }
}

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
