/* Indian Scan — static CSS (converted from React/Tailwind) */

:root {
  --radius: 0.75rem;

  --gold: #FCD183;
  --gold-dark: #9F713B;
  --gold-soft: #FDE0A6;
  --maroon: #9F2822;
  --cream: #FFF8E8;

  --background: #FFFFFF;
  --foreground: #1F2937;
  --card: #FFFFFF;
  --primary: #9F2822;
  --primary-foreground: #FFFFFF;
  --secondary: #9F713B;
  --secondary-foreground: #FFFFFF;
  --muted-foreground: #4B5563;
  --border: #FCD183;

  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;

  --shadow-soft: 0 10px 40px -10px rgba(159, 40, 34, 0.15);
  --shadow-gold: 0 12px 32px -8px rgba(252, 209, 131, 0.35);

  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

#appointment {
  scroll-margin-top: 5rem;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page {
  min-height: 100vh;
  position: relative;
  background: var(--background);
}

.container-x {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section-pad {
  padding-block: clamp(2rem, 6vw, 5rem);
}

.bg-cream {
  background: var(--cream);
}

.bg-primary {
  background: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-gold {
  color: var(--gold);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-gold {
  box-shadow: var(--shadow-gold);
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 0.875rem;
  height: 0.875rem;
}

.icon-md {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-xl {
  width: 1.75rem;
  height: 1.75rem;
}

/* Stroke-based SVG icons — consistent visibility */
svg.icon,
.icon svg,
.trust-card__icon svg,
.why-card__icon svg,
.appointment__contact-icon svg,
.service-card__icon svg,
.hero__accreditation-icon svg,
.header__icon-link svg,
.btn .icon {
  stroke: currentColor;
  fill: none;
}

.testimonial-card__stars svg {
  fill: currentColor;
  stroke: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  transition:
    transform var(--transition),
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn--primary {
  border-radius: 9999px;
  background: var(--primary);
  color: #ffffff;
  padding: 0.625rem 1.25rem;
}

.btn--primary .icon {
  color: #ffffff;
}

.btn--header {
  padding: 0.625rem 1.25rem;
}

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

.btn--primary:hover {
  background: var(--secondary);
  color: #fff;
}

.btn--outline-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 2px solid var(--secondary);
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  transition: background-color var(--transition), color var(--transition);
}

.btn--outline-secondary:hover {
  background: var(--secondary);
  color: #fff;
}

.btn--gold {
  border-radius: 9999px;
  background: var(--gold-dark);
  color: #fff;
  padding: 0.75rem 1.5rem;
}

.btn--cta-outline {
  border-radius: 9999px;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.75rem 1.5rem;
}

.btn--cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--whatsapp {
  border-radius: 9999px;
  background: #2cc165;
  color: #fff;
  padding: 0.75rem 1.5rem;
}

.btn--submit {
  margin-top: 1.25rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
}

/* Section header */
.section-header {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  text-align: center;
}

.section-header__tag {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.section-header p {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

.section-header--light .section-header__tag {
  color: var(--gold);
}

.section-header--light h2 {
  color: #fff;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 5rem;
  padding-block: 0.5rem;
}

.logo {
  flex-shrink: 0;
  padding-block: 0.25rem;
  margin-left: -0.25rem;
}

.logo img {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.header__icon-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--primary);
  flex-shrink: 0;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.header__icon-link svg {
  stroke: currentColor;
  fill: none;
}

.header__icon-link:hover {
  background: var(--primary);
  color: #fff;
}

.header__icon-link--whatsapp {
  background: #2cc165;
  color: #fff;
}

.header__icon-link--whatsapp:hover {
  background: #25a858;
  color: #fff;
}

.header__actions .btn--book-appointment {
  color: #ffffff;
  white-space: nowrap;
}

.header__actions .btn--book-appointment .icon {
  color: #ffffff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--cream), var(--background));
}

.hero__grid {
  display: grid;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.hero__content > * + * {
  margin-top: 1.25rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(159, 40, 34, 0.3);
  background: rgba(159, 40, 34, 0.1);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero__badge .icon {
  color: var(--gold);
}

.hero__content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
}

.hero__text {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__actions .btn--primary {
  padding: 0.875rem 1.75rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1rem;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--secondary);
}

.hero__stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hero__media {
  position: relative;
}

.hero__glow {
  position: absolute;
  inset: -1rem;
  border-radius: 1.5rem;
  background: rgba(159, 40, 34, 0.2);
  filter: blur(40px);
}

.hero__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 4px solid var(--background);
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__accreditation {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1rem;
}

.hero__accreditation-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--cream);
  color: var(--gold);
}

.hero__accreditation-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.hero__accreditation-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Trust */
.trust__grid {
  display: grid;
  gap: 1.5rem;
}

.trust-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-gold);
}

.trust-card__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: var(--cream);
  color: var(--gold-dark);
  transition: background-color var(--transition), color var(--transition);
}

.trust-card:hover .trust-card__icon {
  background: var(--primary);
  color: var(--primary-foreground);
}

.trust-card h3 {
  margin-bottom: 0.375rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Services */
.services__grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

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

.service-card__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--gold);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.service-card p {
  flex: 1;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition);
}

.service-card:hover .service-card__link {
  gap: 0.625rem;
}

/* Why */
.why__grid {
  display: grid;
  gap: 1.5rem;
}

.why-card {
  display: flex;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
}

.why-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--cream);
  color: var(--gold-dark);
}

.why-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.why-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Process */
.process .section-header {
  margin-bottom: 2rem;
}

.process__grid {
  display: grid;
  gap: 2rem;
}

.process-step {
  position: relative;
  text-align: center;
}

.process-step__num {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-inline: auto;
  margin-bottom: 1rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--primary);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.9;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    opacity 0.3s ease;
}

.process-step:hover .process-step__num {
  transform: scale(1.05);
  opacity: 1;
  border-color: var(--gold-soft);
  box-shadow:
    0 0 0 4px rgba(252, 209, 131, 0.28),
    0 0 22px rgba(252, 209, 131, 0.45);
}

.process-step h3 {
  position: relative;
  z-index: 2;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.process-step__line {
  display: none;
}

@keyframes process-line-flow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes process-step-pulse {
  0%,
  20%,
  100% {
    opacity: 0.88;
    border-color: var(--gold);
    box-shadow: 0 0 0 0 rgba(252, 209, 131, 0);
  }
  10% {
    opacity: 1;
    border-color: #fff;
    box-shadow:
      0 0 0 4px rgba(252, 209, 131, 0.32),
      0 0 20px rgba(252, 209, 131, 0.5);
  }
}

/* Testimonials */
.testimonials__grid {
  display: grid;
  gap: 1.5rem;
}

.testimonial-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.testimonial-card__stars svg {
  width: 1rem;
  height: 1rem;
}

.testimonial-card p {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--foreground);
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
}

.testimonial-card strong {
  display: block;
  font-size: 0.875rem;
  color: var(--primary);
}

.testimonial-card footer > div span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Appointment */
.appointment__grid {
  display: grid;
  gap: 2rem;
}

.appointment__tag {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
}

.appointment__info h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.appointment__info > p {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

.appointment__contacts {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.appointment__contacts li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-block: 0;
}

.appointment__contact-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--cream);
  color: var(--gold-dark);
}

.appointment__contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.appointment__contact-value {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
}

.appointment__map {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-sizing: border-box;
}

.appointment__map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 14rem;
  border: 0;
}

.appointment-form {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--cream);
  padding: 1.5rem;
}

/* Thank you page */
.thank-you {
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
}

.thank-you__wrap {
  display: flex;
  justify-content: center;
}

.thank-you__card {
  width: 100%;
  max-width: 42rem;
  text-align: center;
  padding: 3.5rem 2.5rem;
}

.thank-you__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  background: rgba(159, 40, 34, 0.1);
  color: var(--primary);
}

.thank-you__icon .icon {
  width: 2.25rem;
  height: 2.25rem;
}

.thank-you__title {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--primary);
}

.thank-you__text {
  margin-bottom: 2rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.thank-you__card .btn--submit {
  width: auto;
  margin-top: 0;
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

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

.form-field label,
.form-field__label {
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:not([type="radio"]):not([type="checkbox"]):focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(159, 40, 34, 0.2);
}

.form-field input:user-invalid,
.form-field select:user-invalid {
  border-color: var(--maroon);
}

.form-field__error {
  display: none;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--maroon);
}

.form-field--error .form-field__error {
  display: block;
}

.form-field--error input:not([type="radio"]):not([type="checkbox"]),
.form-field--error textarea,
.form-field--error .custom-select__trigger {
  border-color: var(--maroon);
}

.form-field__hint {
  margin-top: 0.375rem;
  font-size: 0.6875rem;
  text-align: right;
  color: var(--muted-foreground);
}

.form-field__hint--limit {
  color: var(--maroon);
  font-weight: 600;
}

.form-success {
  display: none;
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--secondary);
  background: rgba(252, 209, 131, 0.25);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

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

.form-radios {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form-radios label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.form-radios input[type="radio"] {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  min-height: 1.125rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--maroon);
  cursor: pointer;
  -webkit-appearance: radio;
  appearance: auto;
}

.form-field textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-field select optgroup {
  font-weight: 600;
  color: var(--primary);
}

/* Custom select — matches native form field appearance */
.custom-select {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

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

.custom-select__trigger {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  min-height: 48px;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.custom-select__trigger:hover {
  border-color: var(--primary);
}

.custom-select__trigger:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(159, 40, 34, 0.2);
  outline: none;
}

.custom-select__trigger--invalid {
  border-color: var(--maroon);
}

.custom-select--open .custom-select__trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(159, 40, 34, 0.2);
}

.custom-select__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__value--placeholder {
  color: var(--muted-foreground);
}

.custom-select__chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  transition: transform var(--transition);
}

.custom-select__chevron svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
}

.custom-select--open .custom-select__chevron {
  transform: rotate(180deg);
}

.custom-select__dropdown {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  max-height: min(16rem, 50vh);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  z-index: 40;
  box-sizing: border-box;
}

.custom-select__group-label {
  padding: 0.625rem 1rem 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 1;
}

.custom-select__option {
  width: 100%;
  max-width: 100%;
  display: block;
  text-align: left;
  padding: 0.75rem 1rem;
  border: none;
  border-bottom: 1px solid rgba(252, 209, 131, 0.25);
  background: transparent;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  cursor: pointer;
  min-height: 44px;
  box-sizing: border-box;
  transition: background-color var(--transition);
}

.custom-select__group .custom-select__option:last-child {
  border-bottom: none;
}

.custom-select__option:hover,
.custom-select__option:focus {
  background: var(--cream);
  outline: none;
}

.custom-select__option--selected {
  background: rgba(159, 40, 34, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.form-field:has(.custom-select--open) {
  position: relative;
  z-index: 20;
  overflow: visible;
}

.appointment-form:has(.custom-select--open) {
  overflow: visible;
  z-index: 5;
}

/* CTA */
.cta {
  background: linear-gradient(to right, #5a100d, #9F2822);
  text-align: center;
}

.cta__inner h2 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
}

.cta__inner > p {
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-inline: auto;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background-color var(--transition),
    scale var(--transition);
}

.back-to-top:hover {
  scale: 1.1;
  background: var(--gold-dark);
}

@supports (animation-timeline: scroll()) {
  .back-to-top {
    animation: back-to-top-show linear forwards;
    animation-timeline: scroll(root block);
    animation-range: 300px 320px;
  }
}

@keyframes back-to-top-show {
  to {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Tablet */
@media (min-width: 640px) {
  .logo img {
    height: 3.5rem;
  }

  .hero__content > * + * {
    margin-top: 1.75rem;
  }

  .hero__content h1 {
    font-size: 3rem;
  }

  .hero__accreditation {
    display: flex;
  }

  .hero__grid {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
  }

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

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

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

  .section-header h2 {
    font-size: 2.25rem;
  }

  .appointment__info h2 {
    font-size: 2.25rem;
  }

  .cta__inner h2 {
    font-size: 2.25rem;
  }

  .cta__inner > p {
    font-size: 1rem;
  }

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

  .form-field--full {
    grid-column: 1 / -1;
  }

  .form-radios {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .appointment-form {
    padding: 2rem;
  }

  .btn--submit {
    width: auto;
  }
}

@media (min-width: 768px) {
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process .section-header {
    margin-bottom: 2.5rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .logo img {
    height: 4rem;
  }

  .header__inner {
    min-height: 5.5rem;
  }

  .header__actions {
    gap: 1rem;
  }

  .header__icon-links {
    gap: 0.75rem;
  }

  html {
    scroll-padding-top: 5.5rem;
  }

  #appointment {
    scroll-margin-top: 5.5rem;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 5rem;
  }

  .hero__content h1 {
    font-size: 3.75rem;
  }

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

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

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

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

  .process-step__line {
    display: block;
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 100%;
    height: 2px;
    background: rgba(252, 209, 131, 0.3);
    z-index: 0;
    overflow: hidden;
    border-radius: 2px;
  }

  .process-step__line::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 50%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(252, 209, 131, 0.45),
      rgba(255, 248, 232, 0.95),
      rgba(252, 209, 131, 0.45),
      transparent
    );
    animation: process-line-flow 2.8s ease-in-out infinite;
  }

  .process-step:nth-child(1) .process-step__line::after {
    animation-delay: 0s;
  }

  .process-step:nth-child(2) .process-step__line::after {
    animation-delay: 0.35s;
  }

  .process-step:nth-child(3) .process-step__line::after {
    animation-delay: 0.7s;
  }

  .process-step:nth-child(4) .process-step__line::after {
    animation-delay: 1.05s;
  }

  .process-step:nth-child(1) .process-step__num {
    animation: process-step-pulse 8s ease-in-out infinite;
    animation-delay: 0s;
  }

  .process-step:nth-child(2) .process-step__num {
    animation: process-step-pulse 8s ease-in-out infinite;
    animation-delay: 2s;
  }

  .process-step:nth-child(3) .process-step__num {
    animation: process-step-pulse 8s ease-in-out infinite;
    animation-delay: 4s;
  }

  .process-step:nth-child(4) .process-step__num {
    animation: process-step-pulse 8s ease-in-out infinite;
    animation-delay: 6s;
  }

  .process-step:hover .process-step__num {
    animation: none;
  }

  .process-step:last-child .process-step__line {
    display: none;
  }

  .appointment__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .appointment__map iframe {
    height: 18rem;
  }
}

/* Mobile-only responsive (<768px) — desktop unchanged at 769px+ */
@media (max-width: 768px) {
  html {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .page,
  main,
  section,
  header,
  .container-x {
    max-width: 100%;
    min-width: 0;
  }

  .page {
    overflow-x: hidden;
  }

  .container-x {
    padding-inline: 1rem;
    box-sizing: border-box;
  }

  img,
  svg {
    max-width: 100%;
  }

  /* Header */
  .header__inner {
    min-height: 4.25rem;
    padding-block: 0.375rem;
    gap: 0.5rem;
    max-width: 100%;
  }

  .logo {
    margin-left: 0;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 42%;
  }

  .logo img {
    height: 2.5rem;
    max-width: 100%;
  }

  .header__actions {
    gap: 0.375rem;
    flex-shrink: 0;
    justify-content: flex-end;
    min-width: 0;
  }

  .header__icon-links {
    gap: 0.375rem;
  }

  .header__icon-link {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
  }

  .header__icon-link .icon-lg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .header__actions .btn--book-appointment {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .header__actions .btn--book-appointment__text {
    display: none;
  }

  .header__actions .btn--book-appointment .icon {
    width: 1.125rem;
    height: 1.125rem;
  }

  /* Hero */
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 2rem;
  }

  .hero__content {
    min-width: 0;
    max-width: 100%;
  }

  .hero__content h1 {
    font-size: clamp(1.5rem, 6.5vw, 2.25rem);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  .hero__text {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 0.625rem;
    width: 100%;
  }

  .hero__actions .btn {
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero__media {
    max-width: 100%;
    overflow: hidden;
  }

  .hero__glow {
    inset: -0.5rem;
  }

  .hero__image-wrap {
    max-width: 100%;
  }

  .hero__image-wrap img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  .hero__stats {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero__stat-value {
    font-size: 1.5rem;
  }

  /* Section headers */
  .section-header {
    max-width: 100%;
    min-width: 0;
  }

  /* Grids — single column */
  .trust__grid,
  .services__grid,
  .why__grid,
  .testimonials__grid,
  .process__grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .process-step__line {
    display: none !important;
  }

  .process-step__num {
    animation: none !important;
  }

  .service-card,
  .trust-card,
  .why-card,
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Appointment / form */
  .appointment__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  .appointment__info {
    min-width: 0;
    max-width: 100%;
  }

  .appointment-form {
    width: 100%;
    max-width: 100%;
    padding: 1.25rem;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 0.875rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .form-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .form-field--full {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
  }

  .form-field input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
  .form-field textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    margin: 0;
    display: block;
  }

  .form-field input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
    min-height: 48px;
    padding: 0 12px;
    font-size: 16px;
  }

  .form-field .custom-select,
  .form-field .custom-select__trigger {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .form-field .custom-select__dropdown {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
  }

  .form-field textarea {
    min-height: 6rem;
    height: auto;
    white-space: normal;
    overflow: auto;
    padding: 0.75rem 12px;
    font-size: 16px;
  }

  .btn--submit {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 48px;
  }

  .form-radios {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    width: 100%;
  }

  .form-radios label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 44px;
    padding-block: 0.25rem;
    font-size: 1rem;
    line-height: 1.25;
  }

  .form-radios input[type="radio"] {
    width: 1.25rem !important;
    height: 1.25rem !important;
    min-width: 1.25rem !important;
    min-height: 1.25rem !important;
    max-width: 1.25rem !important;
    padding: 0 !important;
    display: inline-block !important;
    flex-shrink: 0;
    accent-color: var(--maroon);
    -webkit-appearance: radio;
    appearance: auto;
  }

  /* CTA */
  .cta__actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .cta__actions .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
    min-height: 48px;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
}

/* Extra-small phones (320px–375px) */
@media (max-width: 375px) {
  .container-x {
    padding-inline: 0.875rem;
  }

  .logo {
    max-width: 38%;
  }

  .hero__content h1 {
    font-size: clamp(1.375rem, 6vw, 1.75rem);
  }
}

/* Fallback: show back-to-top when page is scrolled via anchor focus */
.back-to-top:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

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

  .back-to-top {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .process-step__line::after,
  .process-step__num {
    animation: none !important;
  }
}
