/* =============================================================
   PharmacyNeeds × «Το Χαμόγελο του Παιδιού»
   Scoped section stylesheet — pixel-identical to v1

   Scope root : #pharmacyneeds-the-smile-of-child
   Namespace  : .pn-smile__*
   Note       : the section ID is unchanged, so any anchor link
                (#pharmacyneeds-the-smile-of-child) keeps working.

   CONTENTS
     1. Scope root, tokens, background
     2. Local resets
     3. Container & panel
     4. Content column
     5. Buttons
     6. Note
     7. Visual column
     8. Logos
     9. Message & values
    10. Responsive
    11. Reduced motion
   ============================================================= */


/* -------------------------------------------------------------
   1. Scope root, tokens, background
   ------------------------------------------------------------- */

#pharmacyneeds-the-smile-of-child {
  --pn-blue: #0ea5e9;
  --pn-blue-dark: #0284c7;
  --pn-red: #e11d48;
  --pn-pink: #f43f5e;
  --pn-heading: #0f172a;
  --pn-text: #475569;
  --pn-muted: #64748b;
  --pn-border: rgba(148, 163, 184, 0.24);

  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: clamp(48px, 5vw, 80px) 0 clamp(20px, 3vw, 42px);
  overflow: hidden;
  background:
    radial-gradient(900px 520px at -8% -10%, rgba(14, 165, 233, 0.18), transparent 58%),
    radial-gradient(850px 520px at 108% 5%, rgba(244, 63, 94, 0.14), transparent 60%),
    radial-gradient(760px 500px at 50% 115%, rgba(34, 197, 94, 0.11), transparent 62%),
    linear-gradient(180deg, #f7fbff 0%, #fff 46%, #f9fcff 100%);
}

/* Grid overlay */
#pharmacyneeds-the-smile-of-child::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px) 0 0 / 34px 34px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.42) 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.42) 58%, transparent 100%);
}


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

#pharmacyneeds-the-smile-of-child,
#pharmacyneeds-the-smile-of-child *,
#pharmacyneeds-the-smile-of-child *::before,
#pharmacyneeds-the-smile-of-child *::after {
  box-sizing: border-box;
}

#pharmacyneeds-the-smile-of-child > * {
  position: relative;
  z-index: 1;
}

#pharmacyneeds-the-smile-of-child :where(h1, h2, p) {
  margin-top: 0;
}

#pharmacyneeds-the-smile-of-child :where(img, svg) {
  display: block;
  max-width: 100%;
  height: auto;
}


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

#pharmacyneeds-the-smile-of-child .pn-smile__container {
  width: 100% !important;
  max-width: 1740px !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
}

#pharmacyneeds-the-smile-of-child .pn-smile__panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr) !important;
  align-items: center !important;
  gap: clamp(34px, 4vw, 64px);
  width: 100%;
  padding: clamp(34px, 4vw, 54px);
  border: 1px solid var(--pn-border);
  border-radius: clamp(26px, 3vw, 38px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.84));
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.12),
    0 10px 28px rgba(15, 23, 42, 0.07);

  /* PERF: the two lines below are the most expensive rules in this
     file. The panel background is 97%→84% opaque white, so the blur
     is barely perceptible. Comment them out for a large scrolling
     win on mid/low-end mobile — the design stays effectively the
     same. Left enabled by default so nothing changes visually. */
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
}

#pharmacyneeds-the-smile-of-child :is(.pn-smile__content, .pn-smile__visual) {
  min-width: 0;
}


/* -------------------------------------------------------------
   4. Content column
   ------------------------------------------------------------- */

#pharmacyneeds-the-smile-of-child .pn-smile__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100%;
  text-align: left !important;
}

#pharmacyneeds-the-smile-of-child .pn-smile__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 9px 14px;
  border: 1px solid rgba(244, 63, 94, 0.22);
  border-radius: 999px;
  color: #9f1239;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.11), rgba(14, 165, 233, 0.1));
  box-shadow: 0 0 0 5px rgba(244, 63, 94, 0.045);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 850;
  line-height: 1.2;
}

#pharmacyneeds-the-smile-of-child .pn-smile__eyebrow-icon {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--pn-pink), #fb7185);
  box-shadow: 0 5px 12px rgba(244, 63, 94, 0.24);
  font-size: 13px;
}

#pharmacyneeds-the-smile-of-child .pn-smile__title {
  width: 100% !important;
  max-width: 700px !important;
  margin: 0 0 22px !important;
  color: var(--pn-heading) !important;
  font-size: clamp(38px, 4vw, 66px) !important;
  font-weight: 950 !important;
  line-height: 1.03 !important;
  letter-spacing: -0.045em !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* Gradient text. The solid colour is the fallback for engines that
   do not support background-clip: text — do not remove it. */
#pharmacyneeds-the-smile-of-child .pn-smile__title > span {
  display: block !important;
  margin-top: 7px;
  color: #0878b9;
  background: linear-gradient(90deg, var(--pn-blue-dark), var(--pn-blue) 44%, var(--pn-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#pharmacyneeds-the-smile-of-child .pn-smile__lead {
  max-width: 720px;
  margin: 0 0 15px;
  color: #243247;
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 700;
  line-height: 1.55;
}

#pharmacyneeds-the-smile-of-child .pn-smile__text {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--pn-text);
  font-size: clamp(15px, 1.02vw, 17px);
  font-weight: 470;
  line-height: 1.68;
}

#pharmacyneeds-the-smile-of-child :is(.pn-smile__lead, .pn-smile__text) strong {
  color: #172033;
  font-weight: 850;
}


/* -------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------- */

#pharmacyneeds-the-smile-of-child .pn-smile__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px;
  width: 100%;
  margin: 20px 0 15px;
}

#pharmacyneeds-the-smile-of-child .pn-smile__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-align: center;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
  /* Only transform changes on hover — transitioning box-shadow and
     border-color forced needless repaints. */
  transition: transform 0.18s ease;
}

#pharmacyneeds-the-smile-of-child .pn-smile__button--primary {
  color: #fff !important;
  background: linear-gradient(90deg, var(--pn-blue-dark), var(--pn-blue) 48%, var(--pn-red));
  box-shadow:
    0 13px 26px rgba(14, 165, 233, 0.2),
    0 5px 12px rgba(225, 29, 72, 0.11);
}

#pharmacyneeds-the-smile-of-child .pn-smile__button--secondary {
  color: #172033 !important;
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.07);
}

@media (hover: hover) {
  #pharmacyneeds-the-smile-of-child .pn-smile__button:hover {
    transform: translateY(-2px);
  }
}

#pharmacyneeds-the-smile-of-child .pn-smile__button:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.32);
  outline-offset: 4px;
}


/* -------------------------------------------------------------
   6. Note
   ------------------------------------------------------------- */

#pharmacyneeds-the-smile-of-child .pn-smile__note {
  position: relative;
  max-width: 680px;
  margin: 5px 0 0;
  padding-left: 19px;
  color: var(--pn-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

#pharmacyneeds-the-smile-of-child .pn-smile__note::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pn-blue), var(--pn-red));
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.09);
}


/* -------------------------------------------------------------
   7. Visual column
   ------------------------------------------------------------- */

#pharmacyneeds-the-smile-of-child .pn-smile__visual {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
}

#pharmacyneeds-the-smile-of-child .pn-smile__visual-card {
  position: relative;
  width: 100% !important;
  max-width: 540px !important;
  margin: 0 !important;
  padding: clamp(22px, 2.4vw, 34px);
  overflow: hidden;
  border: 1px solid var(--pn-border);
  border-radius: 28px;
  background:
    radial-gradient(480px 240px at 10% 0%, rgba(14, 165, 233, 0.13), transparent 62%),
    radial-gradient(460px 240px at 100% 100%, rgba(244, 63, 94, 0.11), transparent 62%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88));
  box-shadow:
    0 24px 55px rgba(15, 23, 42, 0.12),
    0 8px 20px rgba(15, 23, 42, 0.07);
}

#pharmacyneeds-the-smile-of-child .pn-smile__visual-card::before,
#pharmacyneeds-the-smile-of-child .pn-smile__visual-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

#pharmacyneeds-the-smile-of-child .pn-smile__visual-card::before {
  top: -92px;
  right: -75px;
  width: 180px;
  height: 180px;
  background: rgba(14, 165, 233, 0.08);
}

#pharmacyneeds-the-smile-of-child .pn-smile__visual-card::after {
  bottom: -75px;
  left: -65px;
  width: 145px;
  height: 145px;
  background: rgba(244, 63, 94, 0.07);
}


/* -------------------------------------------------------------
   8. Logos
   ------------------------------------------------------------- */

#pharmacyneeds-the-smile-of-child .pn-smile__logos {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) !important;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
}

#pharmacyneeds-the-smile-of-child .pn-smile__logo-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0;
  min-height: 142px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 13px 28px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* max-height was redundant: height is already fixed. */
#pharmacyneeds-the-smile-of-child .pn-smile__logo {
  display: block !important;
  width: 100% !important;
  height: 100px !important;
  max-width: 220px !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* The "+" glyph in the markup is collapsed by font-size: 0 and drawn
   with the two pseudo-elements below. */
#pharmacyneeds-the-smile-of-child .pn-smile__support-symbol {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pn-blue-dark), var(--pn-red));
  box-shadow:
    0 9px 20px rgba(14, 165, 233, 0.22),
    0 5px 12px rgba(225, 29, 72, 0.16);
  font-size: 0;
}

#pharmacyneeds-the-smile-of-child .pn-smile__support-symbol::before,
#pharmacyneeds-the-smile-of-child .pn-smile__support-symbol::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
}

#pharmacyneeds-the-smile-of-child .pn-smile__support-symbol::before {
  width: 16px;
  height: 3px;
}

#pharmacyneeds-the-smile-of-child .pn-smile__support-symbol::after {
  width: 3px;
  height: 16px;
}


/* -------------------------------------------------------------
   9. Message & values
   ------------------------------------------------------------- */

#pharmacyneeds-the-smile-of-child .pn-smile__visual-message {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  padding: 17px 18px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(244, 63, 94, 0.075));
}

#pharmacyneeds-the-smile-of-child .pn-smile__heart {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #fb7185, var(--pn-red));
  box-shadow: 0 10px 19px rgba(225, 29, 72, 0.19);
  font-size: 21px;
}

#pharmacyneeds-the-smile-of-child .pn-smile__visual-message p {
  margin: 0 !important;
  color: #334155;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

#pharmacyneeds-the-smile-of-child .pn-smile__values {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

#pharmacyneeds-the-smile-of-child .pn-smile__values > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  color: var(--pn-text);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 7px 14px rgba(15, 23, 42, 0.05);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
}


/* -------------------------------------------------------------
   10. Responsive
   ------------------------------------------------------------- */

/* Laptop */
@media (max-width: 1220px) {
  #pharmacyneeds-the-smile-of-child .pn-smile__panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr) !important;
    gap: 32px;
    padding: 36px;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__title {
    font-size: clamp(38px, 4.5vw, 58px) !important;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__logo-box {
    min-height: 126px;
    padding: 14px;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__logo {
    height: 88px !important;
  }
}

/* Tablet */
@media (max-width: 760px) {
  #pharmacyneeds-the-smile-of-child .pn-smile__container {
    max-width: 820px !important;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__panel {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px;
    padding: clamp(24px, 5vw, 38px);
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__content {
    align-items: center !important;
    text-align: center !important;
  }

  #pharmacyneeds-the-smile-of-child
  :is(.pn-smile__title, .pn-smile__lead, .pn-smile__text, .pn-smile__note) {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__actions {
    justify-content: center;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__note {
    text-align: left !important;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__visual-card {
    max-width: 620px !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  #pharmacyneeds-the-smile-of-child .pn-smile__container {
    padding: 0 10px !important;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__panel {
    gap: 26px;
    padding: 20px 14px;
    border-radius: 24px;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__title {
    font-size: clamp(32px, 10.3vw, 44px) !important;
    line-height: 1.06 !important;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__button {
    width: 100% !important;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__visual-card {
    padding: 18px 12px;
    border-radius: 22px;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__logos {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__support-symbol {
    width: 38px;
    height: 38px;
    margin: 0 auto;
  }

  #pharmacyneeds-the-smile-of-child .pn-smile__visual-message {
    grid-template-columns: 1fr !important;
    justify-items: center;
    text-align: center;
  }
}


/* -------------------------------------------------------------
   11. Reduced motion
   ------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  #pharmacyneeds-the-smile-of-child .pn-smile__button {
    transition: none;
  }
}