:root {
  --blue: rgba(0, 130, 250, 1);
  --orange: rgba(255, 143, 9, 1);
  --dark: #111827;
  --text: #1f2937;
  --muted: #6b7280;
  --light: #f7f9fc;
  --white: #ffffff;
  --border: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

/* NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
}

.links {
  display: flex;
  gap: 28px;
  font-weight: 700;
  font-size: 0.95rem;
}

.links a:hover {
  color: var(--blue);
}

/* HERO */
.hero {
  position: relative;

  padding: 140px 24px 120px;

  border-bottom: 1px solid var(--border);

  background:
    linear-gradient(
      rgba(255,255,255,0.55),
      rgba(255,255,255,0.72)
    ),
    url("images/generic/winter1.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  max-width: 820px;

  color: var(--dark);

  font-size: clamp(3rem, 7vw, 6.4rem);

  line-height: 0.95;

  margin-bottom: 24px;
}

.hero p {
  max-width: 560px;

  color: var(--text);

  font-size: 1.15rem;

  font-weight: bold;
}

/* BUTTONS */

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--blue);
  color: white;
}

.btn.secondary {
  background: white;
  color: var(--dark);
  border: 1px solid var(--border);
}

/* SECTIONS */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px;
}

.section-title {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-title h2 {
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.section-title p {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-section {
  max-width: none;
  background: var(--light);
}

.product-section .section-title,
.product-section .product-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* FEATURES */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  background: white;
}

.feature-card h3 {
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
}

/* PRODUCTS */

.product-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 0;
}

.product-card {
  background: white;

  border-right: 1px solid #dfe3e8;
  border-bottom: 1px solid #dfe3e8;

  border-radius: 0;

  transition: 0.22s ease;
}

.product-card:nth-child(4n) {
  border-right: none;
}

.product-card:hover {
  transform: translateY(-2px);

  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);

  z-index: 2;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 20px;
  background: white;
}

.product-info {
  padding: 22px;
}

.product-info h3 {
  color: var(--dark);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.product-info p {
  color: var(--muted);
  margin-bottom: 14px;
}

.product-info span {
  color: var(--blue);
  font-weight: 800;
}

/* PRODUCT PAGE */

.product-page {
  max-width: 1180px;
  margin: 0 auto;

  padding: 90px 24px;

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 54px;
  align-items: center;
}

.product-image-large {
  position: relative;

  background:
    linear-gradient(
      to top,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.92) 100%
    ),
    url("../images/generic/MountainsBackground.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 40px;

  overflow: visible;
}

.product-image-large::after {
  content: "";

  position: absolute;

  left: -2000px;
  right: -2000px;
  bottom: 0;

  height: 1px;

  background: #d1d5db;
}

.main-product-image {
  width: 170%;
  max-height: 560px;

  object-fit: contain;

  transform: translate(-150px, 60px);

  position: relative;
  z-index: 2;

  display: block;
}

.product-details h1 {
  color: var(--dark);

  font-size: clamp(2rem, 3vw, 3rem);

  font-weight: bold;

  line-height: 0.95;
  letter-spacing: -0.06em;

  margin-bottom: 10px;
}

.product-details p {
  color: var(--muted);
  font-size: 1.3rem;
  font-weight: 100;
}

.small-line {
  width: 60px;
  height: 1px;
  background: var(--muted);
  margin-top: 16px;
}

.product-details .product-description {
  margin-top: 16px;
  font-weight: 100;
  font-family: "Manrope", sans-serif;
  color: var(--muted);
}

.specs-title {
  margin-top: -90px;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 34px;
  letter-spacing: -0.04em;
}

.specs-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 24px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.spec-item {
  display: flex;
  gap: 14px;
  padding: 26px;

  border-right: 1px solid #d1d5db;
  border-bottom: none;
}

.spec-item:nth-child(4n) {
  border-right: none;
}

/* If there is a second row, add bottom borders to row 1 */
.specs-grid:has(.spec-item:nth-child(5)) .spec-item:nth-child(-n + 4) {
  border-bottom: 1px solid #d1d5db;
}

/* If there is a third row, add bottom borders to row 2 */
.specs-grid:has(.spec-item:nth-child(9)) .spec-item:nth-child(n + 5):nth-child(-n + 8) {
  border-bottom: 1px solid #d1d5db;
}

/* PRODUCT GALLERY */

.product-gallery {
  position: relative;
}

.main-product-image {
  width: 150%;
  max-height: 560px;

  object-fit: contain;

  transform: translate(-110px, 30px);

  position: relative;
  z-index: 2;

  display: block;
}

.thumbnail-row {
  position: absolute;

  left: 24px;
  bottom: 24px;

  display: flex;
  gap: 10px;

  z-index: 5;
}

.thumbnail {
  width: 58px;
  height: 58px;

  padding: 5px;

  border: 1px solid #d1d5db;

  background: rgba(255,255,255,0.82);

  cursor: pointer;
}

.thumbnail img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  transform: none;
  position: static;
}

.thumbnail.active {
  border-color: var(--blue);
}

/* About page */

.cf-about-page {
  background: var(--white);
}

.cf-about-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 24px 80px;
}

.cf-eyebrow {
  color: var(--blue);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.cf-about-hero h1 {
  max-width: 900px;
  color: var(--dark);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  margin-bottom: 28px;
}

.cf-hero-text {
  max-width: 700px;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.75;
}

.cf-winter-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 0;
  text-align: center;
}

.cf-divider {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 44px;
}

.cf-divider::before,
.cf-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #cfd8e3;
}

.cf-divider span {
  color: var(--blue);
  font-size: 1.5rem;
}

.cf-section-label {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.38em;
  margin-bottom: 16px;
}

.cf-winter-section h2 {
  max-width: 850px;
  margin: 0 auto 64px;
  color: var(--dark);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.cf-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.cf-feature {
  padding: 0 42px;
  border-right: 1px solid #d6dde8;
}

.cf-feature:last-child {
  border-right: none;
}

.cf-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  border: 2px solid #d6dde8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 2.3rem;
  font-weight: 800;
}

.cf-feature h3 {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cf-feature p {
  color: var(--text);
  line-height: 1.7;
}

.cf-image-band {
  position: relative;

  min-height: 700px;

  background: url("images/generic/winter1.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  padding: 0 24px 70px;

  overflow: hidden;
}

.cf-image-band::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 350px;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.95) 10%,
    rgba(255,255,255,0.75) 30%,
    rgba(255,255,255,0.4) 60%,
    rgba(255,255,255,0) 100%
  );

  z-index: 1;
}

.cf-image-card {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1080px;

  background: rgba(3, 31, 68, 0.95);
  color: white;

  border-radius: 18px;

  padding: 54px 60px;

  display: grid;
  grid-template-columns: 1.45fr 1fr;

  gap: 58px;
  align-items: center;

  box-shadow: 0 20px 60px rgba(3, 31, 68, 0.28);
}

.cf-card-left h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

.cf-card-left p {
  max-width: 650px;
  color: rgba(255,255,255,0.84);
  font-size: 1.08rem;
  line-height: 1.7;
}

.cf-card-right {
  border-left: 1px solid rgba(255,255,255,0.22);
  padding-left: 42px;
}

.cf-card-right span {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  margin-bottom: 14px;
}

.cf-card-right a {
  display: block;
  color: white;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cf-card-right p {
  color: rgba(255,255,255,0.76);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* MOBILE ABOUT */

@media (max-width: 850px) {

  .cf-about-inner {
    padding: 70px 24px 60px;
  }

  .cf-about-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .cf-feature-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .cf-feature {
    border-right: none;
    padding: 0;
  }

  .cf-image-band {
    min-height: 520px;
    padding-bottom: 28px;
  }

  .cf-image-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 34px 30px;
  }

  .cf-card-right {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.22);
    padding-left: 0;
    padding-top: 28px;
  }
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  color: var(--muted);
  background: white;
}

/* MOBILE */

@media (max-width: 850px) {

  .nav-inner {
    flex-direction: column;
    gap: 16px;
  }

  .feature-grid,
  .product-page {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 80px;
  }

  .product-card img {
    height: 320px;
  }

  .product-page {
    gap: 10px;
  }

  .product-image-large {
    padding: 24px;
  }

  .main-product-image {
    width: 100%;

    max-height: 340px;

    object-fit: contain;

    transform: none;

    margin: 0 auto;
  }

  .thumbnail-row {
    position: static;

    margin-top: 24px;

    justify-content: center;

    flex-wrap: wrap;
  }

  .thumbnail {
    width: 56px;
    height: 56px;
  }

  .product-details h1 {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

.specs-grid {
  grid-template-columns: 1fr;
}

.spec-item {
  border-right: none;
  border-bottom: 1px solid #d1d5db;
}

.spec-item:last-child {
  border-bottom: none;
}

  .product-info {
  padding: 14px;
}

.product-info h3 {
  font-size: 0.9rem;
  line-height: 1.15;
}

.product-info p {
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.product-info span {
  font-size: 0.82rem;
}

.product-card img {
  padding: 12px;
  height: 180px;
}
}