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

:root {
  --warm: #a67c52;
  --warm-light: #d4a574;
  --dark: #2c2118;
  --cream: #faf6f1;
  --text: #3d3028;
  --text-light: #7a6b5d;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 300;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* === Nav === */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(250, 246, 241, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(166, 124, 82, 0.15);
}

.nav-inner {
  position: relative;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex; align-items: center;
  justify-self: center;
  cursor: pointer;
}

.logo-img {
  height: 48px;
  width: auto;
}

.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-left { justify-self: start; }

.burger {
  position: fixed;
  top: 0;
  right: 1.5rem;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px;
  background: none; border: none; cursor: pointer;
  z-index: 201;
}

.nav-links a {
  font-size: 1.05rem; font-weight: 400;
  color: var(--text-light); transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active-link { color: var(--warm); }

.nav-cta {
  background: var(--warm);
  color: #fff !important;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--warm-light);
  transform: translateY(-1px);
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: url('images/hero-bg.jpg') center center / cover no-repeat;
  color: #fff;
  padding: 6rem 1.5rem 4rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--warm-light); margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem; line-height: 1.1;
}

.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.8);
  max-width: 480px; margin: 0 auto 2rem; line-height: 1.7;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 2rem;
  background: var(--warm); color: #fff;
  border-radius: 50px; font-size: 0.9rem; font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--warm-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent; border: 2px solid var(--warm); color: var(--warm);
}
.btn-outline:hover { background: var(--warm); color: #fff; }

.hero .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* === Sections === */
.section { padding: 5rem 0; text-align: center; }
.section h1,
.section h2 { font-size: 2rem; color: var(--dark); margin-bottom: 1rem; }
.section > .container > p {
  color: var(--text-light); max-width: 560px; margin: 0 auto 2.5rem;
}

/* === About === */
.about { background: #fff; }

.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 3rem; align-items: center; text-align: left;
}

.about-image {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.rotator-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3/4;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  background: linear-gradient(180deg, rgba(166, 124, 82, 0.12), rgba(61, 48, 40, 0.08));
}

.rotator-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.rotator-photo.is-active {
  opacity: 1;
  transform: scale(1);
}

.about-image-note {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 26rem;
}

.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.8; }

.stats {
  display: flex; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap;
}

.stat {
  padding: 1.2rem 1.5rem; background: var(--cream); border-radius: 12px; text-align: center;
}

.stat-number {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--warm);
}

.stat-label {
  font-size: 0.75rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* === Gallery === */
.gallery { background: var(--cream); }

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

.gallery-item {
  overflow: hidden; border-radius: 12px;
  aspect-ratio: 1; position: relative;
  background: rgba(255,255,255,0.42);
  box-shadow: inset 0 0 0 1px rgba(166, 124, 82, 0.08);
}

.gallery-item.gallery-tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item .rotator-photo {
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.gallery-item:hover .rotator-photo.is-active { transform: scale(1.05); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(to top, rgba(44, 33, 24, 0.12), transparent);
  pointer-events: none;
}

/* === Contact === */
.contact { background: #fff; }

.contact-links {
  display: flex; gap: 1.5rem;
  justify-content: center; flex-wrap: wrap;
}

.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--warm);
  color: var(--warm);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-icon:hover {
  background: var(--warm);
  color: #fff;
  transform: translateY(-2px);
}

/* === Footer === */
.footer {
  text-align: center; padding: 2rem;
  font-size: 0.8rem; color: var(--text-light);
  background: var(--cream);
  border-top: 1px solid rgba(166, 124, 82, 0.15);
}

/* === Burger Menu === */
.burger span {
  display: block; width: 30px; height: 3px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.burger-menu {
  display: none;
  position: fixed;
  top: 62px;
  right: 1.5rem;
  background: rgba(250, 246, 241, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(166, 124, 82, 0.15);
  border-radius: 12px;
  padding: 1rem 0;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  flex-direction: column;
  z-index: 200;
}
.burger-menu.open { display: flex; }
.burger-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  padding: 0.85rem 1.8rem;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.burger-menu a:hover, .burger-menu a.active {
  color: var(--warm);
  background: rgba(166, 124, 82, 0.06);
}
.burger-menu .nav-cta {
  margin: 0.5rem 1.2rem 0.4rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  padding: 0.65rem 1.6rem;
}

/* === Reviews Page === */
.reviews-section { padding-top: 10rem; }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: left;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(166, 124, 82, 0.1);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-color: rgba(166, 124, 82, 0.22);
}

.review-card-link {
  display: block;
  height: 100%;
  color: inherit;
}

.review-card-link:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 4px;
  border-radius: 16px;
}

.review-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-right: 2rem;
}

.review-card h3 a {
  color: inherit;
}

.review-card h3 a:hover {
  color: var(--warm);
}

.tiktok-link {
  color: var(--text-light);
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}
.tiktok-link:hover {
  color: var(--warm);
  transform: scale(1.1);
}

.review-card.coming-soon {
  opacity: 0.7;
}

.review-card .pending {
  color: var(--text-light);
  font-style: italic;
  font-size: 0.9rem;
}

.review-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.review-details .detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.review-details .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 500;
}

.review-details .detail > span:last-child {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.review-verdict {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(166, 124, 82, 0.1);
}

.review-verdict .pro,
.review-verdict .con {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  margin-right: 0.4rem;
}
.badge.good { background: #e8f5e9; color: #2e7d32; }
.badge.bad { background: #fce4ec; color: #c62828; }

.loading-msg {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1rem 0;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(166, 124, 82, 0.25);
}
.section-divider span {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* === Blog / Skintelligence === */
.blog-section { padding-top: 10rem; }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: left;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(166, 124, 82, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-color: rgba(166, 124, 82, 0.22);
}

.blog-card-link {
  display: block;
  height: 100%;
  color: inherit;
}
.blog-card-link:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 4px;
  border-radius: 16px;
}
.blog-card-link:hover .blog-read-more,
.blog-card-link:focus-visible .blog-read-more {
  color: var(--warm-light);
}

.blog-card-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem 2rem 2rem;
}

.blog-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 500;
}

.blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--dark);
  margin: 0.5rem 0 0.75rem;
}

.blog-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.blog-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  background: rgba(166, 124, 82, 0.1);
  color: var(--warm);
  font-weight: 500;
}

.blog-excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.blog-content {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
}

.blog-content.collapsed {
  max-height: 200px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}

.blog-read-more {
  background: none;
  border: none;
  color: var(--warm);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.blog-read-more:hover { color: var(--warm-light); }

.blog-back {
  background: none;
  border: none;
  color: var(--warm);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-bottom: 2rem;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}
.blog-back:hover { color: var(--warm-light); }

.blog-hero-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.blog-hero-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.blog-full-post h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--dark);
  margin: 0.5rem 0 2rem;
  line-height: 1.3;
}

.blog-body {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.9;
  text-align: left;
}
.blog-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
}
.blog-body h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin: 2rem 0 0.75rem;
}
.blog-body p { margin-bottom: 1.2rem; }
.blog-body img {
  width: 100%;
  border-radius: 12px;
  margin: 1.5rem 0;
}
.blog-body ul, .blog-body ol {
  margin: 1rem 0 1.2rem 1.5rem;
  text-align: left;
}
.blog-body li { margin-bottom: 0.5rem; list-style-position: outside; }
.blog-body blockquote {
  border-left: 3px solid var(--warm);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(166, 124, 82, 0.05);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--text-light);
}
.blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.blog-body th, .blog-body td {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(166, 124, 82, 0.15);
  text-align: left;
}
.blog-body th {
  background: rgba(166, 124, 82, 0.08);
  font-weight: 500;
}
.blog-body a {
  color: var(--warm);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-body a:hover { color: var(--warm-light); }
.blog-body strong { font-weight: 500; }

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}
.empty-state p {
  color: var(--text-light);
  font-size: 1.1rem;
  font-style: italic;
}

/* === SEO Content Pages === */
.content-page { background: var(--cream); }

.content-page .section {
  padding-top: 10rem;
}

.content-container {
  max-width: 860px;
}

.content-article {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(166, 124, 82, 0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  padding: clamp(1.5rem, 3vw, 3rem);
  text-align: left;
}

.content-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.content-breadcrumbs a {
  color: var(--warm);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: var(--warm);
  font-weight: 500;
}

.content-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--text-light);
}

.content-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(166, 124, 82, 0.12);
  color: var(--warm);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.content-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1rem;
}

.content-dek {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.content-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(166, 124, 82, 0.1);
}

.content-card-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-light);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.content-card-value {
  color: var(--text);
  line-height: 1.65;
}

.content-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 0;
}

.review-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(166, 124, 82, 0.12);
}

.review-section h2 {
  text-align: left;
  margin-bottom: 0.8rem;
}

.review-section p,
.review-section li {
  color: var(--text);
  line-height: 1.8;
}

.review-copy {
  color: var(--text-light);
  line-height: 1.8;
}

.review-disclosure {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(166, 124, 82, 0.12);
}

.review-disclosure-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-light);
}

.review-disclosure-copy {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(73, 58, 46, 0.74);
}

.content-list {
  margin: 0;
  padding-left: 1.25rem;
}

.content-list li {
  margin-bottom: 0.65rem;
}

/* === Mobile === */
@media (max-width: 768px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 4.5rem;
  }
  .nav-left { flex: 1; }
  .logo { flex: 1; justify-content: center; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-image { max-width: 320px; margin: 0 auto; }
  .about-image-note { text-align: center; }
  .stats { justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.gallery-tall { grid-row: span 1; aspect-ratio: 1; }
  .review-details { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.8rem; }
  .section { padding: 3.5rem 0; }
  .reviews-section { padding-top: 10rem; }
  .blog-section { padding-top: 10rem; }
  .hero { padding: 5rem 1rem 3rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rotator-photo {
    transition: none;
    transform: none;
  }
  .gallery-item:hover .rotator-photo.is-active {
    transform: none;
  }
}
