/* ============================================
   Selenium Medical Group — Landing Page
   ============================================ */

:root {
  --pink: #FF2587;
  --blue: #003EBA;
  --navy: #001D57;
  --dark-navy: #040E2E;
  --light-bg: #F2F6FD;
  --white: #FFFFFF;
  --card-shadow: 0px 0px 19px 0px #D5E3FF;
  --container-w: 1280px;
  --side-pad: clamp(20px, 10.5vw, 160px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 33px;
  border-radius: 333px;
  padding: 6px 60px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: #0032a0;
  transform: translateY(-1px);
}

.btn--icon img { flex-shrink: 0; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 717px;
  display: flex;
  align-items: center;
  padding: 90px 0 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-img {
  position: absolute;
  left: -0.02%;
  top: -25.94%;
  width: 125.78%;
  height: 126.47%;
  max-width: none;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__eyebrow {
  color: var(--white);
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero__underline-img {
  width: 47px;
  height: 6px;
  margin-bottom: 18px;
}

.hero__title {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 70px);
  line-height: 1.1;
  margin: 0 0 8px;
  max-width: 800px;
}

.hero__subtitle {
  color: var(--pink);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 60px);
  line-height: 1.15;
  margin: 0 0 24px;
}

.hero__text {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.65;
  max-width: 767px;
  margin: 0;
}

.hero__text .pink { color: var(--pink); }

/* ============================================
   TWO COMPANIES, ONE VISION
   ============================================ */
.vision {
  background: var(--light-bg);
  padding: 106px 0;
}

.vision__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.vision__intro { flex: 0 0 340px; max-width: 340px; }

.vision__title {
  color: var(--blue);
  font-weight: 700;
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.25;
  margin: 0 0 20px;
}

.vision__subtitle {
  color: var(--navy);
  font-weight: 700;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.4;
  margin: 0 0 16px;
}

.vision__text {
  color: var(--navy);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  margin: 0;
}

.vision__cards {
  flex: 1 1 auto;
  display: flex;
  gap: 30px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}

.vision-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  padding: 56px 34px;
  width: 296px;
  max-width: 400px;
  flex: 0 0 296px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
}

.vision-card__logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.vision-card__text {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

/* ============================================
   CONNECTED EXPERTISE
   ============================================ */
.expertise {
  background: var(--navy);
  padding: 157px 0 151px;
}

.expertise__title {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.25;
  margin: 0 0 24px;
  max-width: 927px;
}

.expertise__text {
  color: var(--white);
  font-weight: 400;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.6;
  max-width: 861px;
  margin: 0 0 60px;
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 60px;
  row-gap: 44px;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 38px;
}

.expertise-item__icon {
  width: 37px;
  height: auto;
  flex-shrink: 0;
}

.expertise-item span {
  color: var(--white);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 700;
}

/* ============================================
   NEWS / ANNOUNCEMENT CARDS
   ============================================ */
.news {
  background: var(--light-bg);
  padding: 161px 0 160px;
}

.news__grid {
  display: flex;
  gap: 20px;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: center;
}

.news-card {
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  width: 286px;
  max-width: 400px;
  flex: 0 0 286px;
}

.news-card--image img {
  width: 100%;
  height: 100%;
  min-height: 370px;
  object-fit: cover;
}

.news-card--announcement {
  background: var(--white);
  width: 346px;
  max-width: 400px;
  flex: 0 0 346px;
  padding: 76px 25px 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.news-card--announcement h3 {
  color: var(--blue);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.news-card--announcement p {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 36px;
}

.news-card--announcement .btn {
  font-size: 16px;
  line-height: 31px;
  gap: 9px;
  padding: 6px 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-navy);
  padding: 86px 0;
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer__logo--mg { height: 50px; width: auto; }
.footer__logo--sel { height: 34px; width: auto; }

.footer__divider {
  border: none;
  border-top: 1px solid #909090;
  margin: 0 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-col__pin {
  width: 20px;
  height: auto;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-col p {
  color: var(--white);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

.footer-col p strong { font-weight: 700; }

.bottom-bar {
  background: #000000;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  text-align: center;
  padding: 10px 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Vision: intro stacks above the cards row as soon as they no longer fit side by side */
@media (max-width: 1000px) {
  .vision__grid {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 40px;
  }
  .vision__intro { flex: 0 0 auto; max-width: none; }
  .vision__cards { justify-content: flex-start; }
}

/* Vision: the two cards stack in turn once they no longer fit side by side */
@media (max-width: 820px) {
  .vision__cards { flex-direction: column; align-items: stretch; }
  .vision-card { width: 100%; max-width: 400px; flex: 0 0 auto; }
}

@media (max-width: 700px) {
  .expertise__grid { grid-template-columns: 1fr; row-gap: 28px; }
}

/* News: jump straight from 3-across to a single stacked column (never 2+1) */
@media (max-width: 1240px) {
  .news__grid { flex-direction: column; align-items: center; }
  .news-card,
  .news-card--announcement {
    width: 100%;
    max-width: 400px;
    flex: 0 0 auto;
  }
  .news-card--image img { min-height: 320px; }
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .hero { min-height: 560px; padding: 70px 0 50px; }
  .vision, .expertise, .news { padding: 60px 0; }
  .footer { padding: 48px 0 32px; }
  .footer__logos { gap: 32px; }
}
