/**
 * Homepage Content — Luxury prototype
 * Mettler 1929 aesthetic: refined, editorial, premium skincare
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  /* Palette */
  --cream: #f6f3ee;
  --sand: #eae6df;
  --paper: #faf9f7;
  --charcoal: #1c1c1c;
  --graphite: #2d2d2d;
  --warm-black: #252220;
  --gold: #b8a067;
  --gold-light: #d4c89a;
  --gold-muted: #a08f5c;
  --text: #2c2c2c;
  --text-soft: #5c5c5c;
  --white: #ffffff;
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  /* Spacing & rhythm */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --container: min(92vw, 1280px);
  --container-narrow: min(88vw, 720px);
  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset / base for content area only */
.hp-content {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.hp-content *,
.hp-content *::before,
.hp-content *::after {
  box-sizing: border-box;
}

/* ----- Placeholder header / hero / footer (minimal) ----- */
.hp-placeholder-header {
  height: 80px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.12em;
}
.hp-placeholder-hero {
  position: relative;
  height: 60vh;
  min-height: 360px;
  background: var(--warm-black) url('images/hero.png') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hp-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 28rem;
}
.hp-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin: 0 0 var(--space-md);
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
.hp-hero__subheadline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  color: rgba(246, 243, 238, 0.9);
  line-height: 1.6;
  margin: 0 0 var(--space-xl);
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}
.hp-hero__cta {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--cream);
  text-decoration: none;
  border: none;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}
.hp-hero__cta:hover {
  background: var(--gold-light);
  color: var(--charcoal);
}
.hp-placeholder-hero .hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(184,160,103,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hp-placeholder-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.hp-placeholder-footer {
  padding: var(--space-xl) var(--space-md);
  background: var(--charcoal);
  color: var(--sand);
  text-align: center;
  font-size: 0.9rem;
}

/* ----- Section common ----- */
.hp-section {
  padding: var(--space-2xl) 0;
  position: relative;
}
.hp-section--alt {
  background: var(--sand);
}
.hp-section--dark {
  background: var(--graphite);
  color: var(--cream);
}
.hp-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.hp-container--narrow {
  max-width: var(--container-narrow);
}

/* ----- 2. Brand value ----- */
.hp-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}
.hp-values__item {
  padding: var(--space-md) 0;
}
.hp-values__icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto var(--space-sm);
  border: 1px solid var(--gold-muted);
  border-radius: 50%;
  background: transparent;
}
.hp-values__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 var(--space-xs);
}
.hp-values__desc {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}

/* ----- 3. Signature product ----- */
.hp-signature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hp-signature__media {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: var(--paper);
  border-radius: 4px;
}
.hp-signature__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hp-signature__label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: var(--space-sm);
}
.hp-signature__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 var(--space-md);
}
.hp-signature__desc {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0 0 var(--space-lg);
}
.hp-signature__benefits {
  list-style: none;
  margin: 0 0 var(--space-xl);
  padding: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
}
.hp-signature__benefits li {
  padding-left: 1.25rem;
  position: relative;
}
.hp-signature__benefits li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-muted);
}
.hp-signature__cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}
.hp-signature__cta:hover {
  background: var(--charcoal);
  color: var(--cream);
}

/* ----- 1. Lead headline (legacy) ----- */
.hp-lead {
  padding: var(--space-3xl) 0;
  text-align: center;
}
.hp-lead__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.25;
  max-width: 18ch;
  margin: 0 auto;
}
.hp-lead__title em {
  font-style: italic;
  color: var(--gold-muted);
}
.hp-lead__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: var(--space-md) auto 0;
}

/* ----- 2. Featured products grid ----- */
.hp-featured {
  padding-bottom: var(--space-2xl);
}
.hp-featured__section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 var(--space-xl);
  text-align: center;
}
.hp-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-lg);
}
.hp-featured__card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.35s ease;
}
.hp-featured__card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.hp-featured__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hp-featured__card-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper);
}
.hp-featured__card-img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
}
.hp-featured__card:hover .hp-featured__card-img {
  transform: scale(1.03);
}
.hp-featured__card-body {
  padding: var(--space-md);
}
.hp-featured__card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 var(--space-xs);
  color: var(--charcoal);
  transition: color 0.25s ease;
}
.hp-featured__card-link:hover .hp-featured__card-title {
  color: var(--gold-muted);
}
.hp-featured__card-desc {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin: 0 0 var(--space-sm);
}
.hp-featured__card-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gold-muted);
}

/* ----- 3. Principles (stem cell + text) ----- */
.hp-principles .hp-container {
  /* Grid burada değil; .hp-principles__layout içinde (tek child) */
}
.hp-principles__media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.hp-principles__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hp-principles__content {}
.hp-principles__label {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: var(--space-md);
}
.hp-principles__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 var(--space-lg);
}
.hp-principles__block {
  margin-bottom: var(--space-xl);
}
.hp-principles__block:last-of-type {
  margin-bottom: 0;
}
.hp-principles__block h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 var(--space-sm);
}
.hp-principles__block p {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.65;
}

/* ----- 4. Clinical proof ----- */
.hp-clinical {
  padding: var(--space-2xl) 0;
}
.hp-clinical__hero-stat {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl) 0;
}
.hp-clinical__hero-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.hp-clinical__hero-label {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin: 0;
}
.hp-clinical__header {
  margin-bottom: var(--space-xl);
}
.hp-clinical__header-text {
  min-width: 0;
}
.hp-clinical__label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: var(--space-sm);
}
.hp-clinical__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--charcoal);
  margin: 0;
  max-width: 22ch;
}
.hp-clinical__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.hp-clinical__card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}
.hp-clinical__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.hp-clinical__card-img {
  aspect-ratio: 1;
  object-fit: contain;
  width: 100%;
  padding: var(--space-md);
  background: var(--paper);
  display: block;
}
.hp-clinical__card-body {
  padding: var(--space-md);
}
.hp-clinical__card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  text-align: center;
}
.hp-clinical__card-title a {
  color: var(--charcoal);
  text-decoration: none;
}
.hp-clinical__card-title a:hover {
  color: var(--gold-muted);
}
.hp-clinical__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.hp-clinical__list li {
  padding: 0.2em 0;
  padding-left: 1em;
  position: relative;
}
.hp-clinical__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

/* ----- 5. Customer stats ----- */
.hp-stats__section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 var(--space-xl);
  text-align: center;
}
.hp-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
  text-align: center;
}
.hp-stats__stat {
  padding: var(--space-lg) var(--space-md);
}
.hp-stats__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}
.hp-stats__label {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.hp-stats__note {
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
  margin: 0;
}
.hp-stats {
  padding: var(--space-2xl) 0;
}

/* ----- 9. Final CTA ----- */
.hp-cta {
  padding: var(--space-3xl) 0;
  text-align: center;
}
.hp-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.25;
  margin: 0 0 var(--space-xl);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.hp-cta__button {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--charcoal);
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}
.hp-cta__button:hover {
  background: var(--gold-muted);
  color: var(--cream);
}

/* ----- 6. Product lines ----- */
.hp-lines {
  padding: var(--space-2xl) 0;
  background: var(--sand);
}
.hp-lines__header {
  margin-bottom: var(--space-xl);
}
.hp-lines__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--charcoal);
  margin: 0;
  max-width: 14ch;
}
.hp-lines__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.hp-lines__card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.35s ease, transform 0.35s var(--ease-out-expo);
}
.hp-lines__card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.hp-lines__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hp-lines__card-img-wrap {
  aspect-ratio: 4/3;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.hp-lines__card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hp-lines__card-body {
  padding: var(--space-md);
}
.hp-lines__card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 var(--space-sm);
  color: var(--charcoal);
  transition: color 0.25s ease;
}
.hp-lines__card-link:hover .hp-lines__card-title {
  color: var(--gold-muted);
}
.hp-lines__card-desc {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

/* ----- Reveal utility (for GSAP) ----- */
.hp-reveal {
  opacity: 0;
  transform: translateY(28px);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .hp-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hp-signature__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .hp-signature__media {
    max-width: 400px;
    margin: 0 auto;
  }
  .hp-signature__media {
    max-width: 400px;
    margin: 0 auto;
  }
  .hp-principles__layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .hp-principles__media {
    max-width: 480px;
    margin: 0 auto;
  }
  .hp-clinical__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hp-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hp-lines__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }
  .hp-values__grid {
    grid-template-columns: 1fr;
  }
  .hp-featured__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  .hp-clinical__grid {
    grid-template-columns: 1fr;
  }
  .hp-stats__grid {
    grid-template-columns: 1fr;
  }
  .hp-lines__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hp-featured__grid {
    grid-template-columns: 1fr;
  }
  .hp-showcase__item {
    padding: var(--space-xl) 0;
  }

  .hp-showcase__clinical {
    max-width: none;
  }
}

/* ----- Homepage mobile: prevent content shift, overflow, ensure header above hero ----- */
@media (max-width: 991px) {
  body.cms-index-index .header-container.type9 {
    position: relative;
    z-index: 10;
  }
  .page {
    overflow-x: hidden;
  }
}

@media (max-width: 767px) {
  .hp-container,
  .hp-container--narrow,
  .hp-principles .hp-container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hp-section,
  .hp-manifesto,
  .hp-slogan,
  .hp-showcase {
    padding-left: 0;
    padding-right: 0;
  }
}

.hp-manifesto {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: var(--paper);
}
.hp-manifesto__label {
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: var(--space-lg);
}
.hp-manifesto__title {
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 6vw, 4.4rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}
.hp-manifesto__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-muted);
}
.hp-manifesto__text {
  font-size: 1.4rem;
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.8;
}
.hp-manifesto__line {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: var(--space-2xl) auto 0;
}
/* ----- Principles Layout Fix ----- */
.hp-principles .hp-container {
  display: block;
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.hp-principles__layout {
  display: grid;
  grid-template-columns: 2fr 3fr; /* Sol görsel 40%, sağ metin 60% */
  gap: var(--space-3xl);
  align-items: start;
}

.hp-principles__media {
  position: sticky;
  top: 100px;
}

.hp-principles__img-wrapper {
  width: 100%; /* Görselin küçük kalmasını engeller */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

.hp-principles__img-wrapper img {
  width: 100%; /* Resmin konteynırı tam doldurmasını sağlar */
  height: auto;
  display: block;
  object-fit: cover;
}

.hp-principles__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hp-principles__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 3.9rem); /* Başlığı daha prestijli boyuta çektik */
  line-height: 1.1;
  margin-bottom: var(--space-2xl);
}

.hp-principles__block {
  margin-bottom: var(--space-xl);
  padding-left: var(--space-md);
  border-left: 1px solid var(--gold-light); /* Sol tarafa ince bir prestij çizgisi */
}

.hp-principles__block h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: var(--space-xs);
  color: var(--charcoal);
}

/* Mobil için görseli üste alır ve genişletir */
@media (max-width: 1024px) {
  .hp-principles__layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .hp-principles__media {
    position: static;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hp-principles .hp-container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
}

/* ----- Slogan: karakter blur + scale animasyonu ----- */
.hp-slogan {
  padding: var(--space-2xl) 0;
  background: var(--white);
  text-align: center;
}

.hp-slogan__line {
  white-space: nowrap;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.hp-slogan__line-br {
  display: none;
}

@media (max-width: 768px) {
  .hp-slogan__line {
    white-space: normal;
  }
  .hp-slogan__line-br {
    display: block;
  }
}

.hp-slogan__char {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform: scale(0.72);
}

.hp-slogan__char--space {
  min-width: 0.25em;
}

.hp-slogan--inview .hp-slogan__char {
  animation: hp-slogan-char 0.6s cubic-bezier(0.42, 0, 0.58, 1) forwards;
}

@keyframes hp-slogan-char {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

/* ----- Showcase: ürün blokları (resim + slogan + klinik + CTA) ----- */
.hp-showcase {
  padding: var(--space-3xl) 0;
  background: var(--paper);
}

.hp-showcase__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--sand);
}

.hp-showcase__item:last-child {
  border-bottom: none;
}

.hp-showcase__item--img-right .hp-showcase__content { order: 1; }
.hp-showcase__item--img-right .hp-showcase__media { order: 2; }

.hp-showcase__item--img-left .hp-showcase__media { order: 1; }
.hp-showcase__item--img-left .hp-showcase__content { order: 2; }

.hp-showcase__content {
  padding: var(--space-md) 0;
}

.hp-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 var(--space-sm);
}

.hp-showcase__slogan {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.8vw, 1.65rem);
  font-weight: 400;
  color: var(--gold-muted);
  font-style: italic;
  margin: 0 0 var(--space-lg);
}

.hp-showcase__clinical {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.hp-showcase__clinical li {
  padding-left: 1.25rem;
  position: relative;
}

.hp-showcase__clinical li + li {
  margin-top: 0.75rem;
}

.hp-showcase__clinical li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-muted);
}

.hp-showcase__cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}

.hp-showcase__cta:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.hp-showcase__media {
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.hp-showcase__media img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .hp-showcase__item {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .hp-showcase__item--img-right .hp-showcase__content,
  .hp-showcase__item--img-left .hp-showcase__content {
    order: 2;
  }

  .hp-showcase__item--img-right .hp-showcase__media,
  .hp-showcase__item--img-left .hp-showcase__media {
    order: 1;
  }

  .hp-showcase__clinical {
    text-align: left;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .hp-showcase__item {
    padding: var(--space-xl) 0;
  }

  .hp-showcase__clinical {
    max-width: none;
  }
}

/* ----- Swiss Perfection + video block ----- */
.hp-swiss-video {
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.hp-swiss-video__head {
  background: var(--white);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.hp-swiss-video__line {
  display: block;
  width: 100px;
  height: 0;
  border-bottom: 1px solid var(--gold-muted);
  flex-shrink: 0;
}

.hp-swiss-video__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin: 0;
  white-space: nowrap;
}

.hp-swiss-video__wrap {
  position: relative;
  width: 100%;
  min-width: 100%;
  height: 70vh;
  overflow: hidden;
}

.hp-swiss-video__video {
  width: 100%;
  height: 100%;
  min-width: 100%;
  object-fit: cover;
  display: block;
  background: var(--charcoal);
}

.hp-swiss-video__cta-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-lg);
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.hp-swiss-video__cta-wrap.is-visible {
  pointer-events: auto;
}

.hp-swiss-video__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.hp-swiss-video__cta-text {
  color: #fff;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 25px;
  transition: color 0.3s ease;
  background: #1A1A1A;
  padding: var(--space-sm) var(--space-md);
}

.hp-swiss-video__cta-arrow-circle {
  width: 44px;
  height: 44px;
  border: 1px solid #1A1A1A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hp-swiss-video__cta-arrow-circle svg {
  width: 18px;
  stroke: #1A1A1A;
  fill: none;
}

.hp-swiss-video__cta-arrow-circle path {
  stroke: inherit;
}

.hp-swiss-video__cta-line {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, #1A1A1A, transparent);
  opacity: 1;
}

.hp-swiss-video__cta:hover .hp-swiss-video__cta-arrow-circle {
  background: #fff;
  transform: scale(1.1);
}

.hp-swiss-video__cta:hover .hp-swiss-video__cta-arrow-circle svg {
  stroke: #1A1A1A;
}

.hp-swiss-video__cta:hover .hp-swiss-video__cta-text {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
  .hp-swiss-video__head {
    height: 160px;
  }
  .hp-swiss-video__wrap {
    height: 60vh;
  }
}

@media (max-width: 768px) {
  .hp-swiss-video__head {
    height: 120px;
    gap: var(--space-sm);
  }
  .hp-swiss-video__line {
    width: 100px;
  }
  .hp-swiss-video__wrap {
    height: 50vh;
  }
}

/* ----- Routine section (3-step ritual) ----- */
.routine-section {
  padding: 120px 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: var(--white);
  font-family: var(--font-body);
  color: var(--text);
}

.routine-section .label {
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--gold-muted);
  margin-bottom: 10px;
}

.routine-section__title {
  font-family: var(--font-display);
  font-size: 44px;
  margin: 10px 0;
  font-weight: 500;
  color: var(--charcoal);
}

.routine-section__subtitle {
  color: var(--text-soft);
  margin-bottom: 50px;
}

.routine-section__skin-question {
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-soft);
}

.routine-section .tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.routine-section .tab {
  background: none;
  border: none;
  font-size: 15px;
  cursor: pointer;
  padding: 10px 0;
  color: var(--text-soft);
  position: relative;
  font-family: var(--font-body);
  transition: color 0.3s var(--ease-in-out-smooth);
}

.routine-section .tab.active {
  color: var(--gold-muted);
}

.routine-section .tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gold-muted);
  animation: routine-underline 0.35s ease;
}

@keyframes routine-underline {
  from { width: 0; }
  to { width: 100%; }
}

.routine-wrapper {
  position: relative;
  min-height: 360px;
}

.routine-section .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.routine-section .orb-1 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(183, 154, 103, 0.18) 0%, transparent 70%);
  top: -40px;
  right: 15%;
  animation: routine-drift1 8s ease-in-out infinite;
}

.routine-section .orb-2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(183, 154, 103, 0.1) 0%, transparent 70%);
  bottom: 0;
  left: 12%;
  animation: routine-drift2 10s ease-in-out infinite;
}

@keyframes routine-drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, 15px) scale(1.1); }
  66% { transform: translate(15px, -10px) scale(0.9); }
}

@keyframes routine-drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.15); }
}

.routine-section .routine-set {
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
  z-index: 1;
}

.routine-section .routine-set.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.routine-section .routine-set__scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.routine-section .product {
  max-width: min(320px, 28vw);
  min-width: 280px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.routine-section .product img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 16px 32px rgba(183, 154, 103, 0.15));
}

.routine-section .routine-set.active .routine-set__scroll .product h3 {
  animation: routine-slideRight 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.routine-section .routine-set.active .routine-set__scroll .product img {
  animation: routine-slideRight 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.routine-section .routine-set.active .routine-set__scroll .product p {
  animation: routine-slideRight 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.routine-section .routine-set.active .routine-set__scroll .product .hp-showcase__cta {
  animation: routine-slideRight 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Ürün 1 */
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(1) h3 { animation-delay: 0.08s; }
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(1) img { animation-delay: 0.22s; }
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(1) p { animation-delay: 0.36s; }
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(1) .hp-showcase__cta { animation-delay: 0.50s; }

/* Ürün 2 */
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(3) h3 { animation-delay: 0.24s; }
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(3) img { animation-delay: 0.38s; }
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(3) p { animation-delay: 0.52s; }
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(3) .hp-showcase__cta { animation-delay: 0.66s; }

/* Ürün 3 */
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(5) h3 { animation-delay: 0.40s; }
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(5) img { animation-delay: 0.54s; }
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(5) p { animation-delay: 0.68s; }
.routine-section .routine-set.active .routine-set__scroll .product:nth-child(5) .hp-showcase__cta { animation-delay: 0.82s; }

.routine-section .routine-set.active .routine-set__scroll .arrow {
  animation: routine-slideRight 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.routine-section .routine-set.active .routine-set__scroll .arrow:nth-child(2) { animation-delay: 0.16s; }
.routine-section .routine-set.active .routine-set__scroll .arrow:nth-child(4) { animation-delay: 0.32s; }

@keyframes routine-slideRight {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

.routine-section .product h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 10px 0;
  font-weight: 500;
  color: var(--charcoal);
}

.routine-section .product p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.routine-section .arrow {
  font-size: 26px;
  color: var(--gold-muted);
}

/* Routine: carousel dots (hidden on desktop) */
.routine-section .routine-carousel-dots {
  display: none;
}

/* ----- Routine: mobile carousel (scroll snap + dots) ----- */
@media (max-width: 768px) {
  .routine-section {
    padding: 80px 0 60px;
  }

  .routine-section .routine-set__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 0;
    padding: 0 8px 16px;
    scrollbar-width: none;
  }
  .routine-section .routine-set__scroll::-webkit-scrollbar {
    display: none;
  }

  .routine-section .routine-set__scroll .product {
    flex: 0 0 85%;
    min-width: 85%;
    max-width: 85%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 0 6px;
  }

  .routine-section .routine-set__scroll .arrow {
    display: none;
  }

  .routine-section .routine-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-bottom: 8px;
  }
  .routine-section .routine-carousel-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(160, 143, 92, 0.25);
    transition: background 0.25s var(--ease-in-out-smooth), transform 0.2s ease;
  }
  .routine-section .routine-carousel-dots span.is-active {
    background: var(--gold-muted);
    transform: scale(1.2);
  }

  .routine-section .product img {
    max-width: 180px;
  }
}
