/* =========================================================
   HOSPI-Z GROUP OF COMPANIES — Design System
   Palette:
     --navy:      #0B2A4A  (deep clinical navy — headings, dark sections)
     --blue:      #0F5FA6  (primary brand blue — from logo)
     --blue-dark: #0B4B8C
     --red:       #B31E2D  (brand red — from logo cross)
     --red-dark:  #8C1622
     --ivory:     #F6F8FA  (page background)
     --slate:     #5B6B7C  (muted text)
   Type:
     Display / Headings : "Poppins" (600/700)
     Body                : "Inter"
   Signature element:
     Diagonally-clipped panels ("tilted plates"), echoing the
     angular cross mark in the HOSPI-Z logo and the tilted photo
     panels used across the group's print collateral.
   ========================================================= */

:root {
  --navy: #0B2A4A;
  --blue: #0F5FA6;
  --blue-dark: #0B4B8C;
  --red: #B31E2D;
  --red-dark: #8C1622;
  --ivory: #F6F8FA;
  --slate: #5B6B7C;
  --line: #E4E9EF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

a { text-decoration: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* -------- Utility bits -------- */
.text-brand-blue { color: var(--blue); }
.text-brand-red { color: var(--red); }
.bg-navy { background-color: var(--navy); }
.bg-ivory { background-color: var(--ivory); }
.text-slate { color: var(--slate); }

.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--red);
  display: inline-block;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

@media (max-width: 767.98px) {
  .section { padding: 3.25rem 0; }
}

/* -------- Top utility bar -------- */
.topbar {
  background: var(--navy);
  color: #cfe0f0;
  font-size: 0.85rem;
}
.topbar a { color: #cfe0f0; }
.topbar a:hover { color: #fff; }

/* -------- Navbar -------- */
.navbar-hospiz {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.navbar-hospiz .navbar-brand {
  padding: 0;
}
.navbar-hospiz .navbar-brand img {height: 60px;}
.navbar-hospiz .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  padding: 0.55rem 1rem !important;
  position: relative;
}
.navbar-hospiz .nav-link.active,
.navbar-hospiz .nav-link:hover { color: var(--red); }
.navbar-hospiz .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.35rem;
  height: 2px;
  background: var(--red);
}
.btn-brand {
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  transition: all .2s ease;
}
.btn-brand:hover { background: var(--red-dark); border-color: var(--red-dark); color:#fff; }
.btn-outline-brand {
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  transition: all .2s ease;
}
.btn-outline-brand:hover { background: var(--blue); color: #fff; }

/* -------- Signature: tilted plate -------- */
.plate {
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  background: var(--blue);
}
.plate-red { background: var(--red); }
.plate-navy { background: var(--navy); }

/* -------- Hero -------- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 140%;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 60%, transparent 100%);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0% 100%);
  opacity: 0.9;
}
.hero::after {
  content: "";
  position: absolute;
  top: -20%; right: 6%;
  width: 16%; height: 140%;
  background: var(--red);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0% 100%);
  opacity: 0.85;
}
.hero .hero-inner { position: relative; z-index: 2; }
.hero-kicker {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #FF8A93;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.35rem); line-height: 1.12; }
.hero .lead-tagline {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 500;
  color: #D9E6F2;
}
.hero-stats {
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 2.25rem;
  padding-top: 1.75rem;
}
.hero-stats .num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: #fff;
}
.hero-stats .label {
  font-size: 0.78rem;
  color: #B9CADB;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Page header (for inner pages) */
.page-header {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  top: 0; right: -6%;
  width: 34%; height: 100%;
  background: var(--red);
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0% 100%);
  opacity: 0.9;
}
.page-header h1 { color: #fff; position: relative; z-index: 2; }
.breadcrumb-hospiz {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: #B9CADB;
  position: relative; z-index: 2;
}
.breadcrumb-hospiz a { color: #D9E6F2; }
.breadcrumb-hospiz a:hover { color: #fff; }

/* -------- Cards -------- */
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border-top: 3px solid var(--blue);
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11,42,74,0.09);
  border-top-color: var(--red);
}
.svc-card .icon-mark {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ivory);
  border-radius: 3px;
  color: var(--blue);
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.check-list { list-style: none; padding-left: 0; margin-bottom: 0; }
.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.65rem;
  color: var(--slate);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35rem;
  width: 10px; height: 10px;
  background: var(--red);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0% 100%);
}

/* Company card (associated companies) */
.company-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
}
.company-card .company-head {
  padding: 1.75rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.company-card .company-head::after {
  content: "";
  position: absolute; top:0; right: -20%;
  width: 55%; height: 100%;
  background: rgba(255,255,255,0.08);
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
}
.company-card .company-head .co-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.company-card .company-head h3 { color: #fff; margin-bottom: 0; font-size: 1.35rem; }
.company-card .company-body { padding: 1.75rem; }
.company-card .stat-strip {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
}
.company-card .stat-strip .s-num {
  font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy); font-size: 1rem;
}
.company-card .stat-strip .s-label {
  font-size: 0.72rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.04em;
}

.head-blue { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%); }
.head-red  { background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); }
.head-navy { background: linear-gradient(120deg, #17395C 0%, var(--navy) 100%); }
.head-teal { background: linear-gradient(120deg, #0B4B8C 0%, #103A63 100%); }

/* Segment pill */
.segment-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  /* border-left: 4px solid var(--blue); */
  padding: 0.85rem 1.1rem;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

/* Stat block */
.stat-block { text-align: center; }
.stat-block .num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--blue);
  line-height: 1;
}
.stat-block .num .plus { color: var(--red); }
.stat-block .label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Timeline / process */
.step-item { position: relative; padding-left: 3.25rem; margin-bottom: 2rem; }
.step-item .step-mark {
  position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; top: 0; left: -6%;
  width: 30%; height: 100%;
  background: var(--red);
  opacity: .85;
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
.cta-band .content { position: relative; z-index: 2; }

/* Footer */
footer.site-footer {
  background: #081D33;
  color: #A9BCCF;
  padding-top: 3.5rem;
}
footer.site-footer h6 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
footer.site-footer a { color: #A9BCCF; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer ul { list-style: none; padding-left: 0; }
footer.site-footer ul li { margin-bottom: 0.6rem; }
footer.site-footer .foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  font-size: 0.82rem;
}
footer.site-footer .foot-logo { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.95;}

/* Contact page */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.6rem;
  height: 100%;
  border-top: 3px solid var(--red);
}
.contact-card .icon-mark {
  width: 44px; height: 44px;
  background: var(--ivory);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px;
  margin-bottom: 0.9rem;
}
.form-control-hospiz {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.7rem 0.9rem;
}
.form-control-hospiz:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(15,95,166,0.15);
}
.map-frame { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }

/* Client logos strip */
.logo-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.9rem 1rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.85rem;
  height: 100%;
  display: flex; align-items: center; justify-content: center;
}