/* Integrative Medical Solutions — site styles */
:root {
  --brown: #4B2E22;
  --body: #5C4337;
  --muted: #6B5248;
  --sage: #9DB06A;
  --deep-sage: #5A6B2E;
  --pink: #E7A3C6;
  --cream: #FBF8F3;
  --sage-tint: #EFF3E4;
  --pink-tint: #FBEFF5;
  --line: #E8E1D6;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Lato', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--brown); background: var(--cream); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--deep-sage); }
a:hover { color: var(--brown); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-white { background: #FFFFFF; }
.bg-sage { background: var(--sage-tint); }
.bg-pink { background: var(--pink-tint); }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--deep-sage); }
.lead { font-size: 19px; line-height: 1.6; color: var(--body); }
.center { text-align: center; }
.section-head { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 38px; }
.section-head p { font-size: 18px; color: var(--body); }
.fine { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 15px 26px; border-radius: 999px; font-size: 17px; line-height: 1.2; }
.btn-dark { background: var(--brown); color: #FFFFFF; }
.btn-dark:hover { background: #3A2219; color: #FFFFFF; }
.btn-light { background: #FFFFFF; color: var(--brown); }
.btn-light:hover { background: var(--pink-tint); color: var(--brown); }
.btn-sage { background: var(--sage); color: #2E1B13; }
.btn-sage:hover { background: #8AA057; color: #2E1B13; }
.btn-outline { border: 2px solid var(--sage); color: var(--brown); padding: 11px 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; max-width: 1200px; margin: 0 auto; }
.logo img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: 16px; }
.nav a { text-decoration: none; color: var(--brown); }
.nav a.active { text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav .btn-dark { color: #FFFFFF; padding: 12px 20px; font-size: 16px; }
.menu-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; color: var(--brown); }
.menu-toggle svg { display: block; }

@media (max-width: 960px) {
  .logo img { height: 52px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; text-align: center; border-bottom: 0; }
  .nav a.btn-outline { border: 2px solid var(--sage); }
}

/* Hero */
.hero { background: var(--sage-tint); overflow: hidden; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 88px 24px; max-width: 1200px; margin: 0 auto; }
.hero-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 24px; }
.hero-text h1 { font-size: 54px; line-height: 1.12; }
.hero-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.ring-outer { width: min(380px, 100%); aspect-ratio: 1 / 1; border-radius: 50%; border: 14px dotted var(--sage); display: flex; align-items: center; justify-content: center; }
.ring-inner { width: 78%; height: 78%; border-radius: 50%; border: 6px dotted var(--pink); display: flex; align-items: center; justify-content: center; }
.ring-inner img { width: 88%; height: 88%; border-radius: 50%; object-fit: cover; object-position: 62% center; }

.page-hero { background: var(--sage-tint); padding: 72px 0; text-align: center; }
.page-hero .narrow { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.page-hero h1 { font-size: 48px; }

/* Services (home) */
.service-dots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px 40px; }
.service-dot { text-decoration: none; color: var(--brown); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.service-dot .ring { width: 96px; height: 96px; border-radius: 50%; border: 7px dotted var(--sage); display: flex; align-items: center; justify-content: center; }
.service-dot .ring span { width: 48px; height: 48px; border-radius: 50%; background: var(--sage-tint); }
.service-dot.pink .ring { border-color: var(--pink); }
.service-dot.pink .ring span { background: var(--pink-tint); }
.service-dot strong { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.service-dot span.blurb { font-size: 16px; line-height: 1.55; color: var(--body); max-width: 320px; }
.service-dot:hover strong { text-decoration: underline; text-decoration-color: var(--sage); }

/* Why */
.why { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.why-intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.why-intro h2 { font-size: 38px; }
.why-intro p { font-size: 18px; line-height: 1.6; color: var(--body); }
.why-cards { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.card { background: #FFFFFF; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card strong { font-family: var(--serif); font-weight: 600; font-size: 20px; }
.card span { font-size: 16px; line-height: 1.55; color: var(--body); }

/* Providers */
.providers-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.providers-head h2 { font-size: 38px; }
.provider-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.provider { background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.provider img { width: 100%; height: 280px; object-fit: cover; object-position: center top; background: var(--pink-tint); }
.provider div { padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.provider strong { font-family: var(--serif); font-weight: 600; font-size: 21px; }
.provider span { font-size: 15px; font-weight: 700; color: var(--deep-sage); }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 28px; }
.review { margin: 0; background: #FFFFFF; border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.stars { font-size: 20px; letter-spacing: 3px; color: var(--deep-sage); }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.6; color: var(--brown); }
.review figcaption { font-size: 15px; font-weight: 700; color: var(--deep-sage); }
.review a { margin-top: auto; font-size: 15px; font-weight: 700; }

/* CTA band */
.cta { background: var(--brown); color: #FFFFFF; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { font-size: 28px; }
.cta p { font-size: 17px; color: #F1E8E2; margin-top: 6px; }

/* About */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 44px; padding: 8px 24px 72px; max-width: 1000px; margin: 0 auto; }
.team figure { margin: 0; width: 240px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.team .photo { width: 200px; height: 200px; border-radius: 50%; border: 6px dotted var(--sage); padding: 6px; }
.team .photo.pink { border-color: var(--pink); }
.team .photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center top; background: #FFFFFF; }
.team figcaption strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 22px; }
.team figcaption span { font-size: 15px; font-weight: 700; color: var(--deep-sage); }
.story { display: flex; flex-direction: column; gap: 24px; font-size: 18px; line-height: 1.75; color: var(--body); }
.story .intro { font-family: var(--serif); font-size: 24px; line-height: 1.6; color: var(--brown); }
.story .smile { margin-top: 16px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--brown); }

/* Services page */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 28px; }
.service-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.service-card .title { display: flex; align-items: center; gap: 12px; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--sage); flex: 0 0 auto; }
.dot.pink { background: var(--pink); }
.service-card h2 { font-size: 26px; }
.service-card p { font-size: 17px; line-height: 1.65; color: var(--body); }
.service-card ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.8; color: var(--body); }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.contact-info { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.info-box { background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.6; }
.info-box h3 { font-family: var(--sans); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--deep-sage); }
.portal-box { background: var(--sage-tint); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.portal-box h3 { font-size: 22px; }
.portal-box p { font-size: 16px; line-height: 1.6; color: var(--body); }
.contact-form { flex: 1 1 440px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-form h2 { font-size: 28px; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field-row label { flex: 1 1 180px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #CFC5B8; border-radius: 10px; background: #FFFFFF; color: var(--brown); }
.contact-form textarea { resize: vertical; }
.contact-form button { align-self: flex-start; font: inherit; font-weight: 700; font-size: 17px; background: var(--brown); color: #FFFFFF; border: 0; padding: 14px 28px; border-radius: 999px; cursor: pointer; }
.contact-form button:hover { background: #3A2219; }
.hidden { position: absolute; left: -9999px; }
.map { border: 0; width: 100%; height: 380px; border-radius: 20px; display: block; }

/* Footer */
.site-footer { background: #FFFFFF; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; font-size: 15px; line-height: 1.7; color: var(--body); }
.site-footer div div { display: flex; flex-direction: column; }
.site-footer strong { color: var(--brown); }
.copyright { font-size: 13px; color: var(--muted); text-align: center; padding: 0 24px 28px; }

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero-inner { padding: 56px 24px; }
  .hero-text h1 { font-size: 40px; }
  .ring-outer { width: min(300px, 100%); border-width: 11px; }
  .page-hero h1 { font-size: 36px; }
  .section-head h2, .why-intro h2, .providers-head h2 { font-size: 32px; }
  .story .intro { font-size: 21px; }
  .info-box, .contact-form, .service-card { padding: 24px; }
}
