/* ══════════════════════════════════════════════════════════════
   COGMO — Comprehensive Geriatric & Medical Oncology
   Website Stylesheet  |  Brand: Forest Green + Teal
   ══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;1,400&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* ── COGMO Brand: Lime Green + Teal ── */
  --green:      #6BAE3A;   /* lime green — primary */
  --green-dark: #4E8A25;   /* dark lime — hover/active */
  --teal:       #00897B;   /* COGMO teal — accent */
  --teal-dark:  #00695C;   /* dark teal — hover */
  --mint:       #F2F9EB;   /* very light lime — section backgrounds */
  --mint-mid:   #C8E8A0;   /* lime mid-tone — accents */
  --charcoal:   #1A1A1A;
  --gray-dark:  #333333;
  --gray:       #555555;
  --gray-light: #888888;
  --border:     #D3E8BF;   /* lime-tinted border */
  --white:      #FFFFFF;
  --off-white:  #F8FDF4;   /* barely-there lime tint */
  --shadow:     0 2px 16px rgba(107,174,58,0.13);
  --shadow-sm:  0 1px 6px rgba(0,0,0,0.08);
  --radius:     6px;
  --radius-lg:  12px;
  --nav-h:      72px;
  --max-w:      1160px;
  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Source Sans 3', sans-serif;
  --transition: 0.22s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }

/* ── Utilities ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-teal  { color: var(--teal); }
.bg-green   { background: var(--green); }
.bg-teal    { background: var(--teal); }
.bg-mint    { background: var(--mint); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.02em; cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green); }
.btn-outline-green { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline-green:hover { background: var(--green); color: var(--white); }
.btn-outline-teal { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }
.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.25; color: var(--charcoal); }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block; font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 10px;
}
.section-title { color: var(--green); margin-bottom: 12px; }
.section-subtitle { color: var(--gray); font-size: 1.05rem; max-width: 620px; }

.teal-rule {
  width: 48px; height: 3px; background: var(--teal);
  border-radius: 2px; margin: 16px 0;
}
.teal-rule.centered { margin: 16px auto; }

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); height: var(--nav-h);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-mark {
  width: 44px; height: 44px; flex-shrink: 0;
}
.nav-logo-text {}
.nav-logo-name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  color: var(--green); letter-spacing: 0.04em; line-height: 1;
}
.nav-logo-sub {
  font-size: 0.62rem; color: var(--teal); font-weight: 500;
  letter-spacing: 0.03em; line-height: 1.2; margin-top: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600;
  color: var(--gray-dark); padding: 8px 12px; border-radius: var(--radius);
  transition: all var(--transition); text-decoration: none; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--mint); }
.nav-cta { margin-left: 12px; }
.nav-hamburger { display: none; cursor: pointer; background: none; border: none; padding: 8px; }
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--gray-dark);
  margin: 5px 0; border-radius: 2px; transition: all var(--transition);
}
.mobile-menu {
  display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); box-shadow: var(--shadow);
  padding: 16px 24px 24px; flex-direction: column; gap: 4px;
  border-top: 2px solid var(--mint);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--gray-dark); padding: 12px 16px; border-radius: var(--radius);
  text-decoration: none;
}
.mobile-menu a:hover { background: var(--mint); color: var(--green); }

/* ── Page Header Banner ────────────────────────────────────── */
.page-banner {
  background: var(--green);
  padding: 52px 24px;
  text-align: center;
}
.page-banner h1 { color: var(--white); font-size: clamp(1.8rem,4vw,2.6rem); }
.page-banner .breadcrumb {
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
  margin-top: 8px; font-family: var(--font-head);
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-banner .breadcrumb a:hover { color: var(--white); }

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative; min-height: 520px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--green-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1551076805-e1869033e561?w=1400&q=80');
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(78,138,37,0.96) 40%, rgba(78,138,37,0.52) 70%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 72px 24px;
  max-width: 600px;
}
.hero-eyebrow {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); margin-bottom: 14px;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero-sub { color: rgba(255,255,255,0.88); font-size: 1.1rem; margin-bottom: 32px; line-height: 1.6; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Feature Cards Row ─────────────────────────────────────── */
.feature-strip { background: var(--white); padding: 0; }
.feature-strip-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: -2px;
  box-shadow: var(--shadow);
}
.feature-card {
  background: var(--white); padding: 36px 28px;
  border: 1px solid var(--border); text-align: center;
  transition: all var(--transition); cursor: default;
}
.feature-card:hover { background: var(--mint); border-color: var(--mint-mid); }
.feature-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--mint); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 28px; height: 28px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.feature-card h3 { color: var(--green); font-size: 1rem; margin-bottom: 8px; }
.feature-card p { color: var(--gray); font-size: 0.9rem; }

/* ── Ticker Strip ──────────────────────────────────────────── */
.ticker-strip {
  background: var(--teal); color: var(--white);
  padding: 16px 24px; text-align: center;
  font-family: var(--font-head); font-size: 0.88rem;
  font-weight: 600; letter-spacing: 0.04em;
}

/* ── Section Layouts ───────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 100px 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col-wide { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; align-items: center; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ── Why COGMO ─────────────────────────────────────────────── */
.why-cogmo { background: var(--mint); }
.why-pull {
  font-family: var(--font-head); font-size: clamp(1.2rem,2.5vw,1.7rem);
  font-weight: 700; color: var(--green); line-height: 1.4;
  border-left: 4px solid var(--teal); padding-left: 20px;
}
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.95rem; color: var(--gray-dark);
}
.checklist li::before {
  content: '✓'; color: var(--teal); font-weight: 800;
  font-size: 1rem; flex-shrink: 0; margin-top: 2px;
}

/* ── Pathway Steps ─────────────────────────────────────────── */
.pathway { background: var(--green); padding: 64px 0; }
.pathway h2 { color: var(--white); text-align: center; margin-bottom: 48px; }
.pathway-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative;
}
.pathway-steps::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%;
  height: 2px; background: rgba(255,255,255,0.25);
}
.step { text-align: center; position: relative; padding: 0 12px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; border: 3px solid rgba(255,255,255,0.3);
  position: relative; z-index: 1;
}
.step p { color: rgba(255,255,255,0.88); font-size: 0.85rem; line-height: 1.4; }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: var(--green); padding: 52px 24px; text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: 24px; font-size: 1.05rem; }
.cta-banner .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Service Cards ─────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--teal); border-radius: var(--radius);
  padding: 28px 24px; transition: all var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow); border-left-color: var(--green);
  transform: translateY(-2px);
}
.service-card-icon {
  width: 48px; height: 48px; background: var(--mint);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.service-card-icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.service-card h3 { color: var(--green); margin-bottom: 10px; font-size: 1.1rem; }
.service-card p { color: var(--gray); font-size: 0.93rem; }

/* ── About Page ────────────────────────────────────────────── */
.about-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--mint); aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-placeholder {
  text-align: center; padding: 40px; color: var(--teal);
}
.about-photo-placeholder svg { width: 80px; height: 80px; stroke: var(--teal); fill: none; margin: 0 auto 16px; }

.dr-name { font-size: clamp(1.8rem,4vw,2.6rem); color: var(--green); font-weight: 800; margin-bottom: 4px; }
.dr-quals { font-size: 1.1rem; color: var(--charcoal); font-weight: 600; margin-bottom: 6px; }
.dr-title { font-style: italic; color: var(--teal); font-size: 1rem; margin-bottom: 20px; }

.qual-list { display: flex; flex-direction: column; gap: 10px; }
.qual-list li {
  display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem;
}
.qual-list li::before {
  content: '●'; color: var(--teal); font-size: 0.55rem;
  flex-shrink: 0; margin-top: 7px;
}

.contact-card {
  background: var(--mint); border-left: 4px solid var(--teal);
  border-radius: var(--radius); padding: 20px 24px; margin-top: 28px;
}
.contact-card h4 { color: var(--teal); margin-bottom: 10px; }
.contact-card p { color: var(--gray-dark); font-size: 0.93rem; margin-bottom: 6px; }

/* ── Contact Page ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.map-embed {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); height: 380px; background: var(--mint);
  display: flex; align-items: center; justify-content: center;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  transition: box-shadow var(--transition);
}
.contact-item:hover { box-shadow: var(--shadow-sm); }
.contact-item-icon {
  width: 40px; height: 40px; background: var(--mint); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 2; }
.contact-item-label { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.contact-item-value { font-size: 0.95rem; color: var(--gray-dark); font-weight: 500; }
.contact-item-value a { color: var(--gray-dark); }
.contact-item-value a:hover { color: var(--teal); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 28px; }
.hours-table th { background: var(--green); color: var(--white); font-family: var(--font-head); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 16px; text-align: left; }
.hours-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.93rem; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table tr:nth-child(even) td { background: var(--off-white); }

/* ── Enquiry Form ──────────────────────────────────────────── */
.enquiry-form { background: var(--mint); border-radius: var(--radius-lg); padding: 40px; }
.enquiry-form h3 { color: var(--green); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; color: var(--gray-dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem;
  color: var(--gray-dark); background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,137,123,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── For Patients / Referrers ──────────────────────────────── */
.info-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; margin-bottom: 28px;
}
.info-block h3 { color: var(--green); margin-bottom: 14px; }
.info-block ul { display: flex; flex-direction: column; gap: 10px; padding-left: 4px; }
.info-block ul li {
  display: flex; gap: 12px; font-size: 0.95rem; color: var(--gray-dark);
}
.info-block ul li::before {
  content: '→'; color: var(--teal); font-weight: 700; flex-shrink: 0;
}

.referral-highlight {
  background: var(--green); color: var(--white);
  border-radius: var(--radius-lg); padding: 32px; margin-bottom: 28px;
}
.referral-highlight h3 { color: var(--white); margin-bottom: 18px; }
.referral-method {
  display: flex; gap: 16px; align-items: center;
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.15);
}
.referral-method:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.referral-method-icon {
  width: 44px; height: 44px; background: rgba(255,255,255,0.12);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.referral-method-icon svg { width: 22px; height: 22px; stroke: rgba(255,255,255,0.9); fill: none; stroke-width: 2; }
.referral-method-label { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.65); margin-bottom: 3px; }
.referral-method-value { color: var(--white); font-weight: 600; font-size: 1rem; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,0.82); }
.footer-top { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--white); letter-spacing: 0.04em; }
.footer-logo-sub { font-size: 0.62rem; color: rgba(255,255,255,0.65); letter-spacing: 0.03em; line-height: 1.3; margin-top: 2px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.78); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 0.88rem; }
.footer-contact-item svg { width: 15px; height: 15px; stroke: var(--teal); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,0.78); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.45); gap: 16px; flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .pathway-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .pathway-steps::before { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }

  .hero-content { max-width: 100%; }
  .feature-strip-inner { grid-template-columns: 1fr; }
  .feature-card { border-radius: 0; }

  .two-col, .two-col-wide { grid-template-columns: 1fr; gap: 36px; }
  .three-col { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pathway-steps { grid-template-columns: 1fr 1fr; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }

  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .enquiry-form { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero { min-height: 420px; }
  .hero-actions { flex-direction: column; }
  .pathway-steps { grid-template-columns: 1fr; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
}

/* ── Print ─────────────────────────────────────────────────── */
@media print {
  .site-nav, .hero, .cta-banner, .pathway, .ticker-strip { display: none; }
}
