@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --color-navy: #0f1e3d;
  --color-navy-light: #1a2f5a;
  --color-coral: #e85d3a;
  --color-coral-light: #f07355;
  --color-yellow: #f5c842;
  --color-yellow-dark: #d4a800;
  --color-lime: #b5d94a;
  --color-lime-dark: #8fb835;
  --color-white: #fafaf8;
  --color-off-white: #f2f0eb;
  --color-text-dark: #1a1a2e;
  --color-text-mid: #3d3d5c;
  --color-text-light: #fafaf8;
  --color-text-muted: #6b6b8a;

  --shadow-sm: 0 1px 3px rgba(15,30,61,0.08), 0 1px 2px rgba(15,30,61,0.05);
  --shadow-md: 0 4px 12px rgba(15,30,61,0.12), 0 2px 6px rgba(15,30,61,0.08);
  --shadow-lg: 0 10px 30px rgba(15,30,61,0.15), 0 4px 12px rgba(15,30,61,0.1);
  --shadow-xl: 0 20px 50px rgba(15,30,61,0.2), 0 8px 20px rgba(15,30,61,0.12);
  --shadow-card: 0 2px 8px rgba(15,30,61,0.1), 0 8px 24px rgba(15,30,61,0.08);
  --shadow-card-hover: 0 4px 16px rgba(15,30,61,0.15), 0 16px 40px rgba(15,30,61,0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
  padding-bottom: 64px;

  @media (min-width: 768px) {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(15,30,61,0.08);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);

  @media (min-width: 768px) {
    padding: 0 var(--space-lg);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  text-align: center;
  min-height: 44px;

  &--primary {
    background: var(--color-coral);
    color: var(--color-white);
    border-color: var(--color-coral);
    box-shadow: var(--shadow-sm);

    &:hover {
      background: var(--color-coral-light);
      border-color: var(--color-coral-light);
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }
  }

  &--outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.6);

    &:hover {
      background: rgba(255,255,255,0.15);
      border-color: var(--color-white);
      transform: translateY(-2px);
    }
  }

  &--sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    min-height: 38px;
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;

  &.scrolled {
    background: rgba(15, 30, 61, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom-color: rgba(255,255,255,0.08);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  }

  & .nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    @media (min-width: 768px) {
      padding: 0 var(--space-lg);
    }
  }

  & .nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;

    & .nav__logo-img {
      width: 36px;
      height: 36px;
    }

    & .nav__logo-text {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--color-white);
      letter-spacing: -0.01em;
    }
  }

  & .nav__links {
    display: none;
    align-items: center;
    gap: var(--space-lg);

    @media (min-width: 900px) {
      display: flex;
    }

    & .nav__link {
      color: rgba(255,255,255,0.85);
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: 0.01em;
      padding: 0.25rem 0;
      border-bottom: 2px solid transparent;
      transition: color 0.2s ease, border-color 0.2s ease;

      &:hover {
        color: var(--color-white);
        border-bottom-color: var(--color-coral);
      }

      &--active {
        color: var(--color-white);
        border-bottom-color: var(--color-yellow);
      }
    }
  }

  & .nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;

    @media (min-width: 900px) {
      display: none;
    }

    & span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--color-white);
      border-radius: 2px;
      transition: all 0.3s ease;
    }
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-navy);
  z-index: 200;
  clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0);
  transition: clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);

  &.is-open {
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
  }

  & .mobile-menu__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;

    &:hover {
      background: rgba(255,255,255,0.1);
    }
  }

  & .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);

    & .mobile-menu__link {
      font-family: var(--font-heading);
      font-size: clamp(1.5rem, 5vw, 2.5rem);
      color: rgba(255,255,255,0.85);
      transition: color 0.2s ease, transform 0.2s ease;
      opacity: 0;
      transform: translateY(20px);

      &:hover {
        color: var(--color-yellow);
        transform: translateY(-2px);
      }
    }
  }

  &.is-open .mobile-menu__link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;

    &:nth-child(1) { transition-delay: 0.3s; }
    &:nth-child(2) { transition-delay: 0.38s; }
    &:nth-child(3) { transition-delay: 0.46s; }
    &:nth-child(4) { transition-delay: 0.54s; }
  }
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

  &.is-visible {
    opacity: 1;
    pointer-events: all;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);

  & .hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, #1a2f5a 40%, #0d2847 70%, #0a1f3d 100%);
    z-index: 0;
  }

  & .hero__mid-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;

    & .hero__circle {
      position: absolute;
      border-radius: 50%;
      opacity: 0.08;

      &--1 {
        width: 600px;
        height: 600px;
        background: var(--color-coral);
        top: -200px;
        right: -100px;
        animation: float-slow 8s ease-in-out infinite;
      }

      &--2 {
        width: 400px;
        height: 400px;
        background: var(--color-yellow);
        bottom: -100px;
        left: -80px;
        animation: float-slow 10s ease-in-out infinite reverse;
      }
    }

    & .hero__grid-lines {
      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;
    }
  }

  & .hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    display: grid;
    gap: var(--space-xl);
    align-items: center;

    @media (min-width: 768px) {
      padding: var(--space-xl) var(--space-lg);
    }

    @media (min-width: 1024px) {
      grid-template-columns: 1fr 1fr;
      padding: var(--space-3xl) var(--space-lg);
    }
  }

  & .hero__content {
    animation: hero-fade-up 0.8s ease forwards;

    & .hero__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-yellow);
      background: rgba(245,200,66,0.12);
      padding: 0.4rem 0.9rem;
      border-radius: var(--radius-xl);
      border: 1px solid rgba(245,200,66,0.25);
      margin-bottom: var(--space-md);
    }

    & .hero__heading {
      font-family: var(--font-heading);
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 700;
      color: var(--color-white);
      line-height: 1.15;
      letter-spacing: -0.02em;
      margin-bottom: var(--space-md);
    }

    & .hero__desc {
      font-size: clamp(1rem, 2vw, 1.15rem);
      color: rgba(255,255,255,0.75);
      max-width: 520px;
      margin-bottom: var(--space-lg);
      line-height: 1.7;
    }

    & .hero__actions {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-sm);
    }
  }

  & .hero__cards {
    position: relative;
    height: 360px;

    @media (min-width: 1024px) {
      height: 420px;
    }

    & .hero__card {
      position: absolute;
      background: rgba(255,255,255,0.06);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: var(--radius-lg);
      padding: var(--space-md);
      width: 260px;
      box-shadow: var(--shadow-lg);
      transition: transform 0.3s ease, box-shadow 0.3s ease;

      &:hover {
        transform: translateY(-4px) !important;
        box-shadow: var(--shadow-xl);
      }

      & i {
        font-size: 1.5rem;
        margin-bottom: var(--space-sm);
        display: block;
      }

      & h3 {
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 700;
        color: var(--color-white);
        margin-bottom: 0.5rem;
        line-height: 1.3;
      }

      & p {
        font-size: 0.85rem;
        color: rgba(255,255,255,0.7);
        line-height: 1.5;
      }

      &--1 {
        top: 0;
        left: 0;
        transform: rotate(-3deg);
        color: var(--color-yellow);
        animation: hero-fade-up 0.8s 0.2s ease both;
        z-index: 3;
      }

      &--2 {
        top: 80px;
        left: 60px;
        transform: rotate(1deg);
        color: var(--color-coral);
        animation: hero-fade-up 0.8s 0.35s ease both;
        z-index: 2;
      }

      &--3 {
        top: 165px;
        left: 120px;
        transform: rotate(-1.5deg);
        color: var(--color-lime);
        animation: hero-fade-up 0.8s 0.5s ease both;
        z-index: 1;
      }
    }
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(var(--r, 0deg));
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--r, 0deg));
  }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.section {
  padding: var(--space-2xl) 0;

  &--yellow {
    background: var(--color-yellow);
  }

  &--navy {
    background: var(--color-navy);
  }

  &--coral {
    background: var(--color-coral);
  }

  &--lime {
    background: var(--color-lime);
  }

  &--white {
    background: var(--color-white);
  }

  &--scroll-color {
    background: var(--color-navy);
    transition: background 0.1s linear;
  }

  &--map {
    background: var(--color-off-white);
    padding: var(--space-xl) 0;
  }
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);

  &--light {
    & .section__heading,
    & .section__sub {
      color: var(--color-text-light);
    }
  }
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: rgba(15,30,61,0.08);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-sm);

  &--light {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.12);
  }
}

.section__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.section__sub {
  font-size: 1.05rem;
  color: var(--color-text-mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.topics-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;

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

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

.card {
  border-radius: var(--radius-lg);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;

  &--topic {
    background: var(--color-white);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);

    &:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-card-hover);
    }

    & .card__icon-wrap {
      width: 52px;
      height: 52px;
      background: var(--color-navy);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: var(--space-md);
      font-size: 1.3rem;
      color: var(--color-yellow);
      box-shadow: 0 4px 12px rgba(15,30,61,0.25);
    }

    & .card__title {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--color-text-dark);
      margin-bottom: 0.6rem;
      line-height: 1.3;
    }

    & .card__body {
      font-size: 0.9rem;
      color: var(--color-text-mid);
      line-height: 1.65;
      margin-bottom: var(--space-md);
    }

    & .card__link {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--color-coral);
      transition: gap 0.2s ease;

      &:hover {
        gap: 0.7rem;
      }
    }
  }

  &--article {
    background: var(--color-white);
    overflow: hidden;
    box-shadow: var(--shadow-card);

    &:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-card-hover);
    }

    & .card__img-wrap {
      overflow: hidden;
      height: 200px;

      & .card__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
      }
    }

    &:hover .card__img {
      transform: scale(1.05);
    }

    & .card__body-wrap {
      padding: var(--space-md);
    }

    & .card__tag {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--color-coral);
      background: rgba(232,93,58,0.1);
      padding: 0.2rem 0.6rem;
      border-radius: var(--radius-xl);
      margin-bottom: 0.6rem;
    }

    & .card__title {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--color-text-dark);
      margin-bottom: 0.6rem;
      line-height: 1.3;
    }

    & .card__body {
      font-size: 0.9rem;
      color: var(--color-text-mid);
      line-height: 1.65;
      margin-bottom: var(--space-md);
    }

    &--featured {
      grid-column: span 1;

      @media (min-width: 768px) {
        grid-column: span 2;

        & .card__img-wrap {
          height: 280px;
        }
      }
    }
  }
}

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

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

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

.benefit {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;

  & .benefit__icon {
    font-size: 1.4rem;
    color: var(--color-lime);
    flex-shrink: 0;
    margin-top: 2px;
  }

  & .benefit__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.4rem;
    line-height: 1.3;
  }

  & .benefit__body {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
  }
}

.process-steps {
  display: grid;
  gap: var(--space-lg);
  position: relative;

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

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

.step {
  position: relative;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, transform 0.3s ease;

  &:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-4px);
  }

  & .step__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    margin-bottom: var(--space-sm);
  }

  & .step__icon {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    display: block;
  }

  & .step__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }

  & .step__body {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
  }

  & .step__connector {
    display: none;
  }
}

.insight-layout {
  display: grid;
  gap: var(--space-xl);
  align-items: center;

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

.insight__text {
  & p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    margin-bottom: var(--space-md);

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.insight__image {
  & .insight__img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
  }
}

.articles-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;

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

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

.newsletter-strip {
  background: var(--color-navy);
  padding: var(--space-xl) 0;
  border-top: 4px solid var(--color-coral);

  & .newsletter__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    text-align: center;

    @media (min-width: 768px) {
      flex-direction: row;
      text-align: left;
      justify-content: space-between;
    }
  }

  & .newsletter__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--color-white);
    font-weight: 700;
    line-height: 1.3;
  }

  & .newsletter__sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.3rem;
  }

  & .newsletter__form {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;

    @media (min-width: 768px) {
      flex-wrap: nowrap;
      justify-content: flex-end;
    }

    & .newsletter__input {
      padding: 0.75rem 1.2rem;
      border-radius: var(--radius-md);
      border: 2px solid rgba(255,255,255,0.2);
      background: rgba(255,255,255,0.08);
      color: var(--color-white);
      font-family: var(--font-body);
      font-size: 0.95rem;
      min-width: 260px;
      min-height: 44px;
      transition: border-color 0.2s ease, background 0.2s ease;

      &::placeholder {
        color: rgba(255,255,255,0.4);
      }

      &:focus {
        outline: none;
        border-color: var(--color-yellow);
        background: rgba(255,255,255,0.12);
      }
    }
  }
}

.about-layout {
  display: grid;
  gap: var(--space-xl);
  align-items: center;

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

.about__image {
  & .about__img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
  }
}

.about__text {
  & p {
    font-size: 1rem;
    color: var(--color-text-mid);
    line-height: 1.75;
    margin-bottom: var(--space-md);
  }
}

.footer {
  background: #080e1f;
  color: rgba(255,255,255,0.75);
  padding: var(--space-2xl) 0 var(--space-lg);

  & .footer__grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);

    @media (min-width: 640px) {
      grid-template-columns: 2fr 1fr 1fr;
    }
  }

  & .footer__brand {
    & .footer__logo {
      width: 40px;
      height: 40px;
      margin-bottom: var(--space-sm);
    }

    & .footer__tagline {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.55);
      line-height: 1.6;
      margin-bottom: var(--space-md);
      max-width: 280px;
    }

    & .footer__address {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.5);
      line-height: 1.8;

      & a {
        color: rgba(255,255,255,0.6);
        transition: color 0.2s ease;

        &:hover {
          color: var(--color-yellow);
        }
      }
    }
  }

  & .footer__nav {
    & .footer__nav-heading {
      font-family: var(--font-heading);
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--color-white);
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: var(--space-md);
    }

    & ul {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;

      & li a {
        font-size: 0.9rem;
        color: rgba(255,255,255,0.55);
        transition: color 0.2s ease;

        &:hover {
          color: var(--color-yellow);
        }
      }
    }
  }

  & .footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;

    @media (min-width: 640px) {
      flex-direction: row;
      justify-content: space-between;
    }

    & p {
      font-size: 0.8rem;
      color: rgba(255,255,255,0.35);

      & a {
        color: rgba(255,255,255,0.45);
        transition: color 0.2s ease;

        &:hover {
          color: var(--color-yellow);
        }
      }
    }
  }
}

.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 90;
  height: 64px;

  @media (min-width: 768px) {
    display: none;
  }

  & .mobile-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255,255,255,0.5);
    font-size: 0.65rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    min-height: 44px;

    & i {
      font-size: 1.1rem;
    }

    &--active,
    &:hover {
      color: var(--color-yellow);
    }
  }
}

.page-hero {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);

  &--navy {
    background: var(--color-navy);

    & .page-hero__eyebrow,
    & .page-hero__heading,
    & .page-hero__desc {
      color: var(--color-white);
    }

    & .page-hero__eyebrow {
      color: var(--color-yellow);
    }

    & .page-hero__desc {
      color: rgba(255,255,255,0.7);
    }
  }

  &--coral {
    background: var(--color-coral);

    & .page-hero__eyebrow,
    & .page-hero__heading,
    & .page-hero__desc {
      color: var(--color-white);
    }

    & .page-hero__desc {
      color: rgba(255,255,255,0.85);
    }
  }

  &--lime {
    background: var(--color-lime);

    & .page-hero__eyebrow,
    & .page-hero__heading {
      color: var(--color-navy);
    }

    & .page-hero__desc {
      color: rgba(15,30,61,0.75);
    }
  }

  & .page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
  }

  & .page-hero__heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
  }

  & .page-hero__desc {
    font-size: 1.05rem;
    max-width: 620px;
    line-height: 1.7;
  }
}

.prose-layout {
  display: grid;
  gap: var(--space-xl);

  @media (min-width: 1024px) {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

.prose {
  max-width: 720px;

  & h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text-dark);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    line-height: 1.25;
    letter-spacing: -0.02em;

    &:first-child {
      margin-top: 0;
    }
  }

  & p {
    font-size: 1.02rem;
    color: var(--color-text-mid);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }

  & .prose__img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: var(--space-lg) 0;
    object-fit: cover;
    aspect-ratio: 16/9;
  }
}

.prose-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
}

.sidebar-card {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);

  &--accent {
    background: var(--color-navy);

    & .sidebar-card__heading {
      color: var(--color-white);
    }

    & p {
      color: rgba(255,255,255,0.7);
    }
  }

  & .sidebar-card__heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
  }

  & p {
    font-size: 0.88rem;
    color: var(--color-text-mid);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
  }

  & .sidebar-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    & li {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      font-size: 0.88rem;
      color: var(--color-text-mid);
      line-height: 1.5;

      & i {
        color: var(--color-coral);
        font-size: 0.6rem;
        margin-top: 4px;
        flex-shrink: 0;
      }
    }

    &--links li {
      & a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--color-coral);
        font-weight: 500;
        font-size: 0.88rem;
        transition: gap 0.2s ease;

        &:hover {
          gap: 0.8rem;
        }
      }
    }
  }
}

.patent-condition {
  background: var(--color-off-white);
  border-left: 4px solid var(--color-coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md);
  margin-bottom: var(--space-md);

  & .patent-condition__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;

    & i {
      color: var(--color-coral);
    }
  }

  & p {
    font-size: 0.9rem;
    color: var(--color-text-mid);
    line-height: 1.65;
    margin-bottom: 0;
  }
}

.contact-layout {
  display: grid;
  gap: var(--space-xl);

  @media (min-width: 1024px) {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
}

.contact__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.contact__sub {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

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

.accordion-section {
  border: 2px solid var(--color-off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease;

  &--open {
    border-color: var(--color-navy);
  }

  & .accordion-section__header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;

    &:hover {
      background: var(--color-off-white);
    }

    & .accordion-section__num {
      font-family: var(--font-heading);
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--color-navy);
      min-width: 36px;
    }

    & .accordion-section__title {
      flex: 1;
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--color-text-dark);
    }

    & .accordion-section__arrow {
      color: var(--color-text-muted);
      font-size: 0.85rem;
      transition: transform 0.3s ease;
    }
  }

  &--open .accordion-section__arrow {
    transform: rotate(180deg);
  }

  & .accordion-section__body {
    padding: 0 var(--space-md) var(--space-md);
    display: none;
  }

  &--open .accordion-section__body {
    display: block;
  }
}

.form-group {
  margin-bottom: var(--space-md);

  &--checkbox {
    margin-bottom: var(--space-md);
  }
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-off-white);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background: var(--color-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;

  &:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(15,30,61,0.08);
  }

  &--textarea {
    resize: vertical;
    min-height: 120px;
  }
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text-mid);
  line-height: 1.5;

  & a {
    color: var(--color-coral);
    text-decoration: underline;
  }
}

.form-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-off-white);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: var(--color-white);

  .form-checkbox:checked + & {
    background: var(--color-navy);
    border-color: var(--color-navy);

    &::after {
      content: '';
      display: block;
      width: 5px;
      height: 9px;
      border: 2px solid white;
      border-top: none;
      border-left: none;
      transform: rotate(45deg) translate(-1px, -1px);
    }
  }
}

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

.contact-info-card {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);

  & .contact-info-card__heading {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
  }

  & .contact-info-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;

    & li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      font-size: 0.9rem;
      color: var(--color-text-mid);

      & i {
        color: var(--color-coral);
        font-size: 1rem;
        margin-top: 2px;
        flex-shrink: 0;
        width: 18px;
      }

      & a {
        color: var(--color-coral);
        transition: color 0.2s ease;

        &:hover {
          color: var(--color-navy);
        }
      }
    }
  }
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(15,30,61,0.06);

  &--closed {
    & .hours-time {
      color: var(--color-text-muted);
    }
  }

  & .hours-day {
    color: var(--color-text-dark);
    font-weight: 500;
  }

  & .hours-time {
    color: var(--color-text-mid);
    font-size: 0.85rem;
  }
}

.hours-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: var(--space-sm);
}

.map__heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.thanks-section {
  min-height: calc(100svh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-md);
  padding-top: calc(var(--nav-height) + var(--space-3xl));

  & .thanks-inner {
    text-align: center;
    max-width: 520px;
  }

  & .thanks-icon-wrap {
    margin-bottom: var(--space-lg);
  }

  & .thanks-icon {
    font-size: 4rem;
    color: var(--color-lime-dark);
  }

  & .thanks-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
    line-height: 1.2;
  }

  & .thanks-body {
    font-size: 1.05rem;
    color: var(--color-text-mid);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
  }
}

.legal-doc {
  max-width: 800px;

  & .legal-intro {
    font-size: 1rem;
    color: var(--color-text-mid);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-navy);
  }
}

.legal-qa {
  margin-bottom: var(--space-xl);

  & .legal-q {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-yellow);
    display: inline-block;
  }

  & .legal-a {
    & p {
      font-size: 0.95rem;
      color: var(--color-text-mid);
      line-height: 1.8;
      margin-bottom: var(--space-sm);

      & strong {
        color: var(--color-text-dark);
        font-weight: 600;
      }
    }
  }
}

.legal-doc--terms {
  & .legal-heading-letter {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
    border-left: 4px solid var(--color-coral);
  }

  & p {
    font-size: 0.95rem;
    color: var(--color-text-mid);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
  }
}

.legal-doc--cookies {
  & .cookie-section {
    margin-bottom: var(--space-xl);

    & h2 {
      font-family: var(--font-heading);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--color-text-dark);
      margin-bottom: var(--space-sm);
    }

    & p {
      font-size: 0.95rem;
      color: var(--color-text-mid);
      line-height: 1.8;
      margin-bottom: var(--space-sm);
    }
  }
}

.cookie-table-wrap {
  overflow-x: auto;
  margin: var(--space-md) 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;

  & th {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
  }

  & td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-off-white);
    color: var(--color-text-mid);
    vertical-align: top;
  }

  & tr:last-child td {
    border-bottom: none;
  }

  & tr:nth-child(even) td {
    background: var(--color-off-white);
  }
}

.cookie-browser-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: var(--space-sm) 0;

  & li {
    font-size: 0.9rem;
    color: var(--color-text-mid);
    margin-bottom: 0.4rem;
    line-height: 1.5;
  }
}

.cookie-consent-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: var(--color-white);
  z-index: 999;
  box-shadow: -4px 0 40px rgba(0,0,0,0.2), -1px 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;

  &.is-visible {
    transform: translateX(0);
  }

  & .cookie-panel__header {
    background: var(--color-navy);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);

    & i {
      font-size: 1.5rem;
      color: var(--color-yellow);
    }

    & h3 {
      font-family: var(--font-heading);
      font-size: 1rem;
      color: var(--color-white);
      font-weight: 700;
    }
  }

  & .cookie-panel__body {
    flex: 1;
    padding: var(--space-md);

    & p {
      font-size: 0.85rem;
      color: var(--color-text-mid);
      line-height: 1.6;
      margin-bottom: var(--space-md);
    }
  }

  & .cookie-panel__categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
  }

  & .cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--color-off-white);
    border-radius: var(--radius-md);

    & .cookie-category__info {
      & strong {
        display: block;
        font-size: 0.85rem;
        color: var(--color-text-dark);
        margin-bottom: 0.2rem;
      }

      & span {
        font-size: 0.75rem;
        color: var(--color-text-muted);
      }
    }
  }

  & .cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;

    & input {
      opacity: 0;
      width: 0;
      height: 0;
      position: absolute;
    }

    & .cookie-toggle__slider {
      position: absolute;
      inset: 0;
      background: #ccc;
      border-radius: 24px;
      cursor: pointer;
      transition: background 0.3s ease;

      &::before {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        left: 3px;
        top: 3px;
        background: white;
        border-radius: 50%;
        transition: transform 0.3s ease;
        box-shadow: 0 1px 4px rgba(0,0,0,0.2);
      }
    }

    & input:checked + .cookie-toggle__slider {
      background: var(--color-lime-dark);

      &::before {
        transform: translateX(20px);
      }
    }

    & input:disabled + .cookie-toggle__slider {
      opacity: 0.6;
      cursor: not-allowed;
    }
  }

  & .cookie-panel__footer {
    padding: var(--space-md);
    border-top: 1px solid var(--color-off-white);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

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

    & .cookie-panel__legal {
      text-align: center;
      font-size: 0.75rem;
      color: var(--color-text-muted);

      & a {
        color: var(--color-coral);
        text-decoration: underline;
      }
    }
  }
}

.cookie-consent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

  &.is-visible {
    opacity: 1;
    pointer-events: all;
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;

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

.acc-next {
  margin-top: var(--space-sm);
}

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