/* ==========================================================================
   01 RESET & INITIALIZATION
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   02 TOKENS & DESIGN SYSTEM
   ========================================================================== */
:root {
  --page: #F7F3EE;
  --paper: #FCFAF7;
  --warm-surface: #EEE6DE;

  --blush: #E5C9C3;
  --blush-light: #F1DFDB;

  --accent: #9A544B;
  --accent-hover: #7D433D;

  --sage: #757B6B;
  --sage-light: #DDE1D8;

  --ink: #2B2522;
  --text: #3B3430;
  --muted: #716762;
  --soft-text: #90857F;

  --line: #D8CEC5;
  --line-dark: #BFB3AA;

  --white: #FFFDFC;

  --error: #9C3D39;
  --success: #536B58;

  --content-max: 1280px;
  --header-height-desktop: 84px;
  --header-height-mobile: 72px;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-hero: 46% 46% 2rem 2rem / 18% 18% 2rem 2rem;
}

/* ==========================================================================
   03 TYPOGRAPHY
   ========================================================================== */
@font-face {
  font-family: "Alexandria";
  src: url("./assets/fonts/alexandria-variable-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Alexandria", system-ui, -apple-system, sans-serif;
  background-color: var(--page);
  color: var(--text);
  line-height: 1.95;
  font-weight: 350;
  font-size: 1rem;
  overflow-x: hidden;
  direction: rtl;
  letter-spacing: normal;
}

/* Type Scale */
.hero-h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.38;
  font-weight: 550;
  letter-spacing: normal;
  color: var(--ink);
}

.section-h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.4;
  font-weight: 520;
  letter-spacing: normal;
  color: var(--ink);
}

.medium-h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.5;
  font-weight: 520;
  letter-spacing: normal;
  color: var(--ink);
}

.large-body {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.9;
  font-weight: 350;
  color: var(--text);
}

.regular-text {
  font-size: 0.975rem;
  line-height: 1.9;
  font-weight: 350;
}

.small-text {
  font-size: 0.85rem;
  line-height: 1.75;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.6rem;
  letter-spacing: normal;
}

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

/* Link Underline Animation */
.text-link {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.text-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.text-link:hover {
  color: var(--accent);
}

.text-link:hover::after {
  width: 100%;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  right: 20px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 500;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

/* ==========================================================================
   04 LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 72px);
}

.section-padding {
  padding-block: clamp(72px, 9vw, 140px);
}

/* ==========================================================================
   05 HEADER & MOBILE NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height-desktop);
  background-color: var(--page);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-block {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.doctor-name {
  font-size: 1.15rem;
  font-weight: 550;
  color: var(--ink);
  line-height: 1.2;
}

.doctor-title {
  font-size: 0.8rem;
  font-weight: 350;
  color: var(--muted);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding-inline: 20px;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.header-cta:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.mobile-menu-trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--warm-surface);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 24px;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu-overlay.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height-mobile);
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.mobile-nav-link {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.mobile-nav-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
}

/* ==========================================================================
   06 HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height-desktop) + 40px);
  padding-bottom: 80px;
  min-height: calc(100vh - 20px);
  display: flex;
  align-items: center;
  background-color: var(--page);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-content {
  grid-column: span 7;
}

.hero-h1-container {
  margin-block: 1.25rem 1.75rem;
}

.hero-h1-line {
  display: block;
  overflow: hidden;
  padding-block: 0.15em;
  margin-block: -0.08em;
}

.hero-h1-line-inner {
  display: block;
}

.hero-paragraph {
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding-inline: 28px;
  background-color: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(154, 84, 75, 0.2);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-primary:hover,
.btn-whatsapp:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(154, 84, 75, 0.3);
}

.btn-primary svg,
.btn-whatsapp svg {
  fill: currentColor;
  flex-shrink: 0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding-inline: 24px;
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.hero-microcopy {
  font-size: 0.875rem;
  color: var(--muted);
}

.hero-media {
  grid-column: span 5;
  position: relative;
}

.hero-photo-wrapper {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: var(--radius-hero);
  overflow: hidden;
  background-color: var(--warm-surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 48px rgba(43, 37, 34, 0.05);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   07 CONNECTION SECTION
   ========================================================================== */
.connection-section {
  background-color: var(--warm-surface);
  border-block: 1px solid var(--line);
}

.connection-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.connection-text {
  grid-column: span 7;
}

.connection-quote-col {
  grid-column: span 5;
}

.connection-pullquote {
  padding: 2.25rem;
  background-color: var(--white);
  border-radius: var(--radius-md);
  border-right: 4px solid var(--accent);
  box-shadow: 0 16px 40px rgba(43, 37, 34, 0.04);
  font-size: 1.18rem;
  font-weight: 450;
  color: var(--ink);
  line-height: 1.85;
}

/* ==========================================================================
   08 CONCERNS / SERVICES SECTION
   ========================================================================== */
.concerns-section {
  background-color: var(--page);
}

.section-header-block {
  max-width: 680px;
  margin-bottom: 4rem;
}

.concerns-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.concern-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  padding-inline: clamp(0.75rem, 2vw, 1.25rem);
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background-color 0.3s ease;
}

.concern-item:hover {
  background-color: rgba(238, 230, 222, 0.35);
}

.concern-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.concern-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.concern-title-block .medium-h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  font-weight: 550;
  color: var(--ink);
  margin: 0;
}

.clinical-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 450;
  color: var(--accent);
  margin-top: 0.15rem;
}

.concern-number {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300;
  color: var(--accent);
  opacity: 0.45;
  line-height: 1;
  flex-shrink: 0;
}

.concern-item-body {
  width: 100%;
}

.concern-item-body .regular-text {
  font-size: clamp(0.925rem, 1.1vw, 1.02rem);
  line-height: 1.85;
  color: var(--text);
  margin: 0;
}

/* ==========================================================================
   09 EDITORIAL VISUAL BREAK
   ========================================================================== */
.visual-break-section {
  position: relative;
  padding-block: clamp(80px, 10vw, 130px);
  background-color: var(--ink);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-break-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.visual-break-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.visual-break-card {
  background-color: rgba(43, 37, 34, 0.82);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(216, 206, 197, 0.25);
  text-align: center;
  margin-inline: auto;
}

.visual-break-card h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.visual-break-card p {
  color: var(--blush-light);
}

/* ==========================================================================
   10 HOW THE VISIT WORKS
   ========================================================================== */
.visit-section {
  background-color: var(--paper);
  border-block: 1px solid var(--line);
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(43, 37, 34, 0.03);
  position: relative;
}

.step-number {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
}

/* ==========================================================================
   11 DOCTOR SECTION
   ========================================================================== */
.doctor-section {
  background-color: var(--page);
  border-block: 1px solid var(--line);
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.doctor-photo-col {
  grid-column: span 5;
}

.doctor-photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(43, 37, 34, 0.08);
  border: 1px solid var(--line);
}

.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-text-col {
  grid-column: span 7;
}

.doctor-bio-body {
  margin-block: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   12 OUTCOME / CLARITY SECTION
   ========================================================================== */
.outcome-section {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.outcome-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(43, 37, 34, 0.03);
}

.outcome-item h3 {
  color: var(--accent);
}

/* ==========================================================================
   13 FAQ SECTION
   ========================================================================== */
.faq-section {
  background-color: var(--page);
}

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  margin-block: 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding-block: 0.25rem;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.85rem 1.35rem;
  background: none;
  border: none;
  text-align: right;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 520;
  color: var(--ink);
  cursor: pointer;
  gap: 1.5rem;
  transition: color 0.25s ease;
}

.faq-trigger:hover {
  color: var(--accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--accent);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  visibility: hidden;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s ease;
}

.faq-panel[aria-hidden="false"] {
  grid-template-rows: 1fr;
  visibility: visible;
}

.faq-panel-inner {
  min-height: 0;
  overflow: hidden;
  padding-top: 0.25rem;
  padding-bottom: 2rem;
  padding-inline: 0.25rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 2;
}

/* ==========================================================================
   14 CONTACT SECTION & FORM
   ========================================================================== */
.contact-section {
  background-color: var(--ink);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3.5rem;
}

.contact-info-col {
  grid-column: span 5;
}

.contact-info-col h2 {
  color: var(--white);
}

.contact-form-col {
  grid-column: span 7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--blush-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label-optional {
  font-size: 0.8rem;
  color: var(--soft-text);
}

.form-input,
.form-textarea {
  width: 100%;
  height: 56px;
  padding-inline: 16px;
  background-color: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.25s ease, outline 0.25s ease;
}

.form-textarea {
  min-height: 130px;
  padding-block: 16px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(154, 84, 75, 0.25);
}

/* Custom Radio Chips */
.radio-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.radio-chip-option {
  position: relative;
}

.radio-chip-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-chip-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background-color: rgba(255, 253, 252, 0.08);
  color: var(--paper);
  border: 1px solid rgba(216, 206, 197, 0.25);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.radio-chip-option input[type="radio"]:checked + .radio-chip-label {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.radio-chip-option input[type="radio"]:focus-visible + .radio-chip-label {
  outline: 2px solid var(--blush);
}

.field-error-msg {
  font-size: 0.825rem;
  color: #E28983;
  margin-top: 0.25rem;
  display: none;
}

.form-group.has-error .field-error-msg {
  display: block;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
  border-color: #E28983;
}

.form-privacy-note {
  font-size: 0.825rem;
  color: var(--soft-text);
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* ==========================================================================
   15 FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 56px;
  height: 56px;
  background-color: var(--ink);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(43, 37, 34, 0.22);
  z-index: 990;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-whatsapp:hover {
  background-color: var(--accent);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 34px rgba(154, 84, 75, 0.35);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   16 FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--warm-surface);
  padding-block: 80px 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-col {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-details-col {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.medical-disclaimer {
  max-width: 900px;
  line-height: 1.7;
}

/* ==========================================================================
   17 MOTION & INTERSECTION ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Load Sequence */
.header-animate {
  animation: fadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.eyebrow-animate {
  animation: fadeInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.h1-line-1 {
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}
.h1-line-2 {
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}
.h1-line-3 {
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.38s forwards;
}

.hero-image-animate {
  animation: clipReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-body-animate {
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes clipReveal {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1);
  }
}

/* ==========================================================================
   18 MEDIA QUERIES & RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1023px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-trigger {
    display: flex;
  }
  .hero-grid,
  .connection-grid,
  .doctor-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-content,
  .hero-media,
  .connection-text,
  .connection-quote-col,
  .doctor-photo-col,
  .doctor-text-col,
  .contact-info-col,
  .contact-form-col {
    grid-column: span 1;
  }
  .steps-timeline {
    grid-template-columns: 1fr;
  }
  .outcome-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand-col,
  .footer-links-col,
  .footer-details-col {
    grid-column: span 1;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height-desktop: 72px;
  }
  .site-header {
    height: var(--header-height-mobile);
  }
  .floating-whatsapp {
    bottom: 18px;
    left: 18px;
  }
  .concern-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .visual-break-card {
    padding: 1.75rem;
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
