:root {
  --ink: #101417;
  --graphite: #263238;
  --muted: #65737a;
  --paper: #f5f8f9;
  --white: #ffffff;
  --blue: #0a4961;
  --blue-2: #0f7fa3;
  --pine: #17483e;
  --lime: #bfe35c;
  --sand: #e7f0ed;
  --line: rgba(16, 20, 23, 0.13);
  --shadow: 0 20px 60px rgba(16, 20, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:has(.modal),
body:has(.cart-drawer.is-open) {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(245, 248, 249, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 188px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 46px;
  padding: 4px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  font-weight: 900;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--blue);
}

.header-cta,
.cart-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.header-cta {
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
}

.cart-button {
  gap: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.cart-button span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  color: var(--white);
  font-size: 12px;
  background: var(--blue-2);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(36px, 6vw, 82px) clamp(18px, 4vw, 56px);
  background: linear-gradient(135deg, #e4f1f4 0%, #f7faf9 48%, #dfece8 100%);
}

.hero-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media > img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 20%, rgba(10, 73, 97, 0.32));
}

.hero-logo {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  width: min(420px, calc(100% - 48px));
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 9vw, 120px);
  line-height: 0.9;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

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

.hero-lead {
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.12;
}

.hero-content > p:not(.eyebrow):not(.hero-lead),
.big-text,
.section-title p,
.page-hero p {
  max-width: 720px;
  font-size: 18px;
}

.actions,
.center-action,
.product-actions,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions {
  margin-top: 30px;
}

.button {
  min-height: 50px;
  padding: 0 20px;
}

.button.primary {
  color: var(--white);
  background: var(--blue-2);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.button.compact {
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
}

.stats-band article {
  padding: 28px clamp(18px, 4vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-band article:last-child {
  border-right: 0;
}

.stats-band strong {
  display: block;
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.section,
.page-hero,
.cta-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.soft {
  background: var(--sand);
}

.section-title {
  margin-bottom: 30px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.info-card,
.quote-card,
.contact-card,
.product-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-card {
  min-height: 210px;
}

.quote-card p {
  color: var(--ink);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.08;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-list span {
  padding: 12px 14px;
  color: var(--blue);
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-list p,
.check-list li {
  padding: 18px;
  color: var(--ink);
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 42vw);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--sand);
}

.page-hero img {
  width: 100%;
  height: min(460px, 48vw);
  min-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story {
  display: grid;
  gap: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-list article {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.schedule-list time {
  color: var(--blue-2);
  font-weight: 900;
}

.schedule-list h3,
.schedule-list p {
  margin: 0;
}

.schedule-list span {
  color: var(--pine);
  font-size: 13px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 260px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 180ms ease, opacity 180ms ease;
}

.gallery-item:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.gallery-item span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: var(--white);
  font-weight: 900;
  text-align: left;
}

.center-action {
  justify-content: center;
  margin-top: 26px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 16px;
  background: var(--paper);
  border-radius: 6px;
}

.product-card p {
  margin: 16px 0 8px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
}

.product-card strong {
  display: block;
  margin: 16px 0;
  font-size: 24px;
}

.form-section {
  background: var(--ink);
}

.form-section .section-title h2,
.form-section .section-title p,
.form-section .eyebrow {
  color: var(--white);
}

.smart-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 980px;
}

.smart-form.single {
  grid-template-columns: 1fr;
}

.smart-form label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 900;
}

.form-section .smart-form label,
.cart-panel .smart-form label {
  color: rgba(255, 255, 255, 0.82);
}

.smart-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 8px;
}

textarea {
  padding-top: 12px;
  resize: vertical;
}

.checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox input {
  width: 20px;
  min-height: 20px;
}

.hidden-field {
  position: absolute;
  left: -10000px;
}

.field-error,
.form-message {
  color: #ffdd8a;
  font-size: 13px;
  font-weight: 800;
}

[aria-invalid="true"] {
  border-color: #ff7c64;
}

.contact-card {
  display: grid;
  gap: 14px;
}

.contact-card a {
  color: var(--blue);
  font-weight: 900;
}

.socials a {
  padding: 10px 12px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
}

.cta-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--pine));
}

.cta-section h2 {
  max-width: 850px;
}

.cta-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.cta-section .eyebrow {
  color: var(--lime);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 42px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 160px;
  display: block;
  margin-bottom: 16px;
}

.site-footer nav,
.site-footer address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  justify-content: end;
  background: rgba(16, 20, 23, 0.46);
}

.cart-drawer.is-open {
  display: flex;
}

.cart-panel {
  width: min(440px, 100%);
  height: 100%;
  padding: 24px;
  overflow: auto;
  color: var(--white);
  background: var(--ink);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cart-head button,
.modal-card > button {
  width: 42px;
  height: 42px;
  color: var(--ink);
  font-size: 26px;
  background: var(--white);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.cart-items {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.cart-items article {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.cart-items button {
  width: max-content;
  color: var(--lime);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.cart-total {
  display: block;
  margin-bottom: 20px;
  font-size: 22px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 20, 23, 0.62);
}

.modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 26px;
  width: min(980px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  background: var(--white);
  border-radius: 8px;
}

.modal-card > button {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--white);
  background: var(--ink);
}

.modal-card img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 6px;
}

.image-modal {
  display: block;
  max-width: 900px;
}

.image-modal img {
  max-height: 70vh;
  object-fit: contain;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 1280px) {
  .site-header {
    display: flex;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .header-cta {
    display: none;
  }

  .cart-button {
    order: 3;
    flex: 0 0 auto;
  }

  .hero,
  .split,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
    min-height: 460px;
  }

  .hero-media > img {
    min-height: 460px;
  }

  .card-grid,
  .feature-list,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (min-width: 1101px) and (max-width: 1280px) {
  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  }

  .hero-media {
    order: 0;
    min-height: 540px;
  }

  .hero-media > img {
    min-height: 540px;
  }

  .split,
  .page-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  }

  .card-grid,
  .feature-list,
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 62px;
    height: 40px;
  }

  .brand small {
    display: none;
  }

  .cart-button {
    font-size: 0;
  }

  .cart-button span {
    font-size: 12px;
  }

  .main-nav {
    top: 70px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 38px;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-media,
  .hero-media > img {
    min-height: 360px;
  }

  .hero-logo {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 12px;
  }

  .stats-band,
  .card-grid,
  .activity-grid,
  .feature-list,
  .gallery-grid,
  .product-grid,
  .smart-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .schedule-list article {
    grid-template-columns: 1fr;
  }

  .page-hero img {
    height: 320px;
  }

  .modal-card {
    grid-template-columns: 1fr;
  }
}
