:root {
  --red: #c9152f;
  --red-dark: #9f0e25;
  --blue: #102f71;
  --ink: #172033;
  --muted: #667084;
  --line: #e4e8ef;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --green: #198754;
  --shadow: 0 20px 50px rgba(16, 47, 113, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(16, 47, 113, 0.1);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--red);
  color: #ffffff;
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.78;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-weight: 700;
  font-size: 0.94rem;
}

.site-nav a {
  padding: 10px 0;
}

.nav-cta {
  padding: 10px 18px !important;
  border-radius: 8px;
  background: var(--red);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: transparent;
  color: currentColor;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 15, 31, 0.82), rgba(8, 15, 31, 0.38) 52%, rgba(8, 15, 31, 0.14));
}

.hero-content {
  position: relative;
  width: min(860px, 100%);
  padding: 150px clamp(18px, 5vw, 72px) clamp(56px, 11vh, 110px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffffff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3.8rem, 13vw, 8.4rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-subtitle {
  max-width: 600px;
  margin: 18px 0 0;
  font-size: clamp(1.12rem, 2.2vw, 1.45rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(201, 21, 47, 0.28);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  background: #ffffff;
  color: var(--blue);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.quick-info div {
  padding: 24px clamp(18px, 4vw, 60px);
  border-right: 1px solid var(--line);
}

.quick-info div:last-child {
  border-right: 0;
}

.quick-info strong,
.quick-info span {
  display: block;
}

.quick-info strong {
  color: var(--blue);
  font-size: 0.95rem;
}

.quick-info span {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.section-copy p:not(.eyebrow),
.care-band p,
.contact-copy address {
  color: var(--muted);
  font-size: 1.05rem;
}

.image-panel {
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.care-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
  padding: clamp(50px, 7vw, 78px) clamp(18px, 5vw, 72px);
  background: var(--blue);
  color: #ffffff;
}

.care-band .eyebrow {
  color: #ffffff;
}

.care-band p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-grid span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--red);
  font-weight: 800;
}

.service-grid p {
  color: var(--muted);
}

.pharma-services {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 28px;
  margin-top: 18px;
  padding: clamp(24px, 5vw, 42px);
  border-radius: 8px;
  background: var(--soft);
}

.pharma-services ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pharma-services li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 8px;
  background: #ffffff;
  font-weight: 700;
}

.pharma-services li::before {
  content: "+";
  position: absolute;
  left: 16px;
  top: 13px;
  color: var(--red);
  font-weight: 900;
}

.gallery-section {
  background: #f7f9fc;
}

.gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  grid-auto-rows: 250px;
  gap: 14px;
}

.gallery button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #d9dde5;
  cursor: pointer;
}

.gallery button:first-child {
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery button:hover img {
  transform: scale(1.04);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 6vw, 76px);
  background: var(--ink);
  color: #ffffff;
}

.contact-copy .eyebrow {
  color: #ffffff;
}

.contact-copy address {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.contact-details {
  display: grid;
  gap: 12px;
}

.contact-details div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-details strong,
.contact-details span,
.contact-details a {
  display: block;
}

.contact-details strong {
  margin-bottom: 8px;
  color: #ffffff;
}

.contact-details span,
.contact-details a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--blue);
}

.privacy-link,
.modal-close {
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 31, 0.72);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(78vh, 620px);
  overflow: auto;
  padding: 34px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.modal-dialog p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 15, 31, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 84vh;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.lightbox button {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 16px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .quick-info,
  .section-split,
  .care-band,
  .pharma-services,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quick-info div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 210px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-content {
    padding-top: 120px;
  }

  h1 {
    font-size: clamp(3.1rem, 20vw, 5rem);
  }

  h2 {
    font-size: 2rem;
  }

  .service-grid,
  .pharma-services ul,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-auto-rows: 240px;
  }

  .gallery button:first-child {
    grid-row: span 1;
  }

  .btn {
    width: 100%;
  }

  .modal-dialog {
    padding: 28px 22px;
  }
}
