/* Abundant Blessings Medical Centre - Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

:root {
  --color-text: #1c1f30;
  --color-text-soft: #403b20;
  --color-muted: #5a5a5a;
  --color-bg: #fafafa;
  --color-white: #ffffff;
  --color-cream: #f5f0e8;
  --color-beige: #e8dfd0;
  --color-taupe: #c7aaaa;
  --color-taupe-light: rgba(228, 221, 221, 0.7);
  --color-header-bg: #ebe4d8;
  --color-footer-bg: #1c1f30;
  --color-accent: #8b6f5c;
  --color-border: #e0d8cc;
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Sora', Arial, Helvetica, sans-serif;
  --max-width: 1200px;
  --header-height: 90px;
  --radius: 4px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

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

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-link img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text);
  max-width: 140px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-size: 13px;
  font-weight: 400;
  padding: 8px 12px;
  color: var(--color-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.main-nav a:hover {
  opacity: 0.7;
}

.header-cta {
  flex-shrink: 0;
}

.header-cta a {
  display: inline-block;
  background: var(--color-text);
  color: var(--color-white);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 2px;
}

.header-cta a:hover { opacity: 0.9; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-text);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  background: white;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250,250,250,0.92) 0%, rgba(250,250,250,0.7) 45%, rgba(250,250,250,0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 80px 24px;
}

.hero-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--color-muted);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 2px;
  text-align: center;
}

.btn-primary {
  background: var(--color-taupe-light);
  color: var(--color-text);
  border: 1px solid rgba(0,0,0,0.08);
}

.btn-primary:hover {
  background: var(--color-taupe);
  opacity: 1;
}

.btn-secondary {
  background: var(--color-taupe);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: #b89999;
  opacity: 1;
}

.btn-dark {
  background: var(--color-text);
  color: white;
}

.btn-dark:hover {
  background: #2a2e45;
  opacity: 1;
}

/* ========== SECTION COMMONS ========== */
.section {
  padding: 80px 0;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 24px;
  line-height: 1.25;
}

.section-title.light { color: var(--color-bg); }

.section-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 640px;
}

/* ========== DOCTOR BIO ========== */
.doctor-bio {
  background: var(--color-white);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.doctor-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.doctor-images img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 2px;
}

.doctor-images img:first-child {
  grid-column: 1 / -1;
  height: 280px;
}

.credentials {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.credentials h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 500;
}

.credentials ul {
  list-style: none;
}

.credentials li {
  font-size: 14px;
  color: var(--color-muted);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.credentials li::before {
  content: '·';
  position: absolute;
  left: 0;
  font-weight: bold;
}

.doctor-quote {
  margin-top: 24px;
  font-style: italic;
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.7;
  border-left: 3px solid var(--color-taupe);
  padding-left: 16px;
}

/* ========== ABOUT ========== */
.about {
  background: var(--color-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
}

.about-images img.tall {
  height: 420px;
  grid-row: span 2;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.about-card {
  background: white;
  padding: 24px 20px;
  border-radius: 2px;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-card h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--color-text-soft);
}

.about-card p {
  font-size: 13px;
  color: var(--color-muted);
}

/* ========== PROUD OF ========== */
.proud {
  background: white;
  padding: 80px 0;
}

.proud-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.proud-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
}

.proud-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.proud-feature {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  text-align: center;
}

.proud-feature h4 {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-text);
}

/* ========== SERVICES ========== */
.services {
  background: var(--color-text);
  color: white;
  padding: 80px 0;
}

.services .section-label { color: rgba(255,255,255,0.6); }
.services .section-title { color: var(--color-bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px 24px;
  border-radius: 2px;
  transition: background 0.25s;
}

.service-card:hover {
  background: rgba(255,255,255,0.1);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--color-taupe);
  margin-bottom: 12px;
  font-weight: 300;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  color: white;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* ========== INSURANCE ========== */
.insurance {
  background: white;
  padding: 80px 0;
  text-align: center;
}

.insurance-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.insurance-logos img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.85;
  transition: opacity 0.2s;
}

.insurance-logos img:hover {
  opacity: 1;
}

/* ========== CLINIC INFO ========== */
.clinic-info {
  background: var(--color-cream);
  padding: 80px 0;
}

.clinic-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.hours-box {
  background: white;
  padding: 32px;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.hours-box h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 20px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.hours-table tr td {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.hours-table tr td:first-child {
  color: var(--color-muted);
  width: 50%;
}

.hours-table tr td:last-child {
  font-weight: 500;
  text-align: right;
}

.hours-subtitle {
  font-size: 13px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.contact-details {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.9;
}

.contact-details a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clinic-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.clinic-photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 2px;
}

.clinic-photos img.wide {
  grid-column: 1 / -1;
  height: 240px;
}

.address-block {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-muted);
}

.address-block strong {
  color: var(--color-text);
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

/* ========== CONTACT FORM ========== */
.contact-section {
  background: white;
  padding: 80px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 2px;
}

.form-card {
  background: var(--color-cream);
  padding: 40px 36px;
  border-radius: 2px;
}

.form-card h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 28px;
  font-weight: 400;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group label .req { color: #c44; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-size: 14px;
  background: white;
  color: var(--color-text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-taupe);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group .hint {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 4px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
}

.checkbox-group input[type="checkbox"],
.checkbox-group input[type="radio"] {
  margin-top: 3px;
  width: auto;
  accent-color: var(--color-text);
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--color-text);
  color: white;
  border: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
}

.form-submit:hover {
  background: #2a2e45;
}

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  padding: 16px;
  border-radius: 2px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #2e7d32;
}

.form-success.show { display: block; }

/* ========== FAQ ========== */
.faq-section {
  background: var(--color-cream);
  padding: 80px 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.faq-tab {
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  background: white;
  cursor: pointer;
  font-size: 13px;
  border-radius: 2px;
  transition: all 0.2s;
}

.faq-tab.active {
  background: var(--color-text);
  color: white;
  border-color: var(--color-text);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--color-border);
  margin-bottom: 8px;
  border-radius: 2px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-footer-bg);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: white;
  margin-bottom: 16px;
  font-weight: 400;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  padding: 4px 0;
}

.footer-col a:hover {
  color: white;
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: var(--color-cream);
  padding: 60px 0 40px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 15px;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== BOOK / TELE pages ========== */
.page-content {
  padding: 60px 0 80px;
}

.page-content .form-card {
  max-width: 700px;
  margin: 0 auto;
}

.book-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.book-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 2px;
}

.consent-box {
  background: rgba(0,0,0,0.03);
  padding: 20px;
  border-radius: 2px;
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-muted);
}

.consent-box ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.consent-box li { margin-bottom: 6px; }

.tele-content {
  max-width: 800px;
  margin: 0 auto;
}

.tele-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 32px 0 16px;
  font-weight: 400;
}

.tele-content h3 {
  font-size: 16px;
  margin: 24px 0 10px;
  font-weight: 600;
}

.tele-content p, .tele-content li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.tele-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.tele-content .note {
  background: #fff8e1;
  border-left: 3px solid #f9a825;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
}

.tele-content .warning {
  background: #fce4ec;
  border-left: 3px solid #c62828;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
}

.tele-accept {
  text-align: center;
  margin-top: 40px;
}

/* ========== LEGAL pages ========== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 32px 0 12px;
  font-weight: 500;
}

.legal-content h3 {
  font-size: 16px;
  margin: 20px 0 8px;
  font-weight: 600;
}

.legal-content p, .legal-content li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-disclaimer {
  background: var(--color-cream);
  padding: 24px;
  border-radius: 2px;
  margin-bottom: 32px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .doctor-grid,
  .about-grid,
  .proud-layout,
  .clinic-grid,
  .contact-layout,
  .book-layout {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-cards {
    grid-template-columns: 1fr;
  }
  
  .proud-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav, .header-cta {
    display: none;
  }
  
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-header-bg);
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    z-index: 999;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .header-inner {
    position: relative;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .doctor-images {
    grid-template-columns: 1fr;
  }
  
  .doctor-images img,
  .doctor-images img:first-child {
    height: 240px;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .hero-content {
    padding: 48px 24px;
  }
  
  .insurance-logos img {
    height: 36px;
    max-width: 100px;
  }
  
  .proud-features {
    grid-template-columns: 1fr;
  }
  
  .clinic-photos {
    grid-template-columns: 1fr;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: white;
  color: #116dff;
  padding: 8px 16px;
  z-index: 10000;
  font-size: 14px;
}

.skip-link:focus {
  top: 8px;
}

/* Tablet header fix 2026-10-15: use the Menu-button header up to 1060px */
@media (max-width: 1060px) {
  .main-nav, .header-cta { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--header-height); left: 0; right: 0;
    background: var(--color-header-bg); padding: 16px;
    border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow); z-index: 999;
  }
  .menu-toggle { display: block; }
  .header-inner { position: relative; }
}

html { scroll-padding-top: var(--header-height); }

@media (max-width: 992px) {
  .legal-content h1 { font-size: clamp(28px, 4vw, 40px); }
}
@media (max-width: 768px) {
  .legal-content h1 { font-size: 28px; }
}
