
:root {
  --navy: #8f1020;
  --blue: #b51224;
  --teal: #c51d2d;
  --gold: #e3b341;
  --ink: #292323;
  --muted: #706565;
  --bg: #fff5f5;
  --white: #ffffff;
  --line: #f0d9dc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: auto;
}

/* TOP BAR */

.topbar {
  background: #8f1020;
  color: #fff;
  font-size: 13px;
  padding: 10px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar a {
  color: #fff;
  font-weight: bold;
}

/* HEADER */

header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 3px 18px #8f102018;
  border-bottom: 2px solid #f7e2e5;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #8f1020;
  font-size: 20px;
}

.logo {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #b51224;
  display: grid;
  place-items: center;
  color: white;
  font-size: 28px;
}

nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #4b3033;
}

nav a:hover,
.active {
  color: #c51d2d;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 7px;
  background: #b51224;
  color: #fff;
  font-weight: 700;
  border: 1px solid #b51224;
  cursor: pointer;
  transition: .25s;
}

.btn:hover {
  background: #8f1020;
  border-color: #8f1020;
  transform: translateY(-2px);
}

.btn.secondary {
  background: #fff;
  color: #a30f22;
  border: 1px solid #b51224;
}

.btn.secondary:hover {
  background: #fff0f2;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: #a30f22;
  cursor: pointer;
}

/* HERO SECTION */

.hero {
  background:
    linear-gradient(105deg, #780b1eee, #bd1829d9),
    url('images/hero-hospital.jpg') center/cover;
  min-height: 490px;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-inner {
  max-width: 700px;
  padding: 80px 0;
}

.eyebrow {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  color: #ffe1e5;
}

h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  margin: 15px 0 18px;
  color: #fff;
}

h2 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.2;
  color: #8f1020;
  margin: 0 0 15px;
}

h3 {
  color: #8f1020;
  margin: 0 0 8px;
}

.hero p {
  font-size: 18px;
  color: #fff0f2;
  max-width: 620px;
  margin-bottom: 28px;
}

/* GENERAL SECTIONS */

section {
  padding: 76px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.section-head p,
.muted {
  color: var(--muted);
}

.soft {
  background: #fff5f5;
  border-top: 1px solid #f8e4e7;
  border-bottom: 1px solid #f8e4e7;
}

/* CARDS */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid #f0d9dc;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 8px 28px #8f102010;
  transition: .25s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px #8f102020;
  border-color: #dca1aa;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff0f2;
  color: #b51224;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 17px;
}

/* IMAGES */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.photo-placeholder {
  min-height: 340px;
  border-radius: 16px;
  background: #fff0f2;
  display: grid;
  place-items: center;
  text-align: center;
  color: #8f1020;
  padding: 15px;
  border: 1px solid #f0d9dc;
  overflow: hidden;
}

.photo-placeholder img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
}

.photo-caption {
  font-size: 12px;
  color: #706565;
  padding: 8px;
}

/* CHECKLIST */

.checklist {
  padding: 0;
  list-style: none;
}

.checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
}

.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #b51224;
  font-weight: bold;
}

/* INNER PAGES */

.page-hero {
  background: linear-gradient(110deg, #8f1020, #c51d2d);
  color: #fff;
  padding: 65px 0;
}

.page-hero h1 {
  font-size: 42px;
  margin: 0 0 10px;
}

.page-hero p {
  margin: 0;
  color: #fff0f2;
}

/* CONTACT PAGE */

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
}

.info-row {
  display: flex;
  gap: 14px;
  margin: 20px 0;
}

.info-row .icon {
  flex: 0 0 44px;
  margin: 0;
}

/* FORMS */

form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 14px 0 6px;
}

input,
textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #e4c6ca;
  border-radius: 7px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid #b5122430;
  border-color: #b51224;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.notice {
  background: #fff8e8;
  border-left: 4px solid #e3b341;
  padding: 14px 18px;
  border-radius: 5px;
  color: #59451e;
}

/* FOOTER */

footer {
  background: #650b18;
  color: #ffe7ea;
  padding: 55px 0 20px;
}

footer h3 {
  color: #fff;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: #ffbdc7;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 35px;
}

.footer-bottom {
  border-top: 1px solid #ffffff30;
  margin-top: 35px;
  padding-top: 18px;
  font-size: 13px;
  color: #f4cbd1;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

/* MOBILE RESPONSIVE */

@media(max-width:800px) {

  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 4%;
    box-shadow: 0 10px 20px #0001;
    flex-direction: column;
    align-items: flex-start;
  }

  nav.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .nav > .btn {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:540px) {

  .grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 430px;
  }

  .hero-inner {
    padding: 60px 0;
  }

  section {
    padding: 55px 0;
  }

  .topbar .container {
    font-size: 12px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .brand {
    font-size: 17px;
  }

  .photo-placeholder img {
    height: 260px;
  }
}
