@font-face {
  font-family: "SF Pro Display";
  font-style: normal;
  font-weight: 300 700;
  src: local("SF Pro Display");
}

:root {
  color-scheme: light;
  --bg: #f5f3f0;
  --bg-soft: #fbfaf8;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #111111;
  --card: #ffffff;
  --shadow: 0 30px 70px rgba(17, 17, 17, 0.08);
  --radius: 28px;
}

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

body {
  margin: 0;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

.hero {
  min-height: 100vh;
  background:
    url("./assets/hero-optimized.jpg")
      center/cover no-repeat;
  padding: 32px 6vw 80px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  font-size: 20px;
  letter-spacing: normal;
  font-weight: 600;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 13px;
}

.hero-content {
  max-width: 640px;
  padding-top: 70px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 18px;
}

.lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  width: min(520px, 100%);
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead-form input {
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: #fff;
  color: var(--text);
  outline: none;
}

.lead-form input::placeholder {
  color: rgba(29, 29, 31, 0.55);
}

.lead-form button {
  width: 100%;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  color: var(--text);
  border-radius: 24px;
  padding: 28px;
  width: min(520px, 90vw);
  box-shadow: var(--shadow);
  position: relative;
}

.modal-content h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #fff;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.primary,
.secondary {
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary {
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow);
}

.secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.primary:hover,
.secondary:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.catalog-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(17, 17, 17, 0.2);
  box-shadow: none;
}

.catalog-btn:hover {
  background: rgba(17, 17, 17, 0.06);
}

.primary:disabled {
  background: #f0f0f2;
  color: #8a8a8f;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.section {
  padding: 80px 6vw;
}

.section-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: clamp(26px, 4vw, 40px);
  margin: 0 0 12px;
}

.section-header p {
  color: var(--muted);
  margin: 0;
}

.catalog {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.catalog-card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  position: relative;
  min-width: 300px;
  scroll-snap-align: start;
}

.catalog-media {
  height: 220px;
  border-radius: 20px;
  background:
    url("./assets/catalog.jpg")
      center/cover no-repeat;
}

.catalog-media.placeholder {
  background: linear-gradient(135deg, #f1ede8 0%, #e6dfd6 100%);
}

.coming-soon {
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(17, 17, 17, 0.85);
  color: #fff;
}

.catalog-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.catalog-body p {
  margin: 0 0 14px;
  color: var(--muted);
}

.catalog-price {
  font-size: 18px;
  font-weight: 600;
}

.catalog-card.coming-soon .catalog-price {
  color: var(--muted);
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.gallery {
  background: var(--bg-soft);
}

.gallery-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-grid img {
  width: 320px;
  height: 220px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
  min-width: 320px;
  scroll-snap-align: start;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.quote {
  padding-top: 40px;
}

.quote-card {
  background: var(--card);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.quote-card p {
  font-size: 20px;
  margin: 0 0 16px;
}

.quote-card span {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  background: #111111;
  color: #fff;
  padding: 60px 6vw 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  margin-top: 30px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 900px) {
  .hero {
    background:
      url("./assets/hero-desktop.jpg")
        center/cover no-repeat;
  }
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 32px 6vw 60px;
  }

  .hero-content {
    padding-top: 40px;
  }

  h1 {
    font-size: 26px;
    line-height: 1.14;
  }

  .lead {
    font-size: 14px;
    line-height: 1.42;
  }

  .eyebrow {
    font-size: 11px;
  }

  .catalog {
    grid-template-columns: none;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-card {
    min-width: 75%;
    scroll-snap-align: start;
  }

  .gallery-grid {
    grid-template-columns: none;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-grid img {
    min-width: 80%;
    scroll-snap-align: start;
  }
}
