/* Occupational therapy landing page — editable starter styles */
:root {
  --blue-900: #1e4f91;
  --blue-800: #245fae;
  --blue-700: #2d78dc;
  --blue-600: #3d88ed;
  --blue-100: #eaf4ff;
  --ink: #254f84;
  --muted: #6482a9;
  --paper: #ffffff;
  --soft: #f3f8ff;
  --font: "Vazirmatn", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.9;
}
a { text-decoration: none; }
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: white;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; line-height: 1.25; }
.brand:hover { color: white; }

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.8); border-radius: 50% 50% 50% 8px;
  font-size: 27px; transform: rotate(-8deg);
}
.brand strong { display: block; font-size: 17px; font-weight: 800; }
.brand small { display: block; font-size: 10px; opacity: .78; margin-top: 3px; }
.site-header .nav-link { color: rgba(255,255,255,.82); font-size: 13px; padding: .65rem .9rem !important; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: white; }
.site-header .nav-link.active::after { content: ""; display: block; width: 22px; height: 2px; margin: 7px auto -9px; background: white; }
.header-cta, .primary-cta {
  color: var(--blue-700); border: 0; border-radius: 999px; padding: 11px 22px;
  font-size: 13px; font-weight: 600; box-shadow: 0 8px 25px rgba(23,76,150,.12);
}
.header-cta:hover, .primary-cta:hover { background: #eaf4ff; color: var(--blue-900); }
.header-cta span, .primary-cta span { margin-right: 8px; font-size: 16px; }
.nav-toggle { border-color: rgba(255,255,255,.5); }
.nav-toggle .navbar-toggler-icon { filter: brightness(0) invert(1); }
.hero-section {
  position: relative; overflow: hidden; color: white;
  min-height: 630px;
  background: linear-gradient(118deg, #397fdf 0%, #4a91ed 56%, #3b82df 100%);
  display: flex; align-items: stretch;
}
.hero-content { position: relative; z-index: 2; padding-top: 100px; }
.hero-copy { padding: 40px 5% 65px 4%; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; margin-bottom: 18px; }
.eyebrow span { width: 30px; height: 2px; background: rgba(255,255,255,.85); }
.hero-copy h1 { font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.5; font-weight: 800; letter-spacing: -.7px; margin: 0 0 18px; }
.hero-copy h1 em { color: #b8e2ff; font-style: normal; }
.hero-description { max-width: 500px; color: rgba(255,255,255,.91); font-size: 15px; line-height: 2.2; margin-bottom: 26px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.primary-cta { padding: 13px 26px; }
.text-link { color: white; font-size: 13px; font-weight: 500; }
.text-link:hover { color: #d8ecff; }
.text-link span { margin-right: 7px; }
.hero-note { margin-top: 36px; color: rgba(255,255,255,.8); font-size: 11px; display: flex; align-items: center; gap: 9px; }
.note-dot { width: 7px; height: 7px; border-radius: 50%; background: #b7e3ff; box-shadow: 0 0 0 5px rgba(255,255,255,.12); }
.hero-visual { position: relative; min-height: 510px; align-self: end; display: flex; justify-content: center; align-items: end; }
.portrait-halo {
  position: absolute; width: min(90%, 440px); height: 330px; bottom: 0; left: 5%;
  background: rgba(151,205,255,.28); border-radius: 48% 52% 0 0 / 48% 46% 0 0;
}
.therapist-portrait {
  position: relative; z-index: 1; display: block; width: min(100%, 455px); max-height: 485px;
  object-fit: contain; object-position: bottom center; filter: drop-shadow(0 16px 22px rgba(15,56,119,.13));
}
.portrait-caption {
  position: absolute; z-index: 3; bottom: 45px; right: 0; display: flex; gap: 10px; align-items: center;
  padding: 11px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 14px;
  background: rgba(255,255,255,.94); color: var(--blue-900); box-shadow: 0 12px 30px rgba(22,70,135,.12);
}
.caption-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); }
.portrait-caption strong, .portrait-caption small { display: block; line-height: 1.6; }
.portrait-caption strong { font-size: 12px; }
.portrait-caption small { font-size: 10px; color: var(--muted); }
.shape { position: absolute; pointer-events: none; background: rgba(172,216,255,.16); border-radius: 50%; }
.shape-one { width: 160px; height: 160px; top: 145px; left: -85px; }
.shape-two { width: 220px; height: 220px; top: 100px; right: -135px; }
.shape-three { width: 280px; height: 170px; bottom: 65px; left: 43%; transform: rotate(-25deg); }
.scroll-cue { position: absolute; z-index: 3; bottom: 17px; left: 50%; width: 25px; height: 38px; border: 1px solid rgba(255,255,255,.45); border-radius: 20px; display: grid; justify-items: center; padding-top: 7px; }
.scroll-cue span { width: 3px; height: 7px; background: white; border-radius: 5px; }
.section-pad { padding: 82px 0; }
.therapy-section { background: white; }
.section-heading { max-width: 760px; margin: 0 auto 42px; }
.section-kicker { display: inline-block; color: var(--blue-700); font-size: 11px; font-weight: 700; letter-spacing: .3px; margin-bottom: 7px; }
.section-heading h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; color: var(--blue-900); margin: 0 0 14px; }
.heading-dash { display: inline-block; width: 28px; height: 3px; vertical-align: middle; margin-right: 10px; background: #9bcaff; border-radius: 4px; }
.section-heading p { font-size: 14px; color: var(--muted); margin: 0 auto; max-width: 720px; line-height: 2.1; }
.service-row { max-width: 920px; margin: 0 auto; }
.service-card {
  border: 1px solid #e8f1fc; border-radius: 22px; padding: 30px 28px;
  background: linear-gradient(150deg, #fbfdff, #f5f9ff);
  box-shadow: 0 12px 32px rgba(38,98,164,.06); transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(38,98,164,.1); }
.service-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: #e1efff; margin: 0 auto 18px; }
.service-icon svg { width: 34px; height: 34px; fill: none; stroke: #3d88ed; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { text-align: center; color: var(--blue-900); font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.service-card p { text-align: center; color: var(--muted); font-size: 13px; line-height: 2; }
.service-list { list-style: none; padding: 0; margin: 18px 0 0; }
.service-list li { position: relative; padding-right: 23px; margin-top: 9px; color: #5f7ea5; font-size: 12px; }
.service-list li::before { content: "✓"; position: absolute; right: 0; color: var(--blue-700); font-weight: 800; }
.disclaimer { text-align: center; font-size: 11px; color: #8299b5; margin: 25px 0 0; }
.contact-section { background: linear-gradient(135deg, #f0f7ff 0%, #f8fbff 100%); position: relative; overflow: hidden; }
.contact-section::before, .contact-section::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; background: rgba(134,190,248,.11); }
.contact-section::before { width: 230px; height: 230px; right: -120px; top: 30px; }
.contact-section::after { width: 180px; height: 180px; left: -100px; bottom: -60px; }
.contact-section .container { position: relative; z-index: 1; }
.contact-section .section-heading { margin-bottom: 36px; }
.contact-layout { max-width: 1040px; margin: 0 auto; }
.contact-form { padding: 30px; background: rgba(255,255,255,.85); border: 1px solid #e5effb; border-radius: 22px; box-shadow: 0 14px 36px rgba(38,98,164,.06); }
.form-label { font-size: 12px; font-weight: 600; color: var(--blue-900); margin-bottom: 7px; }
.form-control, .form-select { min-height: 48px; border: 1px solid #e3edf9; border-radius: 11px; background-color: #fbfdff; color: var(--ink); font-family: var(--font); font-size: 12px; padding: 12px 14px; }
.form-control::placeholder { color: #9aafc9; }
.form-control:focus, .form-select:focus { border-color: #7bb6fa; box-shadow: 0 0 0 .2rem rgba(61,136,237,.12); background: white; }
textarea.form-control { min-height: 125px; resize: vertical; }
.optional { color: #8aa0bb; font-weight: 400; }
.form-check { display: flex; align-items: flex-start; gap: 8px; }
.form-check-input { float: none; margin: 7px 0 0 0 !important; flex: 0 0 auto; }
.form-check-label { color: #7189a7; font-size: 11px; }
.submit-btn { width: 100%; margin-top: 8px; border: 0; border-radius: 999px; padding: 13px 20px; background: linear-gradient(100deg, #397fdf, #4b92ed); font-family: var(--font); font-size: 13px; font-weight: 600; box-shadow: 0 10px 20px rgba(61,136,237,.16); }
.submit-btn:hover { background: var(--blue-900); }
.submit-btn span { margin-right: 8px; }
.form-footnote { text-align: center; color: #8aa0bb; font-size: 10px; margin: 13px 0 0; }
.contact-aside { padding-top: 8px; }
.contact-aside-card { padding: 27px 24px; border: 1px solid #e0ecfb; background: rgba(255,255,255,.68); border-radius: 20px; }
.contact-aside-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e2f0ff; color: var(--blue-700); font-size: 23px; margin-bottom: 16px; }
.contact-aside-card h3 { font-size: 16px; font-weight: 800; color: var(--blue-900); }
.contact-aside-card p { font-size: 12px; line-height: 2; color: var(--muted); }
.aside-divider { height: 1px; background: #e0ebf8; margin: 20px 0; }
.contact-mini { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; margin-top: 12px; }
.contact-mini span { color: #7e96b4; }
.contact-mini strong { color: var(--blue-900); font-weight: 600; }
.site-footer { background: linear-gradient(105deg, #3478d4, #3e83df); color: rgba(255,255,255,.85); padding: 24px 0; font-size: 11px; }
.footer-brand { color: white; font-weight: 800; font-size: 13px; }
.footer-brand span { font-weight: 400; opacity: .8; }
.site-footer p { margin: 0; }
.back-top { color: white; opacity: .9; }
.back-top:hover { color: white; opacity: 1; }

@media (max-width: 991.98px) {
  .site-header { position: absolute; }
  .site-header .navbar-collapse { margin-top: 12px; padding: 12px 16px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(35,105,197,.97); backdrop-filter: blur(12px); }
  .site-header .nav-link { padding: .55rem 0 !important; }
  .site-header .nav-link.active::after { display: none; }
  .header-cta { display: inline-block; margin-top: 8px; }
  .hero-content { padding-top: 112px; }
  .hero-section { min-height: auto; }
  .hero-copy { padding: 25px 12px 55px; text-align: center; }
  .eyebrow, .hero-actions, .hero-note { justify-content: center; }
  .hero-description { margin-right: auto; margin-left: auto; }
  .hero-visual { min-height: 350px; max-height: 430px; }
  .therapist-portrait { max-height: 420px; width: min(100%, 390px); }
  .portrait-halo { height: 250px; left: 10%; width: 80%; }
  .portrait-caption { right: 5%; bottom: 28px; }
  .shape-three { left: 20%; }
}
@media (max-width: 575.98px) {
  body { font-size: 14px; }
  .hero-content { padding-top: 94px; }
  .hero-visual { min-height: 300px; }
  .therapist-portrait { max-height: 350px; max-width: 100%; }
  .portrait-halo { height: 205px; }
  .portrait-caption { bottom: 20px; right: 0; transform: scale(.9); transform-origin: right bottom; }
  .hero-copy { padding-top: 16px; }
  .hero-copy h1 { font-size: 2rem; }
  .hero-description { font-size: 13px; }
  .hero-note { margin-top: 25px; }
  .section-pad { padding: 60px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading p { font-size: 13px; }
  .service-card { padding: 26px 22px; }
  .contact-form { padding: 20px 16px; }
  .contact-aside-card { padding: 22px 20px; }
  .site-footer { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
