/* ---------- Variables ---------- */
:root {
  --burgundy: #7B1E3A;
  --burgundy-dark: #5A1729;
  --gold: #D4A017;
  --navy: #1B3A4B;
  --navy-dark: #12262F;
  --cream: #FBF3E7;
  --cream-alt: #F3E6D3;
  --ink: #2B2118;
  --ink-soft: #5C4F42;
  --white: #FFFFFF;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(43, 33, 24, 0.10);
  --shadow-md: 0 8px 24px rgba(43, 33, 24, 0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-image: linear-gradient(rgba(27, 58, 75, 0.4), rgba(27, 58, 75, 0.4)), url("../images/pattern-vine-morris.jpg");
  background-repeat: repeat;
  background-size: 220px 220px;
  background-position: left center;
  border-bottom: 3px solid var(--burgundy-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.logo-accent { color: var(--burgundy); }

.main-nav { display: flex; gap: 36px; }

.main-nav a {
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover { color: var(--gold); }

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover::after { width: 100%; }

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

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

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

/* ---------- Hero / Slideshow ---------- */
.hero {
  position: relative;
  background: var(--navy-dark);
}

.slideshow {
  position: relative;
  width: 100%;
  height: min(72vh, 620px);
  min-height: 420px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.05);
}

.slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 8% 70px;
  background: linear-gradient(0deg, rgba(18,38,47,0.88) 0%, rgba(18,38,47,0.35) 55%, transparent 100%);
  color: var(--white);
}

.slide-caption .eyebrow { color: var(--gold); }

.slide-caption h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 10px 0 8px;
}

.slide-caption p {
  font-size: 1.05rem;
  color: var(--cream-alt);
  max-width: 480px;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(251, 243, 231, 0.15);
  border: 1px solid rgba(251, 243, 231, 0.4);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 5;
}

.slide-arrow:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.slide-arrow.prev { left: 24px; }
.slide-arrow.next { right: 24px; }

.slide-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slide-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(251, 243, 231, 0.45);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slide-dots .dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* ---------- Products ---------- */
.products {
  padding: 76px 0 96px;
  position: relative;
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-heading h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  color: var(--navy);
  margin: 10px 0 12px;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

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

.product-card {
  text-align: center;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-link {
  display: block;
  width: 220px;
  height: 220px;
  margin: 0 auto 18px;
}

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

.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.product-cta {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--burgundy);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.product-cta:hover { color: var(--burgundy-dark); }

.product-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.buy-now-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 10px 26px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.buy-now-btn:hover {
  background: #E6B52B;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Product Detail ---------- */
.product-detail {
  padding: 48px 0 96px;
}

.back-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--burgundy);
  margin-bottom: 32px;
  transition: color 0.2s ease;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

.detail-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.detail-info h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: var(--navy);
  margin: 10px 0 14px;
}

.detail-tagline {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 22px;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.price-current {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--burgundy);
}

.price-old {
  font-size: 1.1rem;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.price-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.buy-now-btn-lg {
  font-size: 1.05rem;
  padding: 14px 36px;
}

.guarantee-note {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.disclosure-box {
  background: var(--cream-alt);
  border: 1px solid rgba(27, 58, 75, 0.12);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 18px 22px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 56px;
}

.disclosure-box strong { color: var(--ink); }

.detail-section {
  max-width: 760px;
  margin: 0 auto 56px;
}

.detail-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.detail-section p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.section-sub-left {
  margin-bottom: 20px;
}

.benefits-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.benefits-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--burgundy);
  font-weight: 700;
}

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

.module-item {
  background: var(--white);
  border: 1px solid rgba(27, 58, 75, 0.08);
  border-radius: 8px;
  padding: 16px 10px;
  text-align: center;
}

.module-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--gold);
}

.module-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}

.detail-note {
  font-size: 0.92rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.testimonial-card p {
  color: var(--ink);
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-card cite {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-style: normal;
}

.detail-cta-repeat {
  text-align: center;
  padding: 40px 0 0;
  border-top: 1px solid rgba(27, 58, 75, 0.1);
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(27, 58, 75, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  display: inline-block;
  justify-self: start;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-dark);
  background: var(--gold);
  border: none;
  cursor: pointer;
  padding: 14px 36px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit:hover {
  background: #E6B52B;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 40px 0;
  border-top: 3px solid var(--gold);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--cream-alt);
  margin-top: 4px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(251, 243, 231, 0.65);
}

.footer-links {
  flex: 1 0 100%;
  text-align: center;
  font-size: 0.85rem;
}

.footer-link {
  color: rgba(251, 243, 231, 0.65);
  text-decoration: underline;
  text-decoration-color: rgba(251, 243, 231, 0.35);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.footer-disclosure {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(251, 243, 231, 0.15);
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(251, 243, 231, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .logo { font-size: 1.75rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 20px; }
  .detail-hero { grid-template-columns: 1fr; text-align: center; }
  .detail-media { max-width: 260px; margin: 0 auto; }
  .detail-price { justify-content: center; }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
}

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

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

  .main-nav.nav-open { max-height: 260px; }

  .main-nav a {
    padding: 14px 24px;
    border-top: 1px solid rgba(251, 243, 231, 0.08);
  }

  .main-nav a::after { display: none; }
}

@media (max-width: 520px) {
  .header-inner { height: 64px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .logo { font-size: 1.5rem; }
  .main-nav a { font-size: 0.85rem; }
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-link, .product-img { width: 180px; height: 180px; }
  .slide-arrow { width: 36px; height: 36px; }
}
