:root {
  color-scheme: light;
  --blue: #076ebd;
  --blue-dark: #07538c;
  --pink: #f8e0e8;
  --ink: #163449;
  --muted: #536774;
  --line: #e4ebef;
  --white: #fff;
  --radius: 28px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 5px; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 5; padding: 14px; background: white; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: 112px; height: 64px; border-radius: 8px; }
nav { display: flex; align-items: center; gap: 36px; }
.nav-home { display: none; text-decoration: none; font-size: 14px; color: var(--blue-dark); padding: 12px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; padding: 16px 24px; border: 1px solid transparent; border-radius: 12px; background: var(--blue); color: white; text-decoration: none; font-size: 15px; font-weight: 600; transition: background .18s ease; }
.button:hover { background: var(--blue-dark); }
.button span { font-size: 21px; line-height: 1; font-weight: 400; }
.button .booking-label, .button .booking-long { font: inherit; line-height: inherit; }
.button-small { min-height: 44px; padding: 12px 14px; gap: 12px; font-size: 13px; }
.hero { display: grid; gap: 36px; padding-block: 42px 40px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-dark); }
.eyebrow > span { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
h1 { margin: 0; font-size: clamp(38px, 9.6vw, 58px); line-height: 1.13; letter-spacing: -.045em; font-weight: 500; }
h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--blue); letter-spacing: -.045em; }
.intro { max-width: 410px; margin: 24px 0; font-size: 16px; line-height: 1.8; color: var(--muted); }
.hero-action .button { width: 100%; }
.hero-action p { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.hero-visual { position: relative; margin: 0 0 12px; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 22px -10px -12px 26px; z-index: -1; background: #fbeef2; border-radius: var(--radius); }
.salon-photo { display: block; width: 100%; height: 390px; object-fit: cover; object-position: center 53%; border-radius: var(--radius); }
figcaption { position: absolute; bottom: 20px; left: 16px; display: flex; align-items: center; gap: 13px; padding: 16px 20px; border: 1px solid #ffffffb3; border-radius: 16px; background: #fffffff2; font-size: 13px; line-height: 1.7; }
figcaption strong { font-weight: 600; }
.caption-flower { color: var(--blue); background: var(--pink); border-radius: 50%; width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 27px; line-height: 1; }
.caption-flower > span { display: block; line-height: 1; }
.photo-label { position: absolute; top: 22px; left: 22px; color: #24465d; font-size: 10px; letter-spacing: .18em; font-weight: 600; }
.booking-note { display: none; margin-bottom: 32px; padding: 24px; background: #fbeef2; border-radius: 16px; }
.booking-note:target { display: block; }
h2 { font-size: 28px; font-weight: 500; letter-spacing: -.025em; margin: 0 0 16px; }
.booking-note p, dialog > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
dialog { width: min(440px, calc(100% - 40px)); padding: 40px 28px 28px; border: 1px solid var(--line); border-radius: 24px; color: var(--ink); }
dialog::backdrop { background: #16344970; }
.dialog-close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; color: var(--ink); }
.dialog-confirm { margin-top: 10px; }
/* Compact phone header; tablet and desktop retain their original spacing. */
@media (max-width: 599px) {
  .header-inner { min-height: 80px; }
  .brand img { width: 105px; height: 60px; }
  .button .booking-long { display: none; }
}
@media (min-width: 600px) {
  .container { width: min(1200px, calc(100% - 80px)); }
  .nav-home { display: inline-block; }
  .hero-action .button { width: auto; }
  .hero-action p { text-align: left; }
  .salon-photo { height: 520px; }
}
@media (min-width: 900px) {
  .header-inner { min-height: 110px; }
  .brand img { width: 140px; height: 80px; }
  .button-small { padding-inline: 22px; font-size: 14px; }
  .hero { grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; padding-block: 58px 64px; }
  h1 { font-size: clamp(44px, 4.3vw, 60px); }
  .eyebrow { margin-bottom: 28px; }
  .intro { margin-block: 26px; font-size: 17px; }
  .salon-photo { height: 590px; }
  figcaption { bottom: 30px; left: -24px; padding: 20px 24px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }

/* Homepage logo keeps its intrinsic proportions, without the old rounded frame. */
.brand img.homepage-logo { width: 168px; height: auto; border-radius: 0; }
@media (max-width: 599px) {
  .brand img.homepage-logo { width: 157.5px; }
}
@media (min-width: 900px) {
  .brand img.homepage-logo { width: 210px; }
}

/* Shared header dropdown on every viewport. */
.header-inner { position: relative; }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.menu-toggle { width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 12px; background: transparent; color: var(--blue-dark); display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: #fdf0f5; }
.menu-toggle span { display: block; height: 2px; width: 22px; background: currentColor; border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.header-menu { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; width: min(320px, 100%); display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 12px 32px #16344918; }
.header-menu[hidden] { display: none; }
.header-menu a { min-height: 48px; padding: 14px 16px; border-radius: 12px; color: var(--blue-dark); font-size: 15px; text-decoration: none; }
.header-menu a:hover { background: #f3f8fc; }
.header-menu a[aria-current="page"] { background: var(--pink); font-weight: 600; }
@media (max-width: 599px) {
  .header-inner { gap: 6px; }
  .header-actions { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .menu-toggle span { transition: none; } }

/* Two-item header; panel stays within its inset containing block. */
.header-menu { left: 0; right: auto; max-width: 100%; box-sizing: border-box; }
@media (max-width: 599px) {
  .header-inner.container { width: calc(100% - 32px); }
}
