/* ===== CuringLab / css/style.css ===== */

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/woff2/PretendardVariable.woff2') format('woff2-variations');
  font-weight: 45 920;
}

:root {
  --mint: #0ABAB5;
  --mint-dark: #078e8a;
  --mint-light: #e6f8f7;
  --navy: #0a1a3d;
  --navy-deep: #061029;
  --ink: #131a1f;
  --ink-soft: #4b565c;
  --line: #e6ebec;
  --paper: #ffffff;
  --paper-soft: #f6f9f9;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(10, 30, 40, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 30, 40, 0.16);
  --max: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mint-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--mint);
  display: inline-block;
}
.eyebrow.on-dark { color: #7fe6e0; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; }

.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.35; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; margin-top: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: 108px 0; position: relative; }
@media (max-width: 720px) { section { padding: 72px 0; } }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 12px 0;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.18rem; color: #fff; letter-spacing: -0.02em; }
.nav.scrolled .brand { color: var(--navy); }
.brand .mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand .mark circle.ring { fill: none; stroke: var(--mint); stroke-width: 6; }
.brand .mark circle.dot { fill: var(--mint); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.94rem; font-weight: 600; color: rgba(255,255,255,0.88);
  position: relative; padding: 4px 0;
}
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--mint); }
.nav-cta {
  background: var(--mint); color: #fff !important; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem !important;
}
.nav-cta:hover { background: var(--mint-dark); color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; z-index: 250; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: all .3s; }
.nav.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span { background: var(--navy); }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 0; right: -100%; width: min(320px, 82vw); height: 100vh; background: #fff;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding: 40px; transition: right .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.12); }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--ink) !important; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: flex-end;
  position: relative;
  background: linear-gradient(180deg, #081226 0%, #0c2a4a 45%, #0e3350 100%);
  overflow: hidden;
  padding-bottom: 90px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; opacity: 0.85; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,16,41,0.96) 8%, rgba(6,16,41,0.72) 38%, rgba(6,16,41,0.18) 68%, rgba(6,16,41,0.55) 100%),
              linear-gradient(0deg, rgba(6,16,41,0.9), rgba(6,16,41,0) 40%);
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-tag { color: var(--mint); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; margin-bottom: 18px; display:block; }
.hero-content h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.18; margin-bottom: 22px; }
.hero-content h1 em { font-style: normal; color: var(--mint); }
.hero-content p { max-width: 560px; font-size: 1.08rem; color: rgba(255,255,255,0.82); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 0.96rem;
  border: 1.5px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--mint); color: #fff; }
.btn-primary:hover { background: var(--mint-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10,186,181,0.35); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); transform: translateY(-2px); }

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 0.78rem; letter-spacing: 0.1em; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll .line { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: scrolldown 1.8s ease-in-out infinite; }
@keyframes scrolldown { 0% { transform: scaleY(0); transform-origin: top;} 50% { transform: scaleY(1); transform-origin: top;} 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===== Stats strip ===== */
.stats-strip { background: var(--navy); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid .num { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--mint); }
.stats-grid .label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 6px; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

/* ===== Badges / pills ===== */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  padding: 8px 16px; border-radius: 999px; background: var(--mint-light); color: var(--mint-dark);
  font-weight: 700; font-size: 0.85rem; border: 1px solid rgba(10,186,181,0.25);
}
.badge.outline { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }
.badge.on-dark { background: rgba(255,255,255,0.08); color: #cdeceb; border: 1px solid rgba(255,255,255,0.18); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.about-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-photos img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.about-photos .p2 { margin-top: 34px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-photos { order: -1; } }

.about-text p { color: var(--ink-soft); margin: 16px 0; }
.about-text .lede { font-size: 1.12rem; color: var(--ink); font-weight: 600; }

/* ===== Divider blob bg ===== */
.blob-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.blob-bg .b { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.5; }
.section-mint { background: linear-gradient(180deg, #f5fdfc, #ffffff); }

/* ===== Steps (mental care 4 steps) ===== */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
@media (max-width: 980px) { .steps-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-row { grid-template-columns: 1fr; } }

.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; position: relative; transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1rem; }
.step-card h4 { font-size: 1.08rem; margin-bottom: 10px; }
.step-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ===== Feature list with icon ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { background: var(--paper-soft); border-radius: var(--radius); padding: 28px; }
.feature-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--mint-light); color: var(--mint-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.feature-card ul { margin-top: 10px; }
.feature-card li { color: var(--ink-soft); font-size: 0.9rem; padding-left: 16px; position: relative; margin-bottom: 6px; }
.feature-card li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; }
.photo-duo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 340px; object-fit: cover; }
@media (max-width: 720px) { .photo-duo { grid-template-columns: 1fr; } .photo-duo img { height: 240px; } }

.partner-strip { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 40px; }
.partner-strip h4 { font-size: 0.98rem; color: var(--ink-soft); font-weight: 700; margin-bottom: 18px; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-logos span { padding: 10px 18px; border-radius: 10px; background: var(--paper-soft); font-weight: 700; font-size: 0.86rem; color: var(--ink); }

/* ===== Planterior (dark) ===== */
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,0.68); }
.section-dark h2, .section-dark h3 { color: #fff; }

.planterior-banner {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 420px;
  display: flex; align-items: flex-end; padding: 44px; margin-bottom: 64px;
}
.planterior-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.planterior-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,16,41,0.92), rgba(6,16,41,0.15) 60%); }
.planterior-banner .inner { position: relative; z-index: 2; max-width: 560px; }
.planterior-banner h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.planterior-banner p { color: rgba(255,255,255,0.82); }

.service-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 70px; }
.service-pills span { padding: 12px 22px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  font-weight: 700; font-size: 0.92rem; color: #eafffd; }

.process-block { margin-bottom: 46px; }
.process-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.process-title .tag { background: rgba(10,186,181,0.16); color: var(--mint); font-weight: 800; font-size: 0.82rem; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(10,186,181,0.35); }
.process-title p { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin: 0; }
.process-chain { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.process-chain .chip { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 14px 20px; font-weight: 700; font-size: 0.92rem; color: #fff; }
.process-chain .arrow { color: var(--mint); opacity: 0.7; }

/* Gallery */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.gallery-tabs button {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.75);
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; transition: all .2s;
}
.gallery-tabs button.active, .gallery-tabs button:hover { background: var(--mint); border-color: var(--mint); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3.1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.82), rgba(0,0,0,0));
  color: #fff; font-size: 0.78rem; font-weight: 700; opacity: 0; transform: translateY(6px);
  transition: all .25s ease;
}
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(4,10,24,0.92); z-index: 500; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(900px, 92vw); max-height: 84vh; border-radius: 12px; box-shadow: 0 20px 80px rgba(0,0,0,0.5); }
.lightbox .lb-cap { position: absolute; bottom: 36px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 700; }
.lightbox .lb-close { position: absolute; top: 26px; right: 30px; color: #fff; font-size: 1.8rem; background: none; border: none; opacity: 0.8; }
.lightbox .lb-close:hover { opacity: 1; }

/* ===== ESG ===== */
.esg-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 50px 0 60px; }
@media (max-width: 980px) { .esg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .esg-grid { grid-template-columns: repeat(2, 1fr); } }
.esg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; text-align: center; }
.esg-card .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--mint-light); color: var(--mint-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.esg-card h4 { font-size: 0.96rem; margin-bottom: 6px; }
.esg-card p { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }

.esg-highlight { background: var(--navy); color: #fff; border-radius: 22px; padding: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; margin-bottom: 56px; }
@media (max-width: 860px) { .esg-highlight { grid-template-columns: 1fr; } }
.esg-highlight h3 { font-size: 1.5rem; margin-bottom: 14px; }
.esg-highlight p { color: rgba(255,255,255,0.78); margin: 0 0 10px; }
.esg-highlight .campaign { font-size: 2.4rem; font-weight: 800; color: var(--mint); }

.research-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .research-grid { grid-template-columns: 1fr; } }
.research-col h4 { font-size: 1rem; color: var(--mint-dark); margin-bottom: 14px; }
.research-col ul li { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 10px; padding-left: 18px; position: relative; }
.research-col ul li::before { content: '—'; position: absolute; left: 0; color: var(--mint); }

/* ===== Press ===== */
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .press-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .press-grid { grid-template-columns: 1fr; } }
.press-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.press-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.press-card img { width: 100%; height: 300px; object-fit: cover; object-position: top; }
.press-card .txt { padding: 18px 20px; }
.press-card .src { color: var(--mint-dark); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.03em; margin-bottom: 6px; }
.press-card h4 { font-size: 0.98rem; line-height: 1.4; }
.press-card.cert img { object-position: center; background: #f6f9f9; }

/* ===== Contact / footer ===== */
.contact-section { background: var(--mint); color: #fff; text-align: center; }
.contact-section h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 16px; }
.contact-section p { color: rgba(255,255,255,0.9); max-width: 520px; margin: 0 auto 34px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact-section .btn-ghost { border-color: rgba(255,255,255,0.65); }
.contact-section .btn-white { background: #fff; color: var(--mint-dark); }
.contact-section .btn-white:hover { background: #eafffd; transform: translateY(-2px); }

footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 14px; }
footer h5 { color: #fff; font-size: 0.88rem; margin-bottom: 16px; letter-spacing: 0.02em; }
footer .flinks li { margin-bottom: 10px; font-size: 0.9rem; }
footer .flinks a:hover { color: var(--mint); }
footer .finfo li { font-size: 0.88rem; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== misc ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 30px; } }
