:root {
  /* brand colours taken from the logo: teal leaves + gold lettering */
  --brand: #14786c;
  --brand-dark: #0e5b52;
  --brand-soft: #e6f4f1;
  --gold: #a87a2c;
  /* sampled from the logo image's background */
  --cream-light: #fdf8f0;
  --cream: #f2eae0;
  --cream-deep: #e9e0d5;
  --ink: #16161a;
  --text: #3a3a42;
  --muted: #7a7a85;
  --line: #ececf0;
  --gray: #f6f6f8;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(20, 20, 30, .08);
  --header-h: 116px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.3; letter-spacing: -0.02em; }
em { font-style: normal; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.pc { display: inline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 0; cursor: pointer; font-family: inherit;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(20, 120, 108, .28); }
.btn--red:hover { background: var(--brand-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--brand); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--green { background: #03c75a; color: #fff; }
.btn--yellow { background: #fee500; color: #191919; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(100deg, rgba(240, 231, 220, .95), rgba(253, 248, 240, .95) 45%, rgba(253, 248, 240, .95));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8dfd2;
}
.header__bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; }
/* soft-fade the image's edges so its cream background melts into the cream header/hero */
.logo__img, .hero__logo img {
  --fx: 6%; --fy: 10%;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 var(--fx), #000 calc(100% - var(--fx)), transparent),
    linear-gradient(to bottom, transparent, #000 var(--fy), #000 calc(100% - var(--fy)), transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 var(--fx), #000 calc(100% - var(--fx)), transparent),
    linear-gradient(to bottom, transparent, #000 var(--fy), #000 calc(100% - var(--fy)), transparent);
  mask-composite: intersect;
}
.logo__img { --fx: 9%; --fy: 15%; display: block; height: 60px; width: auto; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); transition: .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__inner { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.nav__inner::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; padding: 7px 15px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--gray); color: var(--text); transition: .2s;
}
.nav a:hover, .nav a.active { background: var(--brand-soft); color: var(--brand); }
.nav a.nav__cta { background: var(--brand); color: #fff; }

/* ---------- hero ---------- */
/* cream + light-beam backdrop matching the logo image, so the logo has no visible edge */
.hero {
  position: relative; padding: 80px 0 60px; overflow: hidden;
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 214, 140, .28), transparent 9%),
    radial-gradient(circle at 92% 6%, rgba(255, 252, 240, .95), transparent 42%),
    linear-gradient(115deg, transparent 0 30%, rgba(255, 255, 255, .55) 38%, transparent 46%),
    linear-gradient(115deg, transparent 0 54%, rgba(255, 255, 255, .4) 60%, transparent 66%),
    linear-gradient(115deg, transparent 0 74%, rgba(255, 255, 255, .3) 79%, transparent 84%),
    linear-gradient(160deg, var(--cream-light) 0%, var(--cream) 55%, var(--cream-deep) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: var(--brand-soft); color: var(--brand); border: 1px solid #bfe3dc;
}
.hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; margin: 22px 0 20px; }
.hero h1 em { color: var(--brand); }
.hero p { font-size: 18px; color: var(--muted); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__visual { position: relative; height: 460px; display: grid; place-items: center; }
.hero__logo { width: min(100%, 460px); }
.hero__logo img { --fx: 7%; --fy: 12%; display: block; width: 100%; height: auto; }
.bubble {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); font-weight: 600; font-size: 14px; color: var(--ink); max-width: 210px;
  animation: float 5s ease-in-out infinite;
}
.bubble small { display: block; font-size: 11px; font-weight: 800; color: var(--brand); letter-spacing: .06em; }
/* bubbles sit in the corners so they never cover the logo lettering */
.bubble--t1 { top: 0; left: 0; }
.bubble--s { top: 0; right: 0; animation-delay: -1.6s; }
.bubble--s small { color: var(--muted); }
.bubble--t2 { bottom: 0; right: 10%; animation-delay: -3.2s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 60px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat { text-align: center; padding: 28px 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--brand); }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- sections ---------- */
.section { padding: 100px 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--ink); color: #c9c9d1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head--left { text-align: left; margin-bottom: 36px; }
.eyebrow { display: block; font-size: 13px; font-weight: 800; letter-spacing: .18em; color: var(--gold); margin-bottom: 12px; }
.section--dark .eyebrow { color: #e0b866; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section--dark .sec-head p { color: #a2a2ad; }

/* worries */
.worries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.worry { background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); }
.worry span { font-size: 36px; }
.worry p { margin-top: 12px; font-weight: 600; color: var(--ink); }
.worries__answer { text-align: center; margin-top: 44px; font-size: 20px; color: var(--ink); }
.worries__answer b { color: var(--brand); }

/* cards */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  padding: 32px 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); font-size: 26px; margin-bottom: 20px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card--dark { background: #222228; border-color: #2e2e36; }
.card--dark p { color: #a2a2ad; }
.num { display: block; font-size: 28px; color: #e0b866; margin-bottom: 14px; }
.note { margin-top: 36px; text-align: center; padding: 18px; border-radius: 14px; background: #222228; color: #d6d6dd; }

/* learning system */
.system { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: center; }
.steps { display: grid; gap: 14px; }
.steps li {
  display: flex; gap: 18px; padding: 20px 22px; background: #fff; border-radius: 16px;
  border: 1px solid var(--line);
}
.steps b {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 15px;
}
.steps h3 { font-size: 17px; }
.steps p { color: var(--muted); font-size: 15px; }

.phone {
  position: sticky; top: calc(var(--header-h) + 30px);
}
.phone__screen {
  background: #fff; border: 10px solid var(--ink); border-radius: 40px; padding: 26px 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .15);
}
.phone__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.phone__top b { color: var(--ink); font-size: 17px; }
.phone__top span { font-size: 12px; color: var(--muted); }
.fix { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 12px; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.fix i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }
.fix--x { background: #fff1f1; color: #b23; text-decoration: line-through; }
.fix--x i { background: #d33; }
.fix--o { background: #eefaf2; color: #187a3d; }
.fix--o i { background: #1f9d50; }
.fix__note { font-size: 13px; color: var(--text); margin: 12px 0 6px; }
.fix__ex { font-size: 13px; color: var(--brand); font-weight: 600; margin-bottom: 16px; }
.prog, .report__row { display: grid; grid-template-columns: 80px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 8px; }
.prog em, .report__row em { text-align: right; font-weight: 700; color: var(--ink); }
.bar { height: 8px; border-radius: 99px; background: #eee; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: inherit; transition: width 1.2s ease; }
.in .bar i, .bar.in i { width: var(--w); }
.rec { margin-top: 14px; width: 100%; padding: 13px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; font-family: inherit; }
.phone__cap { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }

/* director */
.director { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
.director__photo { position: relative; margin: 0 14px 14px 0; isolation: isolate; }
/* gold outline offset behind the photo, echoing the logo's gold lettering */
.director__photo::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 2px solid var(--gold); border-radius: var(--radius); opacity: .7;
}
.director__photo img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 8%;
  border-radius: var(--radius); background: #000; box-shadow: 0 24px 50px rgba(0, 0, 0, .18);
}
.director__tag {
  position: absolute; left: -14px; bottom: 28px; padding: 14px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); border-left: 4px solid var(--brand);
}
.director__tag small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--gold); }
.director__tag b { display: block; font-size: 20px; color: var(--ink); }
.director__tag span { font-size: 13px; color: var(--muted); }
.director__text h2 { font-size: 34px; margin-bottom: 24px; }
.director__text p { margin-bottom: 16px; font-size: 16.5px; }
.sign { margin-top: 26px; color: var(--muted); }
.sign b { color: var(--ink); font-size: 18px; margin-left: 6px; }

/* for you */
.target { padding: 32px 28px; border-radius: var(--radius); background: var(--gray); }
.target--accent { background: var(--brand); color: #fff; }
.target--accent h3 { color: #fff; }
.tag { display: inline-block; padding: 6px 14px; border-radius: 99px; background: #fff; color: var(--brand); font-size: 13px; font-weight: 700; }
.target h3 { font-size: 21px; margin: 16px 0 18px; }
.target li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 15px; }
.target li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--brand); }
.target--accent li::before { color: #fff; }

/* programs */
.program { padding: 30px 26px; background: #fff; border-radius: var(--radius); border-top: 5px solid var(--brand); box-shadow: var(--shadow); }
.program:nth-child(2) { border-color: #3fae9d; }
.program:nth-child(3) { border-color: var(--gold); }
.program:nth-child(4) { border-color: var(--ink); }
.step { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .1em; }
.program h3 { font-size: 22px; margin: 8px 0 4px; }
.program em { display: block; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.program p { font-size: 15px; }

/* curriculum */
.curr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cat {
  padding: 24px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat__emo { font-size: 26px; }
.cat__en { margin-top: 12px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--gold); }
.cat h3 { font-size: 19px; margin-bottom: 14px; }
.cat h3 small { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px; border-radius: 99px; border: 0; background: var(--brand-soft); color: var(--brand-dark);
  font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; transition: .2s;
}
.chip:hover { background: var(--brand); color: #fff; }

/* course detail popup */
.cmodal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(20, 20, 26, .45); backdrop-filter: blur(4px); animation: fade .25s;
}
.cmodal[hidden] { display: none; }
.cmodal__card {
  position: relative; width: min(100%, 460px); max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: 24px; padding: 30px 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
  animation: pop .3s ease;
}
.cmodal__close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: var(--gray); font-size: 22px; line-height: 1; cursor: pointer; color: var(--text);
}
.cmodal__cat { font-size: 13px; font-weight: 700; color: var(--gold); }
.cmodal__card h3 { font-size: 26px; margin-top: 6px; }
.cmodal__en { color: var(--muted); font-size: 14px; }
.cmodal__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0; padding: 14px 16px; border-radius: 14px; background: var(--gray); font-size: 14px; }
.cmodal__meta b { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 2px; }
.stars i { font-style: normal; color: #ddd6ca; }
.cmodal__desc { color: var(--text); }
.cmodal__card h4 { margin: 20px 0 10px; font-size: 15px; color: var(--ink); }
.cmodal__card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 15px; }
.cmodal__card ul li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--brand-soft); color: var(--brand);
}
.cmodal__card .btn { margin-top: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* trial */
.trial { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.trial__steps li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px dashed #d8d8de; }
.trial__steps b {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff;
}
.trial__steps h3 { font-size: 17px; }
.trial__steps p { color: var(--muted); font-size: 15px; }
.trial__right { display: grid; gap: 22px; }
.report, .form { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.report__head { display: flex; justify-content: space-between; margin-bottom: 18px; color: var(--ink); }
.report__head span { background: var(--brand); color: #fff; padding: 2px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.report__row { grid-template-columns: 110px 1fr 36px; }
.report__rec { margin-top: 14px; padding: 12px 14px; background: var(--brand-soft); color: var(--brand); border-radius: 12px; font-size: 14px; font-weight: 700; }
.form h3 { font-size: 20px; margin-bottom: 18px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 12px;
  border: 1px solid #dcdce2; font-size: 15px; font-family: inherit; background: #fff;
}
.form textarea { resize: vertical; line-height: 1.5; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form .check { display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* gender as two pill toggles */
.seg { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.seg legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.seg__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.form .seg label { position: relative; margin: 0; }
.form .seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: block; padding: 13px 0; text-align: center; border-radius: 12px;
  border: 1px solid #dcdce2; background: #fff; font-size: 15px; font-weight: 600; color: var(--text); transition: .2s;
}
.seg input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.trial__left .report { margin-top: 32px; }
.form__msg { margin-top: 14px; text-align: center; color: #187a3d; font-weight: 700; }
.form__msg--error { color: #b23; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: .2s; }
.faq details[open] { border-color: #bfe3dc; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--ink);
  position: relative; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; color: var(--brand); margin-right: 8px; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--muted); transition: .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--brand); }
.faq details p { padding: 0 24px 22px 52px; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery .g1 { grid-column: span 2; grid-row: span 2; }
.gallery[hidden] { display: none; }
.gallery figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gtabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; }
.gtab {
  padding: 11px 28px; border-radius: 99px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 700; color: var(--text); transition: .2s;
}
.gtab:hover { border-color: var(--brand); color: var(--brand); }
.gtab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* class moments: masonry columns keep each photo's own shape */
.section--cream { background: linear-gradient(180deg, var(--cream-light), #f6efe5); }
.moments { columns: 3; column-gap: 18px; }
.moment {
  break-inside: avoid; margin: 0 0 18px; background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 10px 28px rgba(120, 90, 40, .1); transition: transform .25s, box-shadow .25s;
}
.moment:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(120, 90, 40, .16); }
.moment img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.moment figcaption { padding: 14px 18px 16px; font-size: 15px; color: var(--text); }
.moment__tag { display: block; font-size: 13px; font-weight: 800; color: var(--brand); margin-bottom: 2px; }
.moments__note { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted); }

/* photo lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(10, 10, 14, .85); animation: fade .25s;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 80vh; border-radius: 14px; animation: pop .3s ease; }
.lightbox figcaption { margin-top: 12px; color: #fff; font-weight: 600; }
.lightbox__close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .15); color: #fff; font-size: 26px; cursor: pointer;
}
.gallery .ph { height: 100%; display: grid; place-items: center; font-size: 34px; background: linear-gradient(135deg, #e8e8ee, #d9d9e0); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px;
  background: rgba(0, 0, 0, .65); color: #fff; font-size: 13px; font-weight: 600;
}

/* contact */
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.branch {
  padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  border-top: 5px solid var(--brand); box-shadow: var(--shadow);
}
.branch + .branch { border-top-color: var(--gold); }
.branch__tag { display: inline-block; padding: 5px 14px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dark); font-size: 13px; font-weight: 700; }
.branch + .branch .branch__tag { background: #f6eedd; color: #7a5a1f; }
.branch h3 { font-size: 22px; margin: 12px 0 6px; }
.info li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info span { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; font-size: 20px; }
.info b { color: var(--ink); }
.info p { color: var(--muted); font-size: 15px; }
.info a { color: var(--brand); font-weight: 700; }
.map__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.note--light { background: var(--gray); color: var(--text); }

/* cta + footer */
.cta { padding: 90px 0; text-align: center; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; }
.cta h2 { color: #fff; font-size: clamp(24px, 3.5vw, 36px); }
.cta p { margin: 12px 0 30px; opacity: .85; }
.footer { background: var(--ink); color: #8a8a95; padding: 48px 0; font-size: 14px; }
.logo--light { display: inline-flex; margin-bottom: 18px; border-radius: 14px; overflow: hidden; }
.logo--light .logo__img { height: 72px; -webkit-mask-image: none; mask-image: none; }
.footer__biz { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 40px; }
.footer__biz b { color: #d6d6dd; }
.nw { white-space: nowrap; }
.copy { margin-top: 18px; }

.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px; background: var(--brand); box-shadow: 0 10px 24px rgba(20, 120, 108, .38);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
button.fab { border: 0; cursor: pointer; }
/* branch chooser opened by the call buttons */
.callsheet {
  position: fixed; right: 20px; bottom: 90px; z-index: 45; width: 250px; padding: 16px;
  background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); animation: pop .25s ease;
}
.callsheet[hidden] { display: none; }
.callsheet p { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.callsheet a {
  display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-radius: 14px;
  background: var(--brand-soft); margin-top: 8px; transition: .2s;
}
.callsheet a:hover { background: var(--brand); color: #fff; }
.callsheet a:hover b, .callsheet a:hover span { color: #fff; }
.callsheet b { color: var(--brand-dark); }
.callsheet span { font-weight: 700; color: var(--ink); font-size: 15px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bubble, .map__pin { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cards--4, .worries { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .system { grid-template-columns: 1fr; }
  .phone { position: static; max-width: 340px; margin: 0 auto; }
  .director, .trial { grid-template-columns: 1fr; gap: 40px; }
  .moments { columns: 2; }
  .branches { grid-template-columns: 1fr; }
  .director__photo { max-width: 320px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .pc { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.open { max-height: 520px; }
  .nav__inner { flex-direction: column; gap: 4px; padding: 10px 16px 18px; }
  .nav a { background: none; padding: 12px 14px; border-radius: 12px; font-size: 16px; }
  .nav a.nav__cta { text-align: center; margin-top: 6px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 16px; }
  .hero p { font-size: 16px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__visual { height: auto; padding: 96px 0; }
  .bubble { font-size: 13px; max-width: 170px; }
  .stats { margin-top: 30px; }
  .stat { padding: 20px 4px; }
  .stat strong { font-size: 17px; }
  .stat span { font-size: 12px; }
  .cards--3, .cards--4, .worries { grid-template-columns: 1fr; }
  .curr-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { padding: 18px 14px; }
  .cat h3 small { display: block; margin: 2px 0 0; }
  .chip { font-size: 13px; padding: 6px 11px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .faq summary { padding: 18px 48px 18px 18px; font-size: 15.5px; }
  .faq details p { padding: 0 18px 18px 18px; }
  .report__row { grid-template-columns: 90px 1fr 30px; }
}
