/* Red Nurses Homepage v12 — cleaner layout */
.hp-hero {
  background: linear-gradient(135deg, #fff 0%, #fff5f7 45%, #f4f8ff 100%);
  padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line, #e5e9ed);
}
.hp-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 36px);
}
.hp-eyebrow {
  display: inline-block;
  background: #ffedf1;
  color: #a31840;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hp-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 0 0 16px;
  color: #172638;
}
.hp-hero .lead {
  font-size: 1.15rem;
  color: #3d4f63;
  max-width: 520px;
  margin: 0 0 24px;
}
.hp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.hp-btn-primary {
  background: #c83c58;
  color: #fff;
  box-shadow: 0 6px 16px rgba(200, 60, 88, .28);
}
.hp-btn-primary:hover { transform: translateY(-1px); color: #fff; }
.hp-btn-secondary {
  background: #fff;
  color: #172638;
  border: 1px solid #d5dde4;
}
.hp-btn-secondary:hover { background: #f8fafc; }
.hp-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hp-stat strong {
  display: block;
  font-size: 1.35rem;
  color: #c83c58;
  font-weight: 800;
}
.hp-stat span {
  font-size: .82rem;
  color: #66758a;
}
.hp-hero-visual {
  justify-self: center;
  max-width: 640px;
  width: 100%;
}
.hp-hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(24, 43, 58, .15);
  object-fit: cover;
}
.hp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.hp-section {
  padding: clamp(40px, 6vw, 64px) 0;
}
.hp-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 8px;
  letter-spacing: -.03em;
}
.hp-section .sub {
  color: #66758a;
  margin: 0 0 28px;
  max-width: 560px;
}
.hp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.hp-card {
  background: #fff;
  border: 1px solid #e5e9ed;
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: block;
}
.hp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(24, 43, 58, .08);
  border-color: #e5c9d0;
  text-decoration: none;
}
.hp-card h3 {
  margin: 10px 0 6px;
  font-size: 1.15rem;
  color: #172638;
}
.hp-card p {
  margin: 0;
  font-size: .92rem;
  color: #4a5c70;
}
.hp-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: #ffedf1;
}
.hp-trust {
  background: #f8fafc;
  border-top: 1px solid #e5e9ed;
  border-bottom: 1px solid #e5e9ed;
}
.hp-trust-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(18px, 3vw, 36px);
}
.hp-trust h2 { margin-bottom: 10px; }
@media (max-width: 860px) {
  .hp-hero-inner { grid-template-columns: 1fr; }
  .hp-hero-visual { justify-self: center; max-width: 420px; order: -1; }
}

/* About / Why us sections */
.hp-about {
  background: #fff;
}
.hp-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}
.hp-about h2 { margin-bottom: 12px; }
.hp-about p { margin: 0 0 14px; color: #3d4f63; }
.hp-why-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.hp-why-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid #eef1f4;
}
.hp-why-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #087a6c;
  font-weight: 800;
}
.hp-features {
  background: #f8fafc;
}
.hp-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.hp-feature {
  background: #fff;
  border: 1px solid #e5e9ed;
  border-radius: 14px;
  padding: 18px;
}
.hp-feature strong {
  display: block;
  color: #172638;
  margin-bottom: 4px;
}
.hp-feature span {
  font-size: .9rem;
  color: #4a5c70;
}
@media (max-width: 800px) {
  .hp-about-grid { grid-template-columns: 1fr; }
}

/* Linked feature cards with subtle 3D lift */
.hp-feature-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
  box-shadow: 0 4px 12px rgba(24, 43, 58, .06);
}
.hp-feature-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(24, 43, 58, .12);
  border-color: #e5c9d0;
  text-decoration: none;
}
.hp-feature-link:active {
  transform: translateY(-1px);
}
.hp-feature-link strong {
  color: #172638;
}
.hp-feature-link:hover strong {
  color: #c83c58;
}

/* Ensure primary buttons have working 3D-style press */
.hp-btn {
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 0 rgba(0,0,0,.08);
}
.hp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(0,0,0,.06);
}
.hp-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 rgba(0,0,0,.1);
}
.hp-btn-primary {
  box-shadow: 0 4px 0 #9a2d44;
}
.hp-btn-primary:hover {
  box-shadow: 0 6px 0 #9a2d44;
}
.hp-btn-primary:active {
  box-shadow: 0 2px 0 #9a2d44;
}
