:root {
  --primary: #3468dd;
  --primary-dark: #1649be;
  --primary-soft: #eaf1ff;
  --cyan: #62c6da;
  --cyan-dark: #1595ae;
  --cream: #f6efdf;
  --ink: #152236;
  --ink-soft: #58667a;
  --surface: #ffffff;
  --surface-soft: #f5f8fd;
  --line: #dfe7f2;
  --success: #1d9b72;
  --shadow: 0 24px 70px rgba(29, 66, 133, 0.13);
  --shadow-soft: 0 16px 45px rgba(29, 66, 133, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 15px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: #fbfdff;
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section-space {
  padding: 110px 0;
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.22;
  pointer-events: none;
}

.page-glow-one {
  top: 110px;
  right: -170px;
  background: #5abdd9;
}

.page-glow-two {
  top: 720px;
  left: -230px;
  background: #557eef;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(218, 228, 242, 0.72);
  background: rgba(251, 253, 255, 0.84);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-symbol {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  transform: rotate(45deg);
}

.brand-symbol i {
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 100% 22% 100% 22%;
}

.brand-symbol i:nth-child(1) {
  top: 2px;
  left: 2px;
  background: #4c77dc;
}

.brand-symbol i:nth-child(2) {
  top: 2px;
  right: 2px;
  background: #71cfdf;
}

.brand-symbol i:nth-child(3) {
  bottom: 2px;
  left: 2px;
  background: #71cfdf;
}

.brand-symbol i:nth-child(4) {
  right: 2px;
  bottom: 2px;
  background: #4c77dc;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav > a:not(.nav-login) {
  position: relative;
  color: #39495e;
}

.main-nav > a:not(.nav-login)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transition: 0.25s ease;
}

.main-nav > a:not(.nav-login):hover::after {
  transform: scaleX(1);
}

.nav-login {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(40, 75, 136, 0.06);
  color: var(--primary-dark);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 13px;
  background: var(--surface-soft);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 4px;
  background: var(--ink);
}

.hero {
  position: relative;
  padding-top: 86px;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
}

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

.eyebrow > span {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

.eyebrow.light {
  color: #d8ecff;
}

.hero-copy h1,
.section-heading h2,
.booking-intro h2,
.reminders-copy h2,
.location-copy h2,
.cta-box h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.09;
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(44px, 5.6vw, 72px);
}

.hero-copy > p {
  max-width: 620px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary), #5480ec);
  box-shadow: 0 16px 32px rgba(52, 104, 221, 0.24);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 20px 38px rgba(52, 104, 221, 0.32);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.button-light {
  background: #fff;
  color: var(--primary-dark);
}

.button-full {
  width: 100%;
}

.hero-highlights {
  display: flex;
  gap: 33px;
  margin-top: 44px;
}

.hero-highlights > div {
  display: grid;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-highlights strong {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
}

.hero-highlights span {
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 575px;
}

.hero-visual::before {
  position: absolute;
  inset: 18px 10px 16px 35px;
  border-radius: 48% 52% 62% 38% / 40% 47% 53% 60%;
  background: linear-gradient(145deg, #e3ecff, #bfeaf1 62%, #f7efde);
  content: "";
}

.hero-card-main {
  position: absolute;
  z-index: 2;
  top: 55px;
  right: 42px;
  width: min(90%, 400px);
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 29px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: rotate(1.6deg);
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(29, 155, 114, 0.1);
}

.hero-card-main h2 {
  margin-top: 22px;
  font-family: "Manrope", sans-serif;
  font-size: 32px;
  line-height: 1.15;
}

.hero-card-main > p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.mini-calendar {
  margin-top: 25px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fbfdff;
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 13px;
}

.week-row,
.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.week-row {
  margin-bottom: 6px;
  color: #9aa7b9;
  font-size: 10px;
  font-weight: 700;
}

.days-grid span {
  display: grid;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  font-size: 11px;
}

.days-grid .muted {
  color: #c5ceda;
}

.days-grid .selected {
  background: var(--primary);
  box-shadow: 0 8px 16px rgba(52, 104, 221, 0.25);
  color: #fff;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.floating-card-message {
  bottom: 80px;
  left: -3px;
}

.floating-card-location {
  right: -10px;
  bottom: 16px;
}

.float-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.floating-card div {
  display: grid;
}

.floating-card strong {
  font-size: 13px;
}

.floating-card small {
  color: var(--ink-soft);
  font-size: 10px;
}

.trust-strip {
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

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

.trust-grid > div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 28px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid span {
  color: var(--cyan-dark);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.trust-grid p {
  color: #43536a;
  font-size: 14px;
  font-weight: 600;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-heading h2,
.booking-intro h2,
.location-copy h2 {
  font-size: clamp(36px, 4.4vw, 54px);
}

.section-heading > p,
.booking-intro > p,
.location-copy > p {
  max-width: 650px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 17px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
}

.section-heading-row > div {
  max-width: 670px;
}

.text-link {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--primary);
  color: var(--primary-dark);
  font-weight: 700;
}

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

.specialty-card {
  min-height: 250px;
  padding: 25px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(36, 70, 128, 0.04);
  transition: 0.28s ease;
}

.specialty-card:hover {
  border-color: rgba(52, 104, 221, 0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
}

.specialty-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--primary-soft), #e9f9fb);
  color: var(--primary);
  font-size: 23px;
  font-weight: 700;
}

.specialty-card h3 {
  margin-top: 35px;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  line-height: 1.25;
}

.specialty-card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.section-soft {
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.team-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.professional-card {
  display: grid;
  align-items: stretch;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.professional-card:not(.featured) {
  grid-template-columns: 170px 1fr;
}

.professional-photo {
  display: grid;
  min-height: 340px;
  place-items: center;
  background: linear-gradient(160deg, #cbe8ef, #5f86e8 63%, #274a99);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Manrope", sans-serif;
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.soft-photo {
  background: linear-gradient(160deg, #f4ebda, #beeaf0 55%, #5f86e8);
  font-size: 70px;
}

.professional-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
}

.professional-tag {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.professional-info h3 {
  margin-top: 18px;
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  line-height: 1.15;
}

.professional-info p {
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 14px;
}

.professional-info small {
  margin-top: 17px;
  color: #77859a;
}

.professional-info a {
  align-self: flex-start;
  margin-top: 25px;
  color: var(--primary-dark);
  font-weight: 700;
}

.booking-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.booking-intro {
  position: sticky;
  top: 120px;
}

.booking-benefits {
  display: grid;
  gap: 19px;
  margin-top: 36px;
}

.booking-benefits > div {
  display: flex;
  gap: 14px;
}

.booking-benefits > div > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.booking-benefits p {
  display: grid;
}

.booking-benefits strong {
  font-size: 15px;
}

.booking-benefits small {
  margin-top: 2px;
  color: var(--ink-soft);
}

.booking-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.form-head small {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-head h3 {
  margin-top: 4px;
  font-family: "Manrope", sans-serif;
  font-size: 25px;
}

.secure-label {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf8f2;
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
}

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

.form-grid label {
  display: grid;
  gap: 8px;
}

.form-grid label > span {
  color: #415168;
  font-size: 12px;
  font-weight: 700;
}

.form-grid input,
.form-grid select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: #fbfdff;
  color: var(--ink);
  transition: 0.2s ease;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: rgba(52, 104, 221, 0.6);
  box-shadow: 0 0 0 4px rgba(52, 104, 221, 0.08);
}

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

.form-divider {
  height: 1px;
  margin: 28px 0;
  background: var(--line);
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 23px 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.consent-field input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.form-note {
  margin-top: 12px;
  color: #8794a7;
  font-size: 10px;
  text-align: center;
}

.reminders-section {
  overflow: hidden;
  background: linear-gradient(135deg, #112a55, #244fa9 57%, #287e9b);
  color: #fff;
}

.reminders-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.reminders-visual {
  display: flex;
  justify-content: center;
}

.phone-card {
  position: relative;
  width: 310px;
  min-height: 520px;
  padding: 20px;
  border: 9px solid rgba(255, 255, 255, 0.14);
  border-radius: 44px;
  background: #eef4fd;
  box-shadow: 0 40px 80px rgba(3, 16, 45, 0.35);
  color: var(--ink);
  transform: rotate(-4deg);
}

.phone-card::after {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: #17315f;
  content: "";
  transform: translateX(-50%);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 4px 3px 0;
  font-size: 10px;
  font-weight: 700;
}

.message-bubble {
  margin-top: 100px;
  padding: 23px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(25, 62, 120, 0.13);
}

.message-brand {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.message-bubble p {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.message-bubble small {
  display: block;
  margin-top: 12px;
  color: var(--ink-soft);
}

.message-bubble button {
  width: 100%;
  margin-top: 22px;
  padding: 11px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.reminders-copy h2 {
  max-width: 650px;
  font-size: clamp(38px, 4.8vw, 58px);
}

.reminders-copy > p {
  max-width: 650px;
  margin-top: 23px;
  color: #d6e2f6;
  font-size: 17px;
}

.reminders-copy ul {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  list-style: none;
}

.reminders-copy li {
  position: relative;
  padding-left: 30px;
  color: #edf5ff;
}

.reminders-copy li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: #7dd5e3;
  content: "✓";
  font-weight: 800;
}

.location-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}

.location-details {
  display: grid;
  gap: 16px;
  margin: 30px 0;
}

.location-details > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.location-details > div > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.location-details p {
  display: grid;
}

.location-details small {
  color: var(--ink-soft);
}

.map-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 35px;
  background:
    linear-gradient(80deg, transparent 46%, rgba(255,255,255,.95) 47%, rgba(255,255,255,.95) 51%, transparent 52%),
    linear-gradient(25deg, transparent 38%, rgba(255,255,255,.82) 39%, rgba(255,255,255,.82) 43%, transparent 44%),
    linear-gradient(145deg, #cfe6dd, #d8e9ec 48%, #bad4e6);
  box-shadow: var(--shadow);
}

.map-card::before,
.map-card::after {
  position: absolute;
  border: 2px solid rgba(86, 126, 154, 0.35);
  border-radius: 50%;
  content: "";
}

.map-card::before {
  top: 70px;
  left: -100px;
  width: 400px;
  height: 240px;
  transform: rotate(-18deg);
}

.map-card::after {
  right: -130px;
  bottom: 40px;
  width: 440px;
  height: 270px;
  transform: rotate(18deg);
}

.map-marker {
  position: absolute;
  z-index: 3;
  top: 43%;
  left: 52%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 7px solid #fff;
  border-radius: 50% 50% 50% 10%;
  background: var(--primary);
  box-shadow: 0 18px 35px rgba(29, 66, 133, 0.3);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.map-marker span {
  transform: rotate(45deg);
}

.map-label {
  position: absolute;
  z-index: 3;
  top: calc(43% + 55px);
  left: 52%;
  display: grid;
  min-width: 210px;
  padding: 13px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transform: translateX(-50%);
}

.map-label small {
  color: var(--ink-soft);
}

.cta-section {
  padding: 0 0 100px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 55px 60px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--primary), #3869d7 55%, var(--cyan-dark));
  box-shadow: 0 30px 70px rgba(38, 81, 172, 0.25);
  color: #fff;
}

.cta-box h2 {
  max-width: 690px;
  font-size: clamp(32px, 4vw, 48px);
}

.site-footer {
  padding: 70px 0 25px;
  border-top: 1px solid var(--line);
  background: #f4f7fc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr);
  gap: 55px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-grid > div:first-child > p {
  max-width: 370px;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-grid > div:not(:first-child) {
  display: grid;
  align-content: start;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-grid > div:not(:first-child) strong {
  margin-bottom: 4px;
  color: var(--ink);
}

.footer-grid a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #8794a7;
  font-size: 11px;
}

.success-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.success-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 24, 52, 0.66);
  backdrop-filter: blur(8px);
}

.success-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 44px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 40px 100px rgba(5, 21, 51, 0.32);
  text-align: center;
  transform: translateY(18px) scale(0.97);
  transition: 0.28s ease;
}

.success-modal.is-open .success-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 22px;
}

.success-icon {
  display: grid;
  width: 67px;
  height: 67px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 20px;
  background: #e9f8f2;
  color: var(--success);
  font-size: 31px;
  font-weight: 800;
}

.success-card > small {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}

.success-card h2 {
  margin-top: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 32px;
}

.success-card > p {
  margin-top: 12px;
  color: var(--ink-soft);
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #10264e;
  box-shadow: var(--shadow);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .professional-card:not(.featured) {
    grid-template-columns: 220px 1fr;
  }

  .booking-layout {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .section-space {
    padding: 82px 0;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.24s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px 13px;
  }

  .nav-login {
    margin-top: 5px;
    text-align: center;
  }

  .hero-grid,
  .booking-layout,
  .reminders-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 55px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-highlights {
    justify-content: center;
  }

  .hero-visual {
    min-height: 540px;
  }

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

  .trust-grid > div,
  .trust-grid > div:first-child {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row .text-link {
    display: inline-block;
    margin-top: 22px;
  }

  .booking-intro {
    position: static;
  }

  .reminders-grid {
    gap: 65px;
  }

  .reminders-copy {
    text-align: center;
  }

  .reminders-copy p {
    margin-inline: auto;
  }

  .reminders-copy ul {
    display: inline-grid;
    text-align: left;
  }

  .location-grid {
    gap: 55px;
  }

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

@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section-space {
    padding: 68px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
  }

  .brand-symbol i {
    width: 16px;
    height: 16px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-highlights {
    gap: 13px;
  }

  .hero-highlights > div {
    padding-left: 10px;
  }

  .hero-highlights strong {
    font-size: 14px;
  }

  .hero-highlights span {
    font-size: 10px;
  }

  .hero-visual {
    min-height: 490px;
  }

  .hero-card-main {
    top: 36px;
    right: 5%;
    width: 90%;
    padding: 21px;
  }

  .hero-card-main h2 {
    font-size: 26px;
  }

  .floating-card {
    max-width: 88%;
  }

  .floating-card-message {
    bottom: 34px;
    left: 0;
  }

  .floating-card-location {
    display: none;
  }

  .section-heading h2,
  .booking-intro h2,
  .location-copy h2 {
    font-size: 36px;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .specialty-card {
    min-height: 225px;
    padding: 20px 17px;
  }

  .specialty-card h3 {
    margin-top: 25px;
    font-size: 15px;
  }

  .professional-card,
  .professional-card:not(.featured) {
    grid-template-columns: 1fr;
  }

  .professional-photo {
    min-height: 230px;
  }

  .professional-info {
    padding: 27px;
  }

  .booking-card {
    padding: 23px;
    border-radius: 24px;
  }

  .form-head {
    align-items: flex-start;
  }

  .secure-label {
    display: none;
  }

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

  .full-field {
    grid-column: auto;
  }

  .phone-card {
    width: 275px;
    min-height: 470px;
  }

  .map-card {
    min-height: 360px;
  }

  .cta-box {
    display: grid;
    padding: 38px 28px;
    text-align: center;
  }

  .cta-box .button {
    width: 100%;
  }

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

  .footer-bottom {
    display: grid;
    gap: 5px;
  }

  .success-card {
    padding: 38px 22px 26px;
  }

  .success-card h2 {
    font-size: 27px;
  }

  .modal-actions {
    display: grid;
  }
}

@media (max-width: 410px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 36px;
  }
}
