/* ====================================================
   Dr. Maryam — Clean Standalone Website
   Colors matched to original Squarespace theme
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
  --deep:     #1e1127;   /* nav, footer, header bg — original #1e1127 */
  --purple:   #522e6b;   /* pre-footer, accent sections — original #522e6b */
  --teal:     #27b0ab;   /* links, accents, dividers — original #27b0ab */
  --teal-lt:  rgba(39,176,171,0.16); /* light teal wash */
  --teal-mid: rgba(39,176,171,0.31); /* teal borders */
  --cream:    #f9f7f4;   /* page background */
  --warm:     #f3f0eb;   /* alternate section bg */
  --text:     #4a4a4a;   /* heading color */
  --muted:    rgba(0,0,0,0.6); /* body text */
  --border:   #e4e4e4;   /* borders */
  --white:    #ffffff;
  --shadow:   rgba(30,17,39,0.12);
  --nav-h:    72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Raleway', Arial, sans-serif;
  background: var(--cream);
  color: var(--muted);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--purple); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; }
p  { font-size: 1rem; }

/* ── Nav ── */
.site-nav {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--nav-h);
  background: var(--deep);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
}
.nav-logo {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex; flex-direction: column; line-height: 1.15;
}
.nav-logo span {
  font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: 'Raleway', Arial, sans-serif; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); font-weight: 600;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.6rem; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: var(--deep); min-width: 160px;
  border-top: 2px solid var(--teal);
  padding: 0.5rem 0;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 0.5rem 1.2rem;
  font-size: 0.75rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.75);
}
.dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-book {
  background: var(--teal) !important; color: var(--white) !important;
  padding: 0.5rem 1.3rem; font-weight: 600 !important;
  letter-spacing: 0.08em !important; transition: background .2s !important;
}
.nav-book:hover { background: #1e9691 !important; }

/* Mobile nav */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px;
  background: var(--white); transition: .3s; }
.mobile-nav-open .nav-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
.mobile-nav-open .nav-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; width: 100%;
  background: rgba(30,17,39,0.97); padding: 1.5rem 5% 2rem; z-index: 999;
  flex-direction: column; gap: 0.8rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Raleway', Arial, sans-serif; font-weight: 600;
}
.mobile-nav a:hover { color: var(--white); }
.mobile-nav a:last-child { border-bottom: none; }

/* ── Page top spacing ── */
.page-top { padding-top: var(--nav-h); }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--deep);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,17,39,0.55) 0%, rgba(30,17,39,0.25) 50%, rgba(30,17,39,0.65) 100%);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; opacity: 0.6;
}
.hero-content {
  position: relative; z-index: 2; max-width: 780px; padding: 2rem;
}
.hero-tag {
  display: inline-block; font-family: 'Raleway', Arial, sans-serif;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.4rem;
  border: 1px solid rgba(39,176,171,0.4); padding: 0.35rem 1.1rem;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.2rem; font-weight: 400;
  letter-spacing: 0.01em; }
.hero-content h1 strong { font-weight: 700; }
.hero-content p { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-bottom: 2.2rem;
  max-width: 520px; margin-inline: auto; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 0.85rem 2.4rem;
  font-family: 'Raleway', Arial, sans-serif; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  transition: all .22s; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--teal); color: var(--white);
}
.btn-primary:hover { background: #1e9691; color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(39,176,171,0.35); }
.btn-outline {
  border: 2px solid var(--white); color: var(--white); background: transparent;
}
.btn-outline:hover { background: var(--white); color: var(--deep); }
.btn-outline-dark {
  border: 2px solid var(--deep); color: var(--deep); background: transparent;
}
.btn-outline-dark:hover { background: var(--deep); color: var(--white); }
.btn-purple {
  background: var(--purple); color: var(--white);
}
.btn-purple:hover { background: #3d1f52; color: var(--white); }

/* ── Section Basics ── */
.section { padding: 6rem 5%; }
.section-sm { padding: 4rem 5%; }
.container { max-width: 1160px; margin: 0 auto; }
.section-label {
  font-family: 'Raleway', Arial, sans-serif; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 0.7rem;
}
.section-title { margin-bottom: 1.2rem; color: var(--text); }
.section-lead { font-size: 1.05rem; max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-lead { margin-inline: auto; }
.divider {
  width: 50px; height: 2px;
  background: var(--teal);
  margin: 1rem 0 2rem;
}
.divider.center { margin-inline: auto; }

/* ── Two-col layout ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.reverse .col-img { order: -1; }

/* ── Cards ── */
.card-grid { display: grid; gap: 2rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: var(--white); padding: 2rem 1.8rem;
  border-top: 3px solid var(--teal);
  transition: transform .28s, box-shadow .28s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--shadow); }
.service-card h3 { color: var(--text); margin-bottom: 0.8rem; font-size: 1.1rem; }

/* ── Quote ── */
.quote-section {
  background: var(--deep); color: var(--white);
  padding: 6rem 5%; text-align: center; position: relative; overflow: hidden;
}
.quote-section::before {
  content: '"'; position: absolute; top: -3rem; left: 50%; transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif; font-size: 16rem;
  color: rgba(39,176,171,0.08); line-height: 1; pointer-events: none;
}
.quote-section blockquote {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 400;
  max-width: 760px; margin: 0 auto 1.4rem;
  line-height: 1.55; color: var(--white);
  border-left: none; padding: 0;
}
.quote-section cite {
  font-family: 'Raleway', Arial, sans-serif; font-size: 0.75rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal);
}

/* ── Alt backgrounds ── */
.bg-warm { background: var(--warm); }
.bg-teal-lt { background: var(--teal-lt); }
.bg-purple { background: var(--purple); color: var(--white); }
.bg-purple h2, .bg-purple h3 { color: var(--white); }
.bg-purple p { color: rgba(255,255,255,0.82); }
.bg-deep { background: var(--deep); color: var(--white); }
.bg-deep h2, .bg-deep h3 { color: var(--white); }
.bg-deep p { color: rgba(255,255,255,0.7); }
.bg-deep .section-label { color: var(--teal); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--deep);
  padding: 7rem 5% 4rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--teal), var(--purple));
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.7); max-width: 560px; margin-inline: auto; font-size: 1.05rem; }
.page-hero .section-label { color: var(--teal); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.6rem 0; }
.faq-question {
  display: flex; justify-content: space-between; align-items: start;
  cursor: pointer; gap: 1rem;
}
.faq-question h3 { font-size: 1.05rem; color: var(--text); font-weight: 600;
  font-family: 'Raleway', Arial, sans-serif; line-height: 1.35; }
.faq-toggle {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--teal); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--teal); transition: .25s; line-height: 1; margin-top: 2px;
}
.faq-item.open .faq-toggle { background: var(--teal); color: var(--white); transform: rotate(45deg); }
.faq-answer { display: none; padding-top: 1rem; }
.faq-answer p, .faq-answer li { font-size: 0.97rem; }
.faq-item.open .faq-answer { display: block; }
.faq-list-inner { padding-left: 1.2rem; }
.faq-list-inner li { margin-bottom: 0.6rem; position: relative; }
.faq-list-inner li::before { content: '—'; position: absolute; left: -1.2rem; color: var(--teal); }

/* ── Conditions list ── */
.conditions-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.7rem;
}
.condition-tag {
  background: var(--white); border-left: 3px solid var(--teal);
  padding: 0.6rem 1rem; font-size: 0.9rem; color: var(--text);
}

/* ── Contact form ── */
.contact-form { max-width: 680px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.4rem; display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.73rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.4rem;
  font-family: 'Raleway', Arial, sans-serif; font-weight: 600;
}
.form-group input, .form-group select, .form-group textarea {
  font-family: 'Raleway', Arial, sans-serif; font-size: 1rem;
  border: 1px solid #ccc; background: #fafafa;
  padding: 0.85rem 1rem; color: var(--text);
  outline: none; transition: border-color .2s, background .2s;
  -webkit-appearance: none; border-radius: 2px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); background: var(--white);
  box-shadow: 0 0 0 3px rgba(39,176,171,0.12);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2327b0ab' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  background-color: #fafafa; padding-right: 2.5rem;
}
.form-notice {
  font-size: 0.9rem; background: var(--teal-lt);
  border-left: 3px solid var(--teal);
  padding: 1rem 1.4rem; margin-bottom: 2rem;
}
.form-notice a { color: var(--purple); text-decoration: underline; }
.form-success {
  display: none; background: #e8f6f5; border-left: 3px solid var(--teal);
  padding: 1.2rem 1.4rem; margin-top: 1rem; color: var(--text); font-size: 0.95rem;
}

/* ── Info strip ── */
.info-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--border);
}
.info-card {
  padding: 2.5rem 2rem; border-right: 1px solid var(--border); text-align: center;
}
.info-card:last-child { border-right: none; }
.info-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.info-card h4 { color: var(--text); font-size: 1rem; margin-bottom: 0.4rem;
  font-family: 'Raleway', Arial, sans-serif; font-weight: 600; }
.info-card a { color: var(--teal); }

/* ── Footer ── */
.site-footer {
  background: var(--deep); color: rgba(255,255,255,0.7);
  padding: 3.5rem 5% 2rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Raleway', Arial, sans-serif; font-size: 1.3rem;
  font-weight: 700; color: var(--white);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.footer-tag {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 2rem;
}
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  margin-bottom: 2rem; }
.footer-links a {
  font-size: 0.73rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); transition: color .2s;
  font-family: 'Raleway', Arial, sans-serif; font-weight: 500;
}
.footer-links a:hover { color: var(--white); }
.footer-contact { margin-bottom: 2rem; }
.footer-contact a { color: rgba(255,255,255,0.7); transition: color .2s; }
.footer-contact a:hover { color: var(--white); }
.footer-social { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; }
.social-btn {
  width: 36px; height: 36px; border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: .22s;
  font-family: 'Raleway', Arial, sans-serif; font-weight: 700;
}
.social-btn:hover { border-color: var(--teal); color: var(--teal); background: rgba(39,176,171,0.08); }
.footer-copy {
  font-size: 0.73rem; color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  font-family: 'Raleway', Arial, sans-serif; letter-spacing: 0.06em;
}

/* ── CTA strip ── */
.cta-strip {
  background: var(--purple); padding: 3.5rem 5%;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-strip p  { color: rgba(255,255,255,0.8); margin-bottom: 1.8rem; }
.cta-strip .btn-outline { border-color: var(--white); color: var(--white); }
.cta-strip .btn-outline:hover { background: var(--white); color: var(--purple); }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step { text-align: center; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 300; color: var(--teal); line-height: 1;
  margin-bottom: 0.8rem; opacity: 0.55;
}
.step h3 { color: var(--text); margin-bottom: 0.6rem; font-size: 1.1rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .info-strip { grid-template-columns: 1fr; }
  .info-card { border-right: none; border-bottom: 1px solid var(--border); }
  .info-card:last-child { border-bottom: none; }
  .steps { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .section { padding: 4rem 5%; }
}
