/* ==========================================================================
   Salonsphere — salonsphere.app
   Brand design system. Purple + gold, light surfaces, dark curved footer.
   ========================================================================== */

:root {
  --purple-800: #4C1D95;
  --purple-700: #5B21B6;
  --purple-600: #7C3AED;
  --purple-500: #8B5CF6;
  --purple-400: #A78BFA;
  --purple-200: #DDD6FE;
  --purple-100: #EDE9FE;
  --purple-50: #F5F3FF;

  --gold: #F0B90B;
  --gold-dark: #D4A30A;
  --gold-soft: #FDF6DD;

  --ink: #131316;
  --ink-soft: #3F3F46;
  --muted: #71717A;
  --muted-2: #9CA3AF;

  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --line: #ECECF1;

  --dark: #0B0E11;
  --dark-2: #14181D;
  --dark-line: #23282F;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(17, 17, 22, 0.05), 0 2px 8px rgba(17, 17, 22, 0.04);
  --shadow-md: 0 6px 18px rgba(17, 17, 22, 0.08), 0 2px 6px rgba(17, 17, 22, 0.05);
  --shadow-lg: 0 24px 48px -12px rgba(76, 29, 149, 0.22);
  --shadow-purple: 0 10px 24px -8px rgba(124, 58, 237, 0.45);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--purple-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--purple-200);
  color: var(--purple-800);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(124, 58, 237, 0.55);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(240, 185, 11, 0.65);
}

.btn-gold:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-sm);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--purple-200), var(--shadow-md);
  color: var(--purple-700);
}

.btn-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    backdrop-filter 0.25s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header.scrolled {
  background: rgba(250, 250, 250, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

/* On the purple hero, header starts light-on-dark. */
.site-header.on-hero:not(.scrolled) {
  color: #fff;
}

.site-header.on-hero:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.site-header.on-hero:not(.scrolled) .nav-link:hover {
  color: #fff;
}

.site-header.on-hero:not(.scrolled) .btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.brand-name span {
  color: var(--purple-600);
}

.site-header.on-hero:not(.scrolled) .brand-name span {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 15px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--purple-700);
  background: var(--purple-50);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 89;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 12px 24px 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
  animation: menu-drop 0.22s var(--ease);
}

.mobile-menu .nav-link {
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 17px;
}

.mobile-menu .btn {
  margin-top: 12px;
}

@keyframes menu-drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(240, 185, 11, 0.28), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(167, 139, 250, 0.45), transparent 65%),
    linear-gradient(160deg, #4C1D95 0%, #6D28D9 48%, #7C3AED 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero::before {
  width: 460px;
  height: 460px;
  right: -140px;
  top: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 62%);
}

.hero::after {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: 80px;
  background: radial-gradient(circle at 60% 40%, rgba(240, 185, 11, 0.24), transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 56px;
  padding-bottom: 96px;
}

.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-copy .lead {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 30px;
  max-width: 480px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* Search */
.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: var(--radius-full);
  padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
}

.search svg.search-pin {
  width: 20px;
  height: 20px;
  color: var(--purple-600);
  flex: none;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  font-size: 16px;
  padding: 11px 0;
  color: var(--ink);
  background: transparent;
}

.search input::placeholder {
  color: var(--muted-2);
}

.search input:focus {
  outline: none;
}

.search .btn {
  flex: none;
}

.search-hint {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}

/* Hero mosaic */
.hero-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  transform: rotate(2deg);
}

.hero-mosaic .tile {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(11, 14, 17, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.14);
  background: var(--purple-100);
}

.hero-mosaic .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.hero-mosaic .tile:hover img {
  transform: scale(1.06);
}

.hero-mosaic .tile:nth-child(1) { height: 190px; }
.hero-mosaic .tile:nth-child(2) { height: 150px; margin-top: 26px; }
.hero-mosaic .tile:nth-child(3) { height: 190px; }
.hero-mosaic .tile:nth-child(4) { height: 150px; margin-top: -26px; }
.hero-mosaic .tile:nth-child(5) { height: 190px; margin-top: -10px; }
.hero-mosaic .tile:nth-child(6) { height: 150px; margin-top: 16px; }
.hero-mosaic .tile:nth-child(7) { height: 170px; margin-top: -42px; }
.hero-mosaic .tile:nth-child(8) { height: 170px; margin-top: -28px; }
.hero-mosaic .tile:nth-child(9) { height: 170px; margin-top: -8px; }

.mosaic-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 700;
}

.mosaic-float small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
}

.mosaic-float .dot-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--purple-100);
  color: var(--purple-600);
  flex: none;
}

.mosaic-float .dot-icon.gold {
  background: var(--gold-soft);
  color: var(--gold-dark);
}

.mosaic-float svg {
  width: 19px;
  height: 19px;
}

.mosaic-float.rating {
  top: 14px;
  left: -18px;
  animation: bob 5s ease-in-out infinite;
}

.mosaic-float.booking {
  bottom: 30px;
  right: -14px;
  animation: bob 6s ease-in-out 0.8s infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Text scrolled state for hero search (mirrors Glovo's compact hero) */
.search-standalone {
  max-width: 640px;
  margin: 0 auto;
}

/* Wave dividers */
.wave {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
}

.wave svg {
  display: block;
  width: 100%;
  height: 90px;
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
  border-block: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  padding: 16px 0;
}

.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 15px;
  white-space: nowrap;
}

.ticker-item svg {
  width: 18px;
  height: 18px;
  color: var(--purple-500);
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Categories
   -------------------------------------------------------------------------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px 16px;
}

.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border-radius: var(--radius);
  transition: transform 0.22s var(--ease);
}

.cat:hover {
  transform: translateY(-5px);
}

.cat-icon {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 30% 20%, #fff, transparent 45%),
    linear-gradient(150deg, var(--purple-100), var(--purple-200));
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.1), var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  position: relative;
}

.cat-icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(124, 58, 237, 0.22);
  transition: transform 0.4s var(--ease);
}

.cat:hover .cat-icon::after {
  transform: rotate(28deg);
}

.cat:hover .cat-icon {
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.16), var(--shadow-md);
}

.cat-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.cat-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  display: block;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}

.service-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.service-card .body {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  color: #fff;
  background: linear-gradient(to top, rgba(11, 14, 17, 0.88) 20%, rgba(11, 14, 17, 0.35) 70%, transparent);
}

.service-card .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  margin-bottom: 10px;
}

.service-card .chip svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.service-card h3 {
  font-size: 21px;
  margin-bottom: 5px;
}

.service-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.service-card .price {
  color: var(--gold);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */

.features {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(167, 139, 250, 0.16), transparent 60%),
    var(--bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-200);
}

.feature .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(140deg, var(--purple-100), var(--purple-200));
  color: var(--purple-700);
}

.feature:nth-child(2n) .icon {
  background: linear-gradient(140deg, var(--gold-soft), #FBEBB7);
  color: var(--gold-dark);
}

.feature .icon svg {
  width: 26px;
  height: 26px;
}

.feature h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps-wrap {
  position: relative;
  counter-reset: step;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.step .num {
  counter-increment: step;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  box-shadow: var(--shadow-purple);
  margin-bottom: 18px;
}

.step .num::before {
  content: counter(step, decimal-leading-zero);
}

.step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Partners ("Let's do it together")
   -------------------------------------------------------------------------- */

.partners {
  background:
    radial-gradient(1000px 460px at 0% 100%, rgba(124, 58, 237, 0.08), transparent 65%),
    var(--surface);
  border-block: 1px solid var(--line);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 10px;
}

.partner-photo {
  position: relative;
  width: 230px;
  height: 230px;
}

.partner-photo .ring {
  position: absolute;
  inset: 0;
  border-radius: 48% 52% 55% 45% / 50% 46% 54% 50%;
  background: linear-gradient(150deg, var(--purple-600), var(--purple-400));
  transform: rotate(-6deg);
  transition: transform 0.5s var(--ease);
}

.partner:nth-child(2) .partner-photo .ring {
  background: linear-gradient(150deg, var(--gold), var(--gold-dark));
}

.partner:hover .partner-photo .ring {
  transform: rotate(4deg) scale(1.02);
}

.partner-photo img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}

.partner h3 {
  font-size: 22px;
}

.partner p {
  color: var(--muted);
  font-size: 15px;
  max-width: 330px;
}

.partner .btn {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   App band
   -------------------------------------------------------------------------- */

.app-band {
  position: relative;
  background:
    radial-gradient(720px 380px at 88% 10%, rgba(240, 185, 11, 0.24), transparent 62%),
    radial-gradient(900px 480px at 4% 90%, rgba(167, 139, 250, 0.35), transparent 60%),
    linear-gradient(150deg, #3B0764, #5B21B6 55%, #6D28D9);
  color: #fff;
  overflow: hidden;
}

.app-band .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 84px 0;
}

.app-band h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

.app-band p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 28px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.store-btn small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.store-btn strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

/* Feature phone mock (CSS only) */
.phone {
  width: min(320px, 82%);
  margin-inline: auto;
  border-radius: 42px;
  background: #0B0E11;
  padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #23282F;
  transform: rotate(3deg);
}

.phone .screen {
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 9 / 17.5;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone .screen-img {
  position: relative;
  height: 46%;
  flex: none;
}

.phone .screen-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone .screen-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 14, 17, 0.42), transparent 55%);
}

.phone .screen-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone .row {
  height: 14px;
  border-radius: 8px;
  background: #E7E7EE;
}

.phone .row.w60 { width: 60%; }
.phone .row.w80 { width: 80%; }
.phone .row.w40 { width: 40%; }

.phone .slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 4px;
}

.phone .slot {
  height: 30px;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
}

.phone .slot.active {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  box-shadow: var(--shadow-purple);
}

.phone .cta {
  margin-top: auto;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  background: var(--dark);
  color: #B7BDC6;
  margin-top: 0;
}

.footer-wave {
  display: block;
  width: 100%;
  height: 80px;
  margin-bottom: -1px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-main {
  padding: 24px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-line);
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14.5px;
  max-width: 300px;
  margin-bottom: 20px;
  color: #8A919B;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--dark-2);
  box-shadow: inset 0 0 0 1px var(--dark-line);
  color: #B7BDC6;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.socials a:hover {
  color: #fff;
  background: var(--purple-600);
  transform: translateY(-2px);
}

.socials svg {
  width: 19px;
  height: 19px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 14.5px;
  color: #8A919B;
  transition: color 0.16s var(--ease);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 13.5px;
  color: #6E7681;
}

.footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

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

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 140%);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(560px, calc(100vw - 40px));
  padding: 13px 20px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease);
}

.toast.show {
  transform: translate(-50%, 0);
}

.toast svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal-hero {
  padding: calc(var(--header-h) + 56px) 0 40px;
  background:
    radial-gradient(800px 360px at 90% 0%, rgba(240, 185, 11, 0.2), transparent 60%),
    linear-gradient(155deg, #4C1D95, #6D28D9 55%, #7C3AED);
  color: #fff;
}

.legal-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin-bottom: 12px;
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16.5px;
  max-width: 640px;
}

.legal-body {
  padding: 56px 0 80px;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 5vw, 56px);
}

.legal-card h2 {
  font-size: 23px;
  margin: 38px 0 12px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 17.5px;
  margin: 24px 0 8px;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.legal-card p {
  margin-bottom: 14px;
}

.legal-card ul,
.legal-card ol {
  margin: 0 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.legal-card a {
  color: var(--purple-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--purple-200);
  text-underline-offset: 3px;
}

.legal-card a:hover {
  text-decoration-color: var(--purple-500);
}

.legal-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 14.5px;
}

.legal-card th,
.legal-card td {
  text-align: left;
  padding: 11px 14px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.legal-card th {
  background: var(--purple-50);
  font-weight: 700;
  color: var(--ink);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.legal-meta strong {
  color: var(--ink-soft);
}

.steps-legal {
  counter-reset: legal-step;
  list-style: none;
  padding-left: 0;
}

.steps-legal li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 14px;
}

.steps-legal li::before {
  counter-increment: legal-step;
  content: counter(legal-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--purple-100);
  color: var(--purple-700);
  font-weight: 800;
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 80px;
  }

  .hero-mosaic {
    max-width: 560px;
    margin-inline: auto;
  }

  .mosaic-float.rating { left: 4px; }
  .mosaic-float.booking { right: 4px; }

  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav,
  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .steps,
  .partner-grid,
  .app-band .inner {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    gap: 44px;
  }

  .app-band .inner {
    padding: 64px 0;
  }

  .phone {
    transform: none;
  }

  .search {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-lg);
    padding: 14px;
  }

  .search svg.search-pin {
    position: absolute;
    top: 30px;
    left: 28px;
  }

  .search input {
    padding-left: 30px;
  }

  .search .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .container {
    width: min(1180px, 100% - 36px);
  }

  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 8px;
  }

  .cat-icon {
    width: 88px;
    height: 88px;
  }

  .cat-icon img {
    width: 42px;
    height: 42px;
  }

  .service-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 240px;
  }

  .footer-grid {
    gap: 32px;
  }

  .hero-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-mosaic .tile:nth-child(n + 7) {
    display: none;
  }

  .hero-mosaic .tile {
    margin-top: 0 !important;
    height: 160px !important;
  }
}
