/* ==========================================================================
   Florida Medical Marijuana Card - Dr. Nader Abdallah
   ========================================================================== */

:root {
  --green-900: #0f3d2e;
  --green-800: #14513e;
  --green-700: #1c6b4f;
  --green-600: #248260;
  --green-500: #2fa172;
  --green-100: #e5f4ec;
  --green-50:  #f3faf6;
  --gold-500:  #c99a3e;
  --gold-600:  #b3852c;
  --ink-900:   #1a2420;
  --ink-700:   #3d4b44;
  --ink-500:   #66756e;
  --cream:     #fbf9f4;
  --white:     #ffffff;
  --border:    #e1e8e2;
  --shadow:    0 10px 30px rgba(15, 61, 46, 0.10);
  --shadow-sm: 0 2px 10px rgba(15, 61, 46, 0.08);
  --radius:    14px;
  --max-width: 1180px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--green-900);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; color: var(--ink-700); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.eyebrow svg { width: 14px; height: 14px; fill: var(--green-700); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--green-900);
  box-shadow: 0 8px 20px rgba(201, 154, 62, 0.35);
}
.btn-primary:hover { background: var(--gold-600); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-dark {
  background: var(--green-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--green-800); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-900);
  color: #d9e9df;
  font-size: 0.85rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: #f2e6c9; font-weight: 600; }
.topbar .topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .topbar-links span, .topbar .topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-900);
}
.logo svg { width: 34px; height: 34px; }
.logo .logo-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-700);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-700); border-color: var(--gold-500); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 700; color: var(--green-800); display: flex; align-items: center; gap: 8px; }
.nav-phone svg { width: 18px; height: 18px; fill: var(--green-700); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle svg { width: 26px; height: 26px; fill: var(--green-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15,61,46,0.94) 20%, rgba(15,61,46,0.75) 55%, rgba(20,81,62,0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 100px 24px 90px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-content { max-width: 620px; }
.hero .eyebrow { background: rgba(255,255,255,0.14); color: #f4ecd8; }
.hero .eyebrow svg { fill: var(--gold-500); }
.hero h1 { color: var(--white); }
.hero p.lead { color: #e6efe9; font-size: 1.12rem; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-trust {
  display: flex;
  gap: 26px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--gold-500); }
.hero-trust span { font-size: 0.82rem; color: #cfe0d6; }

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--ink-900);
  box-shadow: var(--shadow);
}
.hero-card h3 { color: var(--green-900); }
.hero-card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-700);
}
.hero-card ul li svg { width: 20px; height: 20px; fill: var(--green-600); flex-shrink: 0; margin-top: 1px; }
.hero-card .price {
  background: var(--green-50);
  border: 1px dashed var(--green-500);
  border-radius: 10px;
  padding: 14px;
  margin: 18px 0;
  text-align: center;
  font-weight: 700;
  color: var(--green-800);
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.bg-alt { background: var(--green-50); }
.bg-dark { background: var(--green-900); color: var(--white); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark p { color: #cfe0d6; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-card svg.step-icon { width: 30px; height: 30px; fill: var(--gold-600); margin-bottom: 14px; }

/* Cards / grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-badge {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon-badge svg { width: 26px; height: 26px; fill: var(--green-700); }
.card ul { margin-top: 14px; }
.card ul li { display: flex; gap: 8px; margin-bottom: 8px; font-size: 0.92rem; color: var(--ink-700); }
.card ul li svg { width: 16px; height: 16px; fill: var(--green-600); flex-shrink: 0; margin-top: 3px; }

/* Conditions grid (pill/tag layout) */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.condition-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--green-900);
}
.condition-item svg { width: 24px; height: 24px; fill: var(--gold-600); flex-shrink: 0; }
.condition-item span.desc { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-500); margin-top: 3px; }

/* Split with image */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img, .split .image-frame { border-radius: var(--radius); box-shadow: var(--shadow); }
.image-frame { position: relative; overflow: hidden; border-radius: var(--radius); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.badge-float {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge-float svg { width: 30px; height: 30px; fill: var(--gold-600); }
.badge-float strong { display: block; color: var(--green-900); font-family: var(--font-head); }
.badge-float span { font-size: 0.78rem; color: var(--ink-500); }

/* FAQ accordion */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--green-900);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-q svg { width: 20px; height: 20px; fill: var(--green-700); flex-shrink: 0; transition: transform .2s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-item.open .faq-a { max-height: 480px; }
.faq-a p { padding: 0 4px 22px; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--green-900), var(--green-700));
  color: var(--white);
  border-radius: 20px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: #d7e7dd; margin: 0; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-row { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-row .icon-badge { width: 44px; height: 44px; border-radius: 10px; background: var(--green-100); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-row .icon-badge svg { width: 22px; height: 22px; fill: var(--green-700); }
.contact-row strong { display: block; color: var(--green-900); margin-bottom: 2px; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

form.contact-form { display: flex; flex-direction: column; gap: 16px; }
form.contact-form label { font-weight: 600; font-size: 0.9rem; color: var(--ink-700); margin-bottom: 6px; display: block; }
form.contact-form input, form.contact-form textarea, form.contact-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
}
form.contact-form input:focus, form.contact-form textarea:focus, form.contact-form select:focus {
  outline: 2px solid var(--green-500);
  outline-offset: 1px;
}

/* Footer */
.site-footer { background: var(--green-900); color: #cfe0d6; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: #cfe0d6; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold-500); }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.2rem; color: var(--white); margin-bottom: 14px; font-weight: 700; }
.footer-logo svg { width: 30px; height: 30px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #9fb6a9;
}
.disclaimer {
  font-size: 0.78rem;
  color: #86a091;
  max-width: 900px;
  margin-top: 10px;
  line-height: 1.6;
}

/* Page header (inner pages) */
.page-header {
  background: var(--green-900);
  color: var(--white);
  padding: 64px 0 54px;
  position: relative;
  overflow: hidden;
}
.page-header .wrap { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.page-header p { color: #d7e7dd; max-width: 640px; }
.breadcrumb { font-size: 0.85rem; color: #b9d0c4; margin-bottom: 14px; }
.breadcrumb a { color: var(--gold-500); }
.leaf-decor {
  position: absolute;
  opacity: 0.12;
  top: -40px; right: -40px;
  width: 320px; height: 320px;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack-sm > * + * { margin-top: 10px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 60px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-phone-wrap { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
  .steps, .grid-3, .grid-2, .conditions-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; text-align: center; }
}
