/* ============================================================
   IsoAcoustics Japan - Global Stylesheet
   Production-quality CSS faithfully reproducing IsoAcoustics design
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ------------------------------------------------------------ */

:root {
  /* Brand Colors */
  --iso-green: #0a8a3e;
  --iso-green-hover: #077a34;
  --iso-green-light: #0ca94a;
  --iso-green-muted: #4d8259;
  --iso-dark: #333633;
  --iso-darker: #222422;
  --iso-black: #000000;
  --iso-white: #ffffff;
  --iso-light-gray: #f5f5f5;
  --iso-mid-gray: #e0e0e0;
  --iso-border: #e0e0e0;
  --iso-text: #555555;
  --iso-text-dark: #333333;
  --iso-text-muted: #888888;
  --iso-overlay: rgba(0, 0, 0, 0.5);
  --iso-overlay-light: rgba(0, 0, 0, 0.06);

  /* Typography - Font Families */
  --font-primary: 'Montserrat', 'Noto Sans JP', -apple-system, BlinkMacSystemFont,
    'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
    Meiryo, sans-serif;

  /* Typography - Font Sizes (fluid / clamp) */
  --text-xs: clamp(0.6875rem, 0.65rem + 0.15vw, 0.75rem);
  --text-sm: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --text-base: clamp(0.875rem, 0.825rem + 0.2vw, 1rem);
  --text-md: clamp(1rem, 0.925rem + 0.3vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem);
  --text-3xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.5rem + 4vw, 3.75rem);
  --text-hero: clamp(2.5rem, 1.5rem + 4vw, 3.75rem);
  --text-counter: clamp(2rem, 1rem + 4vw, 3.125rem);

  /* Font Weights */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Line Heights */
  --leading-tight: 1.0;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;
  --leading-loose: 1.9;
  --leading-jp: 1.8;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  --tracking-nav: 1px;
  --tracking-jp: 0.04em;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-section: clamp(3rem, 2rem + 4vw, 6rem);

  /* Layout */
  --max-width: 1140px;
  --container-wide: 1320px;
  --container-narrow: 860px;
  --gutter: clamp(1.5rem, 1rem + 3vw, 5rem);
  --header-height: 80px;
  --anchor-nav-height: 48px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 45px;
  --radius-round: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.15);
  --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.3, 1);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --duration-slower: 600ms;

  /* Z-Index Scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-anchor-nav: 400;
  --z-header: 500;
  --z-overlay: 900;
  --z-modal: 1000;
  --z-newsletter: 1100;
}

/* ------------------------------------------------------------
   3. RESET & BASE STYLES
   ------------------------------------------------------------ */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  color: var(--iso-black);
  background-color: var(--iso-white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Japanese text optimization */
:lang(ja) {
  line-height: var(--leading-jp);
  letter-spacing: var(--tracking-jp);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.text-jp {
  font-feature-settings: 'palt' 1;
  line-height: var(--leading-jp);
  letter-spacing: var(--tracking-jp);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
}

p + p {
  margin-top: 1em;
}

::selection {
  background-color: var(--iso-green);
  color: var(--iso-white);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--iso-green);
  outline-offset: 2px;
}

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

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--iso-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--iso-text-muted);
}

/* ------------------------------------------------------------
   4. LAYOUT & CONTAINER
   ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

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

.full-bleed {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}

/* Section spacing */
.iso-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.iso-section--sm {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.iso-section--lg {
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-5xl);
}

.iso-section--no-top {
  padding-top: 0;
}

.iso-section--no-bottom {
  padding-bottom: 0;
}

/* Background variants */
.bg-white {
  background-color: var(--iso-white);
}

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

.bg-dark {
  background-color: var(--iso-dark);
  color: var(--iso-white);
}

.bg-darker {
  background-color: var(--iso-darker);
  color: var(--iso-white);
}

.bg-green {
  background-color: var(--iso-green);
  color: var(--iso-white);
}

/* ------------------------------------------------------------
   5. TYPOGRAPHY
   ------------------------------------------------------------ */

/* Heading scales - match IsoAcoustics Montserrat usage */
.iso-heading-hero {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-hero);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
}

.iso-heading-1 {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-normal);
}

.iso-heading-2 {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-3xl);
  line-height: var(--leading-snug);
}

.iso-heading-3 {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
}

.iso-heading-4 {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
}

.iso-heading-5 {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
}

/* Section label (e.g., "HOME AUDIO ISOLATION") */
.iso-section-label {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-nav);
  color: var(--iso-green);
  margin-bottom: var(--space-lg);
}

/* Body text */
.iso-text-body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.iso-text-body-lg {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.iso-text-body-xl {
  font-size: 22px;
  line-height: var(--leading-normal);
}

.iso-text-body-sm {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

/* Text colors */
.text-green {
  color: var(--iso-green);
}

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

.text-dark {
  color: var(--iso-dark);
}

.text-white {
  color: var(--iso-white);
}

/* Text utilities */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-balance {
  text-wrap: balance;
}

/* Lead paragraph */
.iso-lead {
  font-size: var(--text-lg);
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
  color: var(--iso-text);
  max-width: 52ch;
}

.iso-lead--wide {
  max-width: 70ch;
}

/* Prose (for content sections) */
.iso-prose {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  max-width: 65ch;
}

.iso-prose p + p {
  margin-top: 1.5em;
}

.iso-prose h2,
.iso-prose h3 {
  margin-top: 2em;
  margin-bottom: 0.75em;
}

/* Japanese-specific typography */
.iso-text-jp {
  font-feature-settings: 'palt' 1;
  line-height: var(--leading-jp);
  letter-spacing: var(--tracking-jp);
}

/* ------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------ */

.iso-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  padding: 18px 25px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background-color var(--duration-normal) var(--ease-default),
    color var(--duration-normal) var(--ease-default),
    transform var(--duration-fast) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.iso-btn:active {
  transform: scale(0.98);
}

/* Primary - Green filled */
.iso-btn--primary {
  background-color: var(--iso-green);
  color: var(--iso-white);
}

.iso-btn--primary:hover {
  background-color: var(--iso-green-hover);
}

/* Secondary - Green muted */
.iso-btn--secondary {
  background-color: var(--iso-green-muted);
  color: var(--iso-white);
}

.iso-btn--secondary:hover {
  background-color: var(--iso-green);
}

/* Outline - White border */
.iso-btn--outline {
  background-color: transparent;
  color: var(--iso-white);
  border: 2px solid var(--iso-white);
}

.iso-btn--outline:hover {
  background-color: var(--iso-white);
  color: var(--iso-dark);
}

/* Outline dark - Dark border */
.iso-btn--outline-dark {
  background-color: transparent;
  color: var(--iso-dark);
  border: 2px solid var(--iso-dark);
}

.iso-btn--outline-dark:hover {
  background-color: var(--iso-dark);
  color: var(--iso-white);
}

/* Ghost - No background */
.iso-btn--ghost {
  background-color: transparent;
  color: var(--iso-green);
  padding: 8px 0;
  border-radius: 0;
}

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

/* Button sizes */
.iso-btn--sm {
  font-size: 13px;
  padding: 12px 18px;
}

.iso-btn--lg {
  font-size: 16px;
  padding: 20px 32px;
}

/* "MORE >>" link style */
.iso-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--iso-green);
  text-transform: uppercase;
  letter-spacing: var(--tracking-nav);
  transition: color var(--duration-fast) var(--ease-default);
}

.iso-more-link::after {
  content: '\00BB';
  font-size: 1.2em;
}

.iso-more-link:hover {
  color: var(--iso-green-hover);
}

/* ------------------------------------------------------------
   7. HEADER & NAVIGATION
   ------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background-color: var(--iso-white);
  height: var(--header-height);
  transition: box-shadow var(--duration-normal) var(--ease-default),
    background-color var(--duration-normal) var(--ease-default);
}

.site-header--scrolled {
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Logo */
.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  z-index: calc(var(--z-header) + 1);
}

.site-header__logo img,
.site-header__logo svg {
  height: 36px;
  width: auto;
}

@media (min-width: 1024px) {
  .site-header__logo img,
  .site-header__logo svg {
    height: 44px;
  }
}

/* Desktop Navigation */
.iso-nav {
  display: none;
}

@media (min-width: 1024px) {
  .iso-nav {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
    margin-right: auto;
    margin-left: 100px;
  }
}

.iso-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--space-lg);
  cursor: pointer;
}

.iso-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
  color: var(--iso-dark);
  transition: color var(--duration-fast) var(--ease-default);
  white-space: nowrap;
  height: 100%;
}

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

.iso-nav__link--active {
  color: var(--iso-green);
}

/* Dropdown arrow */
.iso-nav__arrow {
  width: 10px;
  height: 10px;
  fill: currentColor;
  transition: transform var(--duration-fast) var(--ease-default);
}

.iso-nav__item--open .iso-nav__arrow {
  transform: rotate(180deg);
}

/* Nav link with sublabel (two-line) */
.iso-nav__link-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
}

.iso-nav__sublabel {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--iso-text);
  letter-spacing: 0.5px;
  text-transform: none;
}

.iso-nav__link:hover .iso-nav__sublabel {
  color: var(--iso-green);
}

/* Header actions */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  z-index: calc(var(--z-header) + 1);
}

/* Product Selector link */
.site-header__selector {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--font-jp);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--iso-dark, #333633);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid var(--iso-border, #e0e0e0);
  border-radius: var(--radius-full, 999px);
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .site-header__selector {
    display: flex;
  }
}

.site-header__selector:hover {
  color: var(--iso-green, #0a8a3e);
  border-color: var(--iso-green, #0a8a3e);
  background-color: rgba(10, 138, 62, 0.05);
}

.site-header__selector svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Language selector */
.lang-selector {
  display: none;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--iso-border);
  border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
  .lang-selector {
    display: flex;
  }
}

.lang-selector__flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

/* Mobile menu toggle */
.iso-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: calc(var(--z-header) + 2);
}

@media (min-width: 1024px) {
  .iso-menu-toggle {
    display: none;
  }
}

.iso-menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--iso-dark);
  transition: transform var(--duration-normal) var(--ease-default),
    opacity var(--duration-fast) var(--ease-default);
  position: relative;
}

.iso-menu-toggle__bar::before,
.iso-menu-toggle__bar::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--iso-dark);
  position: absolute;
  left: 0;
  transition: transform var(--duration-normal) var(--ease-default);
}

.iso-menu-toggle__bar::before {
  top: -7px;
}

.iso-menu-toggle__bar::after {
  top: 7px;
}

/* Menu open state */
.iso-menu-toggle--open .iso-menu-toggle__bar {
  background-color: transparent;
}

.iso-menu-toggle--open .iso-menu-toggle__bar::before {
  top: 0;
  transform: rotate(45deg);
}

.iso-menu-toggle--open .iso-menu-toggle__bar::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Header spacer */
.header-spacer {
  height: var(--header-height);
}

/* Mobile Navigation Panel */
.iso-mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-overlay);
  background-color: var(--iso-white);
  padding-top: var(--header-height);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
}

.iso-mobile-nav--open {
  transform: translateX(0);
}

.iso-mobile-nav__list {
  padding: var(--space-xl) var(--gutter);
}

.iso-mobile-nav__item {
  border-bottom: 1px solid var(--iso-border);
}

.iso-mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
}

.iso-mobile-nav__link svg {
  width: 16px;
  height: 16px;
  opacity: 0.4;
  transition: transform var(--duration-fast) var(--ease-default);
}

.iso-mobile-nav__item--open .iso-mobile-nav__link svg {
  transform: rotate(180deg);
}

/* Mobile sub-menu */
.iso-mobile-nav__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-default);
}

.iso-mobile-nav__item--open .iso-mobile-nav__submenu {
  max-height: 1000px;
}

.iso-mobile-nav__sublink {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: var(--iso-text);
}

.iso-mobile-nav__sublink:hover {
  color: var(--iso-green);
}

.iso-mobile-nav__sublink img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* ------------------------------------------------------------
   8. HERO SECTION
   ------------------------------------------------------------ */

.iso-hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  min-height: 80svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(135deg, #333633 0%, #1a1b1a 100%);
}

.iso-hero--full {
  min-height: 100vh;
  min-height: 100svh;
}

.iso-hero--medium {
  min-height: 60vh;
  min-height: 60svh;
}

.iso-hero--short {
  min-height: 50vh;
  min-height: 50svh;
}

.iso-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.iso-hero__media img,
.iso-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile hero: show static image, hide video (iOS Safari blocks autoplay) */
.iso-hero__fallback {
  display: none;
}

@media (max-width: 767px) {
  .iso-hero__video {
    display: none;
  }

  .iso-hero__fallback {
    display: block;
  }
}

.iso-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: 1;
}

.iso-hero__overlay--dark {
  background: rgba(0, 0, 0, 0.5);
}

.iso-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-3xl) var(--gutter);
  max-width: var(--container-wide);
  margin: 0 auto;
  color: var(--iso-white);
}

@media (min-width: 768px) {
  .iso-hero__content {
    padding-bottom: var(--space-4xl);
  }
}

.iso-hero__title {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-hero);
  line-height: var(--leading-tight);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  max-width: 14ch;
}

@media (min-width: 768px) {
  .iso-hero__title {
    font-size: clamp(2.5rem, 2rem + 3vw, 3.75rem);
  }
}

.iso-hero__title,
.iso-hero__subtitle {
  text-wrap: pretty;
}

.iso-hero__subtitle {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  opacity: 0.9;
  max-width: 42ch;
  margin-bottom: var(--space-xl);
}

.iso-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ------------------------------------------------------------
   9. PRODUCT CAROUSEL
   ------------------------------------------------------------ */

.iso-carousel {
  position: relative;
  padding: var(--space-section) 0;
}

.iso-carousel__header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--space-2xl);
}

.iso-carousel__label {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-nav);
  color: var(--iso-green);
  margin-bottom: var(--space-md);
}

.iso-carousel__title {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-3xl);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-lg);
}

.iso-carousel__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--iso-text);
  max-width: 70ch;
}

/* Swiper container */
.iso-carousel__slider {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  overflow: visible;
}

.iso-carousel .swiper {
  overflow: visible;
}

.iso-carousel .swiper-slide {
  width: 320px;
  height: auto;
}

/* Product card */
.iso-card {
  display: flex;
  flex-direction: column;
  background-color: var(--iso-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-normal) var(--ease-default),
    transform var(--duration-normal) var(--ease-default);
  border-bottom: 3px solid var(--iso-green);
}

.iso-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.iso-card__image {
  aspect-ratio: 4 / 3;
  background-color: var(--iso-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.iso-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--duration-slow) var(--ease-default);
}

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

.iso-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-lg);
}

.iso-card__name {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 24px;
  line-height: var(--leading-snug);
  color: var(--iso-black);
  margin-bottom: var(--space-xs);
}

.iso-card__divider {
  width: 40px;
  height: 3px;
  background-color: var(--iso-green);
  margin: var(--space-sm) 0 var(--space-md);
}

.iso-card__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--iso-text);
  margin-bottom: var(--space-lg);
  flex: 1;
}

/* Carousel navigation arrows */
.iso-carousel__nav {
  display: none;
}

@media (min-width: 768px) {
  .iso-carousel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--iso-white);
    border: 1px solid var(--iso-border);
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--ease-default),
      box-shadow var(--duration-fast) var(--ease-default);
    font-size: 20px;
    color: var(--iso-dark);
  }

  .iso-carousel__nav:hover {
    background-color: var(--iso-green);
    color: var(--iso-white);
    box-shadow: var(--shadow-lg);
  }
}

.iso-carousel__nav--prev {
  left: 0;
}

.iso-carousel__nav--next {
  right: 0;
}

/* Carousel pagination dots */
.iso-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-xl);
}

.iso-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  border: 1.5px solid var(--iso-text-muted);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--duration-fast), border-color var(--duration-fast);
}

.iso-carousel__dot.is-active,
.iso-carousel__dot--active {
  background: var(--iso-green);
  border-color: var(--iso-green);
}

/* Carousel footer */
.iso-carousel__footer {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}

/* Mobile: show 1 card at a time in carousel */
@media (max-width: 767px) {
  .iso-carousel__track {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px !important;
  }
  .iso-carousel__track > .iso-card {
    width: 85vw !important;
    min-width: 280px;
    flex-shrink: 0 !important;
    scroll-snap-align: center;
  }
  .iso-carousel__nav {
    display: none;
  }
}

/* Tablet: show 2 cards per row */
@media (min-width: 768px) and (max-width: 1023px) {
  .iso-carousel__track > .iso-card {
    width: calc((100% - 24px) / 2) !important;
  }
}

/* ------------------------------------------------------------
   10. TECHNOLOGY / "ONLY GOOD VIBRATIONS" SECTION
   ------------------------------------------------------------ */

.iso-feature {
  padding: var(--space-section) 0;
  text-align: center;
}

.iso-feature__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.iso-feature__title {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-3xl);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-lg);
}

.iso-feature__text {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--iso-text);
  margin-bottom: var(--space-2xl);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* Feature with image background */
.iso-feature--image {
  position: relative;
  padding: var(--space-5xl) 0;
  text-align: left;
}

.iso-feature--image .iso-feature__inner {
  max-width: var(--max-width);
  position: relative;
  z-index: 2;
  color: var(--iso-white);
}

/* OEM Partners section (full-width image) */
.iso-feature--oem {
  position: relative;
  overflow: hidden;
}

.iso-feature--oem .iso-feature__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.iso-feature--oem .iso-feature__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------
   11. TESTIMONIAL SECTION
   ------------------------------------------------------------ */

.iso-testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 768px) {
  .iso-testimonial {
    flex-direction: row;
    min-height: 500px;
  }
}

.iso-testimonial__image {
  flex: 0 0 50%;
  overflow: hidden;
}

.iso-testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iso-testimonial__content {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl) var(--gutter);
  background-color: var(--iso-dark);
  color: var(--iso-white);
}

@media (min-width: 768px) {
  .iso-testimonial__content {
    padding: var(--space-4xl);
  }
}

.iso-testimonial__quote {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
  color: var(--iso-green);
  margin-bottom: var(--space-lg);
}

.iso-testimonial__text {
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  line-height: var(--leading-relaxed);
  color: var(--iso-green);
  margin-bottom: var(--space-xl);
}

.iso-testimonial__author {
  font-size: 14px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.iso-testimonial__role {
  font-size: 13px;
  font-weight: var(--weight-regular);
  color: var(--iso-green);
  text-transform: uppercase;
  margin-top: var(--space-2xs);
}

.iso-testimonial__award {
  font-size: 12px;
  font-weight: var(--weight-regular);
  color: var(--iso-text-muted);
  text-transform: uppercase;
  margin-top: var(--space-2xs);
}

/* ------------------------------------------------------------
   12. STATS / COUNTER SECTION
   ------------------------------------------------------------ */

.iso-stats {
  padding: var(--space-section) 0;
  text-align: center;
  background-color: var(--iso-white);
}

.iso-stats__logo {
  max-width: 300px;
  margin: 0 auto var(--space-lg);
}

.iso-stats__tagline {
  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  color: var(--iso-text);
  margin-bottom: var(--space-3xl);
}

.iso-stats__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .iso-stats__grid {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-4xl);
  }
}

.iso-stats__item {
  text-align: center;
}

.iso-stats__number {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-counter);
  color: var(--iso-green);
  line-height: 1;
}

.iso-stats__label {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-counter);
  color: var(--iso-black);
  text-transform: uppercase;
  line-height: 1;
}

.iso-stats__footer {
  margin-top: var(--space-3xl);
}

/* ------------------------------------------------------------
   13. PRODUCT SELECTOR CTA
   ------------------------------------------------------------ */

.iso-cta {
  padding: var(--space-section) 0;
  text-align: center;
  background-color: var(--iso-light-gray);
}

.iso-cta__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.iso-cta__title {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-3xl);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-lg);
}

.iso-cta__text {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--iso-text);
  margin-bottom: var(--space-2xl);
}

/* Floating Product Selector button (fixed bottom-right) */
.iso-product-selector-fab {
  position: fixed;
  bottom: 80px;
  right: var(--space-xl);
  z-index: var(--z-sticky);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: var(--iso-green);
  color: var(--iso-white);
  font-size: 14px;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-nav);
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  transition: background-color var(--duration-fast) var(--ease-default),
    transform var(--duration-fast) var(--ease-default);
}

.iso-product-selector-fab:hover {
  background-color: var(--iso-green-hover);
  transform: translateY(-2px);
}

.iso-product-selector-fab svg {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------ */

.site-footer {
  background-color: var(--iso-dark);
  color: var(--iso-white);
}

.site-footer__main {
  padding: var(--space-3xl) 0;
}

.site-footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: var(--space-xl);
  }
}

/* Footer brand column */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.site-footer__brand-logo img,
.site-footer__brand-logo svg {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-footer__social {
  display: flex;
  gap: var(--space-sm);
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-round);
  color: var(--iso-white);
  transition: background-color var(--duration-fast) var(--ease-default),
    border-color var(--duration-fast) var(--ease-default);
}

.site-footer__social-link:hover {
  background-color: var(--iso-green);
  border-color: var(--iso-green);
}

.site-footer__social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.site-footer__address {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__address a {
  color: var(--iso-green);
  transition: color var(--duration-fast) var(--ease-default);
}

.site-footer__address a:hover {
  color: var(--iso-green-light);
}

/* Footer nav columns */
.site-footer__column {}

.site-footer__heading {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--weight-bold);
  color: var(--iso-white);
  margin-bottom: var(--space-lg);
  text-transform: none;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.site-footer__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--iso-green);
  transition: color var(--duration-fast) var(--ease-default);
  line-height: var(--leading-relaxed);
}

.site-footer__link:hover {
  color: var(--iso-green-light);
}

/* Footer bottom bar */
.site-footer__bottom {
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* ------------------------------------------------------------
   15. NEWSLETTER BAR (Sticky bottom)
   ------------------------------------------------------------ */

.iso-newsletter-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-newsletter);
  background-color: var(--iso-green);
  color: var(--iso-white);
  padding: 12px 0;
}

.iso-newsletter-bar__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.iso-newsletter-bar__left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex: 1;
}

.iso-newsletter-bar__title {
  font-size: 14px;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-nav);
  white-space: nowrap;
}

.iso-newsletter-bar__form {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.iso-newsletter-bar__input {
  background-color: var(--iso-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
  color: var(--iso-text);
  width: 160px;
}

.iso-newsletter-bar__input::placeholder {
  color: var(--iso-green);
}

.iso-newsletter-bar__submit {
  background-color: var(--iso-dark);
  color: var(--iso-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-default);
}

.iso-newsletter-bar__submit:hover {
  background-color: var(--iso-darker);
}

.iso-newsletter-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.iso-newsletter-bar__dealer-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--iso-white);
  white-space: nowrap;
}

.iso-newsletter-bar__dealer-link svg {
  width: 16px;
  height: 16px;
}

/* Hide newsletter bar on small screens */
@media (max-width: 767px) {
  .iso-newsletter-bar__form {
    display: none;
  }

  .iso-newsletter-bar__inner {
    justify-content: center;
  }
}

/* Body padding to account for newsletter bar */
body {
  padding-bottom: 56px;
}

/* ------------------------------------------------------------
   16. FULL-WIDTH IMAGE SECTIONS
   ------------------------------------------------------------ */

.iso-fullwidth-img {
  width: 100%;
  overflow: hidden;
}

.iso-fullwidth-img img {
  width: 100%;
  display: block;
}

.iso-fullwidth-img--cover img {
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.iso-fullwidth-img--16x9 img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Two-column image+text */
.iso-split {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .iso-split {
    flex-direction: row;
  }

  .iso-split--reverse {
    flex-direction: row-reverse;
  }
}

.iso-split__media {
  flex: 0 0 50%;
  overflow: hidden;
}

.iso-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iso-split__content {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl) var(--gutter);
}

@media (min-width: 768px) {
  .iso-split__content {
    padding: var(--space-4xl);
  }
}

/* ------------------------------------------------------------
   17. UTILITY CLASSES
   ------------------------------------------------------------ */

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

/* Visibility */
.hidden {
  display: none !important;
}

.visible {
  display: block;
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

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

.justify-between {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

/* Grid utilities */
.grid {
  display: grid;
}

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

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

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

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

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

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

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

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

/* Margin utilities */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Max width utilities */
.max-w-narrow {
  max-width: var(--container-narrow);
}

.max-w-content {
  max-width: var(--max-width);
}

/* Width */
.w-full {
  width: 100%;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* ------------------------------------------------------------
   18. ANIMATIONS
   ------------------------------------------------------------ */

/* Fade in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slower) var(--ease-default),
    transform var(--duration-slower) var(--ease-out);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in up variants */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slower) var(--ease-default),
    transform var(--duration-slower) var(--ease-out);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-default),
    transform var(--duration-slow) var(--ease-out);
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: 600ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(8) { transition-delay: 700ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(9) { transition-delay: 800ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(10) { transition-delay: 900ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(11) { transition-delay: 1000ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(n+12) { transition-delay: 1100ms; opacity: 1; transform: translateY(0); }

/* Counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.iso-stats__number[data-animated] {
  animation: countUp var(--duration-slower) var(--ease-out) forwards;
}

/* Slide in from sides */
.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-slower) var(--ease-default),
    transform var(--duration-slower) var(--ease-out);
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slower) var(--ease-default),
    transform var(--duration-slower) var(--ease-out);
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Green underline grow animation */
@keyframes underlineGrow {
  from { width: 0; }
  to { width: 40px; }
}

/* Pulse for CTA */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ------------------------------------------------------------
   19. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */

/* Mobile-first: base styles are for mobile */

/* Tablet: 768px */
@media (min-width: 768px) {
  :root {
    --header-height: 80px;
  }
}

/* Desktop: 1024px */
@media (min-width: 1024px) {
  .iso-hero__title {
    font-size: 60px;
    line-height: 60px;
  }
}

/* Large desktop: 1440px */
@media (min-width: 1440px) {
  .iso-hero__content {
    padding-bottom: var(--space-5xl);
  }
}

/* Mobile-only styles */
@media (max-width: 767px) {
  .iso-hero {
    min-height: 60vh;
    min-height: 60svh;
  }

  .iso-hero__title {
    font-size: 32px;
    line-height: 36px;
  }

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

  .iso-hero__actions {
    flex-direction: column;
  }

  .iso-hero__actions .iso-btn {
    width: 100%;
    justify-content: center;
  }

  .iso-testimonial {
    flex-direction: column;
  }

  .iso-testimonial__image {
    max-height: 300px;
  }

  .iso-testimonial__content {
    padding: var(--space-2xl) var(--gutter);
  }

  .iso-testimonial__quote {
    font-size: var(--text-xl);
  }

  .iso-stats__grid {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .iso-stats__number,
  .iso-stats__label {
    font-size: 32px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    padding: 0 var(--gutter);
  }

  .iso-newsletter-bar {
    padding: 8px 0;
  }

  body {
    padding-bottom: 48px;
  }
}

/* Tablet-only */
@media (min-width: 768px) and (max-width: 1023px) {
  .iso-hero__title {
    font-size: 48px;
    line-height: 52px;
  }

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

/* Print styles */
@media print {
  .site-header,
  .iso-newsletter-bar,
  .iso-product-selector-fab,
  .iso-mobile-nav {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }

  .header-spacer {
    height: 0;
  }
}

/* ------------------------------------------------------------
   20. DARK MODE (optional, respects user preference)
   ------------------------------------------------------------ */

@media (prefers-color-scheme: dark) {
  /* Dark mode is opt-in; add .dark-mode class to html to enable */
}

.dark-mode {
  --iso-white: #1a1a1a;
  --iso-light-gray: #222222;
  --iso-border: #333333;
  --iso-text: #cccccc;
  --iso-text-dark: #e0e0e0;
  --iso-black: #ffffff;
}

/* ===========================
   Section Title & Description (non-product pages)
   =========================== */
.iso-section--gray {
  background-color: var(--iso-light-gray);
}

/* Product Selector CTA */
.iso-section--cta {
  background: var(--iso-dark);
  color: #fff;
  padding: var(--space-xl) 0;
  text-align: center;
}

.iso-section--cta .iso-section__title {
  color: #fff;
}

.iso-section--cta .iso-section__desc {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

.iso-section__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.iso-section__title {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: var(--text-3xl);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-lg);
  color: var(--iso-dark);
}

.iso-section__desc {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--iso-text);
}

/* ===========================
   Partner Logo Grid
   =========================== */
.iso-partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--gutter);
  align-items: center;
}

.iso-partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--iso-white);
  transition: box-shadow 0.3s ease;
}

.iso-partner-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.iso-partner-item img {
  max-height: 60px;
  max-width: 100%;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.iso-partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===========================
   Contact Grid
   =========================== */
.iso-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.iso-contact-info__heading {
  font-family: var(--font-primary, 'Montserrat', sans-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--iso-dark, #333633);
  margin-bottom: 4px;
}

.iso-contact-info__company {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--iso-text, #555555);
  margin-bottom: 2rem;
}

.iso-contact-info address {
  font-style: normal;
  line-height: 1.8;
}

.iso-contact-info__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--iso-border, #e0e0e0);
}

.iso-contact-info__row:last-child {
  border-bottom: none;
}

.iso-contact-info__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--iso-green, #12b051);
  margin-top: 2px;
}

.iso-contact-info a {
  color: var(--iso-green, #12b051);
  text-decoration: none;
  transition: color 150ms ease;
}

.iso-contact-info a:hover {
  text-decoration: underline;
}

.iso-contact-map {
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.iso-contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* Support section */
.iso-contact-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.iso-contact-support__item {
  background: var(--iso-white, #ffffff);
  border: 1px solid var(--iso-border, #e0e0e0);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.iso-contact-support__item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.iso-contact-support__label {
  font-family: var(--font-primary, 'Montserrat', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--iso-dark, #333633);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.iso-contact-support__link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--iso-green, #12b051);
  text-decoration: none;
  transition: color 150ms ease;
}

.iso-contact-support__link:hover {
  text-decoration: underline;
}

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

/* ===========================
   Product Card Grid (for home-audio landing)
   =========================== */
.iso-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

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

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

@media (max-width: 480px) {
  .iso-product-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PARTNERS PAGE
   ============================================================ */

/* Quote Block */
.iso-quote-block {
  background-color: var(--iso-dark, #333633);
  padding: var(--space-section) var(--gutter);
  text-align: center;
}

.iso-quote-block__inner {
  max-width: 900px;
  margin: 0 auto;
}

.iso-quote-block__text {
  font-family: var(--font-primary, 'Montserrat', sans-serif);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--iso-white, #ffffff);
  line-height: 1.8;
}

.iso-quote-block__text::before { content: "\201C"; }
.iso-quote-block__text::after { content: "\201D"; }

/* News Grid */
.iso-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.iso-news-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--iso-white, #ffffff);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 200ms ease, transform 200ms ease;
  text-decoration: none;
  color: var(--iso-dark, #333633);
}

.iso-news-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

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

.iso-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

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

.iso-news-card__body {
  padding: 16px;
}

.iso-news-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--iso-dark, #333633);
}

.iso-news-card:hover .iso-news-card__title {
  color: var(--iso-green, #0a8a3e);
}
