/* ===== Colibro brand tokens =====
   Master palette (teal/green) from Colibro Brand Guidelines v1.0
   Product accents: 약이지 violet / 무이니오 indigo */
:root {
  --teal: #15383E;   /* Deep Teal */
  --pine: #224D4F;   /* Pine Teal */
  --sea: #346660;    /* Sea Green */
  --sage: #538066;   /* Sage Green */
  --lsage: #6C9577;  /* Light Sage */
  --ink: #0B2A2E;
  --ink-2: #2c4f52;
  --muted: #56716f;
  --line: #dfe6e2;
  --paper: #F7F8F6;
  --white: #ffffff;

  /* product accents */
  --violet: #5B3FD1; --violet-dk: #3A2A78; --mint: #27E3B4; --mint-dk: #13B98C;
  --indigo: #4B3FA0; --indigo-2: #7B68EE; --indigo-dk: #2D2460; --imint: #5DCAA5;

  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 46, .06), 0 1px 3px rgba(11, 42, 46, .08);
  --shadow-md: 0 12px 30px -14px rgba(21, 56, 62, .28);
  --shadow-lg: 0 30px 60px -22px rgba(21, 56, 62, .4);
  --grad: linear-gradient(120deg, #224D4F 0%, #538066 100%);
  --container: 1120px;
  --kr: "Noto Sans KR", "Gothic A1", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --display: "Gothic A1", "Noto Sans KR", sans-serif;
  --en: "Poppins", sans-serif;
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--kr); color: var(--ink); background: var(--white);
  line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0; font-family: var(--display); }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 0; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--sage); border-radius: 2px; }
.eyebrow-center { justify-content: center; }
.eyebrow-violet { color: var(--violet); } .eyebrow-violet::before { background: var(--violet); }
.eyebrow-indigo { color: var(--indigo); } .eyebrow-indigo::before { background: var(--indigo); }
.eyebrow-sage { color: var(--sage); }
.eyebrow-mint { color: var(--imint); } .eyebrow-mint::before { background: var(--imint); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--teal); color: #fff; font-family: var(--kr); font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--pine); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper); border-color: var(--sage); color: var(--pine); }
.btn-violet { background: var(--violet); } .btn-violet:hover { background: var(--violet-dk); }
.btn-indigo { background: var(--indigo); } .btn-indigo:hover { background: var(--indigo-dk); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(247, 248, 246, .82);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 19px; color: var(--teal); letter-spacing: -.02em; }
.brand-tag { font-family: var(--en); font-weight: 600; font-size: 8.5px; letter-spacing: .22em; color: var(--sage); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 700; color: var(--pine); transition: color .15s; }
.nav-links a:hover { color: var(--sage); }
.nav-links .btn { color: #fff; }
.nav-links .btn:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--teal); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mobile-menu a { padding: 13px 4px; font-weight: 700; color: var(--pine); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 12vw, 132px) 0 clamp(60px, 9vw, 100px); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 82% 6%, rgba(83, 128, 102, .22), transparent 60%),
    radial-gradient(55% 50% at 8% 0%, rgba(34, 77, 79, .16), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, #ffffff 72%);
}
.hero-inner { max-width: 840px; }
.hero-title { font-family: var(--display); font-size: clamp(34px, 6vw, 62px); font-weight: 900; line-height: 1.16; color: var(--teal); }
.hero-sub { margin-top: 24px; font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-2); max-width: 660px; }
.hero-sub strong { color: var(--pine); font-weight: 700; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin: 52px 0 0; padding: 0; list-style: none; display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--en); font-size: 26px; font-weight: 800; color: var(--teal); letter-spacing: -.02em; }
.hero-stats span { font-size: 14px; color: var(--muted); }

/* ===== Section scaffolding ===== */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; color: var(--teal); }
.section-lead { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.section-lead strong { color: var(--pine); font-weight: 700; }

/* ===== Service cards ===== */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.card-yakeasy::before { background: linear-gradient(90deg, var(--violet), var(--mint)); }
.card-muinio::before { background: linear-gradient(90deg, var(--indigo), var(--indigo-2)); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-sym { height: 56px; display: flex; align-items: center; margin-bottom: 18px; }
.service-sym svg { border-radius: 16px; }
.muinio-mark { font-family: var(--en); font-weight: 800; font-size: 30px; letter-spacing: -.02em; color: var(--indigo); }
.muinio-mark span { color: var(--imint); }
.service-card h3 { font-size: 22px; font-weight: 900; color: var(--teal); }
.card-en { font-family: var(--en); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.service-card p { margin-top: 10px; color: var(--ink-2); }
.service-more { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--sage); }
.card-yakeasy .service-more { color: var(--violet); }
.card-muinio .service-more { color: var(--indigo); }

/* ===== Split sections ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-reverse .split-text { order: 2; }
.split-reverse .split-visual { order: 1; }
.split-text h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: var(--teal); }
.sub-en { font-family: var(--en); font-size: .5em; font-weight: 700; letter-spacing: .04em; }
.sub-violet { color: var(--violet); } .sub-indigo { color: var(--indigo); }
.slogan { margin-top: 12px; font-family: var(--display); font-size: clamp(17px, 2.4vw, 21px); font-weight: 700; }
.slogan-violet { color: var(--violet); } .slogan-indigo { color: var(--indigo); }
.split-text .lead { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); }
.feature-list { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 16px; }
.feature-list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.feature-list li strong { display: block; color: var(--ink); font-weight: 700; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 17px; height: 17px; border-radius: 6px; }
.fl-violet li::before { background: linear-gradient(135deg, var(--violet), var(--mint)); }
.fl-indigo li::before { background: linear-gradient(135deg, var(--indigo), var(--indigo-2)); }

/* ===== Mock visuals ===== */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; gap: 7px; padding: 14px 16px; background: #f1f4f2; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #cbd5cf; }
.mock-bar span:nth-child(1) { background: #f0a3a3; }
.mock-bar span:nth-child(2) { background: #f0c674; }
.mock-bar span:nth-child(3) { background: #8fd3b6; }
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-amount { font-family: var(--en); font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.mock-amount small { font-family: var(--kr); font-size: 12px; font-weight: 500; color: var(--muted); }
.mock-row { display: flex; align-items: center; gap: 12px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-violet { background: var(--violet); } .dot-indigo { background: var(--indigo); }
.line { height: 12px; border-radius: 6px; background: #eef1ee; flex: 1; }
.w50 { max-width: 50%; } .w60 { max-width: 60%; } .w70 { max-width: 70%; } .w75 { max-width: 75%; } .w80 { max-width: 80%; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; flex: none; }
.pill-mint { color: #0C7A5E; background: rgba(39, 227, 180, .18); }
.pill-amber { color: #b45309; background: #fef3c7; }
.pill-indigo { color: var(--indigo-dk); background: rgba(123, 104, 238, .16); }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.mock-grid-2 { grid-template-columns: repeat(2, 1fr); }
.mock-stat { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.mock-stat b { display: block; font-family: var(--en); font-size: 19px; font-weight: 800; color: var(--ink); }
.mock-stat small { color: var(--muted); font-size: 12px; }

/* ===== About (teal) ===== */
.section-teal { background: linear-gradient(165deg, var(--teal) 0%, var(--pine) 70%, var(--sea) 100%); color: #fff; }
.about-inner { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-visual { display: flex; justify-content: center; }
.about-visual img { width: 100%; max-width: 280px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.3)); }
.about-text .eyebrow { color: var(--lsage); }
.about-text .eyebrow::before { background: var(--lsage); }
.about-text h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); font-weight: 900; }
.about-text .section-lead { color: #cfe0d6; }
.about-text .section-lead strong { color: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.value-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px; }
.vc-tag { font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lsage); }
.value-card h3 { font-size: 19px; font-weight: 900; color: #fff; margin-top: 6px; }
.value-card p { margin-top: 8px; color: #bcd2c4; font-size: 13.5px; }

/* ===== Contact ===== */
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px);
  background: var(--teal); color: #fff; border-radius: 28px; padding: clamp(34px, 5vw, 60px);
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 88% 0%, rgba(83,128,102,.5), transparent 60%),
              radial-gradient(45% 55% at 8% 100%, rgba(52,102,96,.55), transparent 60%);
}
.contact-text, .contact-form { position: relative; z-index: 1; }
.contact-text h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; color: #fff; }
.contact-text .section-lead { color: #cfe0d6; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: baseline; color: #e7efe9; }
.contact-list span { width: 56px; flex: none; color: var(--lsage); font-size: 14px; }
.contact-list a:hover { color: var(--lsage); }

.contact-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: #e7efe9; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid transparent; border-radius: 10px; padding: 12px 14px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(83,128,102,.3); }
.contact-form .btn { background: var(--sage); }
.contact-form .btn:hover { background: var(--lsage); }
.form-note { margin-top: 12px; font-size: 12px; color: var(--lsage); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #9fb3ad; padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand img { width: 120px; height: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 280px; }
.footer-meta { font-size: 14px; }
.footer-meta p { margin: 2px 0; }
.footer-meta a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 24px; font-size: 13px; }
.footer-bottom a:hover { color: #fff; }

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

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .service-grid, .split, .contact-card, .about-inner { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .split-reverse .split-text, .split-reverse .split-visual { order: initial; }
  .about-visual { order: -1; }
  .about-visual img { max-width: 200px; }
  .hero-stats { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service-card:hover { transform: none; }
}
