@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #faf7f2;
  --bg-secondary: #f0ebe2;
  --bg-card: #ffffff;
  --text-dark: #1a1a1a;
  --text-body: #4a4a4a;
  --text-light: #8a8580;
  --accent: #b8895a;
  --accent-dark: #8b6540;
  --accent-light: #d4b896;
  --border: #e0d9cf;

  --font-serif: 'DM Serif Display', serif;
  --font-sans: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 12px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 26, 26, 0.1);
  --shadow-lg: 0 16px 48px rgba(26, 26, 26, 0.12);

  --transition-fast: 0.25s ease;
  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.preloader-text {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== AFFILIATE BANNER ===== */
.affiliate-banner {
  background: var(--text-dark);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2001;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition-fast);
}

header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-dark);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-body);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav li {
  margin: 1.8rem 0;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-dark);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent-dark);
  transition: all var(--transition-fast);
  text-align: center;
  border-radius: 50px;
}

.btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 137, 90, 0.3);
}

.btn-solid {
  background: var(--accent);
  color: #fff;
}

.btn-solid:hover {
  background: var(--accent-dark);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 184, 150, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 520px;
}

.hero-text .subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1.2rem;
  display: block;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.hero-price span {
  font-size: 1rem;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-weight: 400;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
}

.hero-img-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.hero-img-wrapper:hover img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-text {
    max-width: 100%;
    order: 2;
  }
  .hero-img-wrapper {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-dark);
  stroke-width: 1.5;
  fill: none;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-light);
}

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

/* ===== PRODUCT SECTION ===== */
.product-section {
  padding: 100px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.product-image-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.product-image-main img {
  width: 100%;
  display: block;
}

.product-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.product-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: all var(--transition-fast);
}

.product-thumbs img:hover,
.product-thumbs img.active {
  opacity: 1;
  border-color: var(--accent);
}

.product-info h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 0.8rem;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.product-desc {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.product-specs {
  list-style: none;
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.product-specs li:last-child {
  border-bottom: none;
}

.product-specs span:first-child {
  font-weight: 600;
  color: var(--text-dark);
}

.product-specs span:last-child {
  color: var(--text-light);
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .product-gallery {
    position: static;
  }
}

/* ===== COMPARISON TABLE ===== */
.comparison-wrapper {
  margin-top: 80px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1.2rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-dark);
  background: var(--bg-secondary);
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.highlight-col {
  background: rgba(212, 184, 150, 0.1);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text-dark);
  font-weight: 500;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.4rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-dark);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform var(--transition-fast);
  line-height: 1;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer p {
  padding: 0 1.8rem 1.4rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-section {
  padding: 100px 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.philosophy-grid .hero-img-wrapper {
  order: 1;
}

.philosophy-grid .hero-text {
  order: 2;
  padding-left: 0;
}

@media (max-width: 900px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .philosophy-grid .hero-img-wrapper,
  .philosophy-grid .hero-text {
    order: unset;
  }
}

/* ===== INTERNAL PAGES ===== */
.internal-page {
  padding: 120px 0 80px;
}

.editorial-article {
  max-width: 780px;
  margin: 0 auto;
}

.editorial-article img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}

.editorial-article h3 {
  font-size: 1.8rem;
  margin: 3rem 0 1.2rem;
  color: var(--text-dark);
}

.editorial-article p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

.pull-quote {
  border-left: 3px solid var(--accent);
  padding-left: 1.8rem;
  margin: 3rem 0;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--text-dark);
}

/* ===== CONTACT GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  background: var(--bg-card);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 0.6rem;
}

.contact-info strong {
  color: var(--text-dark);
  display: block;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
}

.contact-form {
  padding-top: 0;
}

.form-input {
  width: 100%;
  padding: 14px 0;
  margin-bottom: 1.8rem;
  border: none;
  border-bottom: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-bottom-color: var(--accent);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ===== LEGAL CONTENT ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 3rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-dark);
}

.legal-content p {
  color: var(--text-body);
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
  line-height: 1.8;
}

/* ===== FOOTER ===== */
footer {
  background: var(--text-dark);
  padding: 80px 5% 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-col p,
.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  display: block;
  transition: color var(--transition-fast);
}

.footer-col p {
  line-height: 1.7;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fff;
  margin-bottom: 1.8rem;
}

.footer-bottom {
  max-width: 1180px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 24px 5%;
  z-index: 9999;
  transition: bottom var(--transition-slow);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

#cookie-banner.active {
  bottom: 0;
}

.cookie-content {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-body);
  flex: 1;
}

.cookie-content a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 10px 24px;
  font-size: 0.78rem;
}

@media (max-width: 700px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
}