/* =============================================
   virginiabeachmarijuana.clinic — Shared Stylesheet
   Medical. Clean. Trustworthy.
============================================= */

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

:root {
  --white: #ffffff;
  --off-white: #f7f8fc;
  --blue-deep: #0a2d6e;
  --blue-mid: #1a4fa0;
  --blue-light: #e8eef8;
  --blue-accent: #2563eb;
  --blue-pale: #dbeafe;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #0f172a;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(10,45,110,0.08), 0 1px 2px rgba(10,45,110,0.04);
  --shadow-md: 0 4px 16px rgba(10,45,110,0.10), 0 2px 6px rgba(10,45,110,0.06);
  --shadow-lg: 0 12px 40px rgba(10,45,110,0.14);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 38px; height: 38px; background: var(--blue-deep); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 22px; height: 22px; stroke: white; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text span:first-child { font-family: 'DM Serif Display', serif; font-size: 1.05rem; color: var(--blue-deep); letter-spacing: -0.01em; }
.logo-text span:last-child { font-size: 0.68rem; color: var(--gray-400); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--gray-600); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 2px; background: var(--blue-accent); transform: scaleX(0); transition: transform var(--transition); border-radius: 2px; }
.nav-links a:hover { color: var(--blue-deep); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue-deep); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--blue-deep); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0d3a8a 60%, #1a4fa0 100%);
  color: white;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.3) 0%, transparent 70%); pointer-events: none; }
.hero-tag { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); color: white; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 1rem; border-radius: 50px; margin-bottom: 1.5rem; }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.85); }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── STATS BAR ── */
.stats-bar { background: white; border-bottom: 1px solid var(--gray-200); padding: 1.25rem clamp(1.5rem, 5vw, 4rem); }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem; justify-content: center; }
.stat-item + .stat-item { border-left: 1px solid var(--gray-200); }
.stat-icon { width: 36px; height: 36px; background: var(--blue-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon svg { width: 18px; height: 18px; stroke: var(--blue-accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat-label { font-size: 0.8rem; color: var(--gray-400); font-weight: 500; }
.stat-value { font-size: 0.95rem; font-weight: 700; color: var(--blue-deep); line-height: 1.2; }

/* ── SECTIONS ── */
.section { padding: clamp(3.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem); }
.section-center { text-align: center; }
.section-tag { display: inline-block; background: var(--blue-pale); color: var(--blue-accent); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 50px; margin-bottom: 1rem; }
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--blue-deep); line-height: 1.2; letter-spacing: -0.02em; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-600); max-width: 540px; line-height: 1.7; margin-top: 0.75rem; }

/* ── HOW IT WORKS ── */
.steps-grid { max-width: 900px; margin: 3rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card { background: var(--off-white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; }
.step-num { width: 44px; height: 44px; background: var(--blue-deep); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin: 0 auto 1rem; }
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--blue-deep); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }

/* ── TELEHEALTH SECTION ── */
.telehealth-section { background: var(--blue-deep); color: white; padding: clamp(3.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem); }
.telehealth-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.telehealth-info .section-tag { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.2); }
.telehealth-info h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: white; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1rem; }
.telehealth-info p { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.telehealth-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.telehealth-features li { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.telehealth-features li svg { width: 18px; height: 18px; stroke: #60a5fa; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.telehealth-iframe-box { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ── FAQ ── */
.faq-section { background: var(--off-white); padding: clamp(3.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem); border-top: 1px solid var(--gray-200); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.5rem; background: none; border: none; cursor: pointer; text-align: left; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--blue-deep); gap: 1rem; }
.faq-q svg { width: 18px; height: 18px; stroke: var(--blue-accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--gray-600); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }
.faq-a a { color: var(--blue-accent); text-decoration: none; }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, var(--blue-accent), var(--blue-deep)); color: white; padding: clamp(3rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem); text-align: center; }
.cta-banner h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }

/* ── SEO SECTION ── */
.seo-section { padding: clamp(3.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem); background: var(--off-white); border-top: 1px solid var(--gray-200); }
.seo-inner { display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: start; }
.seo-content h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--blue-deep); letter-spacing: -0.02em; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid var(--blue-pale); }
.seo-content h3 { font-size: 1rem; font-weight: 600; color: var(--blue-deep); margin: 1.5rem 0 0.5rem; }
.seo-content p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 0.75rem; }
.seo-content a { color: var(--blue-accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.seo-content a:hover { border-bottom-color: var(--blue-accent); }
.seo-laws { position: sticky; top: 92px; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.seo-laws h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 1rem; }
.law-link { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.85rem 0; border-bottom: 1px solid var(--gray-200); text-decoration: none; transition: background var(--transition); }
.law-link:last-child { border-bottom: none; }
.law-link:hover .law-link-title { color: var(--blue-accent); }
.law-link-icon { width: 32px; height: 32px; background: var(--blue-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.law-link-icon svg { width: 16px; height: 16px; stroke: var(--blue-deep); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.law-link-title { display: block; font-size: 0.85rem; font-weight: 600; color: var(--blue-deep); line-height: 1.3; transition: color var(--transition); }
.law-link-sub { display: block; font-size: 0.75rem; color: var(--gray-400); margin-top: 2px; }
.law-disclaimer { margin-top: 1.25rem; padding: 1rem; background: var(--blue-pale); border-radius: var(--radius); font-size: 0.78rem; color: var(--blue-deep); line-height: 1.6; }

/* ── FOOTER ── */
footer { background: var(--blue-deep); color: rgba(255,255,255,0.75); padding: 3rem clamp(1.5rem, 5vw, 4rem) 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.footer-brand .logo-text span:first-child { color: white; }
.footer-brand .logo-text span:last-child { color: rgba(255,255,255,0.45); }
.footer-brand .logo-icon { background: rgba(255,255,255,0.12); }
.footer-brand p { margin-top: 1rem; font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-col h4 { color: white; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: white; }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.8rem 1.8rem; border-radius: 10px; font-size: 0.95rem; font-weight: 600; font-family: 'DM Sans', sans-serif; cursor: pointer; text-decoration: none; transition: all var(--transition); border: none; }
.btn-primary { background: var(--blue-deep); color: white; }
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,45,110,0.25); }
.btn-white { background: white; color: var(--blue-deep); }
.btn-white:hover { background: var(--blue-pale); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.disclosure { background: var(--blue-pale); border-left: 4px solid var(--blue-accent); padding: 1rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.85rem; color: var(--blue-deep); line-height: 1.6; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: linear-gradient(135deg, var(--blue-deep) 0%, #0d3a8a 100%); color: white; padding: clamp(3.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem); text-align: center; }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.page-hero p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* ── FOCUS ── */
:focus-visible { outline: 2px solid var(--blue-accent); outline-offset: 3px; border-radius: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) { .seo-inner { grid-template-columns: 1fr; } .seo-laws { position: static; } .telehealth-inner { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; flex-direction: column; padding: 1.5rem 2rem; border-bottom: 1px solid var(--gray-200); gap: 1.2rem; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item { border-left: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
