/* ============================================
   FOUNTAIN OF HOPE HOSPITAL
   Multi-Page Website Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  --primary: #0d4a6f;
  --primary-light: #1a6a9a;
  --primary-dark: #083554;
  --accent: #e8b923;
  --accent-light: #f5d76e;
  --text: #1a1a2e;
  --text-light: #4a4a5a;
  --text-muted: #7a7a8a;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-warm: #fff9f0;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}
.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  border-radius: var(--radius-sm);
  position: relative;
}
.nav a:hover, .nav a.active {
  color: var(--primary);
  background: rgba(13,74,111,0.06);
}
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.header-cta {
  padding: 10px 22px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}
.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-pattern {
  position: absolute;
  right: -10%; top: 10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.hero-pattern-2 {
  position: absolute;
  left: -5%; bottom: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,185,35,0.1) 0%, transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent-light); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 14px 32px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,185,35,0.3);
}
.btn-secondary {
  padding: 14px 32px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: white;
}
.hero-stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 420px;
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-card-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 700;
}
.hero-card-info h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
}
.hero-card-info p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin: 0;
}
.hero-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.hero-card-row svg {
  width: 20px; height: 20px;
  color: var(--accent-light);
  flex-shrink: 0;
}
.hero-card-row span {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}

/* SECTION UTILITIES */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(13,74,111,0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
}

/* INFO BAR */
.info-bar {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.info-bar-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border-light);
}
.info-bar-item:last-child { border-right: none; }
.info-bar-item svg {
  width: 28px; height: 28px;
  color: var(--primary);
  margin-bottom: 12px;
}
.info-bar-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.info-bar-item span {
  font-size: 14px;
  color: var(--text-muted);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: rgba(13,74,111,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); }
.service-icon svg {
  width: 26px; height: 26px;
  color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .service-icon svg { color: white; }
.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual { position: relative; }
.about-visual-main {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  padding: 48px;
  color: white;
  position: relative;
  overflow: hidden;
}
.about-visual-main::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.about-visual-main h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.about-visual-main p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  position: relative;
}
.about-visual-badge {
  position: absolute;
  bottom: -24px; right: 32px;
  background: white;
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-visual-badge strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}
.about-visual-badge span {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.about-content h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-content > p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-feature svg {
  width: 22px; height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-feature div strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.about-feature div p {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 2px;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* A single leadership card shouldn't stretch across a 3-column grid */
.team-grid-single {
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.team-card-img {
  height: 280px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-card-img::before {
  content: '';
  position: absolute;
  bottom: -30%; left: -20%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.team-card-initials {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 36px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}
.team-card-body {
  padding: 24px;
  text-align: center;
}
.team-card-body h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.team-card-body .role {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}
.team-card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testimonial-stars svg {
  width: 18px; height: 18px;
  color: var(--accent);
  fill: var(--accent);
}
.testimonial-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
}
.testimonial-author div strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.testimonial-author div span {
  font-size: 13px;
  color: var(--text-muted);
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.blog-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-img span {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(8,28,48,0.55);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 100px;
}
.blog-card-body { padding: 24px; }
.blog-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}
.blog-card-meta span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
}
.blog-card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-card-link:hover { gap: 10px; }

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.faq-question svg {
  width: 20px; height: 20px;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 800px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* APPOINTMENT */
.appointment-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-xl);
  padding: 60px;
  color: white;
  position: relative;
  overflow: hidden;
}
.appointment-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.appointment-info h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}
.appointment-info p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}
.appointment-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.appointment-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.appointment-info-item svg {
  width: 22px; height: 22px;
  color: var(--accent-light);
  flex-shrink: 0;
}
.appointment-info-item span {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}
/* .appointment-info is written for the dark gradient card on the homepage.
   On appointments.html the same block sits on a white section, so these
   overrides restore readable contrast. */
.appointment-info-light h2,
.appointment-info-light h4 { color: var(--text); }
.appointment-info-light p { color: var(--text-light); }
.appointment-info-light .appointment-info-item span { color: var(--text-light); }
.appointment-info-light .appointment-info-item svg { color: var(--primary); }
.appointment-info-light .emergency-box {
  margin-top: 32px;
  padding: 20px 24px;
  background: #fff5f5;
  border-left: 4px solid #dc2626;
  border-radius: var(--radius-sm);
}
.appointment-info-light .emergency-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 8px;
}
.appointment-info-light .emergency-box p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.appointment-info-light .emergency-box a {
  color: #991b1b;
  font-weight: 700;
  text-decoration: underline;
}

.appointment-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text);
}
.appointment-form h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(13,74,111,0.08);
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
}
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-submit:hover { background: var(--primary-dark); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }

/* Honeypot — hidden from people, visible to spam bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* FORM NOTICE (submission feedback) */
.form-notice {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border-left: 4px solid;
}
.form-notice strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.form-notice p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.form-notice a {
  font-weight: 700;
  text-decoration: underline;
}
.form-notice-ok {
  background: #f0fdf4;
  border-color: #16a34a;
  color: #14532d;
}
.form-notice-ok a { color: #14532d; }
.form-notice-warn {
  background: #fffbeb;
  border-color: var(--accent);
  color: #713f12;
}
.form-notice-warn a { color: #713f12; }

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-info > p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-detail:hover { background: var(--border-light); }
.contact-detail-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 22px; height: 22px;
  color: white;
}
.contact-detail div strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}
.contact-detail div span,
.contact-detail div a {
  font-size: 14px;
  color: var(--text-light);
}
.contact-detail div a:hover { color: var(--primary); }
.contact-map {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.contact-map {
  overflow: hidden;
  padding: 0;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}
.contact-map-note {
  grid-column: 2;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact-map-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}
@media (max-width: 1024px) {
  .contact-map-note { grid-column: 1; }
}

/* FOOTER */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .logo-text {
  color: white;
  margin-bottom: 16px;
}
.footer-brand .logo-text span { color: rgba(255,255,255,0.5); }
.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); }
.footer-social a svg {
  width: 16px; height: 16px;
  color: white;
}
.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: white;
  padding-left: 4px;
}
.footer-hours { display: flex; flex-direction: column; gap: 10px; }
.footer-hours div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.footer-hours div span:first-child { color: rgba(255,255,255,0.6); }
.footer-hours div span:last-child { color: white; font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 160px 0 80px;
  text-align: center;
  color: white;
}
.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
}

/* ARTICLE / BLOG POST */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-body > p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.article-body > p.lead {
  font-size: 19px;
  color: var(--text);
  font-weight: 500;
}
.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 40px 0 14px;
}
.article-body h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 10px;
}
.article-body ul, .article-body ol {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
}
.article-body ul li, .article-body ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 8px; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.article-body ol { counter-reset: step; }
.article-body ol li { counter-increment: step; }
.article-body ol li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.article-body strong { color: var(--text); font-weight: 600; }
.article-callout {
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 28px 0;
}
.article-callout h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.article-callout p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}
.article-callout.urgent {
  background: #fff5f5;
  border-left-color: #dc2626;
}
.article-callout.urgent h4 { color: #991b1b; }
.article-disclaimer {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--bg-warm);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}
.article-disclaimer strong { color: var(--text); }
.article-cta {
  margin-top: 32px;
  padding: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  text-align: center;
  color: white;
}
.article-cta h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.article-cta p { color: rgba(255,255,255,0.85); margin-bottom: 20px; font-size: 15px; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 32px;
}
.article-back svg { width: 16px; height: 16px; }
.article-back:hover { gap: 12px; }

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .appointment-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .info-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .hero h1 { font-size: 36px; }
  .section-header h2 { font-size: 28px; }
  .page-header h1 { font-size: 32px; }
  .services-grid,
  .team-grid,
  .blog-grid,
  .testimonials-grid,
  .info-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .appointment-section { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 280px;
  background: white;
  padding: 80px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-panel a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-panel a.active { color: var(--primary); }
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}
.mobile-nav-close:hover { background: var(--border-light); }

/* Visible keyboard focus for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
}
