﻿/* ============================================================
   Multinexus — Global Styles
   Design system: semantic tokens with light (default) and dark themes
   Palette: Teal/Cyan base + Amber CTAs (distinct from Tuerqa)
   ============================================================ */

:root {
  /* Surfaces */
  --color-base: oklch(0.99 0.005 200);
  --color-surface: oklch(1 0 0);
  --color-elevated: oklch(0.97 0.005 200);
  --color-glass: oklch(0.97 0.005 200 / 60%);

  /* Foreground */
  --color-foreground: oklch(0.18 0.01 240);
  --color-muted-foreground: oklch(0.42 0.01 240);
  --color-subtle-foreground: oklch(0.55 0.005 240);
  --color-inverse: oklch(0.99 0 0);

  /* Borders */
  --color-edge: oklch(0.92 0.01 200);
  --color-rule: oklch(0.88 0.01 200);
  --color-strong: oklch(0.80 0.01 200);

  /* Brand gradient (teal -> cyan) */
  --color-accent-from: oklch(0.62 0.14 195);
  --color-accent-to: oklch(0.55 0.16 235);
  --color-accent-ring: oklch(0.62 0.14 195 / 35%);

  /* CTA gradient (teal -> cyan, matches brand accent) */
  --color-cta-from: var(--color-accent-from);
  --color-cta-to: var(--color-accent-to);

  /* Slide eyebrow palette */
  --color-slide-1-from: #14b8a6;
  --color-slide-1-to: #06b6d4;
  --color-slide-2-from: #06b6d4;
  --color-slide-2-to: #3b82f6;
  --color-slide-3-from: #f59e0b;
  --color-slide-3-to: #f43f5e;

  /* Functional */
  --color-success: oklch(0.72 0.18 145);
  --color-danger: oklch(0.62 0.22 25);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.04);
  --shadow-md: 0 2px 4px -1px rgb(15 23 42 / 0.06), 0 1px 2px -1px rgb(15 23 42 / 0.04);
  --shadow-lg: 0 4px 6px -1px rgb(15 23 42 / 0.08), 0 2px 4px -2px rgb(15 23 42 / 0.05);
  --shadow-xl: 0 12px 24px -6px rgb(15 23 42 / 0.12), 0 4px 8px -4px rgb(15 23 42 / 0.08);

  /* Typography */
  --font-sans: "Saira", "Saira Fallback", ui-sans-serif, system-ui, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --header-height: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

.dark {
  --color-base: oklch(0.16 0 200);
  --color-surface: oklch(0.22 0 200);
  --color-elevated: oklch(0.28 0 200);
  --color-glass: oklch(1 0 0 / 4%);

  --color-foreground: oklch(0.985 0 0);
  --color-muted-foreground: oklch(0.708 0 0);
  --color-subtle-foreground: oklch(0.556 0 0);

  --color-edge: oklch(1 0 0 / 6%);
  --color-rule: oklch(1 0 0 / 10%);
  --color-strong: oklch(1 0 0 / 16%);

  --color-accent-from: oklch(0.72 0.13 195);
  --color-accent-to: oklch(0.70 0.15 235);
  --color-accent-ring: oklch(0.62 0.14 195 / 50%);

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.4);
  --shadow-md: 0 2px 4px -1px rgb(0 0 0 / 0.5), 0 1px 2px -1px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 4px 6px -1px rgb(0 0 0 / 0.55), 0 2px 4px -2px rgb(0 0 0 / 0.35);
  --shadow-xl: 0 12px 24px -6px rgb(0 0 0 / 0.5), 0 4px 8px -4px rgb(0 0 0 / 0.3);
}

/* ============================================================
   Reset & Base
   ============================================================ */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-base);
  color: var(--color-foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 200ms ease, color 200ms ease;
}

img, svg, canvas { max-width: 100%; vertical-align: middle; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

::selection { background-color: oklch(0.62 0.14 195 / 30%); color: var(--color-foreground); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-rule); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-strong); }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--color-accent-from);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   Utilities
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-foreground);
  color: var(--color-inverse);
  border-radius: var(--radius-sm);
  transition: top 200ms ease;
}
.skip-link:focus-visible { top: 1rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--color-accent-from), var(--color-accent-to));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding-inline: 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn svg { width: 1rem; height: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-cta-from), var(--color-cta-to));
  color: #ffffff;
  box-shadow: 0 4px 12px -2px oklch(0.62 0.14 195 / 35%);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -2px oklch(0.62 0.14 195 / 45%);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-outline {
  background: transparent;
  color: var(--color-foreground);
  border-color: var(--color-rule);
}
.btn-outline:hover {
  background: var(--color-elevated);
  border-color: var(--color-strong);
}

.btn-sm { height: 2.25rem; padding-inline: 0.875rem; font-size: 0.8125rem; }
.btn-lg { height: 3rem; padding-inline: 1.5rem; font-size: 0.9375rem; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-foreground);
  border: 1px solid transparent;
  transition: all 150ms ease;
}
.icon-btn:hover { background: var(--color-elevated); border-color: var(--color-rule); }
.icon-btn svg { width: 1.125rem; height: 1.125rem; }


/* ============================================================
   Header / Navbar
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: transform 300ms ease, background-color 200ms ease;
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-edge);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-height);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .nav { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .nav { padding-inline: 2rem; } }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--color-foreground);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px -2px oklch(0.62 0.14 195 / 35%);
  transition: transform 200ms ease;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark .brand-logo-dark { display: none; }
.dark .brand-mark .brand-logo-light { display: none; }
.dark .brand-mark .brand-logo-dark { display: block; }
.brand:hover .brand-mark { transform: scale(1.05); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  padding-block: 0.25rem;
  transition: color 150ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-from), var(--color-accent-to));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.nav-links a:hover { color: var(--color-foreground); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--color-foreground); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }

.mobile-toggle { display: inline-flex; }
@media (min-width: 768px) { .mobile-toggle { display: none; } }

/* Theme toggle icons */
.icon-sun, .icon-moon { transition: opacity 200ms ease, transform 200ms ease; }
.dark .icon-sun { display: none; }
:root:not(.dark) .icon-moon { display: none; }

/* Mobile menu */
.mobile-menu {
  border-top: 1px solid var(--color-edge);
  padding: 1rem;
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mobile-menu[hidden] { display: none; }

.mobile-menu ul { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  transition: background-color 150ms ease, color 150ms ease;
}
.mobile-menu a:hover { background: var(--color-elevated); color: var(--color-foreground); }
.mobile-cta { width: 100%; margin-top: 0.75rem; }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }



/* ============================================================
   Hero Slider
   ============================================================ */

.hero {
  position: relative;
  isolation: isolate;
  padding-top: var(--header-height);
  min-height: calc(100vh - 0px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--color-base);
}

.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: blobFloat 16s ease-in-out infinite;
  pointer-events: none;
}
.hero-bg .blob-teal {
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30rem;
  height: 30rem;
  background: var(--color-accent-from);
  opacity: 0.25;
}
.hero-bg .blob-cyan {
  bottom: -8rem;
  right: -4rem;
  width: 24rem;
  height: 24rem;
  background: var(--color-accent-to);
  opacity: 0.22;
}
.hero-bg .blob-cta {
  top: 40%;
  left: -8rem;
  width: 20rem;
  height: 20rem;
  background: var(--color-cta-from);
  opacity: 0.10;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2rem, -1rem) scale(1.05); }
}
.hero-bg .blob-teal { animation-name: blobFloatTeal; }
@keyframes blobFloatTeal {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-50%, 1rem) scale(1.06); }
}

.hero-canvases {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 700ms ease;
}
.hero-canvas.is-active { opacity: 1; }

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  padding-block: 3rem;
}

.slider {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 720px;
}

.slides {
  position: relative;
  min-height: 380px;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 600ms ease, transform 600ms ease;
  pointer-events: none;
}
.slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.slide[aria-hidden="true"]:not(.is-active) { visibility: hidden; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  width: fit-content;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-lg);
}
.eyebrow-icon { width: 0.875rem; height: 0.875rem; }
.eyebrow-1 { background: linear-gradient(135deg, var(--color-slide-1-from), var(--color-slide-1-to)); }
.eyebrow-2 { background: linear-gradient(135deg, var(--color-slide-2-from), var(--color-slide-2-to)); }
.eyebrow-3 { background: linear-gradient(135deg, var(--color-slide-3-from), var(--color-slide-3-to)); }

.slide-title {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 5vw + 0.5rem, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-foreground);
}
.title-1 { background: linear-gradient(135deg, var(--color-slide-1-from), var(--color-slide-1-to)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-2 { background: linear-gradient(135deg, var(--color-slide-2-from), var(--color-slide-2-to)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-3 { background: linear-gradient(135deg, var(--color-slide-3-from), var(--color-slide-3-to)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.slide-subtitle {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-muted-foreground);
}
@media (min-width: 640px) { .slide-subtitle { font-size: 1.0625rem; } }

.slide-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-edge);
}

.dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 999px;
  background: var(--color-rule);
  transition: all 250ms ease;
}
.dot.is-active {
  width: 2rem;
  background: var(--color-foreground);
}
.dot:hover { background: var(--color-strong); }

.slider-buttons {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.icon-pause, .icon-play { width: 1rem; height: 1rem; }
.slider-buttons.is-paused .icon-pause { display: none; }
.slider-buttons.is-paused .icon-play { display: block !important; }



/* ============================================================
   Sections — common
   ============================================================ */

.section {
  position: relative;
  isolation: isolate;
  padding-block: 4rem;
}
@media (min-width: 768px) { .section { padding-block: 5rem; } }
@media (min-width: 1024px) { .section { padding-block: 6rem; } }

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

.section-divider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-edge), transparent);
}

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-head .badge { margin-inline: auto; }

.section-title {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 4vw + 0.5rem, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-foreground);
}

.section-lead {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-muted-foreground);
}
@media (min-width: 640px) { .section-lead { font-size: 1.0625rem; } }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  background: var(--color-elevated);
  border: 1px solid var(--color-rule);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted-foreground);
}
.badge svg { width: 0.875rem; height: 0.875rem; color: var(--color-accent-from); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   About section
   ============================================================ */

.about-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .about-stats { grid-template-columns: 1fr 1fr; gap: 1rem; } }

.stat-card {
  padding: 1rem 1.125rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-rule);
  background: var(--color-base);
}
.stat-card dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
}
.stat-card dt svg { width: 1rem; height: 1rem; color: var(--color-accent-from); }
.stat-card dd {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-foreground);
}

.about-visual {
  position: relative;
}
.about-glow {
  position: absolute;
  inset: -1rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, oklch(0.62 0.14 195 / 12%), transparent, oklch(0.72 0.16 75 / 12%));
  filter: blur(40px);
}
.about-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-rule);
  background: var(--color-elevated);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--color-foreground);
}
.about-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.about-card-icon {
  width: 5rem;
  height: 5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-accent-from), var(--color-accent-to));
  box-shadow: 0 12px 24px -6px oklch(0.62 0.14 195 / 40%);
}
.about-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.about-card-title {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-foreground);
}
.about-card-sub {
  margin-top: 0.5rem;
  max-width: 18rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.about-metrics {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.metric {
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-rule);
  background: var(--color-surface / 0.6);
  backdrop-filter: blur(8px);
  font-size: 0.6875rem;
  color: var(--color-muted-foreground);
}
.metric-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-foreground);
}
.metric-label { margin-top: 0.125rem; }



/* ============================================================
   Services section
   ============================================================ */

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-rule);
  background: var(--color-surface);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
}
.service-card-1::before { background: linear-gradient(135deg, var(--color-slide-1-from), var(--color-slide-1-to)); }
.service-card-2::before { background: linear-gradient(135deg, var(--color-slide-2-from), var(--color-slide-2-to)); }
.service-card:hover { transform: translateY(-2px); border-color: var(--color-strong); box-shadow: var(--shadow-xl); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}
.service-card-1 .service-icon { background: oklch(0.62 0.14 195 / 12%); color: var(--color-accent-from); }
.service-card-2 .service-icon { background: oklch(0.55 0.16 235 / 12%); color: oklch(0.55 0.16 235); }
.service-icon svg { width: 1.5rem; height: 1.5rem; }

.service-title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-foreground);
}

.service-subtitle {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
}

.service-features {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.service-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-foreground);
}
.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4375rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent-from), var(--color-accent-to));
}

.service-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-edge);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-from);
  transition: gap 200ms ease;
}
.service-link:hover { gap: 0.625rem; }
.service-link svg { width: 1rem; height: 1rem; }

.services-soon {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 999px;
  background: var(--color-elevated);
  border: 1px dashed var(--color-rule);
  font-size: 0.8125rem;
  color: var(--color-muted-foreground);
  width: 100%;
  text-align: center;
}
.services-soon svg { width: 0.9375rem; height: 0.9375rem; }



/* ============================================================
   Contact section
   ============================================================ */

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

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.info-card {
  padding: 2.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-rule);
  background: var(--color-base);
  flex-shrink: 0;
}
.info-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-edge);
}
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-accent-from), var(--color-accent-to));
  color: #ffffff;
  box-shadow: 0 6px 12px -2px oklch(0.62 0.14 195 / 35%);
}
.info-icon svg { width: 1.125rem; height: 1.125rem; }
.info-title { font-size: 0.9375rem; font-weight: 700; color: var(--color-foreground); }
.info-sub { font-size: 0.75rem; color: var(--color-muted-foreground); }

.info-channels { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.channel {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--color-elevated);
  color: var(--color-accent-from);
}
.channel-icon svg { width: 1rem; height: 1rem; }
.channel-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}
.channel-value {
  display: inline-block;
  margin-top: 0.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-foreground);
  word-break: break-all;
  transition: color 150ms ease;
}
a.channel-value:hover { color: var(--color-accent-from); }
.channel-desc {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

.info-cta {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--color-elevated);
  border: 1px solid var(--color-rule);
}
.info-cta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}
.info-cta-value {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-foreground);
}

.map-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-rule);
  background: var(--color-base);
  grid-column: 1 / -1;
}
.map-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 0.75rem;
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 12px;
}
.map-address {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-muted-foreground);
}



/* ============================================================
   Contact form
   ============================================================ */

.contact-form {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-rule);
  background: var(--color-base);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .contact-form { padding: 1.5rem; } }

.form-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.form-banner svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; margin-top: 0.125rem; }
.form-banner p { margin: 0; }
.form-banner-success {
  background: oklch(0.72 0.18 145 / 12%);
  border: 1px solid oklch(0.72 0.18 145 / 30%);
  color: oklch(0.45 0.15 145);
}
.form-banner-success svg { color: oklch(0.55 0.18 145); }
.form-banner-error {
  background: oklch(0.62 0.22 25 / 10%);
  border: 1px solid oklch(0.62 0.22 25 / 30%);
  color: oklch(0.50 0.22 25);
}
.form-banner-error svg { color: oklch(0.55 0.22 25); }
.form-banner[hidden] { display: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

.form-field {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.375rem;
  height: 100%;
}
.form-field > .form-input { align-self: end; }
.form-banner + .form-row,
.form-banner + .form-field,
.form-row + .form-row,
.form-row + .form-field { margin-top: 1.25rem; }

.form-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-foreground);
}
.form-label svg { width: 0.875rem; height: 0.875rem; color: var(--color-muted-foreground); }
.req { color: oklch(0.62 0.22 25); }
.optional { font-size: 0.75rem; font-weight: 400; color: var(--color-muted-foreground); }

.form-input {
  width: 100%;
  height: 2.5rem;
  padding: 0 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-rule);
  background: var(--color-surface);
  color: var(--color-foreground);
  font-size: 0.9375rem;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.form-textarea {
  height: auto;
  min-height: 7rem;
  padding: 0.625rem 0.875rem;
  resize: vertical;
  line-height: 1.55;
}
.form-input::placeholder { color: var(--color-subtle-foreground); }
.form-input:focus-visible {
  outline: none;
  border-color: var(--color-accent-from);
  box-shadow: 0 0 0 3px var(--color-accent-ring);
}
.form-input.is-invalid {
  border-color: oklch(0.62 0.22 25 / 60%);
}

.form-error {
  display: none;
  font-size: 0.75rem;
  color: oklch(0.55 0.22 25);
  line-height: 1.4;
}
.form-error.is-visible { display: block; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-submit {
  margin-top: 1.75rem;
  width: 100%;
}
@media (min-width: 640px) { .form-submit { width: auto; } }

.btn-spinner { display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-spinner[hidden] { display: none; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }



/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --color-inverse: oklch(0.99 0 0);
  background: oklch(0.18 0.01 240);
  color: var(--color-inverse);
  padding-block: 4rem 2rem;
}
.site-footer .blob-teal,
.site-footer .blob-cyan { opacity: 0.2; }
.site-footer .blob-teal {
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
}
.site-footer .blob-cyan {
  bottom: -4rem;
  right: -4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; } }

.footer-brand { max-width: 24rem; }
.footer-desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: color-mix(in oklab, var(--color-inverse) 70%, transparent);
}

.footer-social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in oklab, var(--color-inverse) 15%, transparent);
  background: color-mix(in oklab, var(--color-inverse) 5%, transparent);
  color: color-mix(in oklab, var(--color-inverse) 80%, transparent);
  transition: all 150ms ease;
}
.social-link:hover {
  border-color: color-mix(in oklab, var(--color-inverse) 30%, transparent);
  background: color-mix(in oklab, var(--color-inverse) 10%, transparent);
  color: var(--color-inverse);
}
.social-link svg { width: 1rem; height: 1rem; }

.footer-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-inverse) 60%, transparent);
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--color-inverse) 80%, transparent);
  transition: color 150ms ease;
}
.footer-col a:hover { color: var(--color-inverse); }
.footer-col .inline-icon { width: 0.75rem; height: 0.75rem; opacity: 0.5; }

.footer-cta p { font-size: 0.875rem; line-height: 1.6; color: color-mix(in oklab, var(--color-inverse) 80%, transparent); }
.footer-cta .btn { margin-top: 1rem; }
.footer-fineprint {
  margin-top: 0.75rem !important;
  font-size: 0.6875rem !important;
  color: color-mix(in oklab, var(--color-inverse) 50%, transparent) !important;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--color-inverse) 10%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom p { font-size: 0.75rem; color: color-mix(in oklab, var(--color-inverse) 60%, transparent); }



/* ============================================================
   Mobile refinements
   ============================================================ */

@media (max-width: 640px) {
  .slide-title { font-size: 2rem; }
  .slide-subtitle { font-size: 0.9375rem; }
  .section { padding-block: 3rem; }
  .service-card { padding: 1.5rem; }
  .contact-form { padding: 1.5rem; }
  .info-card, .map-card { padding: 1.25rem; }
  .map-card iframe { height: 240px; }
  .slider-controls { padding-top: 1rem; }
  .slider-buttons .icon-btn { width: 2rem; height: 2rem; }
}

/* Reduce 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;
  }
  .hero-bg .blob { animation: none !important; }
}

/* Print */
@media print {
  .site-header, .hero-bg, .hero-canvases, .slider-controls, .footer-bg { display: none !important; }
  .hero { padding-top: 0; min-height: auto; }
  body { background: white; color: black; }
}

