/* Smiles Group concept: shared look. Theme "Sky Straight". */
:root {
  --sc-canvas: #3CB4E7;
  --sc-surface: #FFFFFF;
  --sc-ink: #062638;
  --sc-ink-soft: #0B3550;
  --sc-accent: #062638;
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Jost", "Futura", system-ui, sans-serif;
  --sc-font-text: "Albert Sans", system-ui, sans-serif;

  --sky: #3CB4E7;
  --sky-deep: #1B8BBB;
  --navy: #062638;
  --navy-2: #0B3550;
  --white: #FFFFFF;
  --soft-on-white: #2D5F78;
  --mist: #EAF7FD;
  --bar-h: 92px;
}

html { background: var(--navy); }
body { background: var(--sky); color: var(--navy); font-family: var(--sc-font-text); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible, .bar :focus-visible, .foot :focus-visible, .menu :focus-visible { outline-color: var(--sky); }
.wrap-any { overflow-wrap: anywhere; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); color: var(--navy); padding: .7rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px;
  font: 600 1.05rem/1 var(--sc-font-display); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), transform 160ms var(--sc-ease-out);
}
.btn:active { transform: scale(.98); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #0D3A55; }
.btn--sky { background: var(--sky); color: var(--navy); }
.btn--sky:hover { background: #63C4EE; }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--mist); }
.btn--ghost { box-shadow: inset 0 0 0 2px var(--navy); color: var(--navy); }
.btn--ghost:hover { background: rgba(6,38,56,.08); }
.btn--ghost-light { box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- header bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar-h);
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.25rem);
  padding-inline: clamp(1rem, 3vw, 2.75rem);
  background: var(--navy); color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -18px rgba(0,0,0,.6);
}
.logo { flex: none; display: block; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; gap: clamp(.9rem, 1.6vw, 1.9rem); margin-left: auto; }
.nav a { font: 500 1.16rem/1 var(--sc-font-display); color: var(--white); text-decoration: none; padding: .5rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--sc-ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.bar__tel { font: 600 1.16rem/1 var(--sc-font-display); color: var(--white); text-decoration: none; white-space: nowrap; }
.bar__tel-label { color: var(--sky); font-weight: 500; margin-right: .2em; }
.bar__tel:hover { color: var(--sky); }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: .6rem; background: none; border: 2px solid rgba(255,255,255,.35); color: var(--white); border-radius: 999px; padding: .65rem 1rem; font: 600 1rem/1 var(--sc-font-display); cursor: pointer; min-height: 48px; }
.menu-btn__bars { width: 18px; height: 12px; background: linear-gradient(var(--white),var(--white)) 0 0/100% 2px no-repeat, linear-gradient(var(--white),var(--white)) 0 5px/100% 2px no-repeat, linear-gradient(var(--white),var(--white)) 0 10px/100% 2px no-repeat; }
.menu { position: fixed; inset: var(--bar-h) 0 auto 0; z-index: 59; background: var(--navy); color: var(--white); max-height: calc(100svh - var(--bar-h)); overflow: auto; border-top: 1px solid rgba(255,255,255,.08); }
.menu__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: 2rem clamp(1rem, 3vw, 2.75rem) 2.5rem; max-width: 82rem; margin-inline: auto; }
.menu__col { display: grid; align-content: start; gap: .35rem; }
.menu__col a:not(.btn) { color: var(--white); text-decoration: none; font: 500 1.2rem/1.3 var(--sc-font-display); padding: .4rem 0; }
.menu__col a:not(.btn):hover { color: var(--sky); }
.menu__head { font: 600 .82rem/1 var(--sc-font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin: 0 0 .6rem; }
.menu__col--act { gap: .8rem; }
.menu__note { color: #BFE6F7; margin: .2rem 0 0; }
@media (max-width: 1280px) { .nav { display: none; } .menu-btn { display: inline-flex; margin-left: 0; } .bar__tel { margin-left: auto; } }
@media (max-width: 760px) {
  :root { --bar-h: 72px; }
  .logo img { height: 38px; }
  .bar__book { display: none; }
  .bar__tel-label { display: none; }
  .bar__tel { font-size: 1rem; }
  .menu__in { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 420px) { .bar__tel { display: none; } .menu-btn { margin-left: auto; } }

main { display: block; }

/* ---------- shared type ---------- */
.kicker { font: 600 .86rem/1.2 var(--sc-font-text); letter-spacing: .16em; text-transform: uppercase; margin: 0; }
.h-xl { font: 700 clamp(2.6rem, 1.4rem + 4.2vw, 5.4rem)/0.98 var(--sc-font-display); letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.h-lg { font: 700 clamp(2.1rem, 1.3rem + 2.8vw, 4rem)/1.02 var(--sc-font-display); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.h-md { font: 600 clamp(1.5rem, 1.1rem + 1.3vw, 2.3rem)/1.1 var(--sc-font-display); letter-spacing: -.012em; margin: 0; text-wrap: balance; }
.lede { font-size: clamp(1.12rem, 1rem + .45vw, 1.4rem); line-height: 1.5; max-width: 38ch; margin: 0; text-wrap: pretty; }
.body { font-size: 1.06rem; line-height: 1.65; max-width: 60ch; margin: 0; text-wrap: pretty; }
.soft { color: var(--navy-2); }
.on-white .soft, .soft-w { color: var(--soft-on-white); }
.on-navy { background: var(--navy); color: var(--white); }
.on-navy .soft { color: #BFE6F7; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.9rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.05rem; height: .85rem; border-radius: 3px; background: var(--white); box-shadow: inset 0 0 0 2px var(--navy); }
.ticks li::after { content: ""; position: absolute; left: -.2rem; right: auto; top: .68em; width: 1.45rem; height: 2px; background: var(--navy); }
.link-arrow { font: 600 1.06rem/1 var(--sc-font-display); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; border-bottom: 2px solid currentColor; padding-bottom: .25rem; }
.link-arrow:hover { opacity: .8; }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: var(--white); position: relative; z-index: 2; }
.foot__in { max-width: 82rem; margin-inline: auto; padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) 2.5rem; display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
.foot__logo { height: 46px; width: auto; margin-bottom: 1.2rem; }
.foot__tag { color: #BFE6F7; max-width: 34ch; margin: 0 0 1.2rem; line-height: 1.5; }
.foot__lines { margin: 0 0 1rem; line-height: 1.9; }
.foot__lines a, .foot__place a, .foot__social a, .foot__links a { color: var(--white); }
.foot__tel { font: 700 1.6rem/1.2 var(--sc-font-display); text-decoration: none; }
.foot__social { display: flex; gap: 1.2rem; margin: 0; }
.foot__head { font: 600 .82rem/1 var(--sc-font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin: 0 0 1rem; }
.foot__place { margin-bottom: 1.3rem; }
.foot__place p { margin: 0; line-height: 1.6; color: #D7EEF8; }
.foot__place .foot__pname { color: var(--white); font: 600 1.08rem/1.3 var(--sc-font-display); margin-bottom: .2rem; }
.foot__links { display: grid; align-content: start; gap: .5rem; }
.foot__links a { text-decoration: none; }
.foot__links a:hover, .foot__place a:hover, .foot__social a:hover { color: var(--sky); }
.concept { border-top: 1px solid rgba(255,255,255,.12); }
.concept p { max-width: 82rem; margin: 0 auto; padding: 1.2rem clamp(1rem, 4vw, 3rem) 1.6rem; font-size: .92rem; line-height: 1.55; color: #BFE6F7; }
.concept a { color: var(--white); }
@media (max-width: 900px) { .foot__in { grid-template-columns: 1fr; } }

/* ---------- braced word (shared signature) ---------- */
.braced { display: flex; font: 800 var(--bsize, 10rem)/0.9 var(--sc-font-display); letter-spacing: -.02em; color: var(--navy); user-select: none; }
.braced .l { position: relative; display: inline-block; transform-origin: 50% 55%; will-change: transform; }
.braced .br { position: absolute; left: 50%; top: 52%; width: .26em; height: .2em; margin: -.1em 0 0 -.13em; border-radius: .045em; background: var(--white); box-shadow: inset 0 0 0 .028em var(--navy), 0 .02em .05em rgba(6,38,56,.35); transition: background-color 200ms var(--sc-ease-out); }
.braced .br::before { content: ""; position: absolute; inset: .045em .07em; border-radius: .02em; background: #D7EEF8; }
.is-straight .braced .br { background: var(--sky); }
.wire-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wire-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wire-svg .w-under { stroke: var(--navy); stroke-width: 7; }
.wire-svg .w-over { stroke: #F2FAFE; stroke-width: 3.4; }

@media (prefers-reduced-motion: reduce) { .braced .l { transform: none !important; } }
