:root {
  /* Rich, distinctly darker warm beige / sand palette */
  --bg-main: #dfd4be;
  --bg-surface: #eae0cd;
  --bg-card: #fdfaf5;
  --bg-subtle: #d3c4aa;
  --bg-darker: #c8b79b;
  --navy-dark: #0a182f;
  --navy-primary: #153366;
  --navy-light: #204ea3;
  --gold-accent: #c47604;
  --gold-light: #e59316;
  --gold-subtle: #fbeed2;
  --gold-border: #e1b96a;
  --text-primary: #18140f;
  --text-secondary: #3b332b;
  --text-muted: #615649;
  --border-subtle: #c7b79c;
  --border-card: #ded0b6;
  --shadow-sm: 0 2px 5px rgba(24, 20, 15, 0.08);
  --shadow-md: 0 6px 16px rgba(24, 20, 15, 0.12);
  --shadow-lg: 0 14px 30px rgba(24, 20, 15, 0.18);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--gold-accent);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--bg-surface);
  border-bottom: 2px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.logo-badge {
  font-size: 11px;
  text-transform: uppercase;
  background: var(--navy-dark);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Navigation Tabs */
nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

nav a.nav-tab {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-dark);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

nav a.nav-tab:hover {
  background: var(--bg-card);
  color: var(--navy-primary);
  border-color: var(--border-subtle);
}

nav a.nav-tab.active {
  background: var(--navy-dark);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(10, 24, 47, 0.25);
}
nav a.nav-tab.active span.tab-dot {
  background: var(--gold-light);
}

.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy-light);
}

nav a.nav-tab-cta {
  background: linear-gradient(135deg, var(--gold-accent), #a35d03);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
}
nav a.nav-tab-cta:hover {
  background: linear-gradient(135deg, #a35d03, #804702);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--navy-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 60px 0 48px;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: #7d4402;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.25;
  color: var(--navy-dark);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero h1 span.highlight {
  color: var(--navy-primary);
  border-bottom: 3px solid var(--gold-accent);
}

.hero p.lead {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy-dark);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(10, 24, 47, 0.2);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--navy-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 24, 47, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--navy-primary);
}

/* Creative Photo Framing Styles */
.photo-frame-modern {
  position: relative;
  display: inline-block;
  width: 100%;
}

.photo-frame-modern::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  bottom: 12px;
  left: 12px;
  border: 3px solid var(--gold-accent);
  border-radius: 28px 10px 28px 10px;
  z-index: 1;
  pointer-events: none;
}

.photo-frame-modern .img-inner {
  position: relative;
  z-index: 2;
  border-radius: 28px 10px 28px 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  background: #ffffff;
}

.photo-frame-modern img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.photo-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  background: rgba(10, 24, 47, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  border-left: 4px solid var(--gold-accent);
  font-size: 13px;
  box-shadow: var(--shadow-md);
}

.photo-floating-badge strong {
  display: block;
  color: var(--gold-light);
  font-size: 14px;
}

/* Product Card Creative Pedestal */
.product-pedestal {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, var(--bg-surface) 100%);
  border: 2px solid var(--border-subtle);
  border-radius: 24px;
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.product-pedestal::after {
  content: "";
  position: absolute;
  bottom: 16px;
  left: 15%;
  right: 15%;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(10, 24, 47, 0.3) 0%, transparent 70%);
  z-index: 1;
}

.product-pedestal img {
  position: relative;
  z-index: 2;
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(24, 20, 15, 0.18);
  transition: transform 0.3s ease;
}
.product-pedestal:hover img {
  transform: translateY(-4px) scale(1.02);
}

.product-tag-float {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--navy-dark);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  border: 1px solid var(--gold-border);
  z-index: 3;
}

/* Prominent Certificates Banner */
.certs-banner {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
  margin-bottom: 48px;
}

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

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.cert-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-accent);
}

.cert-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-subtle);
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid var(--gold-border);
}

.cert-text h5 {
  font-size: 14px;
  color: var(--navy-dark);
  font-weight: 700;
  margin-bottom: 2px;
}

.cert-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Sections */
.section {
  padding: 56px 0;
}

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

.section-head h2 {
  font-size: 32px;
  color: var(--navy-dark);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-head p {
  font-size: 17px;
  color: var(--text-secondary);
}

/* Content Cards Grid */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-light);
}

.card-num {
  font-size: 12px;
  font-weight: 800;
  color: #7d4402;
  background: var(--gold-subtle);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid var(--gold-border);
}

.card h3 {
  font-size: 20px;
  color: var(--navy-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Highlight Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 44px;
  margin: 44px 0;
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--gold-accent);
}

.highlight-panel h3 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.highlight-panel p {
  font-size: 17px;
  color: #e2e8f0;
  line-height: 1.7;
  max-width: 860px;
  margin-bottom: 24px;
}

/* Ingredients Grid */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ingredient-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s;
}
.ingredient-item:hover {
  transform: translateY(-2px);
  border-color: var(--gold-accent);
}

.ingredient-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-primary);
  background: rgba(21, 51, 102, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.ingredient-item h4 {
  font-size: 18px;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.ingredient-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Order Section Layout (2 Columns) */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
}

.order-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dosage-reminder {
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 24px;
}

.dosage-reminder h5 {
  font-size: 15px;
  color: #7d4402;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.dosage-reminder p {
  font-size: 14px;
  color: #5c3202;
  margin: 0;
  line-height: 1.5;
}

/* Order Form */
.order-form-box h3 {
  font-size: 26px;
  color: var(--navy-dark);
  margin-bottom: 8px;
  font-weight: 800;
}

.order-form-box p.form-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-surface);
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--navy-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(21, 51, 102, 0.12);
}

.form-input.invalid {
  border-color: #dc2626 !important;
  background: #fef2f2 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2) !important;
}

.error-msg {
  font-size: 12px;
  color: #dc2626;
  margin-top: 6px;
  display: none;
  font-weight: 600;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-accent), #a35d03);
  color: #ffffff;
  border: none;
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(163, 93, 3, 0.3);
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-submit:hover {
  background: linear-gradient(135deg, #a35d03, #804702);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(163, 93, 3, 0.4);
}

.form-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Accordion in Footer / Legal */
.accordion {
  border: 1px solid var(--border-card);
  border-radius: 12px;
  background: var(--bg-card);
  overflow: hidden;
  margin-top: 32px;
}

.accordion-item {
  border-bottom: 1px solid var(--border-card);
}
.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 18px 24px;
  background: var(--bg-card);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.accordion-header:hover {
  background: var(--bg-surface);
}

.accordion-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  background: var(--bg-surface);
}

.accordion-content.open {
  padding: 18px 24px;
  max-height: 500px;
}

/* Footer */
footer {
  background: var(--navy-dark);
  color: #cbd5e1;
  padding: 56px 0 28px;
  border-top: 4px solid var(--gold-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #94a3b8;
  font-size: 14px;
}
.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 14px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid-3, .ingredient-grid {
    grid-template-columns: 1fr;
  }
  .order-layout {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  nav ul {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .certs-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
}
