/* ============================================================
   Evergreen Clinic — Main Stylesheet
   Edit variables in :root to retheme the entire site
   ============================================================ */

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

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --navy:   #0B2340;
  --teal:   #1A6B6B;
  --teal-dark: #155858;
  --mint:   #E8F4F0;
  --cream:  #FAF8F4;
  --accent: #C8A96E;
  --accent-light: #d4b87e;
  --text:   #1A1A2E;
  --muted:  #6B7280;
  --white:  #FFFFFF;
  --light:  #F0F4F8;
  --border: rgba(11,35,64,0.08);
  --shadow: 0 4px 24px rgba(11,35,64,0.10);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 300; }

/* ── Utilities ───────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 2rem; }
.section-label {
  font-size: 11px; letter-spacing: 0.15em; color: var(--teal);
  font-weight: 500; text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-title { font-size: 38px; color: var(--navy); line-height: 1.2; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 540px; font-weight: 300; }

.btn-primary {
  background: var(--accent); color: var(--navy);
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 15px; display: inline-block;
  transition: background 0.2s, transform 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: #fff;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 400; font-size: 15px; display: inline-block;
  border: 1px solid rgba(255,255,255,0.3); transition: background 0.2s; cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

.btn-teal {
  background: var(--teal); color: #fff;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 15px; display: inline-block;
  transition: background 0.2s, transform 0.2s; border: none; cursor: pointer;
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); }

.scroll-fade { opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; }
.scroll-fade.visible { opacity: 1; transform: none; }

/* ── Notice Bar ──────────────────────────────────────────── */
.notice-bar {
  background: var(--teal);
  padding: 10px 2rem;
  text-align: center;
}
.notice-bar p { color: #fff; font-size: 13px; font-weight: 400; }
.notice-bar a { color: var(--accent); font-weight: 500; }
.notice-bar a:hover { text-decoration: underline; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 2rem;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 36px; height: 36px; background: var(--teal);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; }
.logo-name { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 400; color: var(--navy); }
.logo-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; font-weight: 300; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--teal) !important; color: #fff !important;
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-size: 14px !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); margin: 5px 0; transition: all 0.3s;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--navy); min-height: 88vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 4rem 2rem;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-circle { position: absolute; border-radius: 50%; opacity: 0.06; }
.hero-c1 { width: 600px; height: 600px; background: #1A6B6B; right: -100px; top: -150px; }
.hero-c2 { width: 400px; height: 400px; background: var(--accent); left: -80px; bottom: -100px; }
.hero-c3 { width: 200px; height: 200px; background: #fff; right: 200px; bottom: 100px; }
.hero-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,169,110,0.2); border: 1px solid rgba(200,169,110,0.4);
  color: var(--accent); font-size: 12px; letter-spacing: 0.1em;
  font-weight: 500; padding: 6px 14px; border-radius: 100px; margin-bottom: 1.5rem;
}
.hero-dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { font-size: 52px; line-height: 1.15; color: #fff; margin-bottom: 1.5rem; font-weight: 300; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.7; margin-bottom: 2rem; font-weight: 300; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-right { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 1.25rem; text-align: center;
}
.hero-stat-num { font-family: 'Fraunces', serif; font-size: 32px; color: #fff; font-weight: 300; line-height: 1; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 6px; letter-spacing: 0.05em; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl); padding: 2rem;
}
.hero-card-title { color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 0.12em; margin-bottom: 1rem; font-weight: 500; }
.timeslot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.timeslot {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm); padding: 8px; text-align: center;
  color: rgba(255,255,255,0.7); font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.timeslot:hover, .timeslot.active { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ── Ribbon ──────────────────────────────────────────────── */
.ribbon {
  background: var(--mint);
  border-top: 1px solid rgba(26,107,107,0.15);
  padding: 1rem 2rem;
}
.ribbon-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap;
}
.ribbon-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--teal); font-weight: 500; }
.ribbon-item i { font-size: 16px; }

/* ── Services ────────────────────────────────────────────── */
.services { background: var(--white); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.services-header a { color: var(--teal); font-size: 14px; font-weight: 500; }
.services-header a:hover { text-decoration: underline; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.service-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid var(--border); transition: all 0.25s;
  cursor: pointer; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--teal); transform: scaleX(0); transition: transform 0.25s; transform-origin: left;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--mint); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; font-size: 24px; color: var(--teal);
}
.service-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 0.75rem; font-weight: 400; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 300; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 1rem; font-size: 13px; color: var(--teal); font-weight: 500;
}
.service-link:hover { text-decoration: underline; }

/* ── Providers ───────────────────────────────────────────── */
.providers { background: var(--navy); padding: 5rem 2rem; }
.providers .section-label { color: var(--accent); }
.providers .section-title { color: #fff; }
.providers .section-sub { color: rgba(255,255,255,0.5); }
.providers-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 0.5rem; }
.providers-header a { color: var(--accent); font-size: 14px; font-weight: 500; }
.providers-header a:hover { text-decoration: underline; }
.providers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }

.provider-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.25s; cursor: pointer;
}
.provider-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); }
.provider-avatar {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 52px; font-weight: 300; position: relative;
}
.prov-a1 { background: linear-gradient(135deg,#1A4040,#0B6B5C); }
.prov-a2 { background: linear-gradient(135deg,#1A2A40,#0B3D6B); }
.prov-a3 { background: linear-gradient(135deg,#3D1A40,#6B0B4A); }
.prov-a4 { background: linear-gradient(135deg,#403A1A,#6B590B); }
.prov-initials { color: rgba(255,255,255,0.4); font-size: 52px; }
.provider-info { padding: 1.25rem; }
.provider-name { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 2px; }
.provider-title { color: rgba(255,255,255,0.45); font-size: 12px; margin-bottom: 0.75rem; font-weight: 300; }
.provider-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: rgba(26,107,107,0.3); color: rgba(255,255,255,0.7);
  font-size: 11px; padding: 3px 10px; border-radius: 100px; font-weight: 400;
}
.provider-card:hover .tag { background: rgba(26,107,107,0.5); }

/* ── Location ────────────────────────────────────────────── */
.location { background: var(--white); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.loc-map {
  background: var(--light); border-radius: var(--radius-xl); overflow: hidden;
  height: 400px; border: 1px solid var(--border); position: relative;
}
.map-placeholder {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  background: linear-gradient(135deg,#E8F4F0,#D0E8E0);
}
.map-placeholder i { font-size: 56px; color: var(--teal); }
.map-label { color: var(--teal); font-weight: 500; font-size: 15px; }
.map-sub { color: var(--muted); font-size: 13px; }
/* Replace .map-placeholder with a real <iframe> for Google Maps embed */

.loc-address { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 2rem; font-weight: 300; }

.hours-block { background: var(--mint); border-radius: 14px; padding: 1.5rem; margin-bottom: 1.5rem; }
.hours-title { font-size: 13px; letter-spacing: 0.1em; color: var(--teal); font-weight: 500; margin-bottom: 1rem; }
.hours-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid rgba(26,107,107,0.12); font-size: 14px;
}
.hours-row:last-child { border: none; }
.hours-day { color: var(--navy); font-weight: 400; }
.hours-time { color: var(--muted); font-weight: 300; }
.hours-time.open { color: var(--teal); font-weight: 500; }

.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--light);
  border-radius: var(--radius-md); transition: background 0.2s;
}
.contact-item:hover { background: var(--mint); }
.contact-item-icon {
  width: 38px; height: 38px; background: var(--teal);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-icon i { color: #fff; font-size: 18px; }
.contact-item-label { font-size: 12px; color: var(--muted); font-weight: 300; }
.contact-item-value { font-size: 14px; color: var(--navy); font-weight: 500; }

/* ── Patient Resources ───────────────────────────────────── */
.patient-resources { background: var(--cream); }
.patient-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 3rem; }
.patient-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid var(--border); display: flex; gap: 1.25rem; align-items: flex-start;
  transition: box-shadow 0.2s;
}
.patient-card:hover { box-shadow: var(--shadow); }
.patient-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--mint); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px; color: var(--teal);
}
.patient-card h4 { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.patient-card p { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 300; }
.patient-card a { color: var(--teal); font-size: 13px; font-weight: 500; margin-top: 8px; display: inline-block; }
.patient-card a:hover { text-decoration: underline; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials { background: var(--navy); padding: 5rem 2rem; }
.testimonials .section-label { color: var(--accent); }
.testimonials .section-title { color: #fff; }
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.test-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: background 0.2s;
}
.test-card:hover { background: rgba(255,255,255,0.08); }
.stars { color: var(--accent); font-size: 14px; margin-bottom: 1rem; letter-spacing: 2px; }
.test-text { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.7; font-weight: 300; margin-bottom: 1.25rem; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 10px; }
.test-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff; font-weight: 500; flex-shrink: 0;
}
.test-name { color: #fff; font-size: 13px; font-weight: 500; }
.test-since { color: rgba(255,255,255,0.4); font-size: 12px; font-weight: 300; }

/* ── Insurance ───────────────────────────────────────────── */
.insurance { background: var(--white); padding: 5rem 2rem; }
.insurance .section-inner { text-align: center; }
.insurance .section-title { font-size: 32px; }
.ins-sub { color: var(--muted); font-size: 15px; margin-top: 0.5rem; font-weight: 300; }
.ins-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }
.ins-badge {
  background: var(--light); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 24px; font-size: 13px; font-weight: 500; color: var(--navy);
  transition: background 0.2s;
}
.ins-badge:hover { background: var(--mint); }

/* ── Appointment Banner ──────────────────────────────────── */
.appt-banner {
  background: linear-gradient(135deg, var(--teal), #0B4040);
  padding: 4rem 2rem; text-align: center;
}
.appt-banner h2 { font-size: 40px; color: #fff; margin-bottom: 1rem; font-weight: 300; }
.appt-banner h2 em { font-style: italic; color: var(--accent); }
.appt-banner p { color: rgba(255,255,255,0.65); font-size: 16px; margin-bottom: 2rem; font-weight: 300; }
.appt-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 4rem 2rem 2rem; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo { font-family: 'Fraunces', serif; font-size: 22px; color: #fff; margin-bottom: 1rem; font-weight: 300; }
.footer-desc { font-size: 13px; line-height: 1.7; font-weight: 300; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s; text-decoration: none;
}
.social-btn:hover { background: var(--teal); }
.social-btn i { color: rgba(255,255,255,0.7); font-size: 16px; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; color: #fff; margin-bottom: 1.25rem; letter-spacing: 0.05em; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 300; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom-text { font-size: 12px; font-weight: 300; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); font-size: 12px; font-weight: 300; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ── Mobile Nav ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 0; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 2rem; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border: none; margin: 1rem 2rem; text-align: center; }
  .nav { position: relative; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .providers-grid { grid-template-columns: repeat(2,1fr); }
  .loc-grid { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section-title { font-size: 28px; }
  .hero h1 { font-size: 36px; }
  .services-grid, .patient-grid { grid-template-columns: 1fr; }
  .providers-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .appt-banner h2 { font-size: 28px; }
}
