/* =============================================================
   PharmacyNeeds — Needs of The Smile of the Child
   File: needs-of-the-smile-of-child.css

   Class names are UNCHANGED from v1 — this file is a drop-in
   replacement and works with the existing markup as-is.
   Only the selector prefix was shortened: #id.class -> #id.
   The ID alone is specificity (1,0,0) and beats any theme rule
   built from classes.

   CONTENTS
     1. Scope root & tokens
     2. Local resets
     3. Container & panel
     4. Background decorations
     5. Left column
     6. Right card
     7. Steps
     8. Responsive
   ============================================================= */


/* -------------------------------------------------------------
   1. Scope root & tokens
   ------------------------------------------------------------- */

#pharmacyneeds-smile-needs-intro {
  --pn-navy: #111b39;
  --pn-text: #263451;
  --pn-cyan: #0aa8c5;
  --pn-blue: #199fd8;
  --pn-purple: #8b67d2;
  --pn-pink: #ef5577;
  --pn-orange: #f2a013;

  width: 100%;
  margin: 0;
  padding: clamp(48px, 5vw, 80px) 0 clamp(20px, 3vw, 42px);
  overflow: hidden;
  background: #f8fbff;
}


/* -------------------------------------------------------------
   2. Local resets
   ------------------------------------------------------------- */

#pharmacyneeds-smile-needs-intro,
#pharmacyneeds-smile-needs-intro *,
#pharmacyneeds-smile-needs-intro *::before,
#pharmacyneeds-smile-needs-intro *::after {
  box-sizing: border-box;
}

#pharmacyneeds-smile-needs-intro :where(h2, h3, p) {
  margin-top: 0;
}

/* stroke-width / linecap / linejoin live on the SVG elements as
   presentation attributes, so they are not repeated here. fill and
   stroke stay in CSS because presentation attributes lose to any
   theme rule. */
#pharmacyneeds-smile-needs-intro svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
  fill: none !important;
  stroke: currentColor !important;
}


/* -------------------------------------------------------------
   3. Container & panel
   ------------------------------------------------------------- */

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__container {
  width: 100% !important;
  max-width: 1740px !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__panel {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(520px, 0.92fr) !important;
  align-items: center !important;
  gap: clamp(70px, 7vw, 130px);
  width: 100%;
  min-height: 850px;
  padding: clamp(82px, 6vw, 110px) clamp(70px, 7vw, 132px) 58px;
  overflow: hidden;
  border: 1px solid rgba(226, 231, 240, 0.92);
  border-radius: 46px;
  background:
    radial-gradient(650px 350px at 100% 100%, rgba(100, 190, 255, 0.16), transparent 75%),
    radial-gradient(420px 300px at 0% 45%, rgba(255, 192, 72, 0.1), transparent 75%),
    linear-gradient(135deg, #fff 0%, #fffefa 52%, #fff 100%);
  box-shadow:
    0 28px 70px rgba(31, 49, 83, 0.1),
    0 7px 22px rgba(31, 49, 83, 0.05);
}

#pharmacyneeds-smile-needs-intro
:is(.pharmacyneeds-smile-needs-intro__content, .pharmacyneeds-smile-needs-intro__visual) {
  position: relative;
  z-index: 3;
  min-width: 0;
}


/* -------------------------------------------------------------
   4. Background decorations
   ------------------------------------------------------------- */

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__dots {
  position: absolute;
  top: 10px;
  left: 22px;
  width: 110px;
  height: 90px;
  opacity: 0.42;
  background-image: radial-gradient(circle, #66d8d3 3px, transparent 3.5px);
  background-size: 15px 15px;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__left-circle {
  position: absolute;
  top: 34%;
  left: -62px;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd982, #ffbf42);
  opacity: 0.7;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__bottom-wave {
  position: absolute;
  right: 0;
  bottom: -65px;
  left: 0;
  height: 150px;
  background:
    radial-gradient(420px 105px at 5% 0%, rgba(91, 186, 248, 0.2), transparent 72%),
    radial-gradient(620px 130px at 82% 5%, rgba(91, 186, 248, 0.13), transparent 72%);
}


/* -------------------------------------------------------------
   5. Left column
   ------------------------------------------------------------- */

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100%;
  text-align: left !important;
}

/* Title — single declaration. v1 declared it 8 times across the
   file; these are the values that actually won. */
#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__title {
  width: 100% !important;
  max-width: 780px !important;
  margin: 0 0 25px !important;
  color: var(--pn-navy) !important;
  font-size: clamp(50px, 4vw, 78px) !important;
  font-weight: 950 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__title-main {
  display: block !important;
  margin: 0 !important;
}

/* The solid colour is the fallback for engines without
   background-clip: text — do not remove it. */
#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__title-highlight {
  display: block !important;
  margin-top: 12px !important;
  padding-bottom: 5px;
  color: #199fd8;
  background: linear-gradient(90deg, #029bce 0%, #31a7df 45%, #8c68d4 78%, #b878d2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__lead {
  position: relative;
  max-width: 710px;
  margin: 0 0 25px;
  padding-left: 23px;
  color: var(--pn-text);
  font-size: clamp(17px, 1.12vw, 20px);
  font-weight: 500;
  line-height: 1.55;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__lead::before {
  content: "";
  position: absolute;
  top: 0.1em;
  bottom: 0.1em;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0ab5c8, #56d8df);
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__lead strong {
  color: var(--pn-navy);
  font-weight: 850;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__points {
  display: grid !important;
  gap: 18px;
  width: 100%;
  max-width: 735px;
  margin: 0 0 31px;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__point {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  align-items: center;
  gap: 15px;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__point-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid rgba(7, 169, 177, 0.14);
  border-radius: 50%;
  color: #06a5ac;
  background: linear-gradient(145deg, #ebfffc, #f8fffe);
  box-shadow: 0 10px 22px rgba(7, 169, 177, 0.09);
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__point-icon--purple {
  color: #7654b8;
  border-color: rgba(118, 84, 184, 0.13);
  background: linear-gradient(145deg, #faf6ff, #f3edff);
}

/* width + height are enough; the min-*/max-* pairs in v1 were never
   binding, since the icon always sits inside a fixed-size box. */
#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__point-icon svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__point p {
  margin: 0 !important;
  color: var(--pn-text);
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 500;
  line-height: 1.55;
}

/* Static callout. It is deliberately non-interactive, so v1's
   transition, :hover, :focus and prefers-reduced-motion rules could
   never fire — pointer-events: none blocks all of them. They are
   removed. If you ever turn this into a real <a>, restore:
     transition: transform .18s ease, box-shadow .18s ease;
     @media (hover:hover) { ...:hover { transform: translateY(-2px);
       box-shadow: 0 18px 34px rgba(10,168,197,.23); } }               */
#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 400px;
  min-height: 57px;
  padding: 14px 22px 14px 29px;
  border: 1px solid rgba(10, 168, 197, 0.25);
  border-radius: 14px;
  color: var(--pn-navy) !important;
  background: linear-gradient(90deg, #bdfff3 0%, #84eadc 56%, #83e3dc 100%);
  box-shadow:
    0 14px 27px rgba(10, 168, 197, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__button > span:last-child {
  font-size: 23px;
  font-weight: 500;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__button--static {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__heart-line {
  position: absolute;
  right: -5px;
  bottom: -56px;
  display: flex;
  align-items: flex-start;
  width: 260px;
  height: 78px;
  color: #52c3c5;
  transform: rotate(-4deg);
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__heart-line span {
  width: 185px;
  height: 56px;
  border-bottom: 2px solid currentColor;
  border-radius: 50%;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__heart-line b {
  margin-left: -2px;
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
}


/* -------------------------------------------------------------
   6. Right card
   ------------------------------------------------------------- */

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__visual {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__visual-card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 640px !important;
  min-height: 670px;
  padding: 108px 52px 58px;
  overflow: hidden;
  border: 1px solid rgba(235, 220, 192, 0.52);
  border-radius: 34px;
  background:
    radial-gradient(330px 260px at 50% 34%, rgba(255, 255, 255, 0.92), transparent 76%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 254, 251, 0.95));
  box-shadow:
    0 27px 54px rgba(49, 63, 89, 0.1),
    0 8px 20px rgba(49, 63, 89, 0.05);
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__shape {
  position: absolute;
  pointer-events: none;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__shape--blue {
  top: -45px;
  left: -35px;
  width: 155px;
  height: 155px;
  border-radius: 48% 52% 65% 35% / 38% 42% 58% 62%;
  background: rgba(116, 205, 255, 0.22);
  transform: rotate(18deg);
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__shape--green-left {
  bottom: -62px;
  left: -75px;
  width: 360px;
  height: 140px;
  border-radius: 50% 50% 0 0;
  background: rgba(118, 201, 101, 0.2);
  transform: rotate(5deg);
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__shape--green-right {
  right: -70px;
  bottom: -65px;
  width: 315px;
  height: 155px;
  border-radius: 50% 50% 0 0;
  background: rgba(91, 194, 112, 0.23);
  transform: rotate(-7deg);
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__sun {
  position: absolute;
  top: 17px;
  right: 35px;
  color: #f7b500;
  font-family: Arial, sans-serif;
  font-size: 78px;
  font-weight: 300;
  line-height: 1;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__cloud {
  position: absolute;
  top: 66px;
  right: 170px;
  color: rgba(87, 160, 219, 0.5);
  font-size: 66px;
  line-height: 1;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__plane {
  position: absolute;
  top: 122px;
  right: 54px;
  color: #a67ae4;
  font-size: 41px;
  line-height: 1;
  transform: rotate(-34deg);
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__route {
  position: absolute;
  top: 174px;
  right: 92px;
  width: 130px;
  height: 55px;
  border-bottom: 3px dashed rgba(166, 122, 228, 0.52);
  border-radius: 50%;
  transform: rotate(-8deg);
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__heart {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  margin-bottom: 25px;
  border-radius: 50%;
  color: var(--pn-pink);
  background: radial-gradient(circle at 50% 50%, #fff 0 46%, #fff3f6 47% 100%);
  box-shadow:
    0 18px 42px rgba(62, 77, 108, 0.1),
    0 0 0 30px rgba(255, 255, 255, 0.58);
  font-family: Arial, sans-serif;
  font-size: 67px;
  font-weight: 300;
  line-height: 1;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__visual-title {
  position: relative;
  z-index: 2;
  margin: 0 0 14px !important;
  color: var(--pn-navy) !important;
  text-align: center;
  font-size: clamp(25px, 1.9vw, 32px) !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__divider {
  position: relative;
  z-index: 2;
  width: 49px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--pn-pink);
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__visual-text {
  position: relative;
  z-index: 2;
  max-width: 470px;
  margin: 0 0 35px !important;
  color: #34425e;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__plant {
  position: absolute;
  right: 35px;
  bottom: -4px;
  color: #55ae52;
  font-family: Georgia, serif;
  font-size: 92px;
  line-height: 1;
  transform: rotate(-12deg);
}


/* -------------------------------------------------------------
   7. Steps
   ------------------------------------------------------------- */

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__steps {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px;
  width: 100%;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__step {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 15px 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  text-align: center;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__step--teal {
  color: #00a5a5;
  background: linear-gradient(145deg, rgba(231, 255, 252, 0.88), rgba(255, 255, 255, 0.73));
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__step--purple {
  color: #6c49a8;
  background: linear-gradient(145deg, rgba(246, 240, 255, 0.9), rgba(255, 255, 255, 0.73));
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__step--orange {
  color: #ee9900;
  background: linear-gradient(145deg, rgba(255, 248, 230, 0.92), rgba(255, 255, 255, 0.73));
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__step-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__step-icon svg {
  display: block !important;
  width: 30px !important;
  height: 30px !important;
}

#pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__step strong {
  color: var(--pn-navy);
  font-size: 14px;
  font-weight: 850;
}


/* -------------------------------------------------------------
   8. Responsive
   ------------------------------------------------------------- */

/* Laptop */
@media (max-width: 1280px) {
  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__panel {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr) !important;
    gap: 45px;
    min-height: 760px;
    padding: 72px 44px 48px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__title {
    max-width: 700px !important;
    font-size: clamp(46px, 4.2vw, 66px) !important;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__visual-card {
    min-height: 610px;
    padding: 95px 34px 48px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__panel {
    grid-template-columns: 1fr !important;
    gap: 46px;
    min-height: 0;
    padding: 72px 34px 48px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__content {
    align-items: center !important;
    text-align: center !important;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__title {
    max-width: 680px !important;
    line-height: 1.01 !important;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__lead {
    padding: 18px 0 0;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__lead::before {
    top: 0;
    right: 22%;
    bottom: auto;
    left: 22%;
    width: auto;
    height: 4px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__point {
    text-align: left;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__heart-line {
    display: none;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__visual-card {
    max-width: 680px !important;
  }
}

/* Mobile — v1 split this across three separate blocks. */
@media (max-width: 600px) {
  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__container {
    padding: 0 10px !important;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__panel {
    gap: 34px;
    padding: 64px 18px 34px;
    border-radius: 26px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__title {
    max-width: 100% !important;
    font-size: clamp(34px, 11vw, 48px) !important;
    line-height: 1.02 !important;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__title-highlight {
    margin-top: 9px !important;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__point {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 12px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__point-icon {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__point-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__button {
    width: 100% !important;
    min-width: 0;
    padding: 14px 17px;
    font-size: 14px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__visual-card {
    min-height: 555px;
    padding: 88px 16px 38px;
    border-radius: 24px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__heart {
    width: 102px;
    height: 102px;
    box-shadow:
      0 15px 34px rgba(62, 77, 108, 0.1),
      0 0 0 20px rgba(255, 255, 255, 0.54);
    font-size: 54px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__steps {
    gap: 8px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__step {
    min-height: 96px;
    padding: 11px 4px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__step-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 8px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__step-icon svg {
    width: 26px !important;
    height: 26px !important;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__step strong {
    font-size: 11px;
  }

  #pharmacyneeds-smile-needs-intro
  :is(.pharmacyneeds-smile-needs-intro__cloud, .pharmacyneeds-smile-needs-intro__route) {
    display: none;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__sun {
    right: 18px;
    font-size: 60px;
  }

  #pharmacyneeds-smile-needs-intro .pharmacyneeds-smile-needs-intro__plane {
    top: 120px;
    right: 22px;
    font-size: 31px;
  }
}