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

@font-face {
  font-family: 'Hussar';
  src: url('assets/fonts/hussar/HussarBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Hussar';
  src: url('assets/fonts/hussar/HussarBdObl.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

:root {
  --cream: #F7F7F7;
  --lime: #DCEA78;
  --orange: #FD492A;
  --navy: #18233F;
  --lightblue: #92BAD4;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
}

h1, h2, h3, .logo-word {
  font-family: 'Hussar', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6vw;
  background: var(--navy);
}

.nav .logo-word {
  color: var(--cream);
  font-size: 1.4rem;
  font-weight: 700;
}

.nav ul {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav a {
  color: var(--cream);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover, .nav a.active { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cream);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 8rem 6vw 6rem;
}

.hero .logo-word {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
}

.hero .tagline {
  color: var(--orange);
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-top: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Sections */
section {
  padding: 5rem 6vw;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-sub {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.body-text {
  max-width: 680px;
  font-size: 1.05rem;
  color: #3a4560;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 2rem;
  transition: transform 0.15s ease, background 0.2s;
}

.btn-primary {
  background: var(--orange);
  color: var(--cream);
}

.btn-primary:hover { transform: translateY(-2px); background: #e13d20; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--cream);
  color: var(--cream);
}

.btn-outline:hover { background: var(--cream); color: var(--navy); }

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Product grid */
.product-bottles {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 3rem 6vw;
  background: var(--cream);
}

.product-bottles img {
  height: 220px;
  object-fit: contain;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(24, 35, 63, 0.08);
  position: relative;
  border-top: 6px solid var(--lightblue);
}

.product-card.p1 { border-top-color: #2b2b2b; }
.product-card.p2 { border-top-color: var(--lightblue); }
.product-card.p3 { border-top-color: #2f7d4f; }
.product-card.p4 { border-top-color: #2b3fa0; }

.product-photo {
  display: block;
  height: 200px;
  margin: -0.5rem auto 1.2rem;
  object-fit: contain;
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
}

.product-card ul {
  list-style: none;
  color: #3a4560;
  font-size: 0.95rem;
}

.product-card li { margin-bottom: 0.4rem; padding-left: 1rem; position: relative; }
.product-card li::before { content: "•"; color: var(--orange); position: absolute; left: 0; }

.badge {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Dark section (About) */
.dark-section {
  background: var(--navy);
  color: var(--cream);
}

.dark-section .body-text { color: #c7cee0; }
.dark-section .section-title { color: var(--cream); }

/* Contact */
.contact-hero {
  text-align: center;
  padding: 6rem 6vw;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.contact-link {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  border: 2px solid var(--navy);
  min-width: 320px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.contact-link:hover { background: var(--navy); color: var(--cream); }

/* Footer */
footer {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 2.5rem 6vw;
  font-size: 0.9rem;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

footer a:hover { color: var(--orange); }

/* Editorial (About / Notes) */
.editorial {
  max-width: 760px;
  padding-top: 7rem;
  padding-bottom: 2rem;
}

.about-hero-image {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 6vw 0;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #fff;
  border: 2px dashed var(--lightblue);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: #8892ab;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.editorial-eyebrow {
  font-size: 0.85rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.editorial-lead {
  font-family: 'Hussar', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 2rem;
}

.editorial p.body-text {
  margin-bottom: 1.3rem;
}

.editorial .divider {
  width: 48px;
  height: 2px;
  background: var(--orange);
  margin: 3rem 0;
  border: none;
}

.positioning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}

.positioning-grid div {
  border-left: 2px solid var(--lightblue);
  padding-left: 1.2rem;
}

.positioning-grid h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.positioning-grid p {
  font-size: 0.95rem;
  color: #3a4560;
}

/* Notes page */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.notes-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(24, 35, 63, 0.08);
  text-align: left;
}

.notes-photo {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
}

.notes-photo img {
  height: 190px;
  object-fit: contain;
}

.notes-body { padding: 1.6rem 1.6rem 1.8rem; }

.notes-segment {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lightblue);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.notes-body h3 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--navy); }

.notes-reason { font-size: 0.92rem; color: #3a4560; }
.notes-reason strong { color: var(--navy); }

/* Product grid (simplified, APFR-style) */
.product-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem 2rem;
  margin-top: 3rem;
}

.product-tile {
  display: block;
  text-align: center;
}

.product-tile-photo {
  background: #fff;
  border-radius: 18px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(24, 35, 63, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-tile:hover .product-tile-photo {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(24, 35, 63, 0.12);
}

.product-tile-photo img {
  height: 190px;
  object-fit: contain;
}

.product-tile h3 {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.product-tile .price {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: #6b7594;
}

.product-tile .badge { margin-top: 0.8rem; }

/* Product detail page */
.product-detail {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.2fr);
  gap: 3.5rem;
  align-items: start;
  padding-top: 7rem;
}

.product-detail-photo {
  background: #fff;
  border-radius: 20px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(24, 35, 63, 0.08);
}

.product-detail-photo img {
  height: 320px;
  object-fit: contain;
}

.product-detail-info h1 {
  font-family: 'Hussar', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.product-detail-info h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lightblue);
  margin: 1.6rem 0 0.5rem;
}

.product-detail-info h4:first-of-type { margin-top: 0; }

.product-detail-info p, .product-detail-info li {
  font-size: 0.98rem;
  color: #3a4560;
}

.product-detail-info ul { padding-left: 1.1rem; }
.product-detail-info li { margin-bottom: 0.3rem; }

.draft-note {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: #8892ab;
  font-style: italic;
}

.btn-disabled {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 2rem;
  background: #dfe3ee;
  color: #8892ab;
  cursor: not-allowed;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
}

.back-link:hover { color: var(--orange); }

/* Trend page */
.trend-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
}

.trend-quarter {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.trend-updated {
  font-size: 0.85rem;
  color: #8892ab;
}

.trend-chart {
  display: flex;
  align-items: flex-end;
  gap: 2.5rem;
  height: 280px;
  padding: 2rem 1rem 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(24, 35, 63, 0.06);
  margin-top: 1.5rem;
}

.trend-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.trend-bar {
  width: 100%;
  max-width: 72px;
  border-radius: 8px 8px 0 0;
  background: var(--lightblue);
  position: relative;
  transition: height 0.6s ease;
}

.trend-bar-col:nth-child(1) .trend-bar { background: #2b2b2b; }
.trend-bar-col:nth-child(2) .trend-bar { background: var(--lightblue); }
.trend-bar-col:nth-child(3) .trend-bar { background: #2f7d4f; }
.trend-bar-col:nth-child(4) .trend-bar { background: #2b3fa0; }

.trend-bar-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.trend-bar-label {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: #3a4560;
  text-align: center;
}

.trend-disclaimer {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  background: var(--cream);
  border: 1px dashed var(--lightblue);
  border-radius: 12px;
  font-size: 0.9rem;
  color: #3a4560;
}

@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; gap: 2rem; padding-top: 6rem; }
  .product-detail-photo { min-height: 280px; }
  .positioning-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav ul.open { max-height: 400px; }

  .nav ul li { width: 100%; }

  .nav ul a {
    display: block;
    padding: 1rem 6vw;
    border-top: 1px solid rgba(247,247,247,0.1);
  }

  .nav { position: relative; }

  .contact-link { min-width: unset; width: 100%; }
  .trend-chart { gap: 1.2rem; padding: 1.5rem 0.5rem 0; }
  .trend-bar { max-width: 48px; }
}
