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

:root {
  --color-sky: #f0f4f8;
  --color-surface: #fafbfc;
  --color-white: #ffffff;
  --color-ink-deep: #0f1f2d;
  --color-ink: #1e3448;
  --color-ink-mid: #3a5068;
  --color-ink-soft: #637d96;
  --color-ink-muted: #8fa5b8;
  --color-teal: #0b7a6e;
  --color-teal-mid: #0f9484;
  --color-teal-light: #d4f0ec;
  --color-teal-xlight: #eaf8f6;
  --color-amber: #c4651a;
  --color-amber-light: #fdf0e4;
  --color-border: rgba(15, 31, 45, 0.09);
  --color-border-strong: rgba(15, 31, 45, 0.16);

  --shadow-1: 0 1px 3px rgba(15,31,45,0.06), 0 1px 2px rgba(15,31,45,0.04);
  --shadow-2: 0 4px 12px rgba(15,31,45,0.08), 0 2px 4px rgba(15,31,45,0.05);
  --shadow-3: 0 8px 24px rgba(15,31,45,0.10), 0 3px 8px rgba(15,31,45,0.06);
  --shadow-4: 0 16px 40px rgba(15,31,45,0.12), 0 6px 16px rgba(15,31,45,0.07);
  --shadow-5: 0 24px 64px rgba(15,31,45,0.15), 0 8px 24px rgba(15,31,45,0.08);
  --shadow-teal: 0 8px 24px rgba(11,122,110,0.20), 0 2px 8px rgba(11,122,110,0.12);

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

  --nav-height: 72px;

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--color-ink);
  background-color: var(--color-sky);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  &.drawer-open {
    overflow: hidden;
  }
}

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

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

  &:hover {
    color: var(--color-teal-mid);
  }
}

h1, h2, h3, h4, h5 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
  color: var(--color-ink-deep);
}

p {
  line-height: 1.7;
  color: var(--color-ink-mid);
}

address {
  font-style: normal;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.canvas {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  & main {
    flex: 1;
  }
}

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

.label-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: var(--color-teal-xlight);
  padding: 0.3em 0.9em;
  border-radius: 100px;
  border: 1px solid rgba(11,122,110,0.18);
  margin-bottom: var(--space-sm);

  &.label-tag--light {
    color: var(--color-white);
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
  }
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-xl);

  & h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: var(--space-sm);
  }

  & .section-header__sub {
    font-size: 1.05rem;
    color: var(--color-ink-soft);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75em 1.6em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease-out;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;

  &:focus-visible {
    outline: 3px solid var(--color-teal);
    outline-offset: 3px;
  }

  &.btn--primary {
    background: var(--color-teal);
    color: var(--color-white);
    box-shadow: var(--shadow-teal);

    &:hover {
      background: var(--color-teal-mid);
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(11,122,110,0.28), 0 4px 12px rgba(11,122,110,0.16);
      color: var(--color-white);
    }

    &:active {
      transform: translateY(0);
      box-shadow: var(--shadow-teal);
    }
  }

  &.btn--secondary {
    background: var(--color-white);
    color: var(--color-teal);
    border-color: var(--color-teal);
    box-shadow: var(--shadow-2);

    &:hover {
      background: var(--color-teal-xlight);
      transform: translateY(-2px);
      box-shadow: var(--shadow-3);
    }
  }

  &.btn--ghost {
    background: var(--color-white);
    color: var(--color-ink-deep);
    border-color: var(--color-border-strong);

    &:hover {
      background: var(--color-white);
      border-color: var(--color-ink-muted);
      color: var(--color-ink-deep);
      box-shadow: var(--shadow-2);
    }
  }

  &.btn--large {
    font-size: 1.05rem;
    padding: 0.9em 2em;
  }

  &.btn--full {
    width: 100%;
  }
}

.consent-bar {
  background: var(--color-ink-deep);
  color: var(--color-white);
  padding: 0.6rem 0;
  position: relative;
  z-index: 200;
  overflow: hidden;
  max-height: fit-content;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out, opacity 0.3s ease-out;

  &.consent-bar--hidden {
    max-height: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
  }

  & .consent-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: space-between;
  }

  & .consent-bar__text {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.82);
    margin: 0;
    line-height: 1.4;

    & a {
      color: var(--color-teal-light);
      text-decoration: underline;

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

  & .consent-bar__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
  }
}

.consent-btn {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.45em 1em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease-out;
  min-height: 34px;

  &.consent-btn--solid {
    background: var(--color-teal);
    color: var(--color-white);
    border: 1px solid var(--color-teal);

    &:hover {
      background: var(--color-teal-mid);
    }
  }

  &.consent-btn--outline {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.3);

    &:hover {
      background: rgba(255,255,255,0.1);
      color: var(--color-white);
    }
  }
}

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

  &.masthead--scrolled {
    background: rgba(250,251,252,0.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 rgba(15,31,45,0.08), var(--shadow-1);
    border-bottom: 1px solid rgba(15,31,45,0.07);
  }

  & .masthead__nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
  }

  & .masthead__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  & .masthead__links {
    display: none;
    list-style: none;
    gap: 0.25rem;
    align-items: center;

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

  & .masthead__link {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--color-ink-mid);
    padding: 0.5em 0.75em;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease-out;
    position: relative;

    &:hover {
      color: var(--color-teal);
      background: var(--color-teal-xlight);
    }

    &.masthead__link--active {
      color: var(--color-teal);
      font-weight: 700;
    }
  }

  & .masthead__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease-out;

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

    & span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--color-ink);
      border-radius: 2px;
      transition: all 0.25s ease-out;
    }

    &:hover {
      background: var(--color-teal-xlight);
    }

    &.is-active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    &.is-active span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }

    &.is-active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }
  }
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease-out;

  &.drawer--open {
    opacity: 1;
    pointer-events: all;
  }

  & .drawer__left {
    width: 55%;
    background: var(--color-ink-deep);
    display: flex;
    flex-direction: column;
    padding: var(--space-lg) var(--space-lg) var(--space-lg);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    .drawer--open & {
      transform: translateX(0);
    }
  }

  & .drawer__right {
    width: 45%;
    position: relative;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    .drawer--open & {
      transform: translateX(0);
    }

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    & .drawer__right-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(11,122,110,0.7) 0%, rgba(15,31,45,0.5) 100%);
    }

    & .drawer__tagline {
      position: absolute;
      bottom: var(--space-lg);
      left: var(--space-md);
      right: var(--space-md);
      font-family: 'DM Serif Display', serif;
      font-size: clamp(1.2rem, 3vw, 1.8rem);
      color: var(--color-white);
      line-height: 1.3;
    }
  }

  & .drawer__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.25em;
    align-self: flex-start;
    transition: color 0.2s ease-out;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);

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

  & .drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
  }

  & .drawer__link {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: rgba(255,255,255,0.8);
    padding: 0.3em 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all 0.2s ease-out;
    display: block;

    &:hover {
      color: var(--color-white);
      padding-left: 0.3em;
    }
  }

  & .drawer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: var(--space-md);

    & a {
      font-size: 0.85rem;
      color: var(--color-teal-light);
      transition: color 0.2s ease-out;

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

.stage {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: var(--space-2xl);
  overflow: hidden;

  & .stage__backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #0d1f31 0%, #0a2a24 50%, #0f2b3d 100%);
    z-index: 0;
  }

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

  & .stage__circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);

    &.stage__circle--1 {
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(11,122,110,0.35) 0%, transparent 70%);
      top: -100px;
      right: -100px;
    }

    &.stage__circle--2 {
      width: 350px;
      height: 350px;
      background: radial-gradient(circle, rgba(15,148,132,0.2) 0%, transparent 70%);
      bottom: 100px;
      left: 10%;
    }

    &.stage__circle--3 {
      width: 250px;
      height: 250px;
      background: radial-gradient(circle, rgba(196,101,26,0.15) 0%, transparent 70%);
      top: 30%;
      right: 30%;
    }
  }

  & .stage__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
  }

  & .stage__heading-wrap {
    max-width: 720px;
    margin-bottom: var(--space-xl);
  }

  & .stage__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-teal-light);
    opacity: 0.85;
    margin-bottom: var(--space-sm);
  }

  & .stage__title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
  }

  & .stage__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
  }

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

.shelf--hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);

  & .shelf__card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    transition: all 0.25s ease-out;

    &:hover {
      background: rgba(255,255,255,0.11);
      border-color: rgba(255,255,255,0.2);
      transform: translateY(-4px);
      box-shadow: 0 20px 48px rgba(0,0,0,0.25);
    }

    & .shelf__card-icon {
      width: 48px;
      height: 48px;
      background: var(--color-teal);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      color: var(--color-white);
      margin-bottom: var(--space-sm);
      box-shadow: var(--shadow-teal);
    }

    & h3 {
      font-size: 1.05rem;
      color: var(--color-white);
      margin-bottom: 0.5rem;
    }

    & p {
      font-size: 0.88rem;
      color: rgba(255,255,255,0.65);
      line-height: 1.6;
    }
  }
}

.rhythm-strip {
  height: 4px;
  overflow: hidden;
  position: relative;

  & .rhythm-strip__pattern {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      90deg,
      var(--color-teal) 0px,
      var(--color-teal) 24px,
      transparent 24px,
      transparent 32px
    );
    opacity: 0.4;
  }

  &.rhythm-strip--alt .rhythm-strip__pattern {
    background: repeating-linear-gradient(
      90deg,
      var(--color-amber) 0px,
      var(--color-amber) 16px,
      transparent 16px,
      transparent 28px
    );
    opacity: 0.25;
  }
}

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

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

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

  & .intro-grid__text {
    & h2 {
      font-size: clamp(1.7rem, 3vw, 2.3rem);
      margin-bottom: var(--space-md);
    }

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

  & .intro-grid__image {
    & .image-frame {
      position: relative;
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: var(--shadow-4);

      & img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease-out;

        &:hover {
          transform: scale(1.03);
        }
      }

      & .image-frame__accent {
        position: absolute;
        bottom: -12px;
        right: -12px;
        width: 60%;
        height: 60%;
        background: var(--color-teal-xlight);
        border-radius: var(--radius-xl);
        z-index: -1;
        border: 3px solid var(--color-teal-light);
      }
    }
  }
}

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

.zigzag {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);

  & .zigzag__item {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;

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

    &.zigzag__item--reverse {
      @media (min-width: 768px) {
        grid-template-columns: 1.4fr 1fr;

        & .zigzag__visual {
          order: 2;
        }

        & .zigzag__content {
          order: 1;
        }
      }
    }

    & .zigzag__visual {
      position: relative;

      & .zigzag__icon-block {
        position: absolute;
        top: -16px;
        left: -16px;
        z-index: 2;
        width: 64px;
        height: 64px;
        background: var(--color-teal);
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--color-white);
        box-shadow: var(--shadow-teal);
        border: 3px solid var(--color-white);
      }

      & .zigzag__img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-4);
        transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
        cursor: zoom-in;

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

    & .zigzag__content {
      & h3 {
        font-size: clamp(1.4rem, 2.5vw, 1.9rem);
        margin-bottom: var(--space-sm);
      }

      & p {
        margin-bottom: var(--space-sm);

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

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;

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

  & .features-grid__intro {
    & h2 {
      font-size: clamp(1.6rem, 2.8vw, 2.2rem);
      margin-bottom: var(--space-md);
    }

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

  & .features-grid__list {
    display: flex;
    flex-direction: column;
  }

  &.features-grid--full {
    grid-template-columns: 1fr;
  }

  & .features-grid__list--full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
  }
}

.feature-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  transition: background 0.2s ease-out;

  &.feature-item--sep {
    border-top: 1px solid var(--color-border);
  }

  & .feature-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--color-teal-xlight);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    font-size: 1.1rem;
    border: 1px solid rgba(11,122,110,0.12);
    transition: all 0.2s ease-out;
  }

  &:hover .feature-item__icon {
    background: var(--color-teal);
    color: var(--color-white);
    box-shadow: var(--shadow-teal);
  }

  & .feature-item__content {
    & h4 {
      font-size: 1rem;
      margin-bottom: 0.35rem;
      color: var(--color-ink-deep);
    }

    & p {
      font-size: 0.9rem;
      color: var(--color-ink-soft);
      line-height: 1.6;
    }
  }
}

.subsidy-section {
  background: linear-gradient(135deg, #0d2438 0%, #0a2a24 100%);

  & .subsidy-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-4);

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

    & .subsidy-card__content {
      & h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        color: var(--color-white);
        margin-bottom: var(--space-md);
      }

      & p {
        color: rgba(255,255,255,0.72);
        margin-bottom: var(--space-md);
      }
    }

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

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

.coverage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-sm);
  margin-bottom: var(--space-md);

  & .coverage-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-2);
    transition: all 0.22s ease-out;

    & i {
      color: var(--color-teal);
      font-size: 1rem;
      flex-shrink: 0;
    }

    & span {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--color-ink-mid);
    }

    &:hover {
      box-shadow: var(--shadow-3);
      transform: translateY(-2px);
      border-color: var(--color-teal-light);
    }
  }
}

.coverage-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  max-width: 600px;
  margin: 0 auto;
}

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

.cta-block {
  background: var(--color-sky);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
  box-shadow: var(--shadow-3);

  & .cta-block__text {
    flex: 1;
    min-width: 280px;

    & h2 {
      font-size: clamp(1.6rem, 3vw, 2.1rem);
      margin-bottom: 0.75rem;
    }

    & p {
      color: var(--color-ink-soft);
      max-width: 480px;
    }
  }

  & .cta-block__actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    flex-shrink: 0;
  }
}

.gallery--subsidy {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);

  & .gallery__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    box-shadow: var(--shadow-2);
    transition: all 0.25s ease-out;
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    border-left: 4px solid var(--color-teal);

    &:hover {
      box-shadow: var(--shadow-4);
      transform: translateX(4px);
    }

    & .gallery__card-num {
      font-family: 'DM Serif Display', serif;
      font-size: 2rem;
      color: var(--color-teal-light);
      line-height: 1;
      flex-shrink: 0;
      width: 48px;
      opacity: 0.7;
    }

    & h3 {
      font-size: 1.15rem;
      margin-bottom: 0.6rem;
    }

    & p {
      font-size: 0.92rem;
      margin-bottom: 0.75rem;
      color: var(--color-ink-soft);

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

.subsidy-explainer {
  margin-bottom: var(--space-xl);

  & .subsidy-explainer__notice {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    background: var(--color-amber-light);
    border: 1px solid rgba(196,101,26,0.2);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    border-left: 4px solid var(--color-amber);

    & i {
      color: var(--color-amber);
      font-size: 1.1rem;
      flex-shrink: 0;
      margin-top: 0.2em;
    }

    & p {
      font-size: 0.9rem;
      color: var(--color-ink-mid);
      line-height: 1.65;
    }
  }
}

.gallery--faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);

  & .gallery__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-2);
    transition: all 0.25s ease-out;

    &:hover {
      box-shadow: var(--shadow-4);
      transform: translateY(-4px);
      border-color: var(--color-teal-light);
    }

    & .gallery__card-icon {
      width: 48px;
      height: 48px;
      background: var(--color-teal-xlight);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-teal);
      font-size: 1.1rem;
      margin-bottom: var(--space-sm);
      border: 1px solid rgba(11,122,110,0.12);
      transition: all 0.2s ease-out;
    }

    &:hover .gallery__card-icon {
      background: var(--color-teal);
      color: var(--color-white);
      box-shadow: var(--shadow-teal);
    }

    & h3 {
      font-size: 1.05rem;
      margin-bottom: 0.6rem;
    }

    & p {
      font-size: 0.9rem;
      color: var(--color-ink-soft);
      line-height: 1.65;
    }
  }
}

.page-hero {
  background: linear-gradient(145deg, #0d1f31 0%, #0a2a24 100%);
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);

  & .page-hero__content {
    max-width: 720px;

    & h1 {
      font-size: clamp(2rem, 4vw, 3rem);
      color: var(--color-white);
      margin-bottom: var(--space-md);
    }

    & p {
      font-size: 1.1rem;
      color: rgba(255,255,255,0.72);
      max-width: 560px;
    }
  }
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);

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

.elevated-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-4);
  border: 1px solid var(--color-border);

  & h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }

  & .form-intro {
    color: var(--color-ink-soft);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
  }
}

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

.accordion-section {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease-out;

  &.accordion-section--open {
    box-shadow: var(--shadow-2);
    border-color: var(--color-teal-light);
  }

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

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

    & .accordion-section__num {
      font-family: 'DM Serif Display', serif;
      font-size: 1rem;
      color: var(--color-teal);
      min-width: 28px;
    }

    & span:not(.accordion-section__num) {
      flex: 1;
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--color-ink-deep);
    }

    & .accordion-section__arrow {
      color: var(--color-ink-muted);
      font-size: 0.8rem;
      transition: transform 0.25s ease-out;
    }

    &[aria-expanded="true"] .accordion-section__arrow {
      transform: rotate(180deg);
    }
  }

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

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

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

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

  & label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-ink-deep);
    margin-bottom: 0.4rem;
  }

  & input,
  & textarea,
  & select {
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--color-ink);
    background: var(--color-sky);
    border: 1.5px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    padding: 0.75em 1em;
    transition: all 0.2s ease-out;
    min-height: 44px;

    &::placeholder {
      color: var(--color-ink-muted);
    }

    &:focus {
      outline: none;
      border-color: var(--color-teal);
      background: var(--color-white);
      box-shadow: 0 0 0 3px rgba(11,122,110,0.12);
    }

    &:hover:not(:focus) {
      border-color: var(--color-ink-muted);
    }
  }

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

  &.form-field--checkbox {
    & .checkbox-label {
      display: flex;
      gap: 0.75rem;
      align-items: flex-start;
      cursor: pointer;

      & input[type="checkbox"] {
        width: 20px;
        height: 20px;
        min-height: 20px;
        flex-shrink: 0;
        accent-color: var(--color-teal);
        margin-top: 2px;
        cursor: pointer;
      }

      & span {
        font-size: 0.88rem;
        color: var(--color-ink-soft);
        line-height: 1.5;

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

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-3);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-md);

  & h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
  }

  & .contact-detail {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    margin-bottom: var(--space-md);

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

    & i {
      width: 36px;
      height: 36px;
      background: var(--color-teal-xlight);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-teal);
      font-size: 0.9rem;
      flex-shrink: 0;
    }

    & div {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;

      & strong {
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--color-ink-muted);
      }

      & span,
      & a {
        font-size: 0.95rem;
        color: var(--color-ink-mid);
      }
    }
  }
}

.office-description-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-3);
  border: 1px solid var(--color-border);

  & h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
  }

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

  & p {
    font-size: 0.9rem;
    color: var(--color-ink-soft);
    margin-bottom: var(--space-sm);

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

.map-section {
  & h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
  }

  & .map-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-4);
    border: 1px solid var(--color-border);

    & iframe {
      display: block;
    }
  }
}

.thanks-section {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  background: var(--color-sky);

  & .thanks-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-4);
    border: 1px solid var(--color-border);
    text-align: center;

    & .thanks-card__icon {
      font-size: 3rem;
      color: var(--color-teal);
      margin-bottom: var(--space-md);
    }

    & h1 {
      font-size: clamp(1.8rem, 3.5vw, 2.5rem);
      margin-bottom: var(--space-sm);
    }

    & > p {
      color: var(--color-ink-soft);
      margin-bottom: var(--space-xl);
    }
  }
}

.thanks-next {
  background: var(--color-sky);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  text-align: left;

  & h2 {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    text-align: center;
  }

  & .thanks-next__steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
}

.thanks-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-sm);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-1);

  & .thanks-step__num {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: var(--color-teal);
    min-width: 36px;
    line-height: 1;
  }

  & .thanks-step__text {
    & h4 {
      font-size: 0.95rem;
      margin-bottom: 0.3rem;
    }

    & p {
      font-size: 0.88rem;
      color: var(--color-ink-soft);
    }
  }
}

.legal-main {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-2xl);
  background: var(--color-sky);

  & .legal-header {
    max-width: 800px;
    margin: 0 auto var(--space-xl);

    & h1 {
      font-size: clamp(2rem, 4vw, 2.8rem);
      margin-bottom: 0.5rem;
    }

    & .legal-date {
      font-size: 0.82rem;
      color: var(--color-ink-muted);
      margin-bottom: var(--space-md);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    & .legal-intro {
      color: var(--color-ink-mid);
      font-size: 1rem;
      line-height: 1.75;
    }
  }
}

.legal-card {
  max-width: 800px;
  margin: 0 auto var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease-out;

  &:hover {
    box-shadow: var(--shadow-3);
  }

  & h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-teal-xlight);
    color: var(--color-teal);
  }

  & p {
    margin-bottom: var(--space-sm);
    font-size: 0.93rem;
    line-height: 1.75;

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

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

  &.legal-card--alpha h2 {
    color: var(--color-ink-deep);
    border-bottom-color: var(--color-border);
  }

  &.legal-card--roman h2 {
    color: var(--color-amber);
    border-bottom-color: rgba(196,101,26,0.15);
  }
}

.cookie-table-wrap {
  overflow-x: auto;
  margin-top: var(--space-sm);
}

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

  & th {
    background: var(--color-sky);
    padding: 0.75em 1em;
    text-align: left;
    font-weight: 700;
    color: var(--color-ink-deep);
    border-bottom: 2px solid var(--color-border-strong);
    white-space: nowrap;
  }

  & td {
    padding: 0.75em 1em;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-ink-mid);
    vertical-align: top;
  }

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

  & tr:hover td {
    background: var(--color-sky);
  }
}

.baseplate {
  background: var(--color-ink-deep);
  padding: var(--space-2xl) 0 0;
  margin-top: auto;

  & .baseplate__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-2xl);

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

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

  & .baseplate__col {
    & img {
      margin-bottom: var(--space-sm);
    }

    & > p {
      font-size: 0.88rem;
      color: rgba(255,255,255,0.55);
      line-height: 1.65;
      margin-bottom: var(--space-sm);
    }

    & address {
      color: rgba(255,255,255,0.45);
    }

    & h4 {
      font-family: 'DM Sans', sans-serif;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: rgba(255,255,255,0.45);
      margin-bottom: var(--space-sm);
    }

    & ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.3rem;

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

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

  & .baseplate__col--news {
    & .baseplate__news-item {
      margin-bottom: var(--space-sm);
      padding-bottom: var(--space-sm);
      border-bottom: 1px solid rgba(255,255,255,0.07);

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

      & .news-date {
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--color-teal-light);
        opacity: 0.7;
        margin-bottom: 0.2rem;
      }

      & a {
        font-size: 0.88rem;
        color: rgba(255,255,255,0.65);
        line-height: 1.45;
        transition: color 0.2s ease-out;
        display: block;

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

  & .baseplate__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--space-md) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);

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

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

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

@media (max-width: 480px) {
  .consent-bar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .shelf--hero {
    grid-template-columns: 1fr;
  }

  .cta-block {
    padding: var(--space-lg);
  }

  .gallery--subsidy .gallery__card {
    flex-direction: column;
    gap: var(--space-sm);

    & .gallery__card-num {
      font-size: 1.4rem;
    }
  }

  .stage__cta-row {
    flex-direction: column;
  }

  .elevated-card {
    padding: var(--space-md);
  }

  .thanks-card {
    padding: var(--space-lg);
  }
}

@media (max-width: 767px) {
  .zigzag__item .zigzag__icon-block {
    top: -10px;
    left: -10px;
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .subsidy-card {
    padding: var(--space-lg) !important;
  }
}