/*
 * Nha Khoa Willy frontend design system.
 * Shared by all public PHP pages; concept prototypes continue using shared.css.
 */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #071b33;
  --muted: #617087;
  --blue: #1268e8;
  --blue-dark: #06429f;
  --blue-soft: #eaf4ff;
  --line: rgba(12, 69, 139, .10);
  --white: #fff;
  --paper: #f2f6f8;
  --ease: cubic-bezier(.32, .72, 0, 1);

  /* 4px spacing system */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Fluid type scale */
  --text-xs: clamp(11px, .72vw, 12px);
  --text-sm: clamp(13px, .84vw, 14px);
  --text-md: clamp(15px, 1vw, 17px);
  --text-lg: clamp(18px, 1.35vw, 22px);
  --title-sm: clamp(28px, 3vw, 42px);
  --title-md: clamp(40px, 5vw, 66px);
  --title-xl: clamp(46px, 6.3vw, 86px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: var(--text-md);
  line-height: 1.7;
  letter-spacing: -.012em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 7;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; width: 100%; object-fit: cover; }
svg { display: block; }

:focus-visible {
  outline: 3px solid #61b3ff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform .2s ease-out;
}
.skip-link:focus { transform: translateY(0); }

.noscript-note {
  position: fixed;
  z-index: 20;
  inset: auto 16px 16px;
  margin: 0;
  padding: 14px;
  color: #fff;
  background: #071b33;
  border-radius: 14px;
  font-size: 13px;
  text-align: center;
}

/* Shared premium primitives */
.shell {
  padding: 7px;
  background: rgba(8, 72, 150, .055);
  box-shadow: 0 0 0 1px rgba(8, 72, 150, .07);
  border-radius: 34px;
}
.core {
  background: rgba(255, 255, 255, .94);
  border-radius: 27px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.95), 0 20px 60px rgba(14,74,149,.08);
  overflow: hidden;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 7px 8px 7px 22px;
  border: 0;
  border-radius: 12px 0 12px 12px;
  cursor: pointer;
  transition: transform .7s var(--ease), background .7s var(--ease), color .7s var(--ease);
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: scale(.98); }
.pill-primary { color: #fff; background: var(--blue); box-shadow: 0 18px 40px rgba(18,104,232,.20); }
.pill-secondary { color: var(--blue-dark); background: #fff; box-shadow: 0 0 0 1px rgba(14,78,157,.10), 0 16px 38px rgba(14,78,157,.08); }
.pill-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.17);
  transition: transform .7s var(--ease);
}
.pill-secondary .pill-icon { background: var(--blue-soft); }
.pill:hover .pill-icon { transform: translate(3px,-1px) scale(1.06); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(230,243,255,.82);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #49a1ff; box-shadow: 0 0 0 5px rgba(73,161,255,.11); }
.reveal { opacity: 0; transform: translateY(46px); filter: blur(8px); transition: opacity .95s var(--ease), transform .95s var(--ease), filter .95s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

/* Detached fluid navigation */
.nav-wrap { position: fixed; inset: 0 0 auto; z-index: 5; pointer-events: none; }
.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 66px;
  margin: 20px auto 0;
  padding: 7px 8px 7px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 0 0 1px rgba(17,73,139,.08), 0 18px 55px rgba(20,75,140,.10);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: "Be Vietnam Pro", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50% 50% 44% 56% / 43% 52% 48% 57%; transform: rotate(-7deg); }
.brand-mark svg { transform: rotate(7deg); }
.nav-links { display: flex; align-items: center; gap: 30px; color: #40516a; font-size: 13px; }
.nav-links a { transition: color .65s var(--ease), transform .65s var(--ease); }
.nav-links a:hover { color: var(--blue); transform: translateY(-1px); }
.nav .pill { min-height: 48px; padding-left: 18px; font-size: 13px; }
.nav .pill-icon { width: 34px; height: 34px; }
.menu-button { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--blue-soft); position: relative; cursor: pointer; }
.menu-button span { position: absolute; left: 14px; width: 20px; height: 1.5px; background: var(--blue-dark); transition: transform .7s var(--ease); }
.menu-button span:first-child { transform: translateY(-4px); }
.menu-button span:last-child { transform: translateY(4px); }
.menu-button.open span:first-child { transform: rotate(45deg); }
.menu-button.open span:last-child { transform: rotate(-45deg); }
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: rgba(246,251,255,.88);
  backdrop-filter: blur(28px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .75s var(--ease);
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-overlay nav { display: grid; gap: 20px; text-align: center; }
.menu-overlay a { font: 42px/1 "Be Vietnam Pro", sans-serif; opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.menu-overlay.open a { opacity: 1; transform: translateY(0); }
.menu-overlay.open a:nth-child(2) { transition-delay: .08s; }
.menu-overlay.open a:nth-child(3) { transition-delay: .16s; }
.menu-overlay.open a:nth-child(4) { transition-delay: .24s; }

/* Homepage layout primitives */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* CONCEPT 05 — Digital Cobalt */
.c5 { background: #f7faff; }
.c5-hero { min-height: 100dvh; padding: 138px 4vw 46px; }
.c5-stage { max-width: 1340px; min-height: 760px; margin: auto; position: relative; padding: 74px 7vw; border-radius: 46px; color: #fff; background: #052c6d; overflow: hidden; box-shadow: inset 0 1px rgba(255,255,255,.12), 0 34px 90px rgba(4,48,111,.19); }
.c5-grid-bg { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom,black,transparent 78%); }
.c5-glow { position: absolute; width: 600px; height: 600px; right: -110px; top: -180px; border-radius: 50%; background: #1a8cff; filter: blur(110px); opacity: .38; }
.c5-content { position: relative; z-index: 1; max-width: 760px; }
.c5 .eyebrow { color: #b9dcff; background: rgba(255,255,255,.10); }
.c5 h1 { margin: 20px 0 26px; font: 500 80px/.95 "Be Vietnam Pro",sans-serif; letter-spacing: -.068em; }
.c5 h1 span { color: #75b9ff; }
.c5-content > p { max-width: 560px; color: rgba(255,255,255,.62); line-height: 1.75; }
.c5 .cta-row { margin-top: 34px; }
.c5 .pill-primary { color: #07316b; background: #fff; }
.c5 .pill-primary .pill-icon { background: #e5f3ff; }
.c5-metrics { position: absolute; z-index: 1; left: 7vw; right: 7vw; bottom: 50px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.metric { padding: 6px; border-radius: 25px; background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px rgba(255,255,255,.09); }
.metric > div { padding: 20px; border-radius: 19px; background: rgba(255,255,255,.075); }
.metric strong { display: block; margin-bottom: 4px; font: 600 27px "Be Vietnam Pro",sans-serif; }
.metric span { color: rgba(255,255,255,.5); font-size: 11px; }
.c5-solutions { padding: 140px 5vw; }
.solutions-grid { max-width: 1240px; margin: auto; display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.solution-copy { grid-column: span 5; padding: 24px 30px 24px 0; }
.solution-copy h2 { margin: 18px 0; font: 62px/.98 "Be Vietnam Pro",sans-serif; }
.solution-copy p { color: var(--muted); line-height: 1.7; }
.solution-card { grid-column: span 7; }
.solution-card .core { min-height: 430px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; align-items: end; background: #eaf4ff; }
.solution-card h3 { margin: 0 0 10px; font: 38px/1 "Be Vietnam Pro",sans-serif; }
.solution-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.tooth-orbit { aspect-ratio: 1; position: relative; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle,#fff 0 32%,transparent 33%),repeating-radial-gradient(circle,rgba(19,108,226,.12) 0 1px,transparent 1px 29px); }
.tooth-orbit svg { width: 86px; color: var(--blue); }

/* NHA KHOA WILLY — production website based on Digital Cobalt */
.willy-site {
  --navy: #052c6d;
  --navy-deep: #031c48;
  --electric: #59adff;
  --surface-blue: #edf6ff;
  --section-space: clamp(var(--space-24), 10vw, 144px);
  color: var(--ink);
  background: #f2f6f8;
}
.willy-site.menu-open,
.willy-site.contact-picker-open { overflow: hidden; }
.willy-site main { overflow: clip; }
.willy-site section { scroll-margin-top: 105px; }
.willy-site svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.section-container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section-space { padding-block: var(--section-space); }
.willy-site .pill { font-size: var(--text-sm); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.willy-site .pill-primary { color: #fff; background: var(--blue); }
.willy-site .pill-primary .pill-icon { color: currentColor; background: rgba(255,255,255,.17); }
.willy-site .c5-stage .pill-primary { color: #07316b; background: #fff; }
.willy-site .c5-stage .pill-primary .pill-icon { background: #e5f3ff; }
.pill-icon svg { width: 19px; height: 19px; }
.button-leading { width: 23px; height: 23px; display: grid; place-items: center; }
.button-leading svg { width: 21px; height: 21px; }
.pill-ghost { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.pill-ghost:hover { background: rgba(255,255,255,.13); }

.willy-site .nav {
  width: min(1340px, calc(100% - 8vw));
  margin-top: 28px;
  padding-left: 17px;
  padding-right: 14px;
  color: #fff;
  border-radius: 36px 36px 0 0;
  background:
    radial-gradient(circle at 78% -90%, rgba(37,137,255,.24), transparent 42%),
    linear-gradient(135deg, rgba(2,19,50,.95), rgba(4,43,98,.91));
  box-shadow: 0 0 0 1px rgba(112,178,255,.17), 0 16px 44px rgba(2,24,60,.24);
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
}
.willy-site .brand-mark { flex: 0 0 auto; }
.willy-site .nav-links {
  position: relative;
  gap: 4px;
  padding: 4px;
  color: rgba(255,255,255,.68);
  isolation: isolate;
}
.willy-site .nav-links a {
  position: relative;
  z-index: 2;
  min-height: 42px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  transform: translate3d(0, var(--magnetic-y, 0), 0);
  transition: color .38s var(--ease), transform .38s var(--ease), text-shadow .38s ease;
}
.willy-site .nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8ac9ff;
  box-shadow: 0 0 10px #59adff, 0 0 20px rgba(89,173,255,.75);
  opacity: 0;
  transform: translate(-50%, 5px) scale(.3);
  transition: opacity .3s ease, transform .45s var(--ease);
}
.willy-site .nav-links a:hover,
.willy-site .nav-links a:focus-visible,
.willy-site .nav-links a.is-active {
  color: #fff;
  text-shadow: 0 0 18px rgba(134,202,255,.38);
}
.willy-site .nav-links a:hover::after,
.willy-site .nav-links a:focus-visible::after,
.willy-site .nav-links a.is-active::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.nav-glider {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  width: var(--glider-width, 0);
  height: 42px;
  border: 1px solid rgba(146,207,255,.22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(127,193,255,.16), rgba(255,255,255,.07));
  box-shadow: inset 0 1px rgba(255,255,255,.16), 0 9px 25px rgba(0,15,46,.18), 0 0 24px rgba(40,132,232,.10);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--glider-x, 0), 0, 0) scale(.88);
  transform-origin: center;
  transition: width .5s var(--ease), transform .5s var(--ease), opacity .25s ease;
}
.willy-site .nav-links.has-glider .nav-glider {
  opacity: 1;
  transform: translate3d(var(--glider-x, 0), 0, 0) scale(1);
}
.willy-site .nav-actions { display: flex; align-items: center; gap: 8px; }
.willy-site .nav-cta { box-shadow: none; }
.willy-site .nav-login {
  min-height: 44px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.76);
  border: 1px solid rgba(146,207,255,.18);
  border-radius: 10px 0 10px 10px;
  background: rgba(255,255,255,.07);
  font-size: 12px;
  font-weight: 600;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.willy-site .nav-login:hover,
.willy-site .nav-login:focus-visible { color: #fff; border-color: rgba(146,207,255,.42); background: rgba(255,255,255,.12); }
.willy-site .nav-login svg { width: 18px; height: 18px; }
.willy-site .menu-overlay { z-index: 4; background: rgba(246,251,255,.95); }
.willy-site .menu-overlay nav { width: min(420px, calc(100% - 40px)); }
.willy-site .menu-overlay a { min-height: 50px; padding: 8px; display: flex; align-items: center; justify-content: center; }
.willy-site .menu-overlay .menu-login {
  width: fit-content;
  min-height: 48px;
  margin: 8px auto 0;
  padding: 0 18px;
  color: var(--blue-dark);
  border: 1px solid rgba(18,104,232,.16);
  border-radius: 12px 0 12px 12px;
  background: var(--blue-soft);
  font-size: 14px;
  font-weight: 700;
}
.willy-site.menu-open .mobile-contact-bar { pointer-events: none; }
.willy-site.menu-open .mobile-contact-bar { opacity: 0; transform: translateY(120%); }

.willy-site .c5-hero { min-height: auto; padding-top: 102px; padding-bottom: 40px; }
.willy-site .c5-stage { min-height: 790px; padding: 64px 5.7vw 44px; border-radius: 0 0 46px 46px; }
.willy-site .c5-glow { width: 760px; height: 760px; right: -270px; top: -270px; opacity: .42; }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .98fr) minmax(390px, .72fr); gap: clamp(42px, 6vw, 94px); align-items: center; min-height: 480px; }
.willy-site .c5-content { max-width: 720px; }
.willy-site .c5 h1 { max-width: 800px; font-size: var(--title-xl); line-height: 1.02; letter-spacing: -.055em; }
.willy-site .c5-content > p { max-width: 590px; color: rgba(255,255,255,.71); font-size: 17px; }
.willy-site .cta-row { align-items: center; }
.hero-note { max-width: 560px; margin-top: 26px; display: flex; gap: 11px; align-items: flex-start; color: rgba(255,255,255,.62); }
.hero-note > span { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; color: #83c3ff; }
.hero-note svg { width: 20px; height: 20px; }
.hero-note p { margin: 2px 0 0; font-size: 12px; line-height: 1.55; }

.scan-terminal {
  min-width: 0;
  width: 105%;
  min-height: 520px;
  justify-self: center;
  transform: translateX(-3%);
  position: relative;
  padding: 60px 52px 94px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #d9ebff;
  background: rgba(255,255,255,.08);
  clip-path: url(#tooth-panel-clip);
  filter: drop-shadow(0 26px 48px rgba(0,14,48,.34));
  isolation: isolate;
}
.tooth-clip-def { position: absolute; pointer-events: none; }
.tooth-panel-outline { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tooth-panel-outline path { fill: none; vector-effect: non-scaling-stroke; }
.tooth-panel-outline .tooth-border { stroke: rgba(255,255,255,.20); stroke-width: 15; stroke-linejoin: round; stroke-linecap: round; }
.tooth-panel-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 39%; filter: saturate(.96) contrast(1.02) brightness(.94); transform: scale(1.04); transition: transform 1.2s var(--ease), filter 1.2s var(--ease); }
.scan-terminal:hover .tooth-panel-image { transform: scale(1.09); filter: saturate(1) contrast(1.03) brightness(.98); }
.tooth-panel-tint { position: absolute; z-index: -2; inset: 0; background: linear-gradient(180deg, rgba(3,30,70,.06) 0%, rgba(3,30,70,.02) 48%, rgba(2,20,51,.68) 100%); pointer-events: none; }
.terminal-bar, .terminal-footer { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.terminal-bar { min-height: 44px; padding: 0 4px; font: 600 9px/1 "Be Vietnam Pro", sans-serif; letter-spacing: .15em; }
.terminal-status { display: flex; align-items: center; gap: 7px; color: #a9dcff; letter-spacing: .05em; }
.terminal-status i { width: 7px; height: 7px; border-radius: 50%; background: #63d7a3; box-shadow: 0 0 0 5px rgba(99,215,163,.12); }
.scan-canvas { min-height: 270px; position: absolute; z-index: 1; inset: 62px 34px 84px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(50,145,255,.18), transparent 52%); }
.scan-grid { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(115,187,255,.20) 1px, transparent 1px), linear-gradient(90deg,rgba(115,187,255,.20) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle, black, transparent 73%); }
.scan-ring { position: absolute; border: 1px solid rgba(121,196,255,.28); border-radius: 50%; }
.ring-one { width: 260px; height: 260px; }
.ring-two { width: 190px; height: 190px; border-style: dashed; animation: slow-spin 22s linear infinite; }
.scan-tooth-outline { position: relative; z-index: 2; width: min(66%, 248px); color: rgba(180,222,255,.72); filter: drop-shadow(0 0 18px rgba(68,159,255,.55)); }
.scan-tooth-outline path { fill: rgba(34,120,218,.08); stroke: currentColor; stroke-width: 2; }
.tooth-photo-shine {
  position: absolute;
  z-index: 3;
  inset: -35% 55% -35% -45%;
  background: linear-gradient(90deg, transparent, rgba(179,224,255,.28), transparent);
  transform: skewX(-14deg) translateX(-85%);
  animation: tooth-photo-scan 5.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tooth-photo-scan {
  0%, 25% { transform: skewX(-14deg) translateX(-85%); opacity: 0; }
  42% { opacity: 1; }
  70%, 100% { transform: skewX(-14deg) translateX(260%); opacity: 0; }
}
.scan-line { position: absolute; z-index: 2; left: 12%; right: 12%; top: 18%; height: 1px; background: linear-gradient(90deg, transparent, #94d5ff, transparent); box-shadow: 0 0 15px #59adff; animation: scan-pass 4.5s ease-in-out infinite; }
.scan-label { position: absolute; padding: 8px 10px; color: #b9dcff; background: rgba(5,44,109,.78); border: 1px solid rgba(145,207,255,.22); border-radius: 9px; font: 500 8px/1 "Be Vietnam Pro", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.label-a { top: 22px; left: 20px; }
.label-b { right: 20px; bottom: 22px; }
.terminal-footer { min-height: 70px; padding: 8px 12px 0; }
.terminal-footer div { min-width: 0; display: grid; gap: 5px; }
.terminal-footer span { color: #6eaff1; font-size: 8px; letter-spacing: .16em; }
.terminal-footer strong { color: #d7e9ff; font-size: 10px; font-weight: 500; }
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes scan-pass { 0%,100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(220px); opacity: 1; } }

.hero-bottom-row {
  position: relative;
  z-index: 3;
  margin-top: 36px;
}
.gallery-heading {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.gallery-swipe-hint { display: none; align-items: center; gap: 7px; }
.gallery-swipe-hint svg { width: 17px; height: 17px; }
.gallery-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-gallery {
  width: 100%;
  min-width: 0;
  min-height: 106px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 15px 0 15px 15px;
  background: rgba(4,34,80,.44);
  box-shadow: 0 16px 40px rgba(0,15,46,.19);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.gallery-thumb {
  min-width: 0;
  aspect-ratio: 4 / 3;
  position: relative;
  padding: 0;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px 0 10px 10px;
  background: #0b3c7c;
  cursor: pointer;
  opacity: .72;
  transition: opacity .35s ease, border-color .35s ease, transform .35s var(--ease);
}
.gallery-thumb:hover,
.gallery-thumb:focus-visible,
.gallery-thumb.is-active { opacity: 1; border-color: rgba(160,216,255,.68); transform: translateY(-2px); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .7s ease; }
.gallery-thumb:hover img { transform: scale(1.07); filter: brightness(1.08); }
.gallery-thumb::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(1,17,45,.72)); pointer-events: none; }
.gallery-thumb span { position: absolute; z-index: 1; left: 10px; bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .03em; }

.willy-site .c5-metrics { position: static; inset: auto; min-width: 0; min-height: 106px; grid-template-columns: repeat(2,1fr); gap: 8px; }
.willy-site .metric { height: 100%; }
.willy-site .metric > div { min-height: 100%; display: flex; flex-direction: column; justify-content: center; }
.willy-site .metric span { color: rgba(255,255,255,.59); font-size: 11px; line-height: 1.4; }

.section-intro { margin-bottom: 54px; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 70px; align-items: end; }
.section-intro h2, .experience-copy h2, .faq-copy h2, .booking-copy h2 { margin: var(--space-5) 0 0; font: 600 var(--title-md)/1.08 "Be Vietnam Pro", sans-serif; letter-spacing: -.045em; }
.section-intro h2 span, .experience-copy h2 span, .faq-copy h2 span, .booking-copy h2 span { color: var(--blue); }
.section-intro > p { max-width: 390px; margin: 0 0 2px; color: var(--muted); font-size: 15px; line-height: 1.75; }

.services-section { padding-top: 120px; background: radial-gradient(circle at 100% 30%, rgba(190,224,255,.30), transparent 28%), #f2f6f8; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-item { border-radius: 30px; }
.service-item .core { min-height: 470px; padding: 0 29px 29px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 23px; }
.service-featured .core { color: #fff; background: var(--blue); }
.service-media { height: 190px; margin: 0 -29px 24px; overflow: hidden; border-radius: 23px 23px 10px 10px; background: #dcecff; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .8s var(--ease); }
.service-item:hover .service-media img { transform: scale(1.045); }
.service-featured .service-media img { filter: saturate(.82) contrast(1.04) brightness(.88); }
.service-top { display: flex; align-items: center; justify-content: space-between; }
.service-index { color: #8b9bb0; font: 600 10px/1 "Be Vietnam Pro", sans-serif; letter-spacing: .15em; }
.service-featured .service-index { color: rgba(255,255,255,.55); }
.willy-site .service-icon { width: 49px; height: 49px; color: var(--blue); }
.willy-site .service-icon svg { width: 25px; height: 25px; }
.service-featured .service-icon { color: #fff; background: rgba(255,255,255,.14); }
.service-item h3 { margin: 0 0 12px; font: 600 27px/1.08 "Be Vietnam Pro", sans-serif; letter-spacing: -.04em; }
.service-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-featured p { color: rgba(255,255,255,.69); }
.text-link { width: fit-content; min-height: 44px; display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-size: 13px; font-weight: 600; }
.text-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.service-featured .text-link { color: #fff; }
.medical-note { margin: 28px 0 0; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); font-size: 12px; text-align: center; }
.medical-note > span { width: 20px; height: 20px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 50%; font: 700 11px serif; }

.experience-section { color: #fff; background: var(--navy-deep); }
.experience-grid { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); gap: clamp(50px,7vw,100px); align-items: center; }
.experience-visual { padding: 8px; background: rgba(99,174,255,.09); box-shadow: 0 0 0 1px rgba(140,201,255,.12); }
.experience-visual .core { min-height: 650px; position: relative; background: radial-gradient(circle at 50% 54%,rgba(53,143,255,.32),transparent 44%), #04245a; box-shadow: inset 0 1px rgba(255,255,255,.08); }
.visual-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 55%,black,transparent 75%); }
.digital-arch { position: absolute; inset: 50% auto auto 50%; width: 84%; transform: translate(-50%,-50%); color: #75b9ff; }
.digital-arch svg { width: 100%; filter: drop-shadow(0 0 24px rgba(64,151,255,.25)); }
.digital-arch path { fill: rgba(45,139,255,.06); stroke-width: 1.35; }
.digital-arch .arch-lines { fill: none; opacity: .4; stroke-width: .8; stroke-dasharray: 4 7; }
.data-card { position: absolute; z-index: 1; max-width: 180px; padding: 15px 17px; border: 1px solid rgba(170,218,255,.14); border-radius: 16px; color: #fff; background: rgba(8,52,118,.72); backdrop-filter: blur(10px); }
.data-card span { display: block; margin-bottom: 7px; color: #75b9ff; font-size: 8px; letter-spacing: .13em; }
.data-card strong { font-size: 12px; font-weight: 500; }
.data-card-one { top: 30px; left: 30px; }
.data-card-two { right: 30px; bottom: 88px; }
.visual-caption { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 28px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.63); font-size: 11px; }
.visual-caption i { width: 8px; height: 8px; border-radius: 50%; background: #5bc89a; box-shadow: 0 0 0 6px rgba(91,200,154,.1); }
.experience-copy .eyebrow, .booking-copy .eyebrow { color: #b9dcff; background: rgba(255,255,255,.09); }
.experience-copy h2, .booking-copy h2 { color: #fff; }
.experience-copy h2 span, .booking-copy h2 span { color: #75b9ff; }
.experience-copy > p { margin: 24px 0 32px; color: rgba(255,255,255,.61); font-size: 15px; line-height: 1.78; }
.process-list { margin: 0 0 34px; padding: 0; list-style: none; }
.process-list li { padding: 19px 0; display: grid; grid-template-columns: 44px 1fr; gap: 17px; box-shadow: inset 0 1px rgba(255,255,255,.10); }
.process-list li > span { color: #75b9ff; font: 600 9px/1.5 "Be Vietnam Pro", sans-serif; letter-spacing: .14em; }
.process-list strong { display: block; margin-bottom: 5px; font-size: 15px; font-weight: 600; }
.process-list p { margin: 0; color: rgba(255,255,255,.52); font-size: 12px; line-height: 1.6; }
.experience-copy .pill-primary { color: var(--navy); background: #fff; }
.experience-copy .pill-primary .pill-icon { background: #e5f3ff; }

.locations-section { background: #edf6ff; }
.location-intro { margin-bottom: 46px; }
.location-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.location-card .core { min-height: 580px; }
.location-map { min-height: 250px; position: relative; overflow: hidden; background: radial-gradient(circle at 62% 45%, rgba(54,143,243,.30),transparent 24%), linear-gradient(145deg,#e5f2ff,#c9e4ff); }
.map-alt { background: radial-gradient(circle at 36% 50%,rgba(54,143,243,.28),transparent 24%),linear-gradient(145deg,#dceeff,#edf7ff); }
.map-grid { position: absolute; inset: -30px; opacity: .6; background-image: linear-gradient(24deg,transparent 47%,rgba(28,101,182,.14) 48%,rgba(28,101,182,.14) 51%,transparent 52%),linear-gradient(-26deg,transparent 47%,rgba(28,101,182,.12) 48%,rgba(28,101,182,.12) 51%,transparent 52%); background-size: 92px 82px; transform: rotate(7deg); }
.map-pin { position: absolute; left: 56%; top: 46%; width: 54px; height: 54px; display: grid; place-items: center; color: #fff; background: var(--blue); border: 7px solid rgba(255,255,255,.75); border-radius: 50%; box-shadow: 0 17px 35px rgba(5,67,146,.22); transform: translate(-50%,-50%); }
.map-pin svg { width: 22px; height: 22px; }
.map-code { position: absolute; top: 20px; left: 22px; padding: 8px 10px; color: var(--blue-dark); background: rgba(255,255,255,.72); border-radius: 999px; font: 700 9px/1 "Be Vietnam Pro", sans-serif; letter-spacing: .14em; backdrop-filter: blur(10px); }
.location-content { padding: 33px; }
.location-label { color: var(--blue); font: 700 9px/1 "Be Vietnam Pro", sans-serif; letter-spacing: .16em; }
.location-content h3 { margin: 15px 0 5px; font: 600 35px/1 "Be Vietnam Pro", sans-serif; letter-spacing: -.05em; }
.location-content > p { margin: 0 0 18px; color: var(--muted); }
.location-phone { min-height: 44px; display: inline-flex; align-items: center; color: var(--blue-dark); font: 600 20px "Be Vietnam Pro", sans-serif; }
.location-actions { margin-top: 24px; display: flex; align-items: center; gap: 10px; }
.location-actions .pill { min-height: 50px; padding-left: 18px; font-size: 13px; }
.location-actions .pill-icon { width: 36px; height: 36px; }
.round-link { width: 50px; height: 50px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(18,104,232,.08); transition: transform .25s var(--ease), background .25s var(--ease); }
.round-link:hover { transform: translateY(-2px); background: #dceeff; }
.round-link svg { width: 21px; height: 21px; }
.round-link span { font-size: 9px; font-weight: 700; }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: clamp(55px,8vw,110px); align-items: start; }
.faq-copy { position: sticky; top: 130px; }
.faq-copy > p { max-width: 390px; margin: 23px 0; color: var(--muted); line-height: 1.75; }
.text-link.large { font-size: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 84px; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: 0 0 42px; width: 42px; height: 42px; background: var(--blue-soft); border-radius: 50%; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 13px; top: 20px; width: 16px; height: 1.5px; background: var(--blue); transition: transform .25s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details p { max-width: 680px; margin: -4px 70px 25px 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.booking-section { padding: 0 0 34px; background: #fff; }
.booking-shell { position: relative; padding: clamp(45px,6vw,76px); display: grid; grid-template-columns: minmax(0,.86fr) minmax(410px,1.14fr); gap: clamp(48px,7vw,100px); color: #fff; background: var(--navy); border-radius: 44px; overflow: hidden; }
.booking-glow { position: absolute; width: 580px; height: 580px; left: -250px; top: -300px; border-radius: 50%; background: #1a8cff; filter: blur(120px); opacity: .32; pointer-events: none; }
.booking-copy, .booking-form { position: relative; z-index: 1; }
.booking-copy > p { margin: 23px 0 34px; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.75; }
.booking-direct { padding-top: 24px; display: grid; gap: 9px; box-shadow: inset 0 1px rgba(255,255,255,.11); }
.booking-direct span { margin-bottom: 3px; color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.booking-direct a { width: fit-content; min-height: 34px; display: flex; align-items: center; color: #b9dcff; font-size: 13px; }
.booking-form { padding: 30px; color: var(--ink); background: #fff; border-radius: 28px; box-shadow: 0 30px 80px rgba(0,15,48,.25); }
.field-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin: 0 0 8px; color: #25425f; font-size: 12px; font-weight: 600; }
.field label span { color: #c23a3a; }
.field input, .field select, .field textarea { width: 100%; min-height: 49px; padding: 13px 14px; color: var(--ink); background: #f5f9fd; border: 1px solid rgba(12,69,139,.12); border-radius: 12px; font-size: 16px; outline: 0; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field textarea { min-height: 105px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,#54708d 50%),linear-gradient(135deg,#54708d 50%,transparent 50%); background-position: calc(100% - 18px) 21px,calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: #58aaff; box-shadow: 0 0 0 4px rgba(18,104,232,.10); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c73535; box-shadow: 0 0 0 3px rgba(199,53,53,.09); }
.field-error { min-height: 0; display: block; margin-top: 6px; color: #b42318; font-size: 12px; line-height: 1.5; }
.consent-row { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: flex-start; color: #53667b; font-size: 12px; line-height: 1.55; cursor: pointer; }
.consent-row input { width: 21px; height: 21px; margin: 0; accent-color: var(--blue); }
.consent-row input[aria-invalid="true"] { outline: 2px solid #c73535; outline-offset: 3px; }
.consent-error { margin-left: 34px; }
.form-submit { width: 100%; margin-top: 20px; justify-content: space-between; color: #fff; background: var(--blue); box-shadow: 0 18px 40px rgba(18,104,232,.20); }
.form-status { min-height: 18px; margin-top: 12px; color: #386078; font-size: 12px; line-height: 1.5; }
.form-status.success { color: #067647; }
.form-status.error { color: #b42318; }
.message-fallback { margin-top: 16px; padding: 16px; border: 1px solid rgba(12,69,139,.12); border-radius: 16px; background: #f5f9fd; }
.message-fallback[hidden] { display: none; }
.message-fallback label { display: block; margin-bottom: 8px; color: #25425f; font-size: 13px; font-weight: 600; }
.message-fallback textarea { width: 100%; min-height: 150px; padding: 12px; color: var(--ink); border: 1px solid rgba(12,69,139,.16); border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.55; resize: vertical; }
.copy-message, .open-zalo { min-height: 44px; margin-top: 10px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--blue-dark); border: 1px solid rgba(18,104,232,.18); border-radius: 10px 0 10px 10px; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.open-zalo { margin-left: 6px; color: #fff; background: var(--blue); }

.site-footer { padding: 86px 0 90px; color: rgba(255,255,255,.65); background: #031633; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3,.65fr); gap: 55px; }
.footer-brand .brand { width: fit-content; color: #fff; }
.footer-brand p { max-width: 330px; margin: 22px 0; font-size: 13px; line-height: 1.7; }
.footer-email { min-height: 36px; display: inline-flex; align-items: center; color: rgba(255,255,255,.72); font-size: 12px; word-break: break-all; }
.domain-link { min-height: 44px; display: inline-flex; align-items: center; color: #70b8ff; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column h2 { margin: 7px 0 12px; color: #fff; font-size: 12px; font-weight: 600; }
.footer-column a { min-height: 30px; display: flex; align-items: center; font-size: 12px; transition: color .2s ease; }
.footer-column a:hover { color: #fff; }
.footer-column address { margin: 0 0 4px; color: rgba(255,255,255,.48); font-size: 12px; font-style: normal; line-height: 1.7; }
.footer-bottom { margin-top: 60px; padding-top: 22px; display: flex; justify-content: space-between; gap: 30px; box-shadow: inset 0 1px rgba(255,255,255,.08); font-size: 10px; }
.mobile-contact-bar { display: none; }
.mobile-location-picker {
  position: fixed;
  z-index: 12;
  inset: 0;
  padding: 20px;
  display: none;
  place-items: end center;
  background: rgba(3,22,51,.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-location-picker.open { opacity: 1; pointer-events: auto; }
.mobile-location-dialog {
  width: min(100%, 460px);
  padding: 24px;
  position: relative;
  border-radius: 24px 0 24px 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,15,48,.32);
  transform: translateY(24px);
  transition: transform .3s var(--ease);
}
.mobile-location-picker.open .mobile-location-dialog { transform: translateY(0); }
.mobile-location-dialog h2 { margin: 16px 42px 20px 0; font-size: 27px; line-height: 1.15; letter-spacing: -.04em; }
.mobile-location-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; color: var(--blue-dark); border: 0; border-radius: 10px 0 10px 10px; background: var(--blue-soft); font-size: 28px; cursor: pointer; }
.mobile-location-options { display: grid; gap: 10px; }
.mobile-location-options button { min-height: 74px; padding: 14px 16px; display: grid; gap: 4px; text-align: left; color: var(--ink); border: 1px solid rgba(12,69,139,.12); border-radius: 14px 0 14px 14px; background: #f5f9fd; cursor: pointer; }
.mobile-location-options strong { color: var(--blue-dark); font-size: 16px; }
.mobile-location-options span { color: var(--muted); font-size: 13px; }


@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr minmax(340px,.72fr); gap: 42px; }
  .willy-site .c5-stage { padding-inline: 42px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .experience-grid { gap: 48px; }
  .booking-shell { grid-template-columns: .85fr 1.15fr; gap: 45px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
  .willy-site .nav-links a { padding-inline: 11px; }
  .willy-site .nav-login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .willy-site .nav-login { width: 44px; padding: 0; justify-content: center; }
}

@media (max-width: 900px) {
  .willy-site .nav-links, .willy-site .nav-actions { display: none; }
  .willy-site .menu-button { display: block; }
  .willy-site .nav { margin-top: 20px; }
  .willy-site .c5-hero { padding-top: 94px; }
  .willy-site .c5-stage { min-height: auto; padding: 58px 28px 34px; }
  .hero-layout { grid-template-columns: 1fr; }
  .scan-terminal { width: min(560px,100%); min-height: 560px; padding: 62px 52px 102px; transform: none; }
  .hero-bottom-row { margin-top: 34px; }
  .hero-gallery { width: 100%; }
  .section-intro { grid-template-columns: 1fr; gap: 25px; }
  .section-intro > p { max-width: 650px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-visual { max-width: 650px; }
  .locations-section .section-intro { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .location-card .core { min-height: auto; display: grid; grid-template-columns: .82fr 1.18fr; }
  .location-map { min-height: 100%; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-copy { position: static; }
  .booking-shell { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .willy-site { --section-space: var(--space-24); padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .mobile-location-picker { display: grid; }
  .section-container { width: min(100% - 32px,1240px); }
  .willy-site .nav { width: calc(100% - 20px); margin-top: 14px; }
  .willy-site .brand { font-size: 14px; }
  .willy-site .c5-hero { padding: 88px 10px 22px; }
  .willy-site .c5-stage { padding: 45px 19px 24px; border-radius: 0 0 30px 30px; }
  .willy-site .c5 h1 { font-size: clamp(45px,13vw,58px); line-height: .98; }
  .willy-site .c5-content > p { font-size: 16px; }
  .willy-site .cta-row { display: grid; }
  .willy-site .cta-row .pill { width: 100%; justify-content: space-between; }
  .scan-terminal { min-height: 490px; margin: 4px auto 0; padding: 54px 36px 90px; }
  .scan-canvas { min-height: 260px; inset: 56px 25px 78px; }
  .scan-label { font-size: 10px; }
  .terminal-bar { font-size: 10px; }
  .terminal-footer { gap: 5px; }
  .terminal-footer span { font-size: 10px; }
  .terminal-footer strong { font-size: 11px; }
  .hero-bottom-row { margin-top: 30px; }
  .gallery-heading { margin-bottom: 9px; font-size: 12px; }
  .gallery-swipe-hint { display: inline-flex; }
  .hero-gallery { width: 100%; min-height: 104px; overflow-x: auto; grid-template-columns: repeat(5, minmax(132px,42vw)); scroll-snap-type: x proximity; scrollbar-width: none; border-radius: 15px 0 15px 15px; -webkit-overflow-scrolling: touch; }
  .hero-gallery::-webkit-scrollbar { display: none; }
  .gallery-thumb { scroll-snap-align: start; }
  .gallery-thumb span { font-size: 12px; }
  .section-intro { margin-bottom: 36px; }
  .section-intro h2, .experience-copy h2, .faq-copy h2, .booking-copy h2 { font-size: clamp(40px,11vw,49px); }
  .services-section { padding-top: 87px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item .core { min-height: 455px; padding-inline: 22px; padding-bottom: 24px; }
  .service-media { height: 176px; margin-inline: -22px; margin-bottom: 22px; }
  .experience-visual .core { min-height: 480px; }
  .data-card { padding: 11px; }
  .data-card-one { top: 18px; left: 18px; }
  .data-card-two { right: 18px; bottom: 68px; }
  .visual-caption { left: 18px; right: 18px; bottom: 18px; }
  .location-card .core { display: block; }
  .location-map { min-height: 220px; }
  .location-content { padding: 27px 24px; }
  .location-actions { flex-wrap: wrap; }
  .faq-list summary { min-height: 76px; font-size: 15px; }
  .faq-list details p { margin-right: 0; }
  .booking-section { padding-bottom: 0; }
  .booking-shell { width: 100%; padding: 68px 16px 26px; border-radius: 0; }
  .booking-copy { padding-inline: 3px; }
  .booking-form { padding: 23px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { display: grid; }
  .site-footer { padding-bottom: 110px; }
  .mobile-contact-bar { position: fixed; z-index: 8; inset: auto 10px max(8px, env(safe-area-inset-bottom)); min-height: 66px; padding: 6px; display: grid; grid-template-columns: 1fr 1fr 1.15fr; background: rgba(255,255,255,.94); border: 1px solid rgba(12,69,139,.10); border-radius: 22px; box-shadow: 0 16px 50px rgba(3,35,77,.22); backdrop-filter: blur(18px); transition: opacity .25s ease, transform .3s var(--ease); }
  .mobile-contact-bar :is(a, button) { min-height: 54px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #496279; border: 0; border-radius: 16px; background: transparent; font-size: 11px; font-weight: 600; cursor: pointer; }
  .mobile-contact-bar svg { width: 20px; height: 20px; color: var(--blue); }
  .mobile-contact-bar .mobile-book { color: #fff; background: var(--blue); }
  .mobile-contact-bar .mobile-book svg { color: #fff; }
  .zalo-mini { width: 20px; height: 20px; display: grid; place-items: center; color: #fff; background: #1676ed; border-radius: 6px; font: 800 10px "Be Vietnam Pro",sans-serif; }
}

@media (max-width: 390px) {
  .terminal-footer div:nth-child(2) { display: none; }
  .terminal-footer { justify-content: space-around; }
  .scan-label { max-width: 115px; line-height: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
  .ring-two, .scan-line, .tooth-photo-shine { animation: none; }
}

/* Final toolbar-to-hero lockup */
.willy-site .nav {
  margin-top: 30px;
  border-radius: 36px 36px 0 0;
  background:
    radial-gradient(circle at 78% -90%, rgba(57,151,255,.28), transparent 42%),
    linear-gradient(135deg, rgba(1,14,38,.96), rgba(3,32,76,.94));
  box-shadow: 0 0 0 1px rgba(112,178,255,.16), 0 14px 38px rgba(2,18,49,.25);
  backdrop-filter: blur(28px) saturate(132%);
  -webkit-backdrop-filter: blur(28px) saturate(132%);
}

.willy-site .c5-hero { padding-top: 96px; }
.willy-site .c5-stage { border-radius: 0 0 46px 46px; }

@media (max-width: 900px) {
  .willy-site .nav { margin-top: 20px; border-radius: 30px 30px 0 0; }
  .willy-site .c5-hero { padding-top: 86px; }
  .willy-site .c5-stage { border-radius: 0 0 38px 38px; }
}

@media (max-width: 680px) {
  .willy-site .nav { margin-top: 14px; border-radius: 26px 26px 0 0; }
  .willy-site .c5-hero { padding-top: 80px; }
  .willy-site .c5-stage { border-radius: 0 0 30px 30px; }
}

/* Directional 3D buttons */
.willy-site :is(.pill, .round-link, .menu-button, .mobile-contact-bar a, .mobile-contact-bar button) {
  --button-rotate-x: 0deg;
  --button-rotate-y: 0deg;
  --button-shadow-x: 0px;
  --button-shadow-y: 0px;
  position: relative;
  transform: perspective(800px) rotateX(var(--button-rotate-x)) rotateY(var(--button-rotate-y));
  transform-style: preserve-3d;
  filter: drop-shadow(var(--button-shadow-x) var(--button-shadow-y) 0 rgba(3, 24, 57, .42));
  will-change: transform, filter;
  transition: transform .3s ease-in-out, filter .3s ease-in-out, background .3s ease-in-out, color .3s ease-in-out, border-color .3s ease-in-out;
}

.willy-site .pill {
  --button-pop-color: var(--blue);
  isolation: isolate;
  overflow: visible;
  border: 2px solid rgba(89, 173, 255, .72);
}

.willy-site .pill::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,.14), transparent 48%);
  opacity: 1;
  transition: opacity .3s ease-in-out;
}

.willy-site .pill::after {
  content: attr(data-button-label);
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: min(300px, 82vw);
  color: #fff;
  font: 800 clamp(17px, 1.55vw, 23px)/1.08 "Be Vietnam Pro", sans-serif;
  letter-spacing: -.03em;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateZ(28px);
  transition: top .3s ease-in-out, opacity .2s ease-in-out, transform .3s ease-in-out, text-shadow .3s ease-in-out;
}

.willy-site .pill > * {
  transition: opacity .2s ease-in-out, transform .3s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
  .willy-site .pill:hover {
    filter: brightness(1.04) drop-shadow(var(--button-shadow-x) var(--button-shadow-y) 0 rgba(3,24,57,.26));
  }

  .willy-site .pill:hover::before { opacity: .55; }
  .willy-site .pill:hover::after { display: none; }

  .willy-site .pill:hover > * {
    opacity: 1;
    transform: translateZ(12px);
  }
}

.willy-site :is(.pill, .round-link, .menu-button, .mobile-contact-bar a):active {
  transform: perspective(800px) rotateX(var(--button-rotate-x)) rotateY(var(--button-rotate-y)) scale(.95);
}

.willy-site .c5-stage .pill,
.willy-site .experience-section .pill,
.willy-site .booking-section .pill,
.willy-site .nav .pill {
  --button-pop-color: #8ac9ff;
}

@media (max-width: 680px) {
  .willy-site :is(.pill, .round-link, .menu-button, .mobile-contact-bar a, .mobile-contact-bar button) {
    will-change: auto;
  }

  .willy-site .pill::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .willy-site :is(.pill, .round-link, .menu-button, .mobile-contact-bar a, .mobile-contact-bar button) {
    transform: none !important;
    filter: none;
  }

  .willy-site .pill:hover > * {
    opacity: 1;
    transform: none;
  }

  .willy-site .pill::after {
    display: none;
  }
}

/* Sharper controls — only the top-right corner stays square */
.willy-site .pill { border-radius: 12px 0 12px 12px; }
.willy-site .pill-icon { border-radius: 8px 0 8px 8px; }
.willy-site .nav-cta { border-radius: 12px 0 12px 12px; }
.willy-site .nav-cta .pill-icon { border-radius: 8px 0 8px 8px; }
.willy-site .menu-button { border-radius: 12px 0 12px 12px; }
.willy-site .round-link { border-radius: 10px 0 10px 10px; }
.willy-site .faq-list summary i { border-radius: 9px 0 9px 9px; }
.willy-site .mobile-contact-bar { border-radius: 12px 0 12px 12px; }
.willy-site .mobile-contact-bar :is(a, button) { border-radius: 8px 0 8px 8px; }

/* Top toolbar: rounded top-left, square elsewhere */
.willy-site .nav {
  border-radius: 36px 5px 0 0;
}

.willy-site .nav-links,
.willy-site .nav-links a,
.willy-site .nav-glider {
  border-radius: 5px;
}

@media (max-width: 900px) {
  .willy-site .nav { border-radius: 30px 5px 0 0; }
}

@media (max-width: 680px) {
  .willy-site .nav { border-radius: 26px 5px 0 0; }
}

/* Floating toolbar after leaving the hero top */
.willy-site .nav.is-scrolled {
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% -90%, rgba(57,151,255,.20), transparent 42%),
    linear-gradient(135deg, rgba(1,14,38,.60), rgba(3,32,76,.60));
  box-shadow: 0 0 0 1px rgba(146,207,255,.14), 0 14px 38px rgba(1,17,45,.25), 0 4px 12px rgba(1,17,45,.16);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

@media (max-width: 900px) {
  .willy-site .nav.is-scrolled { border-radius: 16px; }
}

@media (max-width: 680px) {
  .willy-site .nav.is-scrolled { border-radius: 14px; }
}


.booking-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.form-submit[disabled] {
  cursor: wait;
  opacity: .68;
}

/* 404 — Digital Cobalt diagnostic surface */
.not-found-main { overflow: clip; }
.not-found-hero { min-height: 100dvh; padding: 126px 4vw 54px; }
.not-found-stage {
  width: min(1340px, 100%);
  min-height: min(780px, calc(100dvh - 180px));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 82px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  border-radius: 0 0 46px 46px;
  background: radial-gradient(circle at 84% 12%, rgba(42,144,255,.38), transparent 29%), linear-gradient(136deg, #03183e 0%, #052c6d 53%, #06429f 130%);
  box-shadow: inset 0 1px rgba(255,255,255,.13), 0 34px 90px rgba(4,48,111,.19);
}
.not-found-grid { position: absolute; inset: 0; z-index: -2; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(135deg, black, transparent 88%); }
.not-found-aura { position: absolute; z-index: -1; right: -200px; bottom: -280px; width: 670px; aspect-ratio: 1; border-radius: 50%; background: #69bbff; filter: blur(118px); opacity: .26; }
.not-found-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, .72fr); align-items: center; gap: clamp(38px, 7vw, 112px); }
.not-found-copy { max-width: 650px; }
.not-found-stage .eyebrow { color: #c7e4ff; background: rgba(255,255,255,.1); }
.not-found-kicker { margin: 29px 0 0; color: #8bcaff; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.not-found-copy h1 { margin: 17px 0 25px; font: 600 clamp(49px, 6.8vw, 91px)/.94 "Be Vietnam Pro", sans-serif; letter-spacing: -.071em; }
.not-found-copy h1 span { color: #8bcaff; }
.not-found-description { max-width: 570px; margin: 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.75; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.not-found-stage .pill-primary { color: #07316b; background: #fff; }
.not-found-stage .pill-primary .pill-icon { background: #e5f3ff; }
.not-found-visual { width: min(100%, 480px); justify-self: end; padding: 7px; border-radius: 38px; background: rgba(179,222,255,.16); box-shadow: 0 0 0 1px rgba(196,231,255,.18); transform: rotate(2deg); }
.not-found-visual .core { min-height: 495px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 31px; background: radial-gradient(circle at 50% 47%, rgba(126,200,255,.23), transparent 31%), linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.035)); box-shadow: inset 0 1px rgba(255,255,255,.25), 0 26px 70px rgba(0,14,48,.25); }
.not-found-visual-grid { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(rgba(179,222,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(179,222,255,.2) 1px, transparent 1px); background-size: 27px 27px; mask-image: radial-gradient(circle at center, black 10%, transparent 74%); }
.not-found-code { position: absolute; top: 38px; left: 34px; color: rgba(207,235,255,.58); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.not-found-tooth { position: relative; z-index: 2; width: min(57%, 250px); color: #c6e7ff; filter: drop-shadow(0 0 24px rgba(94,183,255,.68)); }
.not-found-tooth path { fill: rgba(73,158,245,.11); stroke: currentColor; stroke-width: 1.8; }
.not-found-tooth .not-found-scan { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 11 10; animation: not-found-scan 4.8s var(--ease) infinite; }
.not-found-orbit { position: absolute; z-index: 1; width: 280px; aspect-ratio: 1; border: 1px solid rgba(176,223,255,.32); border-radius: 50%; }
.orbit-one { transform: rotate(-25deg) scaleX(.7); }
.orbit-two { width: 192px; border-style: dashed; transform: rotate(35deg) scaleX(.7); animation: not-found-orbit 20s linear infinite; }
.not-found-marker { position: absolute; z-index: 3; max-width: 170px; padding: 9px 11px; display: flex; align-items: center; gap: 7px; color: #c9e7ff; border: 1px solid rgba(178,224,255,.2); border-radius: 11px 0 11px 11px; background: rgba(3,30,70,.68); font-size: 9px; font-weight: 600; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }
.not-found-marker span { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #78cbff; box-shadow: 0 0 0 5px rgba(120,203,255,.12); }
.marker-top { top: 96px; right: 24px; }
.marker-bottom { bottom: 84px; left: 24px; }
.not-found-shortcuts { margin-top: clamp(44px, 6vw, 82px); padding-top: 19px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid rgba(180,223,255,.2); }
.not-found-shortcuts a { min-height: 58px; padding: 7px 12px; display: grid; grid-template-columns: 28px 1fr 22px; align-items: center; gap: 9px; color: rgba(255,255,255,.7); border-radius: 14px 0 14px 14px; transition: color .55s var(--ease), background .55s var(--ease), transform .55s var(--ease); }
.not-found-shortcuts a:hover, .not-found-shortcuts a:focus-visible { color: #fff; background: rgba(255,255,255,.09); transform: translateY(-3px); }
.not-found-shortcuts span { color: #8bcaff; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.not-found-shortcuts strong { font-size: 13px; font-weight: 600; }
.not-found-shortcuts svg { width: 18px; height: 18px; }
@keyframes not-found-orbit { to { transform: rotate(395deg) scaleX(.7); } }
@keyframes not-found-scan { 0%, 100% { transform: translateY(-72px); opacity: .2; } 50% { transform: translateY(72px); opacity: 1; } }

@media (max-width: 900px) {
  .not-found-hero { padding: 102px 28px 36px; }
  .not-found-stage { min-height: auto; padding: 58px 42px 42px; }
  .not-found-layout { grid-template-columns: 1fr; }
  .not-found-visual { width: min(480px, 100%); justify-self: center; transform: none; }
}

@media (max-width: 680px) {
  .not-found-hero { min-height: auto; padding: 80px 10px 24px; }
  .not-found-stage { padding: 45px 19px 28px; border-radius: 0 0 30px 30px; }
  .not-found-copy h1 { font-size: clamp(45px, 13vw, 58px); }
  .not-found-description { font-size: 15px; }
  .not-found-actions { display: grid; }
  .not-found-actions .pill { width: 100%; justify-content: space-between; }
  .not-found-visual .core { min-height: 390px; }
  .not-found-visual { padding: 5px; border-radius: 29px; }
  .not-found-visual .core { border-radius: 24px; }
  .not-found-code { top: 25px; left: 24px; }
  .not-found-marker { max-width: 140px; padding: 7px 8px; font-size: 8px; }
  .marker-top { top: 73px; right: 14px; }
  .marker-bottom { bottom: 53px; left: 14px; }
  .not-found-shortcuts { margin-top: 39px; grid-template-columns: 1fr; gap: 3px; }
  .not-found-shortcuts a { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .not-found-tooth .not-found-scan, .orbit-two { animation: none; }
  .not-found-visual, .not-found-shortcuts a { transform: none; }
}
