/* ============================================
   DermPro — Wellness Landing Page Styles
   Palette: White + Mint + Gold / Spa Aesthetic
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --white: #ffffff;
  --cream: #faf9f6;
  --mint-light: #e8f5f0;
  --mint: #a8d8c8;
  --mint-dark: #6db89a;
  --gold-light: #f5e6c8;
  --gold: #c9a96e;
  --gold-dark: #a07d3f;
  --text-primary: #2c3e2d;
  --text-secondary: #5a6b5c;
  --text-light: #8a9a8c;
  --border: #dde8dd;
  --shadow-sm: 0 1px 3px rgba(44, 62, 45, 0.06);
  --shadow-md: 0 4px 16px rgba(44, 62, 45, 0.08);
  --shadow-lg: 0 8px 32px rgba(44, 62, 45, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--mint-dark);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p {
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.text-center { text-align: center; }

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

.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--mint));
  margin: 16px auto 24px;
  border: none;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

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

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

.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

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

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

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

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

.nav-links a:hover {
  color: var(--text-primary);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--white) 0%, var(--mint-light) 50%, var(--gold-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 216, 200, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(44, 62, 45, 0.12));
  animation: floatUp 3s ease-in-out infinite alternate;
}

@keyframes floatUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(201, 169, 110, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.45);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* ---------- Info Cards Section ---------- */
.info-section {
  background: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.info-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--mint);
}

.info-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--mint-light), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.info-card h3 {
  margin-bottom: 12px;
}

/* ---------- Product Highlight ---------- */
.product-highlight {
  background: linear-gradient(180deg, var(--mint-light) 0%, var(--white) 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-img-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.product-img-wrap img {
  margin: 0 auto;
  max-height: 360px;
  object-fit: contain;
}

.product-details h2 {
  margin-bottom: 16px;
}

.product-details .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 20px 0;
}

.product-details .price small {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.feature-list {
  list-style: none;
  margin: 24px 0 32px;
}

.feature-list li {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}

.feature-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

/* ---------- Ingredients ---------- */
.ingredients-section {
  background: var(--white);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.ingredient-card {
  background: linear-gradient(135deg, var(--cream), var(--mint-light));
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.ingredient-card:hover {
  box-shadow: var(--shadow-md);
}

.ingredient-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--gold-dark);
}

.ingredient-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Reviews ---------- */
.reviews-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--mint-light) 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}

.review-card::before {
  content: '❝';
  font-size: 3rem;
  color: var(--mint);
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
  opacity: 0.5;
}

.review-card .stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card .review-text {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 16px;
  padding-top: 8px;
}

.review-card .reviewer {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--white);
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform var(--transition);
}

.faq-question.open::after {
  content: '−';
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.95rem;
}

/* ---------- Contact Form ---------- */
.contact-section {
  background: linear-gradient(135deg, var(--mint-light), var(--gold-light));
}

.form-wrap {
  max-width: 520px;
  margin: 40px auto 0;
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(168, 216, 200, 0.25);
}

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

.form-consent {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--mint-dark);
}

/* ---------- Disclaimer Banner ---------- */
.disclaimer-banner {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}

.disclaimer-banner p {
  font-size: 0.82rem;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto;
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

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

.footer-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

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

.footer-contact p {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-medical {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
}

.footer-medical p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(44, 62, 45, 0.12);
  padding: 20px 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.88rem;
  max-width: 600px;
}

.cookie-banner .btn {
  padding: 10px 28px;
  font-size: 0.85rem;
}

/* ---------- Inner Pages ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--mint-light), var(--gold-light));
  padding: 120px 0 60px;
  text-align: center;
}

.page-content {
  padding: 60px 0 80px;
}

.page-content .content-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.page-content h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 1.4rem;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content ul {
  margin: 12px 0 20px 20px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 2;
}

/* Success page */
.success-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.success-wrap .check-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: var(--white);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--mint-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
}

.value-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-info-card {
  background: var(--mint-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--gold-dark);
}

.contact-info-card p {
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid,
  .product-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .section-padding {
    padding: 56px 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .form-wrap {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero-image img {
    max-height: 260px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
