/*
 * EveFlo homepage refresh — 2026-08-18
 * This file is intentionally isolated from the shared site styles.
 * Rollback: remove the stylesheet link in templates/index.html.
 */

/* Editorial hero */
.hero {
  min-height: 650px;
  padding: 7.25rem 0 6.5rem;
  background:
    radial-gradient(circle at 78% 22%, color-mix(in srgb, var(--sage) 15%, transparent) 0, transparent 25rem),
    radial-gradient(circle at 5% 100%, color-mix(in srgb, var(--rose) 9%, transparent) 0, transparent 22rem),
    linear-gradient(125deg, var(--cream) 0%, var(--page) 48%, var(--sage-l) 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--sage) 14%, transparent);
}
.hero::before {
  width: 1px;
  height: 72%;
  top: 14%;
  right: 7%;
  border-radius: 0;
  background: color-mix(in srgb, var(--sage) 18%, transparent);
}
.hero::after {
  width: 18rem;
  height: 18rem;
  left: auto;
  right: -8rem;
  bottom: -8rem;
  border: 1px solid color-mix(in srgb, var(--sage) 18%, transparent);
  background: transparent;
}
.hero-inner {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(3rem, 8vw, 7.5rem);
}
.hero-tag {
  margin-bottom: 1.65rem;
  padding: .42rem .9rem;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border-color: color-mix(in srgb, var(--sage) 26%, transparent);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 4%, transparent);
  backdrop-filter: blur(10px);
}
.hero-title {
  max-width: 700px;
  margin-bottom: 1.35rem;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-title em {
  position: relative;
  color: var(--sage);
  white-space: nowrap;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 0;
  bottom: -.12em;
  height: 1px;
  background: linear-gradient(90deg, var(--sage), transparent);
}
.hero-desc {
  max-width: 540px;
  margin-bottom: 2.15rem;
  color: var(--gray7);
  font-size: 1rem;
  line-height: 1.95;
  word-break: keep-all;
}
.hero-cta { gap: .7rem; margin-bottom: 3.35rem; }
.hero-cta .btn-main {
  min-height: 48px;
  padding-inline: 1.5rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px color-mix(in srgb, var(--ink) 13%, transparent);
}
.hero-cta .btn-ghost { box-shadow: none; border-color: color-mix(in srgb, var(--ink) 55%, transparent); }
.hero-stats { gap: 0; }
.hero-stats > div {
  min-width: 112px;
  padding: 0 1.35rem;
  border-left: 1px solid color-mix(in srgb, var(--ink) 13%, transparent);
}
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hs-n { font-size: 1.85rem; letter-spacing: -.03em; }
.hs-l { margin-top: .4rem; letter-spacing: .04em; }

.hero-cards {
  position: relative;
  gap: .65rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--sage) 18%, transparent);
  border-radius: 1.75rem;
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  box-shadow: 0 30px 80px color-mix(in srgb, var(--ink) 10%, transparent);
  backdrop-filter: blur(18px);
}
.hero-cards::before {
  content: 'YOUR CARE, YOUR RHYTHM';
  padding: .15rem .5rem .55rem;
  color: var(--gray5);
  font-family: 'Playfair Display', serif;
  font-size: .7rem;
  letter-spacing: .18em;
}
.hcard {
  min-height: 78px;
  padding: .85rem 1rem;
  border-color: transparent;
  border-radius: 1.15rem;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: none;
}
.hcard:hover {
  transform: translateX(-5px);
  border-color: color-mix(in srgb, var(--sage) 25%, transparent);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--ink) 8%, transparent);
}
.hcard-ic {
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--sage) 12%, transparent);
  border-radius: 50%;
  font-size: 1.15rem;
}
.hcard-name { font-size: .9rem; }
.hcard-sub { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hcard-arr { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--gray3); border-radius: 50%; }

/* Sections */
.sec { padding: 6.5rem 0; }
.eyebrow { margin-bottom: .75rem; letter-spacing: .2em; }
.sec-title { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -.035em; }
.cat-grid { gap: 1.1rem; margin-top: 2.5rem; }
.cat-card {
  aspect-ratio: .86;
  border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent);
  border-radius: 1.5rem;
  box-shadow: 0 10px 35px color-mix(in srgb, var(--ink) 5%, transparent);
}
.cat-card:nth-child(even) { transform: none; }
.cat-card:nth-child(even):hover { transform: translateY(-4px); }
.cat-bg { align-items: flex-start; justify-content: flex-end; padding: 1.4rem; font-size: 5.5rem; opacity: .76; filter: saturate(.72); }
.cat-overlay {
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, color-mix(in srgb, var(--ink) 82%, transparent) 0%, color-mix(in srgb, var(--ink) 30%, transparent) 48%, transparent 76%);
  opacity: .92;
}
.cat-name { font-family: 'Playfair Display', 'Noto Sans KR', serif; font-size: 1.35rem; letter-spacing: -.02em; }
.cat-desc { max-width: 18rem; font-size: .76rem; }
.cat-arr { width: fit-content; margin-top: .85rem; padding-bottom: .15rem; border-bottom: 1px solid rgba(255,255,255,.45); }

.sec-cream {
  position: relative;
  background: linear-gradient(180deg, var(--cream), color-mix(in srgb, var(--cream) 55%, var(--page)));
  overflow: hidden;
}
.sec-cream::before {
  content: '';
  position: absolute;
  width: 22rem;
  height: 22rem;
  left: -12rem;
  top: -10rem;
  border: 1px solid color-mix(in srgb, var(--sage) 14%, transparent);
  border-radius: 50%;
}
.featured-label { position: relative; margin-bottom: 2.35rem; }
.see-all { padding: .55rem 0; border-bottom-color: color-mix(in srgb, var(--sage) 45%, transparent); }
.grid-4 { gap: 1rem; }
.product-card {
  border-color: color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: 1.25rem;
  box-shadow: 0 8px 28px color-mix(in srgb, var(--ink) 4%, transparent);
}
.product-card:hover { transform: translateY(-7px); }
.pc-img { overflow: hidden; }
.pc-img img { transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .pc-img img { transform: scale(1.035); }
.pc-body { padding: 1.25rem; }
.pc-btn { border-radius: 999px; padding-inline: 1rem; }

/* Trust strip */
.trust-grid {
  gap: 0;
  padding: 1.4rem 0;
  border-top: 1px solid var(--gray3);
  border-bottom: 1px solid var(--gray3);
}
.trust-grid > div {
  padding: 1.5rem 1rem !important;
  border: 0 !important;
  border-left: 1px solid var(--gray3) !important;
  border-radius: 0 !important;
}
.trust-grid > div:first-child { border-left: 0 !important; }

@media (max-width: 1024px) {
  .hero { min-height: 0; padding: 5.5rem 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 330px; gap: 2.5rem; }
  .hero-title { font-size: clamp(1.9rem, 4vw, 2.75rem); }
}

@media (max-width: 768px) {
  .hero { padding: 4.25rem 0 3.75rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding: 0 6%; }
  .hero-title { max-width: 560px; font-size: clamp(1.75rem, 6.5vw, 2.4rem); }
  .hero-desc { font-size: .92rem; }
  .hero-stats { justify-content: flex-start; }
  .sec { padding: 4.5rem 0; }
  .cont { padding-inline: 6%; }
  .cat-grid { margin-top: 1.75rem; }
  .cat-card { aspect-ratio: .84; }
  .cat-bg { font-size: 4rem; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid > div:nth-child(3) { border-left: 0 !important; border-top: 1px solid var(--gray3) !important; }
  .trust-grid > div:nth-child(4) { border-top: 1px solid var(--gray3) !important; }
}

@media (max-width: 480px) {
  .hero { padding-top: 3.65rem; }
  .hero-tag { margin-bottom: 1.25rem; }
  .hero-title { font-size: clamp(1.6rem, 7.5vw, 2.05rem); line-height: 1.16; }
  .hero-title em { white-space: normal; }
  .hero-desc br { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; margin-bottom: 2.7rem; }
  .hero-cta .btn-main { flex: none; width: 100%; justify-content: center; }
  .hero-stats { width: 100%; justify-content: space-between; }
  .hero-stats > div { min-width: 0; flex: 1; padding: 0 .75rem; }
  .hs-n { font-size: 1.45rem; }
  .hs-l { font-size: .62rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 1.25; }
  .cat-bg { font-size: 4.5rem; }
  .featured-label { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-img img { transition: none; }
}
