/* ============================================
   ClarroxWeb — Stylesheet
   Clean, Minimalistic, Sophisticated
   ============================================ */

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


:root {
  /* Colors */
  --color-bg: #fafafa;
  --color-bg-dark: #2B3448;
  --color-bg-light: #F6F7F8;
  --color-bg-card: #ffffff;

  --color-navy: #2B3448;
  --color-text: #111111;
  --color-text-secondary: #6B7280;
  --color-text-tertiary: #a1a1aa;
  --color-text-inverse: #ffffff;

  --color-accent: #7F988D;
  --color-accent-hover: #6a8274;
  --color-accent-light: rgba(127, 152, 141, 0.1);

  --color-border: #E5E7EB;
  --color-border-light: #F6F7F8;

  /* Typography */
  --font-body: 'Nunito Sans', 'Avenir Next', 'Avenir', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Nunito Sans', 'Avenir Next', 'Avenir', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;
  --container-padding: 24px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Section --- */
.section {
  padding: var(--section-padding) 0;
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section--dark .section__label {
  color: var(--color-accent);
}

.section--dark .section__description {
  color: var(--color-text-tertiary);
}

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

.section__header {
  text-align: center;
  margin-bottom: 72px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section__description {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 0;
  background-color: #ffffff;
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              padding var(--transition-base);
}

.header--scrolled {
  box-shadow: 0 1px 0 var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav__logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav__menu {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link--cta {
  background-color: var(--color-navy);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 500;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.nav__link--cta:hover {
  background-color: var(--color-accent);
  transform: translateY(-1px);
}

/* Nav Dropdown Menus */
.nav__item--has-dropdown {
  position: relative;
  list-style: none;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.nav__dropdown-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav__item--has-dropdown.open .nav__dropdown-chevron {
  transform: rotate(180deg);
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 180px;
  z-index: 200;
  list-style: none;
  padding: 4px 0;
}

.nav__dropdown.nav__dropdown--open {
  display: block;
}

@media (min-width: 1025px) {
  .nav__item--has-dropdown:hover .nav__dropdown {
    display: block;
  }

  .nav__item--has-dropdown:hover .nav__dropdown-chevron {
    transform: rotate(180deg);
  }

  /* Invisible bridge on the <li> that covers the gap between the button
     and the dropdown card, keeping :hover alive as the cursor moves down */
  .nav__item--has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 12px;
  }
}

.nav__dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav__dropdown-link:hover {
  background: var(--color-bg-light);
  color: var(--color-accent);
}

.nav__dropdown li:first-child .nav__dropdown-link {
  border-radius: 8px 8px 0 0;
}

.nav__dropdown li:last-child .nav__dropdown-link {
  border-radius: 0 0 8px 8px;
}

.nav__dropdown-view-all {
  display: none;
}

/* Mobile Toggle */
.nav__socials {
  display: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================
   DRAWER — Multi-Level Slide-Out Navigation
   ============================================ */

/* Hamburger button (left side of nav) */
.drawer__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
  transition: opacity 0.2s ease;
  margin-right: 16px;
}

.drawer__hamburger:hover {
  opacity: 0.7;
}

.drawer__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (min-width: 1025px) {
  .drawer__hamburger {
    display: none;
  }
}

/* Overlay */
.drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 2998;
}

.drawer__overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Drawer container */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2999;
  pointer-events: none;
  overflow: hidden;
}

.drawer.active {
  pointer-events: auto;
}

/* Panel container (holds all panels side-by-side) */
.drawer__container {
  display: flex;
  height: 100%;
  position: relative;
}

/* Individual panel */
.drawer__panel {
  width: 380px;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
  position: relative;
  flex-shrink: 0;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.drawer__panel.active {
  transform: translateX(0);
  opacity: 1;
}

.drawer__panel.closing {
  transform: translateX(-100%);
  opacity: 0;
}

/* Panel header */
.drawer__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 72px;
  flex-shrink: 0;
}

.drawer__panel-nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid var(--color-accent);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.drawer__panel-nav-link:hover {
  background: var(--color-accent);
  color: #fff;
}

.drawer__panel-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(0, 0, 0, 0.4);
}

/* Close button */
.drawer__close {
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.drawer__close:hover {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.8);
}

/* Back button */
.drawer__back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px 8px 8px;
  border-radius: 6px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.drawer__back:hover {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.9);
}

.drawer__back svg {
  flex-shrink: 0;
}

/* Panel content */
.drawer__content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Menu list */
.drawer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer__list-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Menu links/buttons */
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 28px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  position: relative;
}

.drawer__link:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--color-accent);
  padding-left: 32px;
}

/* Level 1 items (larger) */
.drawer__panel--level-1 .drawer__link {
  font-size: 18px;
  font-weight: 600;
  padding: 20px 28px;
}

.drawer__panel--level-1 .drawer__link:hover {
  padding-left: 32px;
}

/* Active state */
.drawer__link.active {
  color: var(--color-accent);
  background: rgba(127, 152, 141, 0.08);
}

.drawer__link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-accent);
}

/* Chevron icon (items with children) */
.drawer__chevron {
  opacity: 0.3;
  flex-shrink: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.drawer__link:hover .drawer__chevron {
  opacity: 0.6;
  transform: translateX(4px);
}

/* Footer section */
.drawer__footer {
  padding: 16px 28px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 8px;
}

.drawer__footer-text {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
  margin: 0;
}

.drawer__socials {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.drawer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.03);
  color: rgba(0, 0, 0, 0.6);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.drawer__social svg {
  width: 18px;
  height: 18px;
}

.drawer__social:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Drawer CTA button */
.drawer__cta {
  display: block;
  text-align: center;
  background-color: var(--color-accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
  margin-bottom: 16px;
}

.drawer__cta:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* Drawer language selector */
.drawer__lang-selector {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.drawer__lang-option {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.drawer__lang-option:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.drawer__lang-option--active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(122, 140, 94, 0.08);
  font-weight: 600;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .drawer__panel,
  .drawer__overlay,
  .drawer__link,
  .drawer__close,
  .drawer__back {
    transition: none;
  }

  .drawer__panel {
    transition: opacity 0.1s ease;
  }

  .drawer__panel:not(.active) {
    opacity: 0;
  }

  .drawer__panel.active {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* --- Individual Slide --- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide--active .hero-slide__bg {
  transform: scale(1.04);
}

/* Dark overlay for text readability - radial gradient vignette */
.hero-slide__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
  z-index: 1;
}

/* Grid overlay on slides */
.hero-slide__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
}

/* --- Slide Content --- */
.hero-slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  padding-top: 72px;
  padding-bottom: 120px;
  color: #fff;
}

.hero-slide__content-box {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: none;
  padding: 56px 64px;
  width: 75vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero__badge--dark {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-slide--active .hero__badge {
  opacity: 1;
  transform: translateY(0);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* Title */
.hero-slide__title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 2px 12px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}

.hero-slide--active .hero-slide__title {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__accent {
  background: linear-gradient(135deg, #a8c4ba 0%, #d4e8e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Subtitle */
.hero-slide__subtitle {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255, 255, 255, 0.95);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

.hero-slide--active .hero-slide__subtitle {
  opacity: 1;
  transform: translateY(0);
}

/* Actions */
.hero-slide__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.65s, transform 0.7s ease 0.65s;
}

.hero-slide--active .hero-slide__actions {
  opacity: 1;
  transform: translateY(0);
}

.btn--ghost-light {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn--ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* --- Navigation Arrows --- */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0;
}

.hero-slider:hover .hero-slider__arrow {
  opacity: 1;
}

.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.05);
}

.hero-slider__arrow--prev {
  left: 24px;
}

.hero-slider__arrow--next {
  right: 24px;
}

/* --- Dots Navigation --- */
.hero-slider__dots {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-slider__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-base);
}

.hero-slider__dot:hover {
  background: rgba(255, 255, 255, 0.55);
  transform: scale(1.15);
}

.hero-slider__dot--active {
  background: #fff;
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.hero-slider__dot--active:hover {
  transform: scale(1.25);
}

.hero-slider__dot-progress {
  display: none;
}

/* --- Stats Bar (bottom of slider) --- */
.hero-slider__stats {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 48px;
  border-radius: 100px;
}

.hero-slider__stats .hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-slider__stats .hero__stat-number {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-slider__stats .hero__stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.hero-slider__stats .hero__stat-divider {
  width: 1px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.12);
}

/* --- Scroll Indicator --- */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: none;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-navy);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 52, 72, 0.3);
}

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

.btn--ghost:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 32px;
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn--large {
  padding: 18px 36px;
  font-size: 16px;
}


/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  height: 300px;
  text-decoration: none;
  perspective: 1000px;
  display: block;
  scroll-margin-top: 96px;
}

.service-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.service-card:hover .service-card__inner {
  transform: rotateY(180deg);
}

.service-card__front,
.service-card__back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 32px;
  border: 1px solid var(--color-border);
}

.service-card__front {
  background: var(--color-bg-card);
}

.service-card__back {
  background: var(--color-accent);
  color: #fff;
  transform: rotateY(180deg);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  text-align: center;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.service-card__text {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
}

.service-card__link {
  font-size: 14px;
  font-weight: 500;
  transition: gap var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  text-decoration: underline;
}


/* ============================================
   WORK / PORTFOLIO
   ============================================ */
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.work__grid--preview {
  grid-template-columns: repeat(3, 1fr);
}

.work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  cursor: pointer;
}

.work-card:hover {
  border-color: var(--color-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.work-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.work-card:hover .work-card__image img {
  transform: scale(1.05);
}

.work-card__info {
  padding: 28px;
}

.work-card__category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 8px;
  display: block;
}

.work-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.work-card__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.work-card--large {
  grid-column: span 2;
}

.work-card--large .work-card__image {
  aspect-ratio: 21 / 9;
}

.work__cta {
  text-align: center;
}


/* ============================================
   PROCESS
   ============================================ */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-step {
  position: relative;
  padding: 0 8px;
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-border);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  line-height: 1;
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-step__text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials .section__header {
  max-width: none;
}

.testimonials .section__title {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .testimonials .section__title {
    white-space: normal;
  }

  .testimonials__carousel {
    margin-left: calc(-1 * var(--container-padding));
    margin-right: calc(-1 * var(--container-padding));
    width: calc(100% + 2 * var(--container-padding));
  }
}

.testimonials__carousel {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  cursor: grab;
}

.testimonials__carousel.is-dragging {
  cursor: grabbing;
}

.testimonials__track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.testimonials__track .testimonial {
  min-width: 280px;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
}

.testimonial {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.testimonial:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  margin-bottom: 20px;
}

.testimonial__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 28px;
  flex-grow: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial__name {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}

.testimonial__role {
  font-size: 13px;
  color: var(--color-text-tertiary);
}


/* ============================================
   404 ERROR PAGE
   ============================================ */
.error-page {
  padding: var(--section-padding) 0;
}

.error-page__content {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 0;
}

.error-page__code {
  display: block;
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.25;
  margin-bottom: 8px;
}

.error-page__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.error-page__text {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.error-page__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-page__actions .btn--outline {
  color: var(--color-text);
  border-color: var(--color-border);
}

.error-page__actions .btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}


/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: var(--section-padding) 0;
}

.cta__wrapper {
  text-align: center;
  background: #1e2a1a;
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
}

.cta__wrapper .section__label {
  color: var(--color-accent);
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  margin-top: 16px;
}

.cta__text {
  font-size: 17px;
  color: var(--color-text-tertiary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}



/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand .nav__logo {
  margin-bottom: 16px;
}

.footer__brand .nav__logo-img {
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 15px;
  color: var(--color-text-tertiary);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-tertiary);
  transition: all var(--transition-fast);
}

.footer__social:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: var(--color-text-inverse);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__links a {
  font-size: 14px;
  color: var(--color-text-tertiary);
  transition: color var(--transition-fast);
}

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

.footer__link--cta {
  color: var(--color-accent) !important;
  font-weight: 500;
}

.footer__link--cta:hover {
  color: #fff !important;
}

.footer__bottom {
  padding-top: 32px;
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--color-text-tertiary);
}

.footer__legal-links a {
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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


/* ============================================
   BLOG PAGE — Listing
   ============================================ */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.blog-card {
  display: block;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.blog-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-light) 0%, #e8ede0 100%);
  color: var(--color-accent);
}

.blog-card__body {
  padding: 32px;
}

.blog-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.blog-card--featured .blog-card__image {
  aspect-ratio: auto;
  min-height: 100%;
}

.blog-card--featured .blog-card__image img {
  height: 100%;
}

.blog-card--featured .blog-card__body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card--featured .blog-card__title {
  font-size: 28px;
}

.blog-card__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--color-accent);
}

.blog-card__excerpt {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-tertiary);
}

.blog-card__meta-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--color-text-tertiary);
}

/* Empty state */
.blog__empty {
  text-align: center;
  padding: 80px 0;
}

.blog__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 50%;
  margin-bottom: 28px;
}

.blog__empty-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.blog__empty-text {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto;
}


/* ============================================
   BLOG ARTICLE
   ============================================ */
.blog-article {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Breadcrumb */
.blog-article__breadcrumb {
  padding-top: 100px;
}

.blog-article__breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 13px;
  color: var(--color-text-tertiary);
}

.blog-article__breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--color-text-tertiary);
}

.blog-article__breadcrumb a {
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

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

.blog-article__header {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

.blog-article__category {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.blog-article__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.blog-article__subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 28px;
}

.blog-article__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  color: var(--color-text-tertiary);
  flex-wrap: wrap;
}

.blog-article__meta-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--color-text-tertiary);
}

/* Featured Image */
.blog-article__featured-img {
  margin-bottom: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.blog-article__featured-img img {
  width: 100%;
  display: block;
}

/* Table of Contents */
.blog-article__toc {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 48px;
}

.blog-article__toc-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.blog-article__toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-article__toc li {
  counter-increment: toc;
}

.blog-article__toc li a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.blog-article__toc li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  flex-shrink: 0;
}

.blog-article__toc li a:hover {
  color: var(--color-accent);
}

/* Article Body — Prose */
.blog-article__body {
  margin-bottom: 64px;
}

.blog-article__body img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 36px 0;
  display: block;
}

.blog-article__body h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-top: 56px;
  margin-bottom: 20px;
}

.blog-article__body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 36px;
  margin-bottom: 14px;
}

.blog-article__body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 24px;
}

.blog-article__body ul,
.blog-article__body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.blog-article__body ul {
  list-style: disc;
}

.blog-article__body ol {
  list-style: decimal;
}

.blog-article__body li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 8px;
}

.blog-article__body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

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

.blog-article__body strong {
  font-weight: 600;
}

.blog-article__body code {
  font-size: 0.9em;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 2px 6px;
  border-radius: 4px;
}

.blog-article__body blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
}

.blog-article__body blockquote p {
  font-size: 18px;
  font-style: italic;
  color: var(--color-text-secondary);
}

/* Image Placeholders */
.blog-article__img-placeholder {
  border: 2px dashed var(--color-accent);
  border-radius: var(--radius-lg);
  background: var(--color-accent-light);
  padding: 48px 32px;
  margin: 36px 0;
  text-align: center;
}

.blog-article__img-placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(122, 140, 94, 0.15);
  border-radius: 50%;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.blog-article__img-placeholder-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.blog-article__img-placeholder-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.blog-article__img-placeholder-meta {
  font-size: 12px;
  color: var(--color-text-tertiary);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.blog-article__img-placeholder-meta strong {
  color: var(--color-text-secondary);
}

/* Key Takeaways */
.blog-article__takeaways {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 48px 0;
}

.blog-article__takeaways h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.blog-article__takeaways ul {
  list-style: disc;
  padding-left: 20px;
}

.blog-article__takeaways li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
  color: var(--color-text);
}

/* Author Box */
.blog-article__author-box {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: 48px;
}

.blog-article__author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-article__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article__author-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.blog-article__author-bio {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}


/* ============================================
   ABOUT PAGE
   ============================================ */

/* Story Section */
.about-story__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-story__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 28px;
}

.about-story__content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.about-story__content p:last-child {
  margin-bottom: 0;
}

/* Mission */
.about-mission__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-mission__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text-primary);
  margin-top: 16px;
}

/* Founders Grid */
.about-founders__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 100%;
  margin: 0 auto;
}

.about-founders__grid--single {
  grid-template-columns: 1fr;
  max-width: 600px;
}

.about-founder-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.about-founder-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.about-founder-card__photo {
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.about-founder-card__photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.about-founder-card:hover .about-founder-card__photo img {
  transform: scale(1.03);
}

.about-founder-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f0f0 0%, #e4e8dc 100%);
  color: var(--color-text-tertiary);
}

.about-founder-card__info {
  padding: 32px;
}

.about-founder-card__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.about-founder-card__role {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.about-founder-card__bio {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Values Grid */
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-value {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-base);
}

.about-value:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.about-value__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.about-value__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.about-value__text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* ============================================
   RELATED ARTICLES
   ============================================ */
.related-articles {
  padding-top: 64px;
  padding-bottom: 0;
}

.related-articles .section__header {
  margin-bottom: 32px;
}

.related-articles__carousel {
  position: relative;
}

.related-articles__track-wrapper {
  overflow: hidden;
}

.related-articles__track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.related-articles__card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
}

.related-articles__card .blog-card__image {
  aspect-ratio: 16 / 10;
}

.related-articles__card .blog-card__body {
  padding: 20px 24px 24px;
}

.related-articles__card .blog-card__title {
  font-size: 18px;
  margin-bottom: 8px;
}

.related-articles__card .blog-card__excerpt {
  font-size: 14px;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-articles__card .blog-card__meta {
  font-size: 12px;
}

.related-articles__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border, #e0e0e0);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-articles__arrow:hover {
  background: var(--color-accent, #7a8c5e);
  color: #fff;
  border-color: var(--color-accent, #7a8c5e);
}

.related-articles__arrow--prev {
  left: 16px;
}

.related-articles__arrow--next {
  right: 16px;
}



/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg-card);
  color: var(--color-text);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-base),
              visibility var(--transition-base),
              transform var(--transition-base),
              background-color var(--transition-fast),
              border-color var(--transition-fast);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122, 140, 94, 0.3);
}


/* ============================================
   AOS OVERRIDES
   ============================================ */
[data-aos] {
  pointer-events: auto !important;
}


/* ============================================
   PAGE HEADER (Subpages)
   ============================================ */
.header--scrolled-always {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.page-header {
  padding: 160px 0 64px;
  text-align: center;
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  margin-top: 16px;
}

.page-header__subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ============================================
   CONTACT PAGE
   ============================================ */
.contact {
  padding-top: 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Form */
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form__group {
  margin-bottom: 24px;
}

.contact-form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.contact-form__optional {
  font-weight: 400;
  color: var(--color-text-tertiary);
}

.contact-form__input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.contact-form__input::placeholder {
  color: var(--color-text-tertiary);
}

.contact-form__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.contact-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__consent {
  margin-bottom: 24px;
}

.contact-form__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-form__consent-checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.contact-form__consent-label a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-form__consent-label a:hover {
  text-decoration: underline;
}

.cta-modal__consent {
  margin-top: 16px;
  margin-bottom: 0;
}

.btn--full {
  width: 100%;
  padding: 16px 28px;
  font-size: 16px;
}

/* Contact Info Sidebar */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__quote-hint {
  font-size: 13px;
  color: var(--color-muted, #6b7280);
  margin-bottom: 8px;
}

.contact__book-btn {
  gap: 10px;
  padding: 16px 28px;
  font-size: 15px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__detail {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  transition: color var(--transition-fast);
}

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

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

/* Map */
.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.contact__map iframe {
  display: block;
}


/* ============================================
   LANDING PAGE — ELECTRICIANS
   ============================================ */

/* LP Hero */
.lp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 180px 0 140px;
  text-align: center;
}

.lp-hero--elektriker {
  background-image: linear-gradient(rgba(20, 28, 16, 0.50), rgba(20, 28, 16, 0.60)), url('/assets/electricians/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.lp-hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.lp-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text-inverse);
  margin-bottom: 24px;
}

.lp-hero__accent {
  background: linear-gradient(135deg, var(--color-accent), #95ab78);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-tertiary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.lp-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.lp-hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 16px 36px;
}

.lp-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.lp-hero__stat-number {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-inverse);
}

.lp-hero__stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-tertiary);
}

.lp-hero__stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
}

/* LP Problem Cards */
.lp-problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.lp-problem-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.lp-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.lp-problem-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.lp-problem-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.lp-problem-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* LP Before/After Compare */
.lp-compare {
  max-width: 900px;
  margin: 0 auto;
}

.lp-compare__container {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  cursor: ew-resize;
}

.lp-compare__side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lp-compare__side--before {
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
  z-index: 2;
}

.lp-compare__side--after {
  z-index: 1;
}

.lp-compare__label {
  position: absolute;
  bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 100px;
  z-index: 5;
}

.lp-compare__side--before .lp-compare__label {
  left: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

.lp-compare__side--after .lp-compare__label {
  right: 16px;
  background: var(--color-accent);
  color: #fff;
}

.lp-compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.lp-compare__handle-line {
  flex: 1;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.lp-compare__handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: var(--color-text);
  flex-shrink: 0;
}

.lp-compare__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.lp-compare__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* LP Mockup - Old Site */
.lp-compare__mockup {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lp-compare__mockup--old {
  background: #e8e8e8;
}

.lp-mockup__nav-old {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #d0d0d0;
  border-bottom: 1px solid #bbb;
}

.lp-mockup__logo-old {
  font-family: 'Times New Roman', serif;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.lp-mockup__nav-links-old {
  display: flex;
  gap: 12px;
}

.lp-mockup__nav-links-old span {
  width: 40px;
  height: 8px;
  background: #aaa;
  border-radius: 2px;
}

.lp-mockup__hero-old {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 24px;
  background: #d5d5d5;
}

.lp-mockup__hero-text-old {
  width: 60%;
}

.lp-mockup__h1-old {
  height: 16px;
  width: 80%;
  background: #999;
  border-radius: 2px;
  margin-bottom: 10px;
}

.lp-mockup__p-old {
  height: 8px;
  width: 90%;
  background: #bbb;
  border-radius: 2px;
  margin-bottom: 6px;
}

.lp-mockup__content-old {
  display: flex;
  gap: 8px;
  padding: 16px 24px;
}

.lp-mockup__block-old {
  flex: 1;
  height: 60px;
  background: #ccc;
  border-radius: 2px;
}

/* LP Mockup - New Site */
.lp-compare__mockup--new {
  background: #fafafa;
}

.lp-mockup__nav-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.lp-mockup__logo-new {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.lp-mockup__nav-links-new {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-mockup__nav-links-new span {
  width: 40px;
  height: 8px;
  background: var(--color-border);
  border-radius: 100px;
}

.lp-mockup__cta-btn {
  width: 60px !important;
  height: 24px !important;
  background: var(--color-accent) !important;
  border-radius: 100px !important;
}

.lp-mockup__hero-new {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 24px;
  background: var(--color-bg-dark);
}

.lp-mockup__hero-text-new {
  width: 70%;
}

.lp-mockup__badge-new {
  width: 80px;
  height: 16px;
  background: rgba(122, 140, 94, 0.2);
  border-radius: 100px;
  margin-bottom: 12px;
}

.lp-mockup__h1-new {
  height: 14px;
  width: 90%;
  background: #fff;
  border-radius: 100px;
  margin-bottom: 8px;
}

.lp-mockup__p-new {
  height: 8px;
  width: 70%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  margin-bottom: 14px;
}

.lp-mockup__btn-new {
  width: 80px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 100px;
}

.lp-mockup__content-new {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
}

.lp-mockup__card-new {
  flex: 1;
  height: 60px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* LP ROI Calculator */
.lp-calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.lp-calculator__inputs {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.lp-calculator__group {
  margin-bottom: 32px;
}

.lp-calculator__group:last-of-type {
  margin-bottom: 0;
}

.lp-calculator__label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.lp-calculator__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.lp-calculator__value {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-accent);
  min-width: 60px;
  text-align: right;
}

.lp-calculator__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 100px;
  background: var(--color-border);
  outline: none;
  cursor: pointer;
}

.lp-calculator__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast);
}

.lp-calculator__range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.lp-calculator__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lp-calculator__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-tertiary);
  margin-top: 24px;
}

.lp-calculator__result {
  display: flex;
  align-items: stretch;
}

.lp-calculator__result-card {
  background: #1e2a1a;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-calculator__result-label {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-tertiary);
  margin-bottom: 16px;
}

.lp-calculator__result-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
  line-height: 1.1;
}

.lp-calculator__result-detail {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-tertiary);
}

.lp-calculator__result-detail strong {
  color: var(--color-text-inverse);
}

/* LP Feature Cards */
.lp-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.lp-feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.lp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.lp-feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.lp-feature-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.lp-feature-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* LP Contact Section */
.lp-contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.lp-contact__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-inverse);
  margin: 16px 0 20px;
}

.lp-contact__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-tertiary);
  margin-bottom: 32px;
}

.lp-contact__checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-contact__checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-tertiary);
}

.lp-contact__checklist li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* Dark section form overrides */
.section--dark .contact-form__label {
  color: var(--color-text-tertiary);
}

.section--dark .contact-form__input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--color-text-inverse);
}

.section--dark .contact-form__input::placeholder {
  color: var(--color-text-tertiary);
}

.section--dark .contact-form__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(122, 140, 94, 0.15);
}

.section--dark .contact-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

/* Select options always render with browser system UI — force a solid bg/color
   so the dropdown list is readable regardless of the section background */
.section--dark .contact-form__select option {
  background: #1e2a1a;
  color: #fafafa;
}

.section--dark .contact-form__consent-label span,
.section--dark .contact-form__consent-label a {
  color: var(--color-text-tertiary);
}

.section--dark .contact-form__consent-label a:hover {
  color: var(--color-accent);
}

.lp-contact__hint {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
}

/* LP Form Success State */
.lp-contact__success {
  text-align: center;
  padding: 48px 32px;
}

.lp-contact__success-icon {
  color: var(--color-accent);
  margin-bottom: 20px;
}

.lp-contact__success-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-inverse);
  margin-bottom: 12px;
}

.lp-contact__success-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-tertiary);
  margin-bottom: 24px;
}


/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 88px;
  }

  .hero-slide__content-box {
    width: 85vw;
    padding: 48px 40px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }

  .testimonials__track .testimonial {
    min-width: 260px;
    max-width: 260px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* About Tablet */
  .about-founders__grid {
    gap: 32px;
  }

  .about-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: span 3;
  }

  /* Blog Tablet */
  .blog-card--featured {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
  }

  .blog-card--featured .blog-card__title {
    font-size: 24px;
  }

  .blog-article__body h2 {
    font-size: 26px;
  }
}


/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 72px;
    --container-padding: 20px;
  }

  /* Mobile Nav */
  .drawer__hamburger {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-base);
    z-index: 1000;
  }

  .nav__menu.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .nav__link {
    font-size: 24px;
    color: var(--color-text);
  }

  .nav__link--cta {
    font-size: 16px;
  }

  .nav__socials {
    display: flex;
    gap: 20px;
    justify-content: center;
    list-style: none;
    padding-top: 8px;
  }

  .nav__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-light);
    color: var(--color-text);
    transition: background 0.2s, color 0.2s;
  }

  .nav__social:hover {
    background: var(--color-accent);
    color: #fff;
  }

  /* Mobile accordion dropdowns */
  .nav__item--has-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav__dropdown-toggle {
    justify-content: center;
  }

  .nav__dropdown-chevron {
    display: inline-block !important;
  }

  .nav__dropdown {
    position: static !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: auto !important;
    padding: 8px 0 0 0 !important;
    border-radius: 0 !important;
  }

  .nav__dropdown.nav__dropdown--open {
    display: block !important;
  }

  .nav__dropdown-link {
    font-size: 16px !important;
    color: var(--color-text-secondary) !important;
    padding: 6px 0 !important;
    text-align: center;
  }

  .nav__dropdown-link:hover {
    background: transparent !important;
    color: var(--color-accent) !important;
  }

  .nav__dropdown li:first-child .nav__dropdown-link,
  .nav__dropdown li:last-child .nav__dropdown-link {
    border-radius: 0 !important;
  }

  .nav__dropdown-view-all {
    display: list-item;
  }

  /* Drawer Mobile */
  .drawer__panel {
    width: 100vw;
    position: absolute;
    left: 0;
  }

  .drawer__panel:not(.drawer__panel--level-1) {
    transform: translateX(100%);
  }

  .drawer__panel.active:not(.drawer__panel--level-1) {
    transform: translateX(0);
  }

  /* Hero Slider Mobile */
  .hero-slider {
    touch-action: pan-y pinch-zoom;
  }

  .hero-slider,
  .hero-slider__track,
  .hero-slide__content {
    height: auto;
    min-height: 100vh;
  }

  .hero-slide__content {
    padding-top: 110px;
    padding-bottom: 180px;
  }

  .hero-slide__actions {
    flex-direction: column;
  }

  .hero-slide__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-slider__arrow {
    display: none;
  }

  .hero-slider__dots {
    bottom: 120px;
  }

  .hero-slider__stats {
    bottom: 60px;
    gap: 20px;
    padding: 14px 28px;
    border-radius: 100px;
    flex-direction: row;
    width: auto;
  }

  .hero-slider__stats .hero__stat {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-slider__stats .hero__stat-number {
    font-size: 16px;
  }

  .hero-slider__stats .hero__stat-label {
    font-size: 10px;
  }

  .hero-slider__stats .hero__stat-divider {
    width: 1px;
    height: 28px;
  }

  .hero-slide__content-box {
    width: 90vw;
    padding: 36px 28px;
  }

  /* Services Mobile */
  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section__header {
    margin-bottom: 48px;
  }

  /* Work Mobile */
  .work__grid {
    grid-template-columns: 1fr;
  }

  .work-card--large {
    grid-column: span 1;
  }

  .work-card--large .work-card__image {
    aspect-ratio: 16 / 10;
  }

  /* Process Mobile */
  .process__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Testimonials Mobile */
  .testimonials__track .testimonial {
    min-width: 240px;
    max-width: 240px;
  }

  /* CTA Mobile */
  .cta__wrapper {
    padding: 56px 28px;
    border-radius: var(--radius-lg);
  }

  .cta__actions {
    flex-direction: column;
    gap: 16px;
  }



  /* About Mobile */
  .about-founders__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 32px;
  }

  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .about-founder-card__info {
    padding: 24px;
  }

  /* Contact Mobile */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .page-header {
    padding: 120px 0 40px;
  }

  /* Related Articles Mobile */
  .related-articles__card {
    flex: 0 0 calc(80% - 12px);
  }

  .related-articles__arrow {
    display: none;
  }

  /* Back to Top Mobile */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  /* Blog Mobile */
  .blog__grid {
    grid-template-columns: 1fr;
  }

  .blog-card--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .blog-card--featured .blog-card__image {
    aspect-ratio: 16 / 9;
  }

  .blog-card--featured .blog-card__body {
    padding: 24px;
  }

  .blog-card--featured .blog-card__title {
    font-size: 22px;
  }

  .blog-article__breadcrumb {
    padding-top: 80px;
  }

  .blog-article__body h2 {
    font-size: 24px;
    margin-top: 40px;
  }

  .blog-article__toc {
    padding: 24px;
  }

  .blog-article__img-placeholder {
    padding: 32px 20px;
  }

  .blog-article__author-box {
    flex-direction: column;
    text-align: center;
  }

  .blog-card__body {
    padding: 24px;
  }

  .blog-card__title {
    font-size: 20px;
  }

  /* Footer Mobile */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer__brand {
    grid-column: span 2;
  }

  .footer__links:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .hero-slide__title {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-slide__subtitle {
    font-size: 13px;
    line-height: 1.4;
  }

  .hero-slide__content {
    padding-top: 80px;
    padding-bottom: 220px;
  }

  .hero-slide__content-box {
    width: 85vw;
    padding: 24px 20px;
  }

  .hero-slider__dots {
    bottom: 130px;
  }

  .hero-slider__stats {
    bottom: 75px;
    padding: 10px 16px;
    gap: 12px;
  }


  .hero-slider__stats .hero__stat-number {
    font-size: 14px;
  }

  .hero-slider__stats .hero__stat-label {
    font-size: 9px;
  }

  .section__title {
    font-size: 28px;
  }

  .cta__title {
    font-size: 28px;
  }

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

  .footer__brand,
  .footer__links:last-child {
    grid-column: span 1;
  }

  /* Blog Small Mobile */
  .blog-article__title {
    font-size: 28px;
  }

  .blog-article__body p,
  .blog-article__body li {
    font-size: 16px;
  }
}


/* ============================================
   WORK CARD LINKS (reset anchor styling)
   ============================================ */
a.work-card {
  text-decoration: none;
  color: inherit;
  display: block;
}


/* ============================================
   PORTFOLIO LISTING
   ============================================ */
.portfolio .section__header {
  padding-top: 60px;
}


/* ============================================
   CASE STUDY PAGE
   ============================================ */
.case-study {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Breadcrumb */
.case-study__breadcrumb {
  padding-top: 100px;
}

.case-study__breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 13px;
  color: var(--color-text-tertiary);
}

.case-study__breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--color-text-tertiary);
}

.case-study__breadcrumb a {
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

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

/* Header */
.case-study__header {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

.case-study__category {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.case-study__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.case-study__industry {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.case-study__services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.case-study__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-text-secondary);
}

/* Hero Image */
.case-study__hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}

.case-study__hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Body Content */
.case-study__body {
  margin-bottom: 48px;
}

.case-study__body h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 20px;
}

.case-study__body h2:first-child {
  margin-top: 0;
}

.case-study__body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.case-study__body ul,
.case-study__body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.case-study__body li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.case-study__body strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Case Study Testimonial */
/* Case Study Testimonial Section */
.case-study__testimonial {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border, #e5e5e5);
}

.case-study__testimonial-heading {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
}

.case-study__testimonial-quote {
  background: var(--color-bg-alt, #f4f4f5);
  border-left: 4px solid var(--sage-green, #7F988D);
  padding: 40px 40px 40px 44px;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.case-study__testimonial-quote::before {
  content: '\201C';
  font-size: 72px;
  font-family: Georgia, serif;
  color: var(--sage-green, #7F988D);
  opacity: 0.25;
  position: absolute;
  top: 12px;
  left: 16px;
  line-height: 1;
}

.case-study__testimonial-quote p {
  font-size: 17px;
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.case-study__testimonial-quote footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-study__testimonial-quote footer strong {
  font-size: 15px;
  font-style: normal;
  color: var(--color-text);
}

.case-study__testimonial-quote footer span {
  font-size: 14px;
  font-style: normal;
  color: var(--color-text-secondary);
}

/* Live Site Link */
.case-study__live-link {
  text-align: center;
  margin-bottom: 48px;
}

.case-study__live-link .btn {
  display: inline-flex;
  align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
  .case-study__breadcrumb {
    padding-top: 80px;
  }

  .case-study__title {
    font-size: 32px;
  }

  .case-study__body h2 {
    font-size: 24px;
  }

  .case-study__body p,
  .case-study__body li {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .case-study__title {
    font-size: 28px;
  }
}


/* ============================================
   CTA Qualifier Modal
   ============================================ */

.cta-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cta-modal__overlay.active {
  opacity: 1;
  visibility: visible;
}

.cta-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 9999;
  width: 92%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 40px 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
}

.cta-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.cta-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.cta-modal__close:hover {
  color: var(--color-text);
  background: var(--color-bg-light);
}

/* Progress dots */
.cta-modal__progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.cta-modal__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.cta-modal__dot--active {
  background: var(--color-accent);
  transform: scale(1.25);
}

.cta-modal__dot--completed {
  background: var(--color-accent);
}

/* Steps */
.cta-modal__step {
  display: none;
  text-align: center;
}

.cta-modal__step--active {
  display: block;
  animation: ctaModalFadeIn 0.3s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .cta-modal__step--active {
    animation: none;
  }
  .cta-modal {
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
  }
  .cta-modal__overlay {
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
  }
}

.cta-modal__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.cta-modal__subtitle {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.cta-modal__countdown {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
}

/* Option cards */
.cta-modal__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cta-modal__options--budget {
  grid-template-columns: repeat(2, 1fr);
}

.cta-modal__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--color-bg-light);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.cta-modal__option:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
}

.cta-modal__option:active {
  transform: scale(0.97);
}

.cta-modal__option--selected {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
}

.cta-modal__option svg {
  color: var(--color-accent);
}

/* Budget options - horizontal layout */
.cta-modal__options--budget .cta-modal__option {
  flex-direction: row;
  justify-content: center;
  padding: 14px 16px;
}

/* Textarea */
.cta-modal__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg-light);
  resize: vertical;
  margin-bottom: 20px;
  transition: border-color var(--transition-fast);
}

.cta-modal__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.cta-modal__textarea::placeholder {
  color: var(--color-text-tertiary);
}

/* Submit button */
.cta-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cta-modal {
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    height: auto;
    border-radius: 16px 16px 0 0;
    top: auto;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    padding: 32px 24px;
  }

  .cta-modal.active {
    transform: translateY(0);
  }

  .cta-modal__options {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-modal__options--budget {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cta-modal__title {
    font-size: 20px;
  }

  .cta-modal__option {
    padding: 14px 10px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Legal Pages (Aviso Legal, Privacy Policy, etc.)
   ========================================================================== */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-size: 28px;
  color: var(--color-heading);
  margin-bottom: 16px;
}

.legal-section h3 {
  font-size: 18px;
  color: var(--color-heading);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-section p {
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.6;
}

.legal-table th {
  width: 40%;
  font-weight: 600;
  color: var(--color-heading);
  background-color: var(--color-bg-light);
}

.legal-table td {
  color: var(--color-text);
}

.legal-table a {
  color: var(--color-accent);
  text-decoration: none;
}

.legal-table a:hover {
  text-decoration: underline;
}

.legal-divider {
  border: none;
  border-top: 2px solid var(--color-border);
  margin: 48px 0;
}

.legal-updated {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 32px;
}

@media (max-width: 768px) {
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .legal-table td {
    padding-top: 4px;
    padding-left: 16px;
  }
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1a1a;
  color: #f4f4f5;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  animation: cookieBannerSlideUp 0.3s ease;
}

@keyframes cookieBannerSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
}

.cookie-banner__main {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: #d4d4d8;
  margin: 0;
  min-width: 200px;
}

.cookie-banner__text a {
  color: #a3b88a;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s ease;
  font-family: inherit;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
}

.cookie-banner__btn--accept {
  background: var(--color-accent);
  color: #fff;
}

.cookie-banner__btn--reject {
  background: transparent;
  color: #d4d4d8;
  border: 1px solid #52525b;
}

.cookie-banner__btn--config {
  background: transparent;
  color: #d4d4d8;
  border: 1px solid #52525b;
}

.cookie-banner__config {
  border-top: 1px solid #2e2e2e;
  margin-top: 16px;
  padding-top: 16px;
}

.cookie-banner__toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #2e2e2e;
}

.cookie-banner__toggle-row:last-of-type {
  border-bottom: none;
}

.cookie-banner__toggle-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cookie-banner__toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: #f4f4f5;
}

.cookie-banner__toggle-desc {
  font-size: 13px;
  color: #a1a1aa;
}

.cookie-banner__toggle-always {
  font-size: 13px;
  color: #a3b88a;
  font-weight: 500;
  white-space: nowrap;
}

.cookie-banner__switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-banner__switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-banner__switch-slider {
  position: absolute;
  inset: 0;
  background: #52525b;
  border-radius: 24px;
  transition: background 0.2s ease;
}

.cookie-banner__switch-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.cookie-banner__switch input:checked + .cookie-banner__switch-slider {
  background: var(--color-accent);
}

.cookie-banner__switch input:checked + .cookie-banner__switch-slider::before {
  transform: translateX(20px);
}

.cookie-banner__config-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .cookie-banner__container {
    padding: 16px 20px;
  }

  .cookie-banner__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}


/* ==========================================================================
   Language Switcher
   ========================================================================== */

.lang-switcher {
  position: relative;
  list-style: none;
}

.lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: inherit;
  font-family: inherit;
  transition: border-color 0.2s;
  white-space: nowrap;
}

.lang-switcher__toggle:hover {
  border-color: var(--color-accent);
}

/* When header is scrolled or non-home, text is dark */
.header--scrolled .lang-switcher__toggle,
.header--scrolled-always .lang-switcher__toggle {
  border-color: var(--color-border);
  color: var(--color-text);
}

.header--scrolled .lang-switcher__toggle:hover,
.header--scrolled-always .lang-switcher__toggle:hover {
  border-color: var(--color-accent);
}

.lang-switcher__current {
  font-weight: 600;
}

.lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 150px;
  overflow: hidden;
  z-index: 200;
}

.lang-switcher__dropdown--open {
  display: block;
}

.lang-switcher__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  font-family: inherit;
  transition: background 0.15s;
}

.lang-switcher__option:hover {
  background: var(--color-bg-light);
}

.lang-switcher__option--active {
  color: var(--color-accent);
  font-weight: 600;
}

/* Mobile nav — hide switcher and nav dropdowns inside the desktop nav list on mobile
   (the mobile menu inherits via nav__menu flex) */
@media (max-width: 1024px) {
  .lang-switcher__toggle {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--color-text);
  }

  .lang-switcher__dropdown {
    right: auto;
    left: 0;
  }

  .nav__dropdown {
    display: none !important;
  }

  .nav__dropdown-chevron {
    display: none;
  }
}

/* iPhone SE and similarly narrow screens (375px and below) */
@media (max-width: 375px) {
  .hero-slide__title {
    font-size: 26px;
    line-height: 1.15;
  }

  .hero-slide__subtitle {
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-slide__content {
    padding-top: 72px;
    padding-bottom: 300px;
  }

  .hero-slide__actions {
    gap: 8px;
  }

  .hero-slide__actions .btn {
    font-size: 13px;
    padding: 10px 20px;
  }

  .hero-slider__dots {
    display: none;
  }

  .hero-slider__stats {
    bottom: 40px;
    padding: 9px 14px;
    gap: 10px;
  }

  .hero-slider__stats .hero__stat-number {
    font-size: 13px;
  }

  .hero-slider__stats .hero__stat-label {
    font-size: 9px;
  }
}

/* ============================================
   RESPONSIVE — Landing Page
   ============================================ */
@media (max-width: 1024px) {
  .lp-hero {
    min-height: 100vh;
    padding: 140px 0 100px;
  }

  .lp-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-contact__wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lp-calculator {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .lp-hero {
    min-height: 100vh;
    padding: 140px 0 80px;
  }

  .lp-hero__subtitle {
    font-size: 16px;
  }

  .lp-hero__actions {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .lp-hero__actions .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .lp-hero__stats {
    flex-direction: row;
    gap: 20px;
    padding: 14px 24px;
  }

  .lp-hero__stat-number {
    font-size: 20px;
  }

  .lp-hero__stat-label {
    font-size: 10px;
  }

  .lp-problems__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lp-problem-card {
    padding: 32px 24px;
  }

  .lp-compare__container {
    aspect-ratio: 4 / 3;
  }

  .lp-features__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lp-feature-card {
    padding: 28px 24px;
  }

  .lp-calculator__inputs {
    padding: 32px 24px;
  }

  .lp-calculator__result-card {
    padding: 36px 24px;
  }

  .lp-contact__wrapper {
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .lp-hero__stats {
    gap: 14px;
    padding: 12px 16px;
  }

  .lp-hero__stat-number {
    font-size: 18px;
  }

  .lp-hero__stat-divider {
    height: 24px;
  }

  .lp-compare__handle-circle {
    width: 36px;
    height: 36px;
  }

  .lp-compare__handle-circle svg {
    width: 14px;
    height: 14px;
  }

  .lp-calculator__label {
    font-size: 13px;
  }

  .lp-calculator__result-value {
    font-size: 32px;
  }
}
