:root {
  --medical-blue: #1e6fd9;
  --medical-blue-dark: #1557b0;
  --medical-green: #10b981;
  --medical-green-dark: #059669;
  --medical-light: #e8f4fd;
  --medical-muted: #64748b;
  --foreground: #0f172a;
  --background: #f8fafc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.shedyal-landing {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

.section-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}
@media (min-width: 640px) { .section-container { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .section-container { padding: 5rem 2rem; } }

body.shedyal-landing .section-title {
  display: block;
  font-size: 1.875rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 0.25rem !important;
  line-height: 1.2 !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.shedyal-landing .section-title::after {
  content: '' !important;
  display: block !important;
  width: 4rem;
  height: 0.25rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--medical-blue), var(--medical-green)) !important;
}
body.shedyal-landing .text-center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: var(--medical-muted);
  max-width: 42rem;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Buttons – high specificity so WordPress themes don't hide text */
body.shedyal-landing a.btn,
body.shedyal-landing button.btn,
#shedyal-site a.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem !important;
  border-radius: 9999px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  overflow: visible !important;
  min-height: 2.75rem;
  min-width: auto;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
body.shedyal-landing a.btn .btn-text,
body.shedyal-landing button.btn .btn-text,
#shedyal-site a.btn .btn-text {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 0.875rem !important;
  line-height: 1.25 !important;
  color: inherit !important;
}
body.shedyal-landing a.btn .btn-icon,
#shedyal-site a.btn .btn-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}
body.shedyal-landing a.btn-whatsapp,
#shedyal-site a.btn-whatsapp {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
}
body.shedyal-landing a.btn-whatsapp:hover,
#shedyal-site a.btn-whatsapp:hover {
  background: #20bd5a !important;
  border-color: #20bd5a !important;
  color: #ffffff !important;
}
body.shedyal-landing a.btn-primary,
body.shedyal-landing button.btn-primary {
  background: var(--medical-blue) !important;
  color: #ffffff !important;
  border: 2px solid var(--medical-blue) !important;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
}
body.shedyal-landing a.btn-primary:hover,
body.shedyal-landing button.btn-primary:hover {
  background: var(--medical-blue-dark) !important;
  color: #ffffff !important;
}
body.shedyal-landing a.btn-secondary,
body.shedyal-landing button.btn-secondary {
  background: var(--medical-green) !important;
  color: #ffffff !important;
  border: 2px solid var(--medical-green) !important;
}
body.shedyal-landing a.btn-secondary:hover,
body.shedyal-landing button.btn-secondary:hover {
  background: var(--medical-green-dark) !important;
  color: #ffffff !important;
}
body.shedyal-landing a.btn-outline,
body.shedyal-landing button.btn-outline {
  background: #ffffff !important;
  color: var(--medical-blue) !important;
  border: 2px solid var(--medical-blue) !important;
}
body.shedyal-landing a.btn-outline:hover,
body.shedyal-landing button.btn-outline:hover {
  background: var(--medical-light) !important;
  color: var(--medical-blue) !important;
}

.medical-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.medical-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo {
  height: 4.5rem;
  width: auto;
  max-width: min(100%, 280px);
  object-fit: contain;
}
@media (min-width: 640px) {
  .site-logo { height: 5.5rem; max-width: 340px; }
}
@media (min-width: 1024px) {
  .site-logo { height: 6.5rem; max-width: 400px; }
}
.about-doctor-photo {
  width: 100%;
  max-width: 18rem;
  margin: 0 auto;
  border-radius: 1rem;
  object-fit: cover;
  object-position: top;
  aspect-ratio: 4 / 5;
  display: block;
}

.main-nav { display: none; gap: 1.5rem; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
}
.main-nav a:hover { color: var(--medical-blue); }

.header-ctas { display: none; gap: 0.5rem; }
@media (min-width: 640px) { .header-ctas { display: flex; } }

.menu-toggle {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-nav {
  display: none;
  border-top: 1px solid #f1f5f9;
  padding: 1rem;
  background: #fff;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  color: #334155;
  border-radius: 0.5rem;
}
.mobile-nav a:hover { background: var(--medical-light); color: var(--medical-blue); }
.mobile-nav .btn { width: 100%; margin-top: 0.5rem; }

/* Hero */
#home {
  padding-top: 7.5rem;
  background: linear-gradient(135deg, var(--medical-light), #fff, #ecfdf5);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-grid h1 {
  font-size: 1.875rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}
@media (min-width: 640px) { .hero-grid h1 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero-grid h1 { font-size: 3rem; } }
.hero-sub { font-size: 1.125rem; color: var(--medical-muted); margin-bottom: 1.5rem; }
.timing-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border-radius: 9999px;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  border: 1px solid #f1f5f9;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.doctor-photo-wrap {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
}
.doctor-photo-wrap img {
  border-radius: 1.5rem;
  border: 4px solid #fff;
  box-shadow: 0 25px 50px rgba(0,0,0,.15);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

/* Grids */
.grid-3 {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--medical-blue), var(--medical-green));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.medical-card h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.medical-card p { margin: 0; font-size: 0.875rem; color: var(--medical-muted); }

/* About */
#about { background: #fff; }
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.check-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #334155;
}
.check-list li::before {
  content: '✓';
  color: var(--medical-green);
  font-weight: 700;
}

/* Why choose */
.why-section {
  background: linear-gradient(135deg, var(--medical-blue), var(--medical-blue-dark));
  color: #fff;
}
.why-section .section-title { color: #fff; }
.why-section .section-title::after { background: rgba(255,255,255,.5); }
.why-section .section-subtitle { color: #dbeafe; }
.why-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 1rem;
  padding: 1.5rem;
}
.why-card.emergency {
  background: rgba(16,185,129,.2);
  border-color: rgba(110,231,183,.5);
}

/* Timings */
.timings-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 768px) { .timings-grid { grid-template-columns: repeat(3, 1fr); } }
.timing-card.emergency-highlight {
  background: #ecfdf5;
  border-color: #a7f3d0;
  box-shadow: 0 0 0 2px #a7f3d0;
}
.cta-strip {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1rem;
  background: linear-gradient(to right, var(--medical-blue), var(--medical-green));
  color: #fff;
  text-align: center;
}
.cta-strip .btn-outline { border-color: #fff; color: #fff; }
.cta-strip .btn-white {
  background: #fff;
  color: var(--medical-green);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

/* Emergency banner */
.emergency-banner {
  background: linear-gradient(to right, #dc2626, #ef4444, #059669);
  color: #fff;
  padding: 1.5rem 1rem;
}
.emergency-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 640px) {
  .emergency-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #334155;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.form-success {
  display: none;
  padding: 0.75rem 1rem;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #a7f3d0;
}
.form-success.is-visible { display: block; }

/* Video */
.video-wrap {
  border-radius: 1rem;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 16/9;
}
.video-wrap video { width: 100%; height: 100%; object-fit: contain; }

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 1rem;
}
.footer-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h3 {
  color: #fff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.site-footer .footer-logo { filter: brightness(0) invert(1); height: 3.5rem; margin-bottom: 1rem; }
.footer-copy {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  font-size: 0.875rem;
}

/* Floating WhatsApp & Call buttons */
.floating-actions {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.floating-btn {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-btn:hover {
  transform: scale(1.08);
  color: #fff;
}
.floating-btn .floating-icon {
  width: 1.75rem;
  height: 1.75rem;
}
.floating-btn.call {
  width: 3.25rem;
  height: 3.25rem;
  background: var(--medical-blue);
}
.floating-btn.whatsapp {
  width: 3.75rem;
  height: 3.75rem;
  background: #25d366;
  animation: whatsapp-pulse 2s ease-out infinite;
}
.floating-btn.whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}
.floating-whatsapp-label {
  display: none;
}
@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (min-width: 768px) {
  .floating-btn.call { display: none; }
  .floating-btn.whatsapp {
    width: 4rem;
    height: 4rem;
  }
  .floating-btn.whatsapp .floating-icon {
    width: 2rem;
    height: 2rem;
  }
}
@media (max-width: 767px) {
  .floating-actions {
    right: 1rem;
    bottom: 1rem;
  }
}

.bg-slate { background: #f8fafc; }
.bg-white { background: #fff; }
