﻿:root {
  --color-white: #ffffff;
  --color-cream: #fbf7ff;
  --color-mint: #f0e7ff;
  --color-blue: #efe6fb;
  --color-beige: #e6d8f4;
  --color-green: #b38ad9;
  --color-green-dark: #7d4fa3;
  --color-navy: #2f2340;
  --color-text: #352844;
  --color-muted: #74677e;
  --color-border: rgba(125, 79, 163, 0.16);
  --shadow-soft: 0 18px 50px rgba(67, 43, 88, 0.14);
  --shadow-card: 0 16px 36px rgba(67, 43, 88, 0.11);
  --radius-card: 8px;
  --radius-soft: 16px;
  --container: min(1184px, calc(100% - 32px));
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, #fdfaff 0%, #f5edff 44%, #fff9fb 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section-pad {
  padding: 50px 0;
}

.section-compact {
  padding: 40px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--color-green-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.86);
}

h1,
h2,
h3 {
  font-family: "Poppins", "Inter", sans-serif;
  margin: 0;
  color: var(--color-navy);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 1.02;
  max-width: 780px;
}

h2 {
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}

p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
  box-shadow: 0 14px 30px rgba(125, 79, 163, 0.26);
}

.btn-secondary {
  color: var(--color-green-dark);
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--color-border);
}

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

.btn-outline-light {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(24, 50, 53, 0.08);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-white);
  background: linear-gradient(145deg, var(--color-green), var(--color-green-dark));
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(125, 79, 163, 0.24);
}

.brand > span:last-child {
  min-width: 0;
}

.brand strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  color: var(--color-navy);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #385154;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}

.nav-menu a:hover {
  color: var(--color-green-dark);
  background: rgba(179, 138, 217, 0.14);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-green-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 24%, rgba(198, 156, 229, 0.52), transparent 30%),
    radial-gradient(circle at 12% 72%, rgba(125, 79, 163, 0.16), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(229, 203, 255, 0.44), transparent 32%),
    linear-gradient(90deg, rgba(253, 248, 255, 0.94) 0%, rgba(247, 237, 255, 0.88) 50%, rgba(241, 224, 255, 0.82) 100%);
}

.hero-bg::before,
.hero-bg::after,
.page-hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-bg::before {
  inset: -14% -8% -10% -8%;
  opacity: 0.52;
  background-image:
    radial-gradient(circle, rgba(125, 79, 163, 0.24) 0 3px, transparent 4px),
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 11px, rgba(179, 138, 217, 0.16) 12px 14px, transparent 15px),
    radial-gradient(circle, rgba(179, 138, 217, 0.2) 0 17px, transparent 18px),
    linear-gradient(64deg, transparent 0 44%, rgba(125, 79, 163, 0.1) 45% 46%, transparent 47% 100%),
    linear-gradient(116deg, transparent 0 48%, rgba(179, 138, 217, 0.12) 49% 50%, transparent 51% 100%);
  background-size: 92px 92px, 220px 220px, 340px 340px, 310px 210px, 360px 240px;
  background-position: 6% 18%, 68% 18%, 42% 84%, 8% 28%, 22% 62%;
  animation: derma-drift 18s ease-in-out infinite alternate;
}

.hero-bg::after {
  left: 3%;
  top: 16%;
  width: min(520px, 48vw);
  aspect-ratio: 1;
  opacity: 0.38;
  border-radius: 42% 58% 52% 48%;
  background:
    radial-gradient(circle at 28% 34%, transparent 0 13px, rgba(125, 79, 163, 0.28) 14px 18px, transparent 19px),
    radial-gradient(circle at 58% 26%, transparent 0 10px, rgba(179, 138, 217, 0.32) 11px 15px, transparent 16px),
    radial-gradient(circle at 70% 58%, transparent 0 15px, rgba(125, 79, 163, 0.24) 16px 20px, transparent 21px),
    radial-gradient(circle at 42% 72%, transparent 0 9px, rgba(179, 138, 217, 0.3) 10px 14px, transparent 15px),
    linear-gradient(32deg, transparent 0 47%, rgba(125, 79, 163, 0.16) 48% 49%, transparent 50% 100%),
    linear-gradient(104deg, transparent 0 50%, rgba(125, 79, 163, 0.14) 51% 52%, transparent 53% 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(217, 184, 255, 0.18));
  filter: blur(0.2px);
  animation: cell-pulse 10s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(248, 245, 238, 0), #fdfaff);
}

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

.hero-content p {
  max-width: 620px;
  margin-top: 24px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.center-actions {
  justify-content: center;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 40px;
}

.hero-proof div {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(25, 63, 67, 0.07);
  backdrop-filter: blur(12px);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--color-navy);
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-proof span {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-skin {
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
}

.hero-product-range {
  object-fit: contain;
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.hero-product-range[src*="face-wash"] {
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.floating-product {
  position: absolute;
  width: 190px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  animation: float 5s ease-in-out infinite;
}

.floating-product img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.floating-product span {
  display: block;
  margin-top: 10px;
  color: var(--color-navy);
  font-weight: 800;
  text-align: center;
}

.product-one {
  left: -42px;
  bottom: 52px;
}

.product-two {
  right: -18px;
  top: 48px;
  animation-delay: 1.1s;
}

.trust {
  position: relative;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.icon-box {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--radius-card);
  color: var(--color-green-dark);
  background: linear-gradient(135deg, var(--color-mint), var(--color-blue));
}

.icon-box svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item p {
  margin-top: 6px;
  font-size: 0.92rem;
}

.section-head {
  position: relative;
  max-width: 880px;
  margin-bottom: 48px;
}

.section-head p {
  margin-top: 16px;
  font-size: 1.02rem;
}

.section-head h2 {
  position: relative;
  max-width: 780px;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 82px;
  height: 3px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-green), rgba(125, 79, 163, 0.10));
}

.section-head.center {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head.center h2 {
  margin-inline: auto;
}

.section-head.center h2::after {
  margin-inline: auto;
}

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

.product-card,
.solution-card,
.why-card,
.testimonial-card,
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover,
.solution-card:hover,
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(25, 63, 67, 0.14);
  border-color: rgba(125, 79, 163, 0.30);
}

.product-image {
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

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

.product-image img[src*="koriumx-"],
.product-image img[src*="product-"],
.collection-card > img[src*="koriumx-"],
.collection-card > img[src*="product-"],
.detail-media img[src*="koriumx-"],
.split-media img[src*="product-"],
.about-image img[src*="product-"],
.article img[src*="koriumx-"],
.article img[src*="product-"],
.blog-card img[src*="koriumx-"],
.blog-card img[src*="product-"],
.image-strip img[src*="koriumx-"],
.image-strip img[src*="product-"] {
  object-fit: contain;
  padding: 18px;
  background: var(--color-white);
}

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

.product-card.hidden {
  display: none;
}

.product-body {
  padding: 20px;
}

.product-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--color-green-dark);
  background: rgba(179, 138, 217, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-body p {
  margin-top: 10px;
  font-size: 0.95rem;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-green-dark);
  font-weight: 900;
}

.text-link::after {
  content: "\2192";
  margin-left: 8px;
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: translateX(4px);
}

.about {
  background: linear-gradient(135deg, rgba(241, 224, 255, 0.78), rgba(253, 248, 255, 0.76));
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.about-image img {
  height: 620px;
  object-fit: cover;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
}

.about-content p {
  margin-top: 20px;
  font-size: 1.04rem;
}

.about-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.about-list div {
  padding: 20px;
  border-left: 3px solid var(--color-green);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.72);
}

.about-list strong,
.about-list span {
  display: block;
}

.about-list strong {
  color: var(--color-navy);
  font-weight: 900;
}

.about-list span {
  margin-top: 6px;
  color: var(--color-muted);
  line-height: 1.65;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, var(--color-mint), var(--color-blue));
}

.solution-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.solution-card strong {
  display: block;
  color: var(--color-navy);
  font-size: 1.15rem;
}

.solution-card p {
  margin-top: 12px;
}

.why {
  background: linear-gradient(180deg, rgba(240, 231, 255, 0.58), rgba(255, 249, 251, 0.66));
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-card {
  padding: 24px;
}

.check {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-green-dark);
  font-weight: 900;
}

.check::before {
  content: "\2713";
}

.why-card p {
  margin-top: 10px;
}

.testimonial-shell {
  overflow: hidden;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  transition: transform 0.4s ease;
}

.testimonial-card {
  padding: 28px;
}

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

.testimonial-card p {
  margin-top: 18px;
  color: #3f5558;
  font-size: 1.02rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  margin-top: 22px;
  color: var(--color-navy);
  font-weight: 900;
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.testimonial-controls {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(125, 79, 163, 0.24);
  cursor: pointer;
}

.dot.active {
  background: var(--color-green-dark);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 72px;
  border-radius: var(--radius-soft);
  background:
    radial-gradient(circle at 84% 24%, rgba(200, 183, 255, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(47, 35, 64, 0.97), rgba(125, 79, 163, 0.94));
  box-shadow: var(--shadow-soft);
}

.cta-panel h2,
.cta-panel p {
  max-width: 680px;
  color: var(--color-white);
}

.cta-panel p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.faq-intro p {
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 0;
  background: transparent;
  color: var(--color-navy);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question strong {
  transition: transform var(--transition);
}

.faq-item.active .faq-question strong {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer p {
  padding: 0 22px 22px;
}

.faq-item.active .faq-answer {
  max-height: 180px;
}

.footer {
  padding: 64px 0 40px;
  background: var(--color-navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 0.7fr;
  gap: 32px;
}

.footer .brand strong,
.footer h3 {
  color: var(--color-white);
}

.footer .brand small,
.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer p {
  margin-top: 16px;
}

.footer h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer a {
  display: block;
  margin-top: 10px;
  transition: color var(--transition);
}

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

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  color: var(--color-white);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(145deg, #b38ad9, #7d4fa3);
  box-shadow: 0 16px 36px rgba(67, 43, 88, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.92);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), box-shadow var(--transition);
}

.scroll-top-btn span {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 44px rgba(67, 43, 88, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  position: relative;
  padding: 118px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 24%, rgba(200, 183, 255, 0.34), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(179, 138, 217, 0.32), transparent 28%),
    linear-gradient(90deg, rgba(253, 248, 255, 0.92), rgba(241, 224, 255, 0.8));
}

.page-hero::before {
  inset: -20% -8% -20% auto;
  width: min(560px, 70vw);
  opacity: 0.46;
  background:
    radial-gradient(circle at 18% 42%, rgba(125, 79, 163, 0.24) 0 5px, transparent 6px),
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.8) 0 14px, rgba(125, 79, 163, 0.12) 15px 17px, transparent 18px),
    radial-gradient(circle at 58% 58%, rgba(179, 138, 217, 0.24) 0 18px, transparent 19px),
    radial-gradient(circle at 76% 36%, rgba(125, 79, 163, 0.18) 0 10px, transparent 11px),
    linear-gradient(42deg, transparent 0 48%, rgba(125, 79, 163, 0.14) 49% 50%, transparent 51% 100%);
  background-size: 95px 95px, 220px 220px, 300px 300px, 160px 160px, 320px 220px;
  animation: molecule-float 14s ease-in-out infinite alternate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(253, 250, 255, 0), #fdfaff);
}

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

.page-hero-content {
  max-width: 780px;
}

.page-hero p {
  max-width: 650px;
  margin-top: 20px;
  font-size: 1.08rem;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--color-green-dark);
  font-weight: 800;
  font-size: 0.86rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-green-dark);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--color-white);
  background: var(--color-green-dark);
  transform: translateY(-2px);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.collection-card {
  display: grid;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(25, 63, 67, 0.14);
}

.collection-card img {
  height: 310px;
  object-fit: cover;
}

.collection-body {
  padding: 22px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--color-green-dark);
  background: rgba(179, 138, 217, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
}

.detail-hero {
  padding: 64px 0;
}

.detail-info-section {
  padding: 50px 0 24px;
}

.detail-routine-section {
  padding: 24px 0 50px;
}

.detail-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 32px;
  align-items: start;
}

.detail-media {
  position: relative;
}

.detail-media img,
.split-media img {
  height: 640px;
  object-fit: cover;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
}

.detail-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.ingredient-grid,
.routine-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card,
.blog-card,
.routine-card,
.contact-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.routine-card span,
.info-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-green-dark);
  font-weight: 900;
}

.blog-card {
  padding: 0;
  overflow: hidden;
}

.blog-card img {
  height: 260px;
  object-fit: cover;
}

.blog-body {
  padding: 22px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--color-green-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.article {
  max-width: 820px;
  margin-inline: auto;
}

.article img {
  height: 460px;
  object-fit: cover;
  margin: 32px 0;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
}

.article h2 {
  margin-top: 42px;
  font-size: 2rem;
}

.article p {
  margin-top: 18px;
  font-size: 1.04rem;
}

.quote-box {
  margin: 34px 0;
  padding: 28px;
  border-left: 4px solid var(--color-green);
  border-radius: var(--radius-card);
  background: rgba(240, 231, 255, 0.82);
  color: var(--color-navy);
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form-card {
  position: sticky;
  top: 112px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--color-navy);
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.88);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(125, 79, 163, 0.48);
  box-shadow: 0 0 0 4px rgba(179, 138, 217, 0.14);
}

.form-notice {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  color: var(--color-green-dark);
  background: rgba(179, 138, 217, 0.16);
  font-weight: 800;
}

.form-notice.show {
  display: block;
}

.form-notice.error {
  color: #8a2a20;
  background: rgba(255, 226, 220, 0.88);
}

.contact-form .btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-info-card p a {
  color: var(--color-green-dark);
  font-weight: 900;
}

.image-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.image-strip img {
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes derma-drift {
  0% {
    transform: translate3d(-12px, 8px, 0) rotate(0deg);
    background-position: 8% 20%, 72% 18%, 42% 84%;
  }
  100% {
    transform: translate3d(18px, -18px, 0) rotate(2deg);
    background-position: 14% 26%, 66% 12%, 48% 78%;
  }
}

@keyframes cell-pulse {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(0deg);
    border-radius: 42% 58% 52% 48%;
  }
  50% {
    transform: translateY(18px) scale(1.05) rotate(8deg);
    border-radius: 55% 45% 44% 56%;
  }
}

@keyframes molecule-float {
  0% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
    background-position: 0 0, 80% 10%, 40% 70%, 20% 90%;
  }
  100% {
    transform: translate3d(-26px, 18px, 0) rotate(3deg);
    background-position: 20px 14px, 74% 16%, 34% 62%, 28% 84%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before,
  .hero-bg::after,
  .page-hero::before,
  .floating-product {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .faq-grid,
  .detail-grid,
  .split-grid,
  .contact-grid,
  .image-strip {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .trust-grid,
  .solution-grid,
  .collection-grid,
  .ingredient-grid,
  .routine-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    max-width: 680px;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 820px) {
  .section-pad {
    padding: 50px 0;
  }

  .navbar {
    gap: 10px;
    min-height: 76px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand small {
    max-width: 260px;
    white-space: normal;
    line-height: 1.25;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    background:
      radial-gradient(circle at 90% 16%, rgba(200, 183, 255, 0.48), transparent 34%),
      radial-gradient(circle at 10% 68%, rgba(125, 79, 163, 0.18), transparent 34%),
      radial-gradient(circle at 22% 88%, rgba(179, 138, 217, 0.34), transparent 34%),
      linear-gradient(180deg, rgba(253, 248, 255, 0.94) 0%, rgba(247, 237, 255, 0.88) 56%, rgba(241, 224, 255, 0.76) 100%);
  }

  .hero-bg::after {
    left: -18%;
    top: 48%;
    width: 360px;
  }

  .hero-bg::before {
    opacity: 0.42;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-proof,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-track {
    display: flex;
    gap: 0;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .testimonial-controls {
    display: flex;
  }

  .detail-media img,
  .split-media img {
    height: 520px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 1184px);
  }

  .navbar {
    min-height: 72px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 0.78rem;
  }

  .brand strong {
    font-size: 0.96rem;
    line-height: 1.05;
  }

  .brand small {
    max-width: 205px;
    margin-top: 3px;
    font-size: 0;
    letter-spacing: 0.045em;
    line-height: 1.22;
  }

  .brand small::before {
    content: "Promise You Can Rely";
    display: block;
    white-space: pre-line;
    font-size: 0.54rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.9rem;
    line-height: 1.16;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head h2::after {
    width: 64px;
    margin-top: 16px;
  }

  .product-tag,
  .pill,
  .blog-meta,
  .solution-card span,
  .eyebrow {
    font-size: 0.68rem;
  }

  .text-link {
    font-size: 0.9rem;
  }

  .hero-proof,
  .trust-grid,
  .product-grid,
  .solution-grid,
  .collection-grid,
  .ingredient-grid,
  .routine-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-skin {
    height: 420px;
  }

  .floating-product {
    width: 142px;
  }

  .product-one {
    left: 8px;
    bottom: 18px;
  }

  .product-two {
    right: 8px;
    top: 18px;
  }

  .about-image img {
    height: 430px;
  }

  .cta-panel {
    padding: 40px 22px;
  }

  .faq-question {
    padding: 18px;
  }

  .faq-answer p {
    padding: 0 18px 18px;
  }

  .page-hero {
    padding: 88px 0 64px;
  }

  .collection-card img,
  .blog-card img,
  .detail-media img,
  .split-media img,
  .article img,
  .image-strip img {
    height: 360px;
  }

  .contact-stack .image-strip img {
    height: 240px;
  }

  .scroll-top-btn {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 390px) {
  .brand small {
    max-width: 170px;
    font-size: 0;
    letter-spacing: 0.035em;
  }

  .brand small::before {
    font-size: 0.49rem;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }
}


