:root {
  color-scheme: dark;
  --hero-image: url("./assets/ralin-interior.jpg");
  --bg: #0e0d0c;
  --bg-soft: #171513;
  --surface: rgba(24, 22, 20, 0.92);
  --surface-strong: #211d1a;
  --surface-soft: rgba(255, 255, 255, 0.04);
  --text: #f3ecdf;
  --muted: #b1a393;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #c88a4b;
  --accent-strong: #8c5428;
  --success: #2b8e5d;
  --danger: #d26c5f;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  --card-bg: rgba(15, 15, 14, 0.76);
  --card-bg-strong: rgba(15, 15, 14, 0.72);
  --item-bg: rgba(27, 25, 22, 0.86);
  --item-bg-soft: rgba(255, 255, 255, 0.05);
  --input-bg: rgba(255, 255, 255, 0.05);
  --button-ghost-bg: rgba(255, 255, 255, 0.05);
  --button-ghost-border: rgba(255, 255, 255, 0.08);
  --button-text: #fff6eb;
  --button-success-bg: linear-gradient(135deg, #1f7b49, #145d35);
  --selected-bg: linear-gradient(135deg, rgba(200, 138, 75, 0.18), rgba(255, 255, 255, 0.04));
  --selected-bg-strong: linear-gradient(135deg, rgba(200, 138, 75, 0.24), rgba(255, 255, 255, 0.04));
  --selected-border: rgba(200, 138, 75, 0.68);
  --result-bg: linear-gradient(135deg, rgba(43, 142, 93, 0.12), rgba(255, 255, 255, 0.03)), rgba(255, 255, 255, 0.04);
  --hero-copy: #f2e7d9;
  --eyebrow-color: #ddb287;
  --divider-line: rgba(255, 255, 255, 0.07);
  --placeholder: rgba(177, 163, 147, 0.74);
  --image-frame-border: rgba(255, 255, 255, 0.08);
  --image-frame-bg: #0d0c0b;
  --focus-ring: rgba(200, 138, 75, 0.42);
  --step-done-bg: color-mix(in srgb, var(--accent) 16%, transparent);
  --hero-title-neon: #c9fbff;
  --hero-title-neon-shadow:
    0 0 8px rgba(120, 246, 255, 0.92),
    0 0 18px rgba(92, 233, 255, 0.86),
    0 0 34px rgba(69, 226, 255, 0.58),
    0 0 66px rgba(69, 226, 255, 0.34);
  --hero-title-classic: #f3e1c5;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(200, 138, 75, 0.18);
  --hero-title-clean: #f3ecdf;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.26);
  --hero-title-heading-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
  --page-top: rgba(9, 9, 9, 0.82);
  --page-bottom: rgba(12, 12, 12, 0.95);
  --page-base: #0b0a09;
  --overlay-top: rgba(12, 11, 10, 0.28);
  --overlay-bottom: rgba(12, 11, 10, 0.38);
  --glow-cyan: rgba(64, 232, 255, 0.11);
  --glow-gold: rgba(255, 243, 154, 0.08);
  --hero-scrim-top: rgba(5, 10, 14, 0.34);
  --hero-scrim-bottom: rgba(9, 9, 9, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, var(--page-top), var(--page-bottom)),
    url("./assets/ralin-interior.jpg") center center / cover fixed no-repeat,
    linear-gradient(180deg, var(--page-base) 0%, var(--bg-soft) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--overlay-top), var(--overlay-bottom)),
    radial-gradient(circle at 22% 18%, var(--glow-cyan), transparent 20%),
    radial-gradient(circle at 78% 16%, var(--glow-gold), transparent 18%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.02) 48%, transparent 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 28px);
  background-blend-mode: screen, normal, normal, normal;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.3));
}

.app-shell {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 calc(40px + env(safe-area-inset-bottom, 0px));
}

.hero-panel,
.booking-card,
.info-card,
.option-card,
.service-card,
.summary-card,
.result-card,
.time-slot {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel,
.booking-card,
.info-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--card-bg-strong);
  backdrop-filter: blur(12px);
}

.hero-panel {
  padding: 24px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, var(--hero-scrim-top), var(--hero-scrim-bottom)),
    var(--hero-image) center 35% / cover no-repeat;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-panel::after,
.booking-card::after,
.info-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 34%);
}

.hero-panel__eyebrow,
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--eyebrow-color);
}

body[data-theme="default"] {
  color-scheme: dark;
}

body[data-theme="dark-bronze"] {
  --bg: #120f0c;
  --bg-soft: #1c1712;
  --surface: rgba(32, 25, 18, 0.92);
  --surface-strong: #2a2119;
  --surface-soft: rgba(255, 244, 231, 0.05);
  --text: #f5e8d8;
  --muted: #c5af98;
  --line: rgba(214, 172, 121, 0.15);
  --accent: #d59a52;
  --accent-strong: #9b5f2c;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  --card-bg: rgba(31, 24, 18, 0.82);
  --card-bg-strong: rgba(28, 21, 16, 0.76);
  --item-bg: rgba(39, 31, 24, 0.88);
  --item-bg-soft: rgba(255, 244, 231, 0.05);
  --input-bg: rgba(255, 247, 236, 0.05);
  --button-ghost-bg: rgba(255, 244, 231, 0.05);
  --button-ghost-border: rgba(214, 172, 121, 0.16);
  --button-text: #fff4e5;
  --selected-bg: linear-gradient(135deg, rgba(213, 154, 82, 0.22), rgba(255, 244, 231, 0.04));
  --selected-bg-strong: linear-gradient(135deg, rgba(213, 154, 82, 0.3), rgba(255, 244, 231, 0.05));
  --selected-border: rgba(213, 154, 82, 0.7);
  --result-bg: linear-gradient(135deg, rgba(56, 136, 90, 0.16), rgba(255, 244, 231, 0.04)), rgba(255, 244, 231, 0.04);
  --hero-copy: #f3e1c5;
  --eyebrow-color: #e0b07b;
  --divider-line: rgba(255, 244, 231, 0.08);
  --placeholder: rgba(197, 175, 152, 0.76);
  --image-frame-border: rgba(214, 172, 121, 0.18);
  --image-frame-bg: #1a1410;
  --focus-ring: rgba(213, 154, 82, 0.42);
  --step-done-bg: linear-gradient(135deg, rgba(213, 154, 82, 0.18), rgba(255, 244, 231, 0.05));
  --hero-title-neon: #ffe0b6;
  --hero-title-neon-shadow:
    0 0 8px rgba(255, 214, 163, 0.82),
    0 0 18px rgba(224, 176, 123, 0.66),
    0 0 34px rgba(213, 154, 82, 0.38);
  --hero-title-classic: #f6e6cf;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(224, 176, 123, 0.18);
  --hero-title-clean: #f5e8d8;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
  --page-top: rgba(18, 13, 10, 0.84);
  --page-bottom: rgba(22, 17, 12, 0.96);
  --page-base: #120e0b;
  --overlay-top: rgba(28, 21, 15, 0.24);
  --overlay-bottom: rgba(28, 21, 15, 0.34);
  --glow-cyan: rgba(94, 205, 224, 0.06);
  --glow-gold: rgba(255, 209, 143, 0.12);
  --hero-scrim-top: rgba(24, 15, 9, 0.3);
  --hero-scrim-bottom: rgba(17, 12, 9, 0.76);
}

body[data-theme="dark-graphite"] {
  --bg: #0d1012;
  --bg-soft: #151a1e;
  --surface: rgba(22, 28, 32, 0.92);
  --surface-strong: #20272d;
  --surface-soft: rgba(255, 255, 255, 0.04);
  --text: #edf2f5;
  --muted: #a9b4bf;
  --line: rgba(186, 212, 232, 0.12);
  --accent: #89a8c3;
  --accent-strong: #577089;
  --card-bg: rgba(19, 24, 28, 0.82);
  --card-bg-strong: rgba(18, 22, 26, 0.76);
  --item-bg: rgba(24, 30, 35, 0.88);
  --item-bg-soft: rgba(232, 240, 246, 0.05);
  --input-bg: rgba(232, 240, 246, 0.05);
  --button-ghost-bg: rgba(232, 240, 246, 0.05);
  --button-ghost-border: rgba(137, 168, 195, 0.16);
  --button-text: #eff5f9;
  --selected-bg: linear-gradient(135deg, rgba(137, 168, 195, 0.22), rgba(232, 240, 246, 0.04));
  --selected-bg-strong: linear-gradient(135deg, rgba(137, 168, 195, 0.3), rgba(232, 240, 246, 0.05));
  --selected-border: rgba(137, 168, 195, 0.72);
  --result-bg: linear-gradient(135deg, rgba(62, 139, 107, 0.16), rgba(232, 240, 246, 0.04)), rgba(232, 240, 246, 0.04);
  --hero-copy: #dfe7ee;
  --eyebrow-color: #a8c0d6;
  --divider-line: rgba(232, 240, 246, 0.08);
  --placeholder: rgba(169, 180, 191, 0.78);
  --image-frame-border: rgba(137, 168, 195, 0.18);
  --image-frame-bg: #12171b;
  --focus-ring: rgba(137, 168, 195, 0.42);
  --step-done-bg: linear-gradient(135deg, rgba(137, 168, 195, 0.18), rgba(232, 240, 246, 0.05));
  --hero-title-neon: #d8f4ff;
  --hero-title-neon-shadow:
    0 0 8px rgba(171, 222, 255, 0.82),
    0 0 18px rgba(137, 168, 195, 0.66),
    0 0 34px rgba(137, 168, 195, 0.34);
  --hero-title-classic: #e6edf4;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(137, 168, 195, 0.16);
  --hero-title-clean: #edf2f5;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
  --page-top: rgba(10, 14, 18, 0.84);
  --page-bottom: rgba(12, 16, 20, 0.96);
  --page-base: #0c1114;
  --overlay-top: rgba(16, 20, 24, 0.24);
  --overlay-bottom: rgba(16, 20, 24, 0.34);
  --glow-cyan: rgba(120, 210, 255, 0.08);
  --glow-gold: rgba(255, 255, 255, 0.04);
  --hero-scrim-top: rgba(8, 14, 18, 0.28);
  --hero-scrim-bottom: rgba(10, 14, 18, 0.76);
}

body[data-theme="light-cream"] {
  color-scheme: light;
  --bg: #f7f1e7;
  --bg-soft: #efe6d8;
  --surface: rgba(255, 250, 242, 0.92);
  --surface-strong: #f2e7d8;
  --surface-soft: rgba(73, 54, 32, 0.04);
  --text: #2f2419;
  --muted: #75624f;
  --line: rgba(82, 58, 33, 0.12);
  --accent: #b87a3f;
  --accent-strong: #8c5428;
  --card-bg: rgba(255, 250, 242, 0.9);
  --card-bg-strong: rgba(255, 248, 238, 0.86);
  --item-bg: rgba(255, 248, 239, 0.92);
  --item-bg-soft: rgba(73, 54, 32, 0.04);
  --input-bg: rgba(92, 63, 27, 0.04);
  --button-ghost-bg: rgba(92, 63, 27, 0.04);
  --button-ghost-border: rgba(82, 58, 33, 0.12);
  --button-text: #fffaf2;
  --selected-bg: linear-gradient(135deg, rgba(184, 122, 63, 0.14), rgba(255, 255, 255, 0.4));
  --selected-bg-strong: linear-gradient(135deg, rgba(184, 122, 63, 0.18), rgba(255, 255, 255, 0.45));
  --selected-border: rgba(184, 122, 63, 0.45);
  --result-bg: linear-gradient(135deg, rgba(43, 142, 93, 0.12), rgba(255, 255, 255, 0.45)), rgba(255, 255, 255, 0.48);
  --hero-copy: #3a2d20;
  --eyebrow-color: #b87a3f;
  --divider-line: rgba(82, 58, 33, 0.09);
  --placeholder: rgba(117, 98, 79, 0.72);
  --image-frame-border: rgba(82, 58, 33, 0.12);
  --image-frame-bg: #efe4d4;
  --focus-ring: rgba(184, 122, 63, 0.32);
  --step-done-bg: linear-gradient(135deg, rgba(184, 122, 63, 0.16), rgba(255, 255, 255, 0.42));
  --hero-title-neon: #fff3d8;
  --hero-title-neon-shadow:
    0 0 8px rgba(255, 226, 176, 0.5),
    0 0 16px rgba(214, 163, 83, 0.28);
  --hero-title-classic: #4b3824;
  --hero-title-classic-shadow: 0 2px 10px rgba(255, 255, 255, 0.22);
  --hero-title-clean: #362719;
  --hero-title-clean-shadow: 0 3px 12px rgba(255, 255, 255, 0.18);
  --hero-title-heading-shadow: 0 8px 18px rgba(255, 255, 255, 0.18);
  --page-top: rgba(247, 241, 231, 0.84);
  --page-bottom: rgba(240, 231, 219, 0.96);
  --page-base: #f5eee2;
  --overlay-top: rgba(255, 252, 246, 0.22);
  --overlay-bottom: rgba(235, 223, 207, 0.28);
  --glow-cyan: rgba(120, 190, 220, 0.05);
  --glow-gold: rgba(214, 163, 83, 0.08);
  --hero-scrim-top: rgba(255, 250, 242, 0.24);
  --hero-scrim-bottom: rgba(232, 222, 209, 0.62);
}

body[data-theme="light-minimal"] {
  color-scheme: light;
  --bg: #f4f4f2;
  --bg-soft: #e8e8e4;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #f0f0ed;
  --surface-soft: rgba(30, 32, 34, 0.03);
  --text: #1c2024;
  --muted: #68707a;
  --line: rgba(32, 36, 40, 0.1);
  --accent: #7f8f9b;
  --accent-strong: #596872;
  --card-bg: rgba(255, 255, 255, 0.88);
  --card-bg-strong: rgba(250, 250, 248, 0.84);
  --item-bg: rgba(255, 255, 255, 0.9);
  --item-bg-soft: rgba(30, 32, 34, 0.03);
  --input-bg: rgba(30, 32, 34, 0.035);
  --button-ghost-bg: rgba(30, 32, 34, 0.035);
  --button-ghost-border: rgba(32, 36, 40, 0.1);
  --button-text: #f8fbfd;
  --selected-bg: linear-gradient(135deg, rgba(127, 143, 155, 0.12), rgba(255, 255, 255, 0.45));
  --selected-bg-strong: linear-gradient(135deg, rgba(127, 143, 155, 0.16), rgba(255, 255, 255, 0.5));
  --selected-border: rgba(127, 143, 155, 0.42);
  --result-bg: linear-gradient(135deg, rgba(43, 142, 93, 0.1), rgba(255, 255, 255, 0.5)), rgba(255, 255, 255, 0.5);
  --hero-copy: #2a3136;
  --eyebrow-color: #6d7c87;
  --divider-line: rgba(32, 36, 40, 0.08);
  --placeholder: rgba(104, 112, 122, 0.7);
  --image-frame-border: rgba(32, 36, 40, 0.1);
  --image-frame-bg: #ecefed;
  --focus-ring: rgba(127, 143, 155, 0.28);
  --step-done-bg: linear-gradient(135deg, rgba(127, 143, 155, 0.16), rgba(255, 255, 255, 0.46));
  --hero-title-neon: #ecfbff;
  --hero-title-neon-shadow:
    0 0 8px rgba(170, 220, 240, 0.4),
    0 0 16px rgba(127, 143, 155, 0.22);
  --hero-title-classic: #263038;
  --hero-title-classic-shadow: 0 2px 10px rgba(255, 255, 255, 0.18);
  --hero-title-clean: #20272d;
  --hero-title-clean-shadow: 0 3px 12px rgba(255, 255, 255, 0.16);
  --hero-title-heading-shadow: 0 8px 18px rgba(255, 255, 255, 0.16);
  --page-top: rgba(244, 244, 242, 0.86);
  --page-bottom: rgba(233, 233, 229, 0.96);
  --page-base: #efefeb;
  --overlay-top: rgba(255, 255, 255, 0.2);
  --overlay-bottom: rgba(225, 228, 230, 0.24);
  --glow-cyan: rgba(149, 201, 233, 0.04);
  --glow-gold: rgba(255, 255, 255, 0.02);
  --hero-scrim-top: rgba(255, 255, 255, 0.22);
  --hero-scrim-bottom: rgba(224, 227, 229, 0.58);
}

body[data-theme="neutral-stone"] {
  color-scheme: light;
  --bg: #ded7cd;
  --bg-soft: #d2c9bd;
  --surface: rgba(247, 242, 236, 0.88);
  --surface-strong: #e6ddd1;
  --surface-soft: rgba(61, 52, 41, 0.04);
  --text: #312920;
  --muted: #6f6255;
  --line: rgba(68, 59, 47, 0.12);
  --accent: #9f7a56;
  --accent-strong: #755538;
  --card-bg: rgba(247, 242, 236, 0.88);
  --card-bg-strong: rgba(243, 236, 228, 0.84);
  --item-bg: rgba(248, 243, 237, 0.9);
  --item-bg-soft: rgba(61, 52, 41, 0.04);
  --input-bg: rgba(61, 52, 41, 0.04);
  --button-ghost-bg: rgba(61, 52, 41, 0.04);
  --button-ghost-border: rgba(68, 59, 47, 0.12);
  --button-text: #fff9f1;
  --selected-bg: linear-gradient(135deg, rgba(159, 122, 86, 0.14), rgba(255, 255, 255, 0.35));
  --selected-bg-strong: linear-gradient(135deg, rgba(159, 122, 86, 0.18), rgba(255, 255, 255, 0.4));
  --selected-border: rgba(159, 122, 86, 0.44);
  --result-bg: linear-gradient(135deg, rgba(43, 142, 93, 0.1), rgba(255, 255, 255, 0.38)), rgba(255, 255, 255, 0.38);
  --hero-copy: #3a3027;
  --eyebrow-color: #9f7a56;
  --divider-line: rgba(68, 59, 47, 0.09);
  --placeholder: rgba(111, 98, 85, 0.72);
  --image-frame-border: rgba(68, 59, 47, 0.12);
  --image-frame-bg: #e0d8cd;
  --focus-ring: rgba(159, 122, 86, 0.3);
  --step-done-bg: linear-gradient(135deg, rgba(159, 122, 86, 0.16), rgba(255, 255, 255, 0.4));
  --hero-title-neon: #faecd0;
  --hero-title-neon-shadow:
    0 0 8px rgba(231, 207, 170, 0.46),
    0 0 16px rgba(159, 122, 86, 0.24);
  --hero-title-classic: #433528;
  --hero-title-classic-shadow: 0 2px 10px rgba(255, 255, 255, 0.16);
  --hero-title-clean: #372b20;
  --hero-title-clean-shadow: 0 3px 12px rgba(255, 255, 255, 0.14);
  --hero-title-heading-shadow: 0 8px 18px rgba(255, 255, 255, 0.14);
  --page-top: rgba(222, 215, 205, 0.86);
  --page-bottom: rgba(206, 197, 185, 0.96);
  --page-base: #d9d0c4;
  --overlay-top: rgba(245, 239, 233, 0.2);
  --overlay-bottom: rgba(212, 201, 189, 0.28);
  --glow-cyan: rgba(173, 197, 207, 0.04);
  --glow-gold: rgba(201, 164, 112, 0.06);
  --hero-scrim-top: rgba(244, 238, 232, 0.18);
  --hero-scrim-bottom: rgba(205, 193, 181, 0.62);
}

body[data-theme="neutral-sand"] {
  color-scheme: light;
  --bg: #e8dcc9;
  --bg-soft: #dccfb8;
  --surface: rgba(251, 246, 238, 0.9);
  --surface-strong: #eadfcf;
  --surface-soft: rgba(74, 60, 40, 0.04);
  --text: #322719;
  --muted: #7a6853;
  --line: rgba(77, 61, 39, 0.11);
  --accent: #b68957;
  --accent-strong: #8d6438;
  --card-bg: rgba(251, 246, 238, 0.88);
  --card-bg-strong: rgba(247, 240, 229, 0.84);
  --item-bg: rgba(251, 246, 238, 0.9);
  --item-bg-soft: rgba(74, 60, 40, 0.04);
  --input-bg: rgba(74, 60, 40, 0.04);
  --button-ghost-bg: rgba(74, 60, 40, 0.04);
  --button-ghost-border: rgba(77, 61, 39, 0.11);
  --button-text: #fff8ee;
  --selected-bg: linear-gradient(135deg, rgba(182, 137, 87, 0.14), rgba(255, 255, 255, 0.35));
  --selected-bg-strong: linear-gradient(135deg, rgba(182, 137, 87, 0.18), rgba(255, 255, 255, 0.4));
  --selected-border: rgba(182, 137, 87, 0.44);
  --result-bg: linear-gradient(135deg, rgba(43, 142, 93, 0.1), rgba(255, 255, 255, 0.38)), rgba(255, 255, 255, 0.38);
  --hero-copy: #3c2f20;
  --eyebrow-color: #b68957;
  --divider-line: rgba(77, 61, 39, 0.08);
  --placeholder: rgba(122, 104, 83, 0.72);
  --image-frame-border: rgba(77, 61, 39, 0.11);
  --image-frame-bg: #e7dccc;
  --focus-ring: rgba(182, 137, 87, 0.3);
  --step-done-bg: linear-gradient(135deg, rgba(182, 137, 87, 0.16), rgba(255, 255, 255, 0.4));
  --hero-title-neon: #fff0cf;
  --hero-title-neon-shadow:
    0 0 8px rgba(236, 212, 175, 0.46),
    0 0 16px rgba(182, 137, 87, 0.24);
  --hero-title-classic: #463626;
  --hero-title-classic-shadow: 0 2px 10px rgba(255, 255, 255, 0.16);
  --hero-title-clean: #392b1d;
  --hero-title-clean-shadow: 0 3px 12px rgba(255, 255, 255, 0.14);
  --hero-title-heading-shadow: 0 8px 18px rgba(255, 255, 255, 0.14);
  --page-top: rgba(232, 220, 201, 0.86);
  --page-bottom: rgba(219, 204, 182, 0.96);
  --page-base: #e3d6c0;
  --overlay-top: rgba(251, 247, 240, 0.2);
  --overlay-bottom: rgba(220, 205, 183, 0.28);
  --glow-cyan: rgba(174, 204, 214, 0.04);
  --glow-gold: rgba(218, 176, 116, 0.08);
  --hero-scrim-top: rgba(251, 247, 240, 0.2);
  --hero-scrim-bottom: rgba(217, 203, 182, 0.62);
}

body[data-title-palette="default"] {
  --hero-title-neon: #c9fbff;
  --hero-title-neon-shadow:
    0 0 8px rgba(120, 246, 255, 0.92),
    0 0 18px rgba(92, 233, 255, 0.86),
    0 0 34px rgba(69, 226, 255, 0.58),
    0 0 66px rgba(69, 226, 255, 0.34);
  --hero-title-classic: #f3e1c5;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(200, 138, 75, 0.18);
  --hero-title-clean: #f3ecdf;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.26);
}

body[data-title-palette="ice"] {
  --hero-title-neon: #d8fbff;
  --hero-title-neon-shadow:
    0 0 8px rgba(188, 249, 255, 0.92),
    0 0 18px rgba(126, 239, 255, 0.84),
    0 0 34px rgba(82, 226, 255, 0.52);
  --hero-title-classic: #ecfbff;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(126, 239, 255, 0.16);
  --hero-title-clean: #f4fdff;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="gold"] {
  --hero-title-neon: #ffe39b;
  --hero-title-neon-shadow:
    0 0 8px rgba(255, 235, 162, 0.9),
    0 0 18px rgba(255, 206, 106, 0.82),
    0 0 34px rgba(233, 170, 57, 0.48);
  --hero-title-classic: #f8e3b7;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 206, 106, 0.18);
  --hero-title-clean: #fff2cf;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="amber"] {
  --hero-title-neon: #ffc86f;
  --hero-title-neon-shadow:
    0 0 8px rgba(255, 205, 132, 0.9),
    0 0 18px rgba(255, 165, 53, 0.8),
    0 0 34px rgba(238, 126, 33, 0.48);
  --hero-title-classic: #f6d6ab;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 165, 53, 0.16);
  --hero-title-clean: #ffebcb;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="copper"] {
  --hero-title-neon: #e1a06a;
  --hero-title-neon-shadow:
    0 0 8px rgba(241, 184, 140, 0.88),
    0 0 18px rgba(216, 132, 78, 0.78),
    0 0 34px rgba(171, 89, 43, 0.46);
  --hero-title-classic: #e7c2a1;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(216, 132, 78, 0.15);
  --hero-title-clean: #f0dcc8;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="rose"] {
  --hero-title-neon: #ffb5cd;
  --hero-title-neon-shadow:
    0 0 8px rgba(255, 202, 221, 0.9),
    0 0 18px rgba(255, 138, 186, 0.78),
    0 0 34px rgba(229, 94, 148, 0.46);
  --hero-title-classic: #f7d5df;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 138, 186, 0.16);
  --hero-title-clean: #ffe8ef;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="ruby"] {
  --hero-title-neon: #ff8e98;
  --hero-title-neon-shadow:
    0 0 8px rgba(255, 171, 177, 0.88),
    0 0 18px rgba(255, 92, 115, 0.8),
    0 0 34px rgba(210, 54, 82, 0.48);
  --hero-title-classic: #f2c2ca;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 92, 115, 0.16);
  --hero-title-clean: #ffd8de;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="violet"] {
  --hero-title-neon: #d6b0ff;
  --hero-title-neon-shadow:
    0 0 8px rgba(228, 201, 255, 0.9),
    0 0 18px rgba(184, 118, 255, 0.8),
    0 0 34px rgba(136, 76, 219, 0.46);
  --hero-title-classic: #e5d2f7;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(184, 118, 255, 0.15);
  --hero-title-clean: #f0e4ff;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="indigo"] {
  --hero-title-neon: #aebdff;
  --hero-title-neon-shadow:
    0 0 8px rgba(199, 208, 255, 0.9),
    0 0 18px rgba(126, 150, 255, 0.8),
    0 0 34px rgba(81, 106, 214, 0.46);
  --hero-title-classic: #d8defc;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(126, 150, 255, 0.14);
  --hero-title-clean: #edf0ff;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="emerald"] {
  --hero-title-neon: #8ff0c3;
  --hero-title-neon-shadow:
    0 0 8px rgba(175, 248, 214, 0.9),
    0 0 18px rgba(80, 223, 157, 0.8),
    0 0 34px rgba(33, 166, 103, 0.46);
  --hero-title-classic: #cbeedc;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(80, 223, 157, 0.14);
  --hero-title-clean: #e6fff1;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="mint"] {
  --hero-title-neon: #bdf9dd;
  --hero-title-neon-shadow:
    0 0 8px rgba(212, 255, 233, 0.9),
    0 0 18px rgba(120, 238, 188, 0.78),
    0 0 34px rgba(63, 190, 138, 0.44);
  --hero-title-classic: #e0f8eb;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(120, 238, 188, 0.14);
  --hero-title-clean: #f1fff7;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="teal"] {
  --hero-title-neon: #8de8e0;
  --hero-title-neon-shadow:
    0 0 8px rgba(174, 246, 240, 0.9),
    0 0 18px rgba(77, 223, 212, 0.78),
    0 0 34px rgba(31, 170, 163, 0.46);
  --hero-title-classic: #caefeb;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(77, 223, 212, 0.14);
  --hero-title-clean: #e6fffc;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="pearl"] {
  --hero-title-neon: #fff8ef;
  --hero-title-neon-shadow:
    0 0 8px rgba(255, 255, 255, 0.82),
    0 0 18px rgba(255, 236, 210, 0.44),
    0 0 34px rgba(223, 198, 162, 0.24);
  --hero-title-classic: #fff6eb;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.26),
    0 0 18px rgba(255, 236, 210, 0.14);
  --hero-title-clean: #ffffff;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

body[data-title-palette="sand"] {
  --hero-title-neon: #e7c99b;
  --hero-title-neon-shadow:
    0 0 8px rgba(244, 221, 186, 0.88),
    0 0 18px rgba(215, 181, 124, 0.76),
    0 0 34px rgba(171, 132, 79, 0.44);
  --hero-title-classic: #ead7bb;
  --hero-title-classic-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(215, 181, 124, 0.14);
  --hero-title-clean: #f4e8d5;
  --hero-title-clean-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

.hero-panel__visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: stretch;
  padding: 42px 24px 24px;
  pointer-events: none;
}

.hero-panel__neon-wrap {
  width: 100%;
  text-align: left;
  pointer-events: auto;
}

.hero-panel__neon {
  --hero-title-scale: 1;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  width: 100%;
  font-size: clamp(
    calc(3.4rem * var(--hero-title-scale)),
    calc(9.8vw * var(--hero-title-scale)),
    calc(7.8rem * var(--hero-title-scale))
  );
  line-height: 0.92;
  cursor: pointer;
  color: var(--hero-title-neon);
  text-shadow: var(--hero-title-neon-shadow);
}

.hero-panel__neon[data-font="serif"] {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.02em;
  line-height: 0.98;
}

.hero-panel__neon[data-font="sans"] {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.hero-panel__neon[data-font="display"] {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.01em;
  line-height: 0.94;
}

.hero-panel__neon[data-font="condensed"] {
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.hero-panel__neon[data-font="mono"] {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero-panel__neon[data-style="classic"] {
  color: var(--hero-title-classic);
  text-shadow: var(--hero-title-classic-shadow);
}

.hero-panel__neon[data-style="clean"] {
  color: var(--hero-title-clean);
  text-shadow: var(--hero-title-clean-shadow);
}

.hero-panel__neon:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 6px;
}

.hero-panel h1,
.section-heading h2,
.step-header h3,
.result-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-panel h1 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 0.94;
  position: relative;
  z-index: 1;
  text-shadow: var(--hero-title-heading-shadow);
}

.hero-panel__text,
.step-header p,
.field span,
.summary-list dd,
.live-summary__empty,
.result-card p,
.meta,
.stepper__item,
.notification-status {
  color: var(--muted);
}

.hero-panel__text {
  max-width: 40ch;
  margin: 12px 0 0;
  position: relative;
  z-index: 1;
  font-size: clamp(1.14rem, 2.4vw, 1.34rem);
  color: var(--hero-copy);
}

.hero-panel__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.hero-panel__badges:empty {
  display: none;
}

.hero-panel__badges span {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.booking-layout {
  display: block;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.booking-card,
.info-card {
  padding: 22px;
  background: var(--card-bg);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.stepper__item {
  min-height: 54px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  font-size: 0.84rem;
}

.stepper__item--active,
.stepper__item--done {
  color: var(--text);
  border-color: var(--selected-border);
}

.stepper__item--active {
  background: var(--selected-bg-strong);
}

.stepper__item--done {
  background: var(--step-done-bg);
}

.stepper__item--clickable {
  cursor: pointer;
}

.booking-step {
  display: none;
}

.booking-step--active {
  display: block;
}

.step-header {
  margin-bottom: 18px;
}

.step-header h3 {
  font-size: 1.35rem;
}

.step-header p {
  margin: 8px 0 0;
}

.option-grid,
.service-grid,
.time-grid {
  display: grid;
  gap: 12px;
}

.option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-card,
.service-card {
  width: 100%;
  text-align: left;
  padding: 16px;
  border-radius: 22px;
  background: var(--item-bg);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.service-card {
  min-height: 108px;
}

.option-card:hover,
.service-card:hover,
.time-slot:hover {
  transform: translateY(-2px);
}

.option-card.is-selected,
.service-card.is-selected,
.time-slot.is-selected {
  border-color: var(--selected-border);
  background: var(--selected-bg);
}

.option-card__top,
.service-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.option-card strong,
.service-card strong,
.summary-list dt,
.summary-card strong {
  display: block;
  color: var(--text);
}

.service-card__side {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  min-width: 72px;
}

.service-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.92;
  pointer-events: none;
}

.barber-card__content {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 10px;
  align-content: start;
}

.barber-card__content strong {
  font-size: clamp(1.28rem, 3.4vw, 1.7rem);
  line-height: 1.08;
}

.barber-card__specialty {
  margin: 0;
  max-width: 30ch;
  font-size: 1rem;
  line-height: 1.42;
  color: var(--muted);
}

.barber-card__image {
  width: 92px;
  min-width: 92px;
  height: 108px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--image-frame-border);
  background: var(--image-frame-bg);
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.barber-card__media {
  position: relative;
  display: grid;
  justify-items: end;
}

.barber-card__instagram {
  position: static;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  margin-top: 8px;
  width: fit-content;
  font-size: 0.96rem;
  line-height: 1.35;
}

.barber-card__phone {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 2px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
  line-height: 1.35;
}

.barber-card__phone:hover {
  color: var(--text);
}

.barber-card__instagram svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  fill: currentColor;
}

.barber-card__instagram:hover {
  color: var(--text);
}

.barber-card__image.is-loaded {
  opacity: 1;
  transform: none;
}

.meta {
  margin-top: 10px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.field-stack {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field span {
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--input-bg);
  padding: 14px 15px;
  color: var(--text);
  font: inherit;
}

input[type="date"] {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  resize: vertical;
  min-height: 108px;
}

input::placeholder,
textarea::placeholder {
  color: var(--placeholder);
}

input:focus-visible,
textarea:focus-visible,
.button:focus-visible,
.option-card:focus-visible,
.service-card:focus-visible,
.time-slot:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.time-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.time-slot {
  min-height: 72px;
  padding: 14px 10px;
  border-radius: 18px;
  background: var(--item-bg);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

.time-slot strong {
  display: block;
  font-size: 1rem;
}

.time-slot span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

.time-slot[disabled] {
  cursor: not-allowed;
  opacity: 0.42;
  box-shadow: none;
}

.summary-card,
.result-card {
  padding: 18px;
  border-radius: 22px;
  background: var(--item-bg-soft);
}

.summary-list {
  margin: 0;
  display: grid;
  gap: 14px;
}

.summary-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--divider-line);
}

.summary-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-list dt,
.summary-list dd {
  margin: 0;
}

.summary-list dd {
  margin-top: 4px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.button {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 15px 16px;
  font: inherit;
  cursor: pointer;
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.button--ghost {
  color: var(--text);
  background: var(--button-ghost-bg);
  border: 1px solid var(--button-ghost-border);
}

.button--accent {
  background: var(--button-success-bg);
}

.button[hidden] {
  display: none;
}

.live-summary {
  display: grid;
  gap: 12px;
}

.live-summary__empty {
  margin: 0;
}

.live-summary__card {
  padding: 16px;
  border-radius: 20px;
  background: var(--item-bg-soft);
  border: 1px solid var(--line);
}

.live-summary__card strong {
  display: block;
  margin-bottom: 4px;
}

.result-card {
  margin-top: 18px;
  background: var(--result-bg);
}

.result-card__status {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(43, 142, 93, 0.14);
  border: 1px solid rgba(43, 142, 93, 0.2);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.result-card h3 {
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  margin-top: 14px;
}

.result-card p {
  margin: 12px 0 0;
}

.result-card__details {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-card__detail {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.result-card__detail span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.result-card__detail strong {
  display: block;
  color: var(--text);
  line-height: 1.45;
}

.result-card__message {
  max-width: 48ch;
  color: var(--hero-copy);
}

.notification-status {
  white-space: pre-line;
}

#new-booking-button {
  margin-top: 18px;
}

.site-footer {
  margin-top: 18px;
  padding: 28px 24px 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.site-footer__top,
.site-footer__bottom {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer__top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.site-footer__divider {
  height: 1px;
  margin: 18px 0 20px;
  background: var(--divider-line);
}

.site-footer__contact-line:empty,
.site-footer__meta:empty,
.site-footer__social:empty,
.site-footer__contact-line[hidden],
.site-footer__meta[hidden],
.site-footer__social[hidden] {
  display: none;
}

.site-footer__brand .eyebrow {
  margin-bottom: 0;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.site-footer__contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: flex-end;
}

.site-footer__quick-link {
  color: var(--text);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.site-footer__social {
  display: flex;
  justify-content: flex-end;
  align-self: center;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  color: var(--text);
  text-decoration: none;
  border: 0;
  background: transparent;
}

.site-footer__social-link span {
  font-weight: 700;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  align-items: flex-start;
}

.site-footer__item {
  display: grid;
  gap: 4px;
  min-width: 0;
  max-width: 33ch;
}

.site-footer__item span {
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer__item strong,
.site-footer__item a {
  color: var(--text);
  text-decoration: none;
  line-height: 1.5;
  overflow-wrap: anywhere;
  font-size: 1.02rem;
}

.site-footer__item--address {
  flex: 1 1 340px;
  max-width: 46ch;
}

.site-footer__copy {
  margin: 0 0 0 auto;
  color: var(--muted);
  line-height: 1.5;
  text-align: right;
  font-size: 0.96rem;
  max-width: 34ch;
}

.site-footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100% - 16px, 100%);
    padding-top: 12px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .hero-panel,
  .booking-card,
  .info-card {
    border-radius: 24px;
    padding: 18px;
  }

  .hero-panel {
    min-height: 196px;
    background-position: center center;
  }

  .hero-panel__visual {
    padding: 52px 18px 18px;
  }

  .hero-panel__neon {
    font-size: clamp(
      calc(2.9rem * var(--hero-title-scale)),
      calc(12.8vw * var(--hero-title-scale)),
      calc(5.2rem * var(--hero-title-scale))
    );
  }

  .stepper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 18px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .stepper::-webkit-scrollbar {
    display: none;
  }

  .stepper__item {
    min-width: 108px;
    min-height: 48px;
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 0.78rem;
    line-height: 1.15;
    scroll-snap-align: start;
  }

  .option-grid,
  .service-grid,
  .time-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .option-grid,
  .service-grid,
  .time-grid,
  .form-actions {
    display: grid;
  }

  .option-card__top {
    align-items: flex-start;
  }

  .barber-card__content {
    gap: 8px;
  }

  .barber-card__specialty {
    font-size: 0.96rem;
  }

  .barber-card__image {
    width: 84px;
    min-width: 84px;
    height: 96px;
  }

  .barber-card__instagram {
    font-size: 0.92rem;
  }

  .site-footer {
    border-radius: 24px;
    padding: 18px;
  }

  .result-card__details {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
  }

  .site-footer__top-actions {
    display: grid;
    gap: 10px;
    justify-items: end;
    margin-left: 0;
  }

  .site-footer__contact-line {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .site-footer__bottom,
  .site-footer__meta {
    display: grid;
    justify-content: stretch;
  }

  .site-footer__divider {
    margin: 16px 0 18px;
  }

  .site-footer__social {
    justify-content: flex-end;
  }

  .site-footer__copy {
    margin-left: 0;
    text-align: left;
    max-width: none;
  }

  .site-footer__item,
  .site-footer__item--address {
    max-width: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  html {
    scroll-behavior: auto;
  }

  body {
    background:
      linear-gradient(180deg, var(--page-top), var(--page-bottom)),
      url("./assets/ralin-interior.jpg") center center / cover no-repeat,
      linear-gradient(180deg, var(--page-base) 0%, var(--bg-soft) 100%);
  }

  body::before {
    display: none;
  }

  .booking-card,
  .info-card {
    backdrop-filter: none;
    background: var(--card-bg);
  }

  .hero-panel {
    backdrop-filter: none;
    background:
      linear-gradient(180deg, var(--hero-scrim-top), var(--hero-scrim-bottom)),
      var(--hero-image) center 35% / cover no-repeat;
  }

  .hero-panel,
  .booking-card,
  .info-card,
  .option-card,
  .service-card,
  .summary-card,
  .result-card,
  .time-slot {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  }

  .option-card,
  .service-card,
  .time-slot,
  .button {
    transition: none;
  }

  .hero-panel__neon {
    text-shadow: var(--hero-title-neon-shadow);
  }
}

body.android-lite {
  background:
    linear-gradient(180deg, var(--page-top), var(--page-bottom)),
    url("./assets/ralin-interior.jpg") center top / cover no-repeat,
    var(--page-base);
}

body.android-lite::before {
  display: none;
}

body.android-lite .hero-panel,
body.android-lite .booking-card,
body.android-lite .info-card,
body.android-lite .option-card,
body.android-lite .service-card,
body.android-lite .summary-card,
body.android-lite .result-card,
body.android-lite .time-slot {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

body.android-lite .booking-card,
body.android-lite .info-card {
  background: var(--card-bg);
  backdrop-filter: none;
}

body.android-lite .hero-panel {
  min-height: 180px;
  padding: 18px;
  background:
    linear-gradient(180deg, var(--hero-scrim-top), var(--hero-scrim-bottom)),
    var(--hero-image) center 28% / cover no-repeat;
  backdrop-filter: none;
}

body.android-lite .hero-panel__visual {
  padding: 28px 18px 18px;
}

body.android-lite .hero-panel__neon {
  font-size: clamp(
    calc(2.6rem * var(--hero-title-scale)),
    calc(10vw * var(--hero-title-scale)),
    calc(4rem * var(--hero-title-scale))
  );
  text-shadow: var(--hero-title-neon-shadow);
}

body.android-lite .hero-panel__text {
  font-size: 1rem;
  margin-top: 8px;
}

body.android-lite .option-card,
body.android-lite .service-card,
body.android-lite .time-slot,
body.android-lite .button {
  transition: none;
}

body.ios-soft .hero-panel,
body.ios-soft .booking-card,
body.ios-soft .info-card {
  backdrop-filter: none;
}

body.ios-soft .booking-layout {
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

body.ios-soft {
  background:
    linear-gradient(180deg, var(--page-top), var(--page-bottom)),
    url("./assets/ralin-interior.jpg") center top / cover no-repeat,
    var(--page-base);
}

body.ios-soft::before {
  display: none;
}

body.ios-soft .hero-panel,
body.ios-soft .booking-card,
body.ios-soft .info-card,
body.ios-soft .option-card,
body.ios-soft .service-card,
body.ios-soft .summary-card,
body.ios-soft .result-card,
body.ios-soft .time-slot {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

body.ios-soft .hero-panel,
body.ios-soft .booking-card,
body.ios-soft .info-card {
  background: var(--card-bg);
}

body.ios-soft .hero-panel {
  background:
    linear-gradient(180deg, var(--hero-scrim-top), var(--hero-scrim-bottom)),
    var(--hero-image) center 32% / cover no-repeat;
}

body.ios-soft .hero-panel__neon {
  text-shadow: var(--hero-title-neon-shadow);
}

body.ios-soft .option-card,
body.ios-soft .service-card,
body.ios-soft .time-slot,
body.ios-soft .button {
  transition: none;
}

body.android-lite .hero-panel__neon[data-style="classic"],
body.ios-soft .hero-panel__neon[data-style="classic"] {
  color: var(--hero-title-classic);
  text-shadow: var(--hero-title-classic-shadow);
}

body.android-lite .hero-panel__neon[data-style="clean"],
body.ios-soft .hero-panel__neon[data-style="clean"] {
  color: var(--hero-title-clean);
  text-shadow: var(--hero-title-clean-shadow);
}
