/* =========================================================
   PedsEndoCare — Coming Soon Page
   Colors from Figma: navy #023047, yellow #FFD15C,
   orange highlight #FFA947, gold border #FFD15C
   Fonts: Sen (headings), Poppins (body)
   ========================================================= */

:root {
  --navy: #023047;
  --yellow: #FFD15C;
  --orange: #FFA947;
  --gold: #FFD15C;
  --teal: #219EBC;
  --teal-hover: #1B8AA6;
  --white-card: rgba(255, 255, 255, 0.92);
  --white-soft: rgba(255, 255, 255, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--navy);
  font-family: 'Poppins', system-ui, sans-serif;
  color: #ffffff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.75;
}

/* ---------- Page grid ---------- */
.page {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* ===========================================================
   LEFT — Photo column with overlay card
   =========================================================== */
.photo-column {
  position: relative;
  border-radius: 0 40px 40px 0;
  overflow: hidden;
  min-height: 600px;
}

.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  position: absolute;
  inset: 0;
}

.coming-soon-card {
    position: absolute;
    left: 0;
    right: 125px;
    bottom: 0;
    background: rgb(255 255 255 / 90%);
    border-radius: 0 36px 36px 0;
    padding: 32px 40px 32px 36px;
    color: var(--navy);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.coming-soon-heading {
  font-family: 'Sen', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.contact-email {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-email a {
  color: var(--navy);
}

.contact-phones {
  font-size: 1rem;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}

.contact-phones a {
  color: var(--navy);
}

.contact-address,
.contact-hours {
  font-size: 1rem;
  line-height: 1.5;
}

.contact-address {
  margin-bottom: 4px;
}

.separator {
  color: var(--navy);
  opacity: 0.7;
  margin: 0 2px;
}

/* ===========================================================
   RIGHT — Info panel
   =========================================================== */
.info-panel {
  position: relative;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 40px;
  padding: 48px 56px 0;
  margin: 60px 60px 90px;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

/* Decorative star pattern — image has subtle alpha pre-baked in the PNG */
.star-pattern {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.star-pattern--one {
    width: 50%;
    height: auto;
    right: 100px;
    bottom: 0;
}

.info-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  flex: 1;
}

.logo {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 8px 0 6px;
}

.bio {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #ffffff;
  max-width: 720px;
}

.highlight {
  color: var(--orange);
  font-weight: 500;
}

.divider {
  width: 100%;
  max-width: 720px;
  height: 1px;
  background: var(--white-soft);
  margin: 4px 0;
}

.conditions {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #ffffff;
  max-width: 760px;
}

/* ---------- Yellow concierge card ---------- */
.concierge-card {
  background: var(--yellow);
  border-radius: 32px 32px 38px 38px;
  padding: 44px 56px 36px;
  margin-top: auto;
  margin-left: -56px;
  margin-right: -56px;
  width: calc(100% + 112px);
  text-align: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--yellow);
}

.concierge-heading {
  font-family: 'Sen', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 2.4vw, 2.375rem);
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.concierge-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.contact-button {
  display: inline-block;
  background: var(--teal);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.15em;
  padding: 18px 56px;
  border-radius: 999px;
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 10px 24px rgba(2, 48, 71, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-button:hover {
  background: var(--teal-hover);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 28px rgba(2, 48, 71, 0.3);
  opacity: 1;
}

.contact-button:active {
  transform: translateX(-50%) translateY(0);
}




/* ===========================================================
   Tablet — narrower viewport, tighter spacing
   =========================================================== */
@media (max-width: 1100px) {
  .page {
    padding: 0px;
    gap: 20px;
  }

  .info-panel {
    padding: 40px 36px 0;
    margin: 30px 30px 90px;
  }

  .coming-soon-card {
    padding: 26px 32px;
    right:50px;
  }

  .concierge-card {
    padding: 36px 36px 32px;
    margin-left: -36px;
    margin-right: -36px;
    width: calc(100% + 72px);
  }
}

/* ===========================================================
   Mobile — single column, photo on top, panel below
   =========================================================== */
@media (max-width: 820px) {
  .page {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 16px;
    min-height: auto;
  }

  /* Photo column: stack photo and card vertically, no clipping */
  .photo-column {
    border-radius: 24px;
    min-height: auto;
    max-height: none;
    aspect-ratio: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    background: transparent;
  }

  .coming-soon-card {
    position: static;
    border-radius: 0 0 24px 24px;
    padding: 24px 22px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .doctor-photo {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3.5;
    border-radius: 24px 24px 0 0;
  }

  .coming-soon-heading {
    font-size: 1.6rem;
    margin-bottom: 14px;
  }

  .contact-phones {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .contact-phones .separator {
    display: none;
  }

  /* Right panel: reset desktop margin, smaller padding */
  .info-panel {
    padding: 32px 22px 0;
    margin: 0 0 60px;
    border-radius: 28px;
  }


  .logo {
    max-width: 320px;
  }

  .bio,
  .conditions,
  .concierge-text {
    font-size: 0.95rem;
  }

  .concierge-text {
    margin-bottom: 0;
  }

  /* Concierge card: button moves inline (no hanging) on mobile */
  .concierge-card {
    padding: 28px 22px 32px;
    border-radius: 24px 24px 26px 26px;
    margin-left: -22px;
    margin-right: -22px;
    width: calc(100% + 44px);
  }

  .concierge-heading {
    font-size: 1.4rem;
  }

  .contact-button {
    padding: 14px 40px;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .star-pattern--one {
      width: 100%;
      height: auto;
      right: 0;
      position: absolute;
      top: 50rem;
  }

}

/* ===========================================================
   Small phones
   =========================================================== */
@media (max-width: 400px) {
  .coming-soon-heading {
    font-size: 1.4rem;
  }

  .info-panel {
    padding: 28px 18px 0;
  }

  .logo {
    max-width: 260px;
  }
}
