:root {
  --bg: #f5f8f7;
  --surface: #ffffff;
  --tint: #e3f1ef;
  --ink: #102a2e;
  --muted: #4d6468;
  --line: #d7e4e2;
  --teal: #13808a;
  --teal-deep: #0c4e55;
  --on-teal: #ffffff;
  --gold: #f2b84b;
  --shadow: 0 30px 60px -32px rgba(12, 78, 85, .45);
  --r: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1a1c;
    --surface: #132427;
    --tint: #16302f;
    --ink: #e8f2f1;
    --muted: #9fb6b8;
    --line: #23393c;
    --teal: #2bb3bd;
    --teal-deep: #0a3b40;
    --on-teal: #06221f;
    --shadow: 0 30px 60px -32px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 Manrope, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ph { font-size: 1.2em; line-height: 1; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.logo img { border-radius: 50%; background: #fff; }
.nav nav { display: flex; gap: 24px; margin-left: auto; font-weight: 500; font-size: .95rem; }
.nav nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav nav a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; background: var(--teal); color: var(--on-teal); text-decoration: none; font: inherit; font-weight: 700; padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .2s; box-shadow: 0 12px 26px -14px var(--teal); }
.btn:hover { transform: translateY(-2px); background: var(--teal-deep); color: #fff; }
.btn:active { transform: scale(.98); }
.btn--sm { padding: 9px 18px; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--block { width: 100%; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.eyebrow { color: var(--teal); font-weight: 700; font-size: .95rem; margin: 0 0 18px; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); letter-spacing: -.04em; line-height: 1.02; }
h1 span { color: var(--teal); display: block; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 42ch; margin: 24px 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__media { position: relative; }
.hero__media::before { content: ""; position: absolute; inset: 8% -6% -6% 10%; border-radius: 200px 200px var(--r) var(--r); background: var(--tint); z-index: -1; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px var(--r) var(--r); box-shadow: var(--shadow); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.facts > div { display: flex; gap: 14px; align-items: center; padding: 22px 26px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts .ph { font-size: 1.7rem; color: var(--teal); flex: none; }
.facts p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.facts strong { display: block; color: var(--ink); font-size: 1.05rem; }

/* sections */
.section { padding-top: clamp(80px, 10vw, 128px); }
.section > h2 { margin-bottom: clamp(28px, 3.5vw, 44px); }

.problems { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.problems > h2 { margin: 0; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--tint); color: var(--ink); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: .98rem; }

/* offer bento */
.offer { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.tile { position: relative; border-radius: calc(var(--r) + 6px); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: grid; }
.tile--kobido { grid-row: span 2; min-height: 560px; border: 0; }
.tile--kobido img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1s var(--ease); }
.tile--kobido:hover img { transform: scale(1.03); }
.tile--kobido::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 40, 44, .85) 100%); }
.tile--kobido .tile__body { position: relative; z-index: 1; align-self: end; color: #fff; padding: clamp(24px, 3vw, 36px); }
.tile--kobido h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 12px 0 8px; }
.tile--kobido p { margin: 0; font-size: 1.1rem; opacity: .92; }
.tag { display: inline-block; background: var(--gold); color: #1f1a0e; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.tile--group { grid-template-columns: 180px 1fr; }
.tile--group img { width: 100%; height: 100%; object-fit: cover; }
.tile--group .tile__body { padding: 26px 28px; }
.tile--group h3 { font-size: 1.45rem; margin-bottom: 14px; }
.tile--teal { background: var(--teal-deep); border-color: transparent; color: #e8f4f3; }
.tile--teal dd { color: #b6d3d3 !important; }
dl { margin: 0; display: grid; gap: 10px; }
dt { font-weight: 700; }
dd { margin: 0 0 4px; color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* about */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r) var(--r) var(--r) 200px; box-shadow: var(--shadow); }
.about__text h2 { margin-bottom: 20px; }
.about__text p { color: var(--muted); max-width: 56ch; margin: 0 0 14px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks .ph { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--teal); font-size: 1rem; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: s; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 3px; border-radius: 3px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.timeline.is-in::after { transform: scaleX(1); }
.timeline li { counter-increment: s; position: relative; }
.timeline li::before { content: counter(s); position: relative; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 3px solid var(--teal); color: var(--teal); font-weight: 800; margin-bottom: 18px; }
.timeline h3 { font-size: 1.25rem; margin-bottom: 8px; }
.timeline p { margin: 0; color: var(--muted); font-size: .98rem; }
.hint { display: flex; gap: 12px; align-items: center; margin: 36px 0 0; padding: 16px 20px; background: var(--tint); border-radius: 14px; font-weight: 500; }
.hint .ph { color: var(--teal); font-size: 1.4rem; flex: none; }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq > h2 { margin: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--teal); font-size: 1.3rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--muted); max-width: 60ch; }

/* contact */
.contact { margin-top: clamp(90px, 11vw, 140px); background: var(--teal-deep); color: #e8f4f3; padding: clamp(64px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { color: #fff; }
.contact__info > p { color: #b6d3d3; margin: 16px 0 24px; max-width: 42ch; }
.contact__tel { display: inline-block; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; color: #fff; text-decoration: none; border-bottom: 3px solid var(--gold); line-height: 1.2; }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list .ph { color: var(--gold); font-size: 1.3rem; }
.form { background: var(--surface); color: var(--ink); border-radius: var(--r); padding: clamp(24px, 3vw, 34px); display: grid; gap: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field textarea { font: inherit; color: var(--ink); padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .2s; }
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 20%, transparent); }
.field [aria-invalid="true"] { border-color: #c2412d; }
.opt { color: var(--muted); font-weight: 500; }
.form__msg { margin: 0; min-height: 1.4em; font-size: .95rem; color: var(--muted); }
.map { display: block; width: 100%; height: 340px; border: 0; border-radius: var(--r); margin-top: clamp(40px, 5vw, 64px); }

.foot { background: var(--teal-deep); color: #9cc2c2; font-size: .9rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 22px 0; }

.call-fab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 20; width: 58px; height: 58px; border-radius: 50%; background: var(--teal); color: var(--on-teal); place-items: center; font-size: 1.6rem; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4); text-decoration: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { --d: .08s; }
.hero .reveal:nth-child(3) { --d: .16s; }
.hero .reveal:nth-child(4) { --d: .24s; }

@media (max-width: 960px) {
  .nav nav { display: none; }
  .nav .btn--sm { margin-left: auto; }
  .hero, .problems, .about, .faq, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 440px; width: 100%; margin: 0 auto; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .offer { grid-template-columns: 1fr; }
  .tile--kobido { grid-row: auto; min-height: 480px; }
  .timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 0; }
  .timeline::before, .timeline::after { top: 20px; bottom: 20px; left: 19px; right: auto; width: 3px; height: auto; }
  .timeline::after { transform: scaleY(0); transform-origin: top; }
  .timeline.is-in::after { transform: scaleY(1); }
  .timeline li { display: grid; grid-template-columns: 42px 1fr; column-gap: 18px; }
  .timeline li::before { grid-row: span 2; margin: 0; }
  .call-fab { display: grid; }
}
@media (max-width: 560px) {
  .tile--group { grid-template-columns: 1fr; }
  .tile--group img { height: 200px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .timeline::after { transition: none; transform: none; }
  .btn, .tile--kobido img, .faq summary::after { transition: none; }
}
