@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
  --teal-dark: #0f2a2a;
  --teal-mid: #1a3d3d;
  --teal-light: #234f4f;
  --gold: #e6bfa3;
  --gold-deep: #c9956b;
  --gold-light: #f5e6d8;
  --bg: #f7f9fb;
  --bg-warm: #fdfaf7;
  --white: #ffffff;
  --text-dark: #1a2a2a;
  --text-mid: #4a5a5a;
  --text-light: #8a9a9a;
  --border: #e8eef0;
  --shadow-sm: 0 2px 12px rgba(15,42,42,0.08);
  --shadow-md: 0 8px 32px rgba(15,42,42,0.12);
  --shadow-lg: 0 20px 60px rgba(15,42,42,0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAVBAR ──────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 42, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(230, 191, 163, 0.15);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(230, 191, 163, 0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)) !important;
  color: var(--teal-dark) !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230, 191, 163, 0.4) !important;
  background: linear-gradient(135deg, #f0cdb5, var(--gold)) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--teal-dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(230,191,163,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(26,61,61,0.8) 0%, transparent 50%),
    linear-gradient(135deg, #0f2a2a 0%, #1a3d3d 50%, #0f2a2a 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e6bfa3' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 191, 163, 0.12);
  border: 1px solid rgba(230, 191, 163, 0.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.2s ease 0.5s forwards;
  opacity: 0;
}

.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(230,191,163,0.2);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  max-width: 380px;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  width: 100%;
}

.hero-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.hero-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hero-card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-card-price span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--teal-dark);
  box-shadow: 0 4px 20px rgba(230, 191, 163, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 191, 163, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(230,191,163,0.08);
}

.btn-dark {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.78rem;
}

/* ─── SECTIONS ────────────────────────────────────────────────────────────── */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.7;
}

.section-subtitle.light { color: rgba(255,255,255,0.65); }

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ─── CATEGORIES GRID ─────────────────────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-card:hover::before { transform: scaleX(1); }
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230,191,163,0.3);
}

.cat-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.cat-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.cat-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-top: 1rem;
  letter-spacing: 0.04em;
}

/* ─── BRAND STORY ─────────────────────────────────────────────────────────── */
.brand-story {
  background: var(--teal-dark);
}

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

.story-visual {
  position: relative;
}

.story-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  height: 420px;
}

.story-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--teal-dark);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}

.story-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  line-height: 1;
}

.story-badge-text {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.story-list {
  list-style: none;
  margin-top: 2rem;
}

.story-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.story-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ─── PRODUCT CARDS ───────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230,191,163,0.4);
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--teal-dark);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.product-discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.product-card-tagline {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
}

.stars {
  color: #f4a535;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.rating-num {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.rating-count {
  font-size: 0.75rem;
  color: var(--text-light);
}

.product-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.product-meta-item {
  font-size: 0.75rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.product-price-original {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  margin-top: -2px;
}

/* ─── PRODUCT DETAIL ──────────────────────────────────────────────────────── */
.product-hero {
  padding: 7rem 2rem 4rem;
  background: var(--bg-warm);
}

.product-detail-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-img-main {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  height: 460px;
  box-shadow: var(--shadow-lg);
}

.product-detail-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.product-detail-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.product-detail-tagline {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.product-detail-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.product-detail-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.product-detail-original {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-detail-saving {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.product-description {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--bg);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.spec-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.875rem;
}

.spec-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 3px;
}

.spec-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature-tag {
  background: var(--teal-dark);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.layers-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.layers-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.layer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dark);
}

.layer-item:last-child { border-bottom: none; }

.layer-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.size-chip {
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.size-chip:hover {
  border-color: var(--gold-deep);
}

.size-chip.active {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: var(--white);
}

.size-chip-label {
  font-size: 0.78rem;
  font-weight: 700;
}

.size-chip-dim {
  font-size: 0.68rem;
  opacity: 0.7;
}

/* ─── ABOUT PAGE ──────────────────────────────────────────────────────────── */
.about-hero {
  background: var(--teal-dark);
  padding: 8rem 2rem 5rem;
  text-align: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230,191,163,0.4);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pillar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.founder-section {
  background: var(--teal-dark);
}

.founder-grid {
  display: flex;
  justify-content: center;
}

.founder-content {
  max-width: 700px;
  text-align: center;
}

.founder-avatar {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.founder-avatar-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: var(--shadow-lg);
}

.founder-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.founder-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.founder-bio {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

/* ─── MATERIALS PAGE ──────────────────────────────────────────────────────── */
.materials-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  padding: 8rem 2rem 5rem;
  text-align: center;
}

.foam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.foam-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.foam-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.foam-card-header {
  padding: 1.5rem;
  background: var(--teal-dark);
}

.foam-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.foam-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.foam-card-subtitle { font-size: 0.8rem; color: var(--gold); }

.foam-card-body { padding: 1.5rem; }
.foam-card-body p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1rem; }

.foam-benefits { list-style: none; }
.foam-benefits li {
  font-size: 0.82rem;
  color: var(--text-dark);
  padding: 4px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.foam-benefits li::before { content: '✓'; color: var(--gold-deep); font-weight: 700; }

.layer-diagram {
  max-width: 700px;
  margin: 0 auto;
}

.layer-bar {
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.layer-bar:hover { transform: scale(1.01); }
.layer-bar-label { font-weight: 600; font-size: 0.9rem; }
.layer-bar-detail { font-size: 0.8rem; opacity: 0.85; }

/* ─── CONTACT PAGE ────────────────────────────────────────────────────────── */
.contact-hero {
  background: var(--teal-dark);
  padding: 8rem 2rem 5rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

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

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-card a {
  color: var(--gold-deep);
  text-decoration: none;
  font-weight: 600;
}

/* ─── AUTH PAGES ──────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  background: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(230,191,163,0.06) 0%, transparent 60%);
}

.auth-card {
  background: var(--white);
  border-radius: 24px;
  padding: 3rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.auth-logo-text span { color: var(--gold-deep); }

.auth-subtitle {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.auth-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ─── FORMS ───────────────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal-mid);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15,42,42,0.08);
}

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

.auth-error {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  margin-bottom: 1rem;
  display: none;
}

.auth-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 1.5rem;
}

.auth-hint a { color: var(--gold-deep); text-decoration: none; font-weight: 600; }

/* ─── DASHBOARD ───────────────────────────────────────────────────────────── */
.dashboard-layout {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 72px;
  display: flex;
}

.sidebar {
  width: 260px;
  background: var(--teal-dark);
  min-height: calc(100vh - 72px);
  padding: 2rem 1.5rem;
  position: sticky;
  top: 72px;
  flex-shrink: 0;
}

.sidebar-user {
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid rgba(230,191,163,0.15);
}

.sidebar-user-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
}

.sidebar-user-id {
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 2px;
  letter-spacing: 0.06em;
}

.sidebar-nav { list-style: none; }

.sidebar-nav li { margin-bottom: 0.25rem; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  color: var(--gold);
  background: rgba(230,191,163,0.1);
}

.sidebar-nav a.logout {
  color: rgba(255,100,100,0.7);
  margin-top: 2rem;
}

.sidebar-nav a.logout:hover { color: #ff6666; background: rgba(255,100,100,0.1); }

.dashboard-main {
  flex: 1;
  padding: 2.5rem;
}

.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.dashboard-subtitle {
  font-size: 0.85rem;
  color: var(--text-mid);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1;
}

.stat-sub {
  font-size: 0.75rem;
  color: var(--text-mid);
  margin-top: 4px;
}

.section-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.section-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ─── TABLES ──────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

thead th {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-red { background: #fce4e4; color: #c62828; }
.badge-gold { background: var(--gold-light); color: var(--gold-deep); }
.badge-blue { background: #e3f2fd; color: #1565c0; }
.badge-orange { background: #fff3e0; color: #e65100; }

/* ─── ADMIN PANEL ─────────────────────────────────────────────────────────── */
.admin-layout {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 72px;
  display: flex;
}

.admin-sidebar {
  width: 260px;
  background: #0d1f1f;
  min-height: calc(100vh - 72px);
  padding: 2rem 1.5rem;
  position: sticky;
  top: 72px;
  flex-shrink: 0;
}

.admin-badge {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--teal-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: var(--bg);
  padding: 5px;
  border-radius: 12px;
  flex-wrap: wrap;
}

.admin-tab {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.admin-tab.active {
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
}

.admin-tab-panel { display: none; }
.admin-tab-panel.active { display: block; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo-text span { color: var(--gold); }

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-cert {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cert-badge {
  background: rgba(230,191,163,0.1);
  border: 1px solid rgba(230,191,163,0.2);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}

/* ─── UTILITIES ───────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.text-gold { color: var(--gold-deep); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.loading-state {
  text-align: center;
  padding: 4rem;
  color: var(--text-light);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--teal-dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

.empty-state {
  text-align: center;
  padding: 4rem;
  color: var(--text-mid);
}

.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-family: 'Playfair Display', serif; margin-bottom: 0.5rem; }

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--teal-dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--gold);
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success { border-left-color: #4caf50; }
.toast.error { border-left-color: #f44336; background: #2d1010; }

/* ─── ANIMATIONS ──────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .sidebar, .admin-sidebar { width: 220px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--teal-dark);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(230,191,163,0.15);
    gap: 0.25rem;
    z-index: 999;
  }
  .hero-stats { gap: 1.5rem; }
  .section { padding: 3.5rem 1.25rem; }
  .dashboard-layout, .admin-layout { flex-direction: column; }
  .sidebar, .admin-sidebar { width: 100%; min-height: auto; position: static; }
  .dashboard-main { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
.brand-logo{
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.nav-logo{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-name{
  font-family:'Playfair Display', serif;
  font-weight:700;
  color:white;
}

.brand-highlight{
  color:var(--gold);
}
.foam-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:2rem;
  align-items:stretch;
}

.foam-card{
  display:flex;
  flex-direction:column;
  height:100%;
}

.foam-card-body{
  flex:1;
}
.inquiry-form{
  max-width:900px;
  margin:0 auto;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1rem;
  margin-bottom:1rem;
}

.inquiry-form input,
.inquiry-form textarea{
  width:100%;
  padding:1rem 1.2rem;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--white);
  font-size:1rem;
  font-family:inherit;
  color:var(--text-dark);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus{
  outline:none;
  border-color:var(--gold);
}

.submit-btn{
  background:var(--gold);
  color:var(--teal-dark);
  border:none;
  padding:1rem 2rem;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  transition:0.3s ease;
  margin-top:1rem;
}

.submit-btn:hover{
  transform:translateY(-2px);
}
.auth-brand{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.brand-logo{
  width: 42px;
  height: auto;
  display: block;
}

.auth-logo-text{
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.auth-page-logo{
  width: 60px;
  height: auto;
}