﻿/* ==========================================================================
   Velourlux Shades Store — style.css
   Pure static, mobile-first, no external fonts or frameworks.
   ========================================================================== */

:root {
  --blue: #2c72db;
  --blue-dark: #1a4a8a;
  --gray: #5b6770;
  --gray-soft: #9ca3af;
  --light: #f5f5f5;
  --border: #e5e7eb;
  --border-input: #c4c4c4;
  --white: #ffffff;
  --black: #000000;
  --text: #1f2937;
  --radius: 12px;
  --pill: 999px;
  --header-h: 64px;
  --header-h-lg: 128px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.12);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

ul,
ol {
  list-style: none;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  letter-spacing: -0.01em;
}

.section-lead {
  max-width: 720px;
  margin: 12px auto 0;
  text-align: center;
  color: var(--gray);
}

.center-cta {
  display: flex;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid rgba(44, 114, 219, 0.45);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 16px rgba(44, 114, 219, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
  margin-top: 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  padding: 0 20px;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
}

.logo-img {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo-suffix {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
}

.desktop-nav {
  display: none;
}

.desktop-nav > ul {
  display: flex;
  gap: 30px;
}

.desktop-nav .dropdown,
.desktop-nav .flyout {
  display: block;
  flex-direction: column;
  gap: 0;
}

.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.desktop-nav a:hover {
  color: var(--blue);
}

/* Products 3-level dropdown (desktop only) */
.desktop-nav li {
  position: relative;
}

.desktop-nav .has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-chevron {
  flex: none;
  transition: transform 0.2s var(--ease);
}

.has-dropdown:hover .nav-chevron,
.has-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.desktop-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 216px;
  padding: 8px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease), transform 0.2s var(--ease);
}

.desktop-nav .has-dropdown:hover > .dropdown,
.desktop-nav .has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.desktop-nav .dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray);
  border-radius: 8px;
  white-space: nowrap;
}

.desktop-nav .dropdown a:hover {
  background: var(--light);
  color: var(--blue);
}

.desktop-nav .has-flyout {
  position: relative;
}

.flyout-chevron {
  flex: none;
  opacity: 0.6;
}

.desktop-nav .flyout {
  position: absolute;
  top: -8px;
  left: 100%;
  z-index: 1001;
  min-width: 216px;
  padding: 8px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease), transform 0.2s var(--ease);
}

.desktop-nav .has-flyout:hover > .flyout,
.desktop-nav .has-flyout:focus-within > .flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions .btn-sm {
  display: none;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.header-phone:hover {
  color: var(--blue);
}

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 6px;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--black);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 24px;
  background: var(--white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s var(--ease);
}

.mobile-menu a:hover {
  color: var(--blue);
}

/* Products nested submenu in the mobile drawer */
.mobile-submenu {
  margin: 2px 0 10px 14px;
  padding-left: 14px;
  border-left: 2px solid var(--border);
}

.mobile-submenu .mobile-submenu {
  border-left-color: var(--border);
}

.mobile-submenu a {
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 0;
  color: var(--text);
}

.mobile-submenu .mobile-submenu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray);
}

.mobile-menu-cta {
  align-self: flex-start;
}

/* ---------- Hero ---------- */
main {
  margin-top: var(--header-h);
}

.hero {
  position: relative;
  background: #0f172a;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.38) 55%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 20px 48px;
}

.hero-copy {
  color: var(--white);
  text-align: center;
}

.hero-copy h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-copy p {
  margin-top: 12px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

/* Hero form card */
.hero-form-card {
  width: 100%;
  padding: 24px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.hero-form-card h2 {
  margin-bottom: 18px;
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.form-row + .form-row,
.form-row + .field {
  margin-top: 14px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field + .field {
  margin-top: 14px;
}

.form-row .field + .field {
  margin-top: 0;
}

.field label {
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-input);
  border-radius: 8px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44, 114, 219, 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.char-counter {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--gray-soft);
  text-align: right;
}

.radio-group {
  margin-top: 20px;
  border: 0;
}

.radio-group legend {
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
  cursor: pointer;
}

.radio-option input {
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: var(--blue);
  cursor: pointer;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--gray);
  cursor: pointer;
}

.checkbox-option input {
  margin-top: 3px;
  flex: none;
  accent-color: var(--blue);
  cursor: pointer;
}

.form-note {
  margin-top: 14px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--gray-soft);
  text-align: center;
}

.form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  text-align: center;
}

.form-success.show {
  display: block;
}

/* ---------- Window Treatments ---------- */
.treatments {
  background: var(--white);
}

.tabs {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.tabs-inner {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: var(--light);
  border-radius: var(--pill);
}

.tab-btn {
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray);
  background: transparent;
  border: 0;
  border-radius: var(--pill);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.tab-btn:hover {
  color: var(--blue);
}

.tab-btn.active {
  background: var(--blue);
  color: var(--white);
}

.treatments-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.subcats {
  display: flex;
  gap: 12px;
  padding: 4px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.subcats li {
  flex: none;
}

.subcat-btn {
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.subcat-btn:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.subcat-btn.active {
  color: var(--blue);
  border-color: var(--blue);
  background: #eef4fd;
}

.treatments-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.treatments-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity 0.25s var(--ease);
}

.treatments-media img.fade,
.service-media img.fade {
  opacity: 0;
}

.treatments-intro {
  text-align: center;
  color: var(--gray);
}

.treatments-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- How it works ---------- */
.how-it-works {
  background: var(--light);
  text-align: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 960px;
  margin: 40px auto 36px;
  counter-reset: none;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray);
  background: var(--border);
  border-radius: 50%;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.step p {
  max-width: 300px;
  color: var(--gray);
  font-size: 0.95rem;
}

/* ---------- More products ---------- */
.more-products {
  background: var(--white);
}

.gallery-wrap {
  position: relative;
  margin-top: 28px;
}

.gallery {
  display: flex;
  gap: 20px;
  padding: 8px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

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

.gallery figure {
  flex: 0 0 232px;
  scroll-snap-align: start;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  color: var(--gray);
}

.gallery-arrow {
  position: absolute;
  top: 38%;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--gray);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.gallery-arrow:hover:not(:disabled) {
  color: var(--blue);
  transform: translateY(-50%) scale(1.05);
}

.gallery-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery-arrow.prev {
  left: 4px;
  transform: translateY(-50%);
}

.gallery-arrow.next {
  right: 4px;
  transform: translateY(-50%);
}

/* ---------- Promo banner ---------- */
.promo {
  position: relative;
  background: #0f172a;
}

.promo-bg {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.promo-card {
  padding: 32px 24px;
  background: var(--white);
}

.promo-eyebrow {
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.promo-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
}

.promo-card p:not(.promo-eyebrow) {
  margin: 14px 0 24px;
  color: var(--gray);
}

/* ---------- Services ---------- */
.services {
  background: var(--white);
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 36px;
}

.pill {
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.pill:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.pill.active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.service-layout {
  display: flex;
  flex-direction: column-reverse;
  gap: 28px;
  align-items: center;
}

.service-text {
  text-align: center;
}

.service-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.service-text ul {
  margin: 20px 0 26px;
  text-align: left;
}

.service-text li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 30px;
  color: var(--gray);
}

.service-text li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 800;
}

.service-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity 0.25s var(--ease);
}

/* ---------- About ---------- */
.about {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  background: #0f172a;
}

.about-bg {
  position: absolute;
  inset: 0;
}

.about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card {
  position: relative;
  max-width: 560px;
  margin: 56px 20px;
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.about-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
}

.about-card p {
  margin-top: 16px;
  color: var(--gray);
}

.about-card .btn {
  margin-top: 26px;
}

/* ---------- Store location ---------- */
.location {
  background: var(--light);
}

.location-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.location-card address {
  margin: 18px 0 26px;
  font-style: normal;
  color: var(--gray);
}

.location-card address strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.1rem;
  color: var(--text);
}

.location-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 22px 0 24px;
}

.location-item {
  flex: 1;
  padding: 22px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.location-item h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.location-item address {
  margin: 0 0 14px;
  font-style: normal;
  line-height: 1.6;
  color: var(--gray);
}

.location-phone {
  margin-bottom: 22px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.location-phone a {
  color: var(--blue);
  text-decoration: none;
}

.location-phone a:hover {
  text-decoration: underline;
}

.hours {
  max-width: 420px;
  margin: 0 auto 30px;
  text-align: left;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--gray);
  border-bottom: 1px solid var(--border);
}

.hours li:last-child {
  border-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 320px;
  color: #d1d5db;
  font-size: 0.9rem;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-col h3 {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 800;
}

.footer-col li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #d1d5db;
}

.footer-col a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

.footer-newsletter p {
  font-size: 0.9rem;
  color: #d1d5db;
}

.newsletter-form {
  display: flex;
  margin-top: 16px;
  max-width: 400px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--white);
  background: #111111;
  border: 1px solid #374151;
  border-right: 0;
  border-radius: var(--pill) 0 0 var(--pill);
}

.newsletter-form input::placeholder {
  color: var(--gray-soft);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--blue);
}

.newsletter-form button {
  padding: 0 24px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 0 var(--pill) var(--pill) 0;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.newsletter-form button:hover {
  background: var(--blue-dark);
}

.footer-newsletter .form-success {
  max-width: 400px;
}

.footer-bottom {
  margin-top: 44px;
  padding: 20px;
  border-top: 1px solid #1f2937;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray-soft);
}

/* ==========================================================================
   Tablet (>= 640px)
   ========================================================================== */
@media (min-width: 640px) {
  .header-actions .btn-sm {
    display: inline-flex;
  }

  .header-phone {
    display: inline-flex;
  }

  .location-grid {
    flex-direction: row;
    gap: 24px;
  }

  .hero-inner {
    padding: 96px 32px 56px;
  }

  .hero-form-card {
    padding: 32px 30px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-row .field + .field {
    margin-top: 0;
  }

  .gallery figure {
    flex-basis: 272px;
  }

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

/* ==========================================================================
   Desktop (>= 1024px) — matches the reference breakpoint
   ========================================================================== */
@media (min-width: 1024px) {
  :root {
    --header-h: 128px;
  }

  main {
    margin-top: var(--header-h);
  }

  section[id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
  }

  .section {
    padding: 88px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  /* Header */
  .header-inner {
    padding: 0 48px;
  }

  .desktop-nav {
    display: block;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .logo-name {
    font-size: 1.5rem;
  }

  .logo-img {
    width: 64px;
    height: 64px;
  }

  /* Hero */
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    min-height: 741px;
    padding: 96px 48px;
  }

  .hero-copy {
    flex: 0 0 38%;
    text-align: left;
  }

  .hero-copy h1 {
    font-size: 2.8rem;
  }

  .hero-form-card {
    width: 100%;
    max-width: 584px;
    padding: 34px 36px;
  }

  .hero-form-card h2 {
    font-size: 1.4rem;
  }

  /* Treatments */
  .treatments-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 72px;
    margin-top: 44px;
  }

  .treatments-nav {
    flex: 0 0 24%;
  }

  .subcats {
    flex-direction: column;
    gap: 14px;
    overflow: visible;
  }

  .subcat-btn {
    width: 100%;
    text-align: left;
  }

  .treatments-media {
    flex: 1;
  }

  .treatments-media img {
    aspect-ratio: 16 / 9;
  }

  /* Steps */
  .steps {
    flex-direction: row;
    gap: 40px;
  }

  .step-num {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }

  /* Gallery */
  .gallery-arrow {
    display: flex;
  }

  .gallery figure {
    flex-basis: 300px;
  }

  /* Promo */
  .promo {
    display: flex;
    align-items: center;
    min-height: 550px;
    padding: 64px 0;
  }

  .promo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .promo-card {
    position: relative;
    width: min(733px, 55%);
    margin-left: 5%;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  .promo-card h2 {
    font-size: 2rem;
  }

  /* Services */
  .service-layout {
    flex-direction: row;
    gap: 72px;
  }

  .service-text {
    flex: 1;
    text-align: left;
  }

  .service-media {
    flex: 0 0 46%;
  }

  /* About */
  .about-card {
    margin: 88px 0 88px 8%;
    padding: 44px 40px;
  }

  /* Location */
  .location-card {
    padding: 48px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.6fr;
    gap: 48px;
    padding: 0 48px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

