/* ==========================================================================
   VakhifyDigital — Hospital Landing Page DEMO (fictional portfolio concept)
   Loaded after main.css. Scoped under body.page-hospital.
   ========================================================================== */

/* ---------- Demo notice bar (agency) ---------- */
.demo-bar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.demo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 9px;
}
.demo-bar strong { color: var(--yellow-400); font-weight: 700; }
.demo-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-bar a:hover { color: var(--orange-400); }
.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px;
  border-radius: var(--pill);
  background: rgba(255, 197, 61, 0.14);
  border: 1px solid rgba(255, 197, 61, 0.35);
  color: var(--yellow-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.demo-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
}

/* ---------- Hospital header (reuses site-header JS contract) ---------- */
.page-hospital .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(11, 27, 51, 0.08);
}
.page-hospital .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(11, 27, 51, 0.10);
}
.page-hospital .brand img {
  height: 42px;
  border-radius: 50%;
}
.h-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.h-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-600));
  color: #fff;
  flex: none;
}
.h-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.h-name strong {
  color: var(--navy-900);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.h-name span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-600);
}

.page-hospital .main-nav ul a { color: rgba(11, 27, 51, 0.78); }
.page-hospital .main-nav ul a:hover {
  color: var(--navy-900);
  background: rgba(11, 27, 51, 0.06);
}
.page-hospital .menu-toggle {
  background: rgba(11, 27, 51, 0.06);
  border-color: rgba(11, 27, 51, 0.14);
  color: var(--navy-900);
}
.page-hospital .btn-emergency {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3);
}

/* ---------- Hospital hero ---------- */
.h-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 100px);
  background:
    radial-gradient(700px 420px at 88% 15%, rgba(14, 165, 164, 0.18), transparent 60%),
    radial-gradient(560px 400px at 0% 100%, rgba(255, 197, 61, 0.10), transparent 60%),
    linear-gradient(155deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: rgba(255, 255, 255, 0.82);
}
.h-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.h-hero h1 { color: #fff; margin-bottom: 18px; }
.h-hero .lead { color: rgba(255, 255, 255, 0.78); margin-bottom: 26px; }
.h-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.h-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}
.h-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.h-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dd4bf;
  flex: none;
}

/* Hospital hero visual (CSS/SVG only) */
.h-visual { position: relative; min-height: 330px; }
.h-visual .h-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px;
  height: 230px;
  transform: translate(-50%, -50%);
  opacity: 0.9;
}
.h-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(2, 8, 20, 0.35);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  animation: float 7s var(--ease) infinite;
}
.h-chip-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  flex: none;
}
.h-chip-1 { top: 8%; left: 2%; }
.h-chip-2 { top: 42%; right: 0; animation-delay: 1.7s; }
.h-chip-3 { bottom: 8%; left: 12%; animation-delay: 3.4s; }

/* ---------- Hospital sections ---------- */
.h-section { padding-block: clamp(52px, 7vw, 88px); }
.h-section.alt { background: #f4f9fb; }
.h-section.dark {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: rgba(255, 255, 255, 0.8);
}

.h-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 46px); }
.h-head.center { margin-inline: auto; text-align: center; }
.h-head h2 { color: var(--ink); margin-bottom: 12px; }
.h-section.dark .h-head h2 { color: #fff; }
.h-head p { color: var(--muted); }
.h-section.dark .h-head p { color: rgba(255, 255, 255, 0.7); }

.h-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f9488;
}
.h-section.dark .h-eyebrow { color: #2dd4bf; }

/* Intro split */
.h-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}
.h-intro-copy h2 { margin-bottom: 16px; }
.h-intro-copy p { margin-bottom: 14px; color: var(--body); }

.h-intro-points { display: grid; gap: 14px; }
.h-intro-point {
  display: flex;
  gap: 15px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.h-intro-point:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.h-intro-point h3 { font-size: 1rem; margin-bottom: 3px; }
.h-intro-point p { font-size: 0.9rem; color: var(--muted); }
.h-intro-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(14, 165, 164, 0.16), rgba(255, 197, 61, 0.18));
  color: #0f9488;
}

/* Departments */
.h-dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.h-dept {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.h-dept:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 164, 0.4);
}
.h-dept-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 165, 164, 0.14), rgba(13, 148, 136, 0.10));
  color: #0f9488;
}
.h-dept h3 { font-size: 1.02rem; }
.h-dept p { font-size: 0.88rem; color: var(--muted); }

/* Emergency band */
.h-emergency {
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(135deg, var(--orange-500), var(--orange-600));
}
.h-emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.h-emergency-copy h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.h-emergency-copy p { color: rgba(255, 255, 255, 0.92); }
.h-emergency .btn-white {
  background: #fff;
  color: var(--orange-600);
  box-shadow: 0 14px 30px rgba(120, 40, 0, 0.3);
}

/* Doctors */
.h-doc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.h-doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 28px 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.h-doc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.h-doc-avatar {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-600));
  color: rgba(255, 255, 255, 0.85);
}
.h-doc h3 { font-size: 1.02rem; }
.h-doc .h-doc-name { font-size: 0.9rem; color: var(--body); font-weight: 600; }
.h-doc .h-doc-tag {
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: rgba(14, 165, 164, 0.12);
  color: #0f9488;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Facilities */
.h-fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.h-fac {
  display: flex;
  gap: 15px;
  padding: 22px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.h-fac:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-4px); }
.h-fac h3 { color: #fff; font-size: 1rem; margin-bottom: 3px; }
.h-fac p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); }
.h-fac-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
}

/* Patient-focused benefits */
.h-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.h-benefit {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy-800);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.h-benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.h-benefit h3 { font-size: 1rem; margin-bottom: 6px; }
.h-benefit p { font-size: 0.89rem; color: var(--muted); }
.h-benefit .h-benefit-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--orange-600);
  margin-bottom: 10px;
}

/* Hospital contact / appointment */
.h-contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 48px);
}
.h-contact-card {
  padding: clamp(26px, 3vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.h-contact-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 14px; }
.h-contact-rows { display: grid; gap: 14px; margin-top: 20px; }
.h-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.h-contact-row .h-contact-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--yellow-400);
}
.h-contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.h-placeholder-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(255, 197, 61, 0.12);
  border: 1px dashed rgba(234, 156, 41, 0.55);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--body);
}
.h-actions-stack { display: grid; gap: 14px; align-content: start; }
.h-actions-stack .btn { width: 100%; }
.h-demo-disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Hospital responsive ---------- */
@media (max-width: 1024px) {
  .h-hero-grid { grid-template-columns: 1fr; }
  .h-visual { min-height: 260px; max-width: 520px; }
  .h-intro-grid { grid-template-columns: 1fr; }
  .h-dept-grid { grid-template-columns: repeat(2, 1fr); }
  .h-doc-grid { grid-template-columns: repeat(2, 1fr); }
  .h-fac-grid { grid-template-columns: repeat(2, 1fr); }
  .h-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .h-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .demo-bar-inner { justify-content: center; text-align: center; }
  .h-name strong { font-size: 0.94rem; }
  .h-dept-grid, .h-doc-grid, .h-fac-grid, .h-benefit-grid { grid-template-columns: 1fr; }
  .h-hero-actions .btn,
  .h-emergency .btn { width: 100%; }
  .h-emergency-inner { justify-content: center; text-align: center; }
  .h-emergency-copy { width: 100%; }
}

/* Hospital dark mobile menu panel */
@media (max-width: 900px) {
  .page-hospital .main-nav {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom-color: rgba(11, 27, 51, 0.1);
    box-shadow: 0 20px 40px rgba(11, 27, 51, 0.16);
  }
  .page-hospital .main-nav ul a { color: rgba(11, 27, 51, 0.85); }
  .page-hospital .main-nav ul a:hover {
    color: var(--navy-900);
    background: rgba(11, 27, 51, 0.06);
  }
}
