/* FONTURI LOCALE */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope-Medium.ttf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* VARIABILE CSS */

:root {
  --bg: #fffaf7;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #657084;
}

:root {
  --bg: #fffaf7;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #657084;
  --brand: #AC92BA;
  --brand-dark: #0b4f49;
  --accent: #d99771;
  --soft: #f3e7dc;
  --ring: rgba(15, 118, 110, 0.18);
  --shadow: 0 22px 70px rgba(57, 45, 38, 0.14);
  --radius: 28px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(
    #BDAFC6 0%,
    #D8CDE1 55%,
    #F4EFF7 100%
  );
  line-height: 1.6;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 247, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(23, 32, 51, 0.06);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #7cc4ba);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.25);
  background-image: url("pictures/logo.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.brand small {
  display: block;
  
color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: 14px;
}
.nav-links a {
  text-decoration: none;
  color: #394154;
}
.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink) !important;
  color: #fff !important;
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
}
.hero {
  padding: 76px 0 38px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1,
.section h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
}
.hero h1 {
  font-size: clamp(38px, 7vw, 38px);
}
.section h2 {
  font-size: clamp(34px, 4vw, 56px);
}
.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 700px;
}
.lead.small {
  font-size: 17px;
}
.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    0.2s transform,
    0.2s box-shadow,
    0.2s background;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.25);
}
.button.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(23, 32, 51, 0.1);
}
.button.whatsapp {
  width: 100%;
  background: #25d366;
  color: #fff;
  margin-top: 16px;
}
.button:disabled,
.is-disabled {
  background: #9ca3af !important;
  cursor: not-allowed;
  opacity: 0.75;
  transform: none !important;
  box-shadow: none !important;
}
.trust-row span {
  font-size: 13px;
  color: #526074;
  background: #fff;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 51, 0.06);
}
.hero-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.portrait {
  height: 330px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 28%, #fff 0 14%, transparent 15%),
    radial-gradient(circle at 55% 34%, #f4b7a0 0 10%, transparent 11%),
    linear-gradient(145deg, #0f766e, #a7d8cf 48%, #f1c7a9);
  position: relative;
  overflow: hidden;
  background-image: url("pictures/baby.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.portrait:after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -70px;
  height: 250px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50% 50% 0 0;
}
.hero-card-content {
  padding: 22px 10px 8px;
}
.hero-card h2 {
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.metrics article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 32, 51, 0.07);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(57, 45, 38, 0.07);
}
.metrics strong {
  font-size: 28px;
  display: block;
}
.metrics span {
  color: var(--muted);
}
.section {
  padding: 84px 0;
}
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
}
.card-soft,
.contact-card,
.payment-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.service-section {
  background: linear-gradient(
    180deg,
    rgba(15, 118, 110, 0.08),
    rgba(255, 255, 255, 0.1)
  );
  border-block: 1px solid rgba(23, 32, 51, 0.06);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card,
.values article,
.timeline article {
  background: #fff;
  border: 1px solid rgba(23, 32, 51, 0.07);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 35px rgba(57, 45, 38, 0.08);
}
.service-card span,
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--brand-dark);
  font-weight: 800;
}
.service-card h3,
.timeline h3,
.values h3 {
  margin: 18px 0 8px;
}
.service-card p,
.timeline p,
.values p {
  color: var(--muted);
  margin: 0;
}
.process .narrow {
  max-width: 560px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.paid-band {
  background: #8A5A8A;
/*linear-gradient(135deg, #0b4f49, #0f766e);*/
  color: #fff;
}
.paid-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.paid-band .eyebrow {
  color: #b9f3e9;
}
.paid-band .lead,
.paid-band li {
  color: rgba(255, 255, 255, 0.82);
}
.check-list {
  padding-left: 20px;
}
.payment-card {
  color: var(--ink);
  display: grid;
  gap: 9px;
}
.payment-card input,
.payment-card select {
  width: 100%;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  outline: none;
}
.payment-card input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 5px var(--ring);
}
.payment-card label {
  font-size: 13px;
  font-weight: 800;
  color: #3d4658;
}
.paid-services-status {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}
.chat-open-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 800;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}
.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 80px;

  width: min(380px, calc(100vw - 20px));

  height: min(75vh, 600px);
  max-height: 75vh;

  display: none;
  flex-direction: column;
  overflow: hidden;

  z-index: 1001;

  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(0,0,0,.24);
  border: 1px solid rgba(0,0,0,.08);
}
.chat-widget.is-open {
  display: flex;
}
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #075e54, #128c7e);
  color: #fff;
}
.chat-header h3 {
  font-size: 14px;
  font-weight: 600;
}
.chat-header p {
  margin: 3px 0 0;
  font-size: 12px;
  opacity: 0.9;
}
.chat-close-button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 270px;
  max-height: 380px;
  overflow-y: auto;
  padding: 14px;
  background: #f2f5f7;
}
.chat-message {
  width: fit-content;
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 16px;
  line-height: 1.45;
  white-space: pre-wrap;
  font-size: 14px;
}
.chat-message.bot {
  align-self: flex-start;
  background: #fff;
  color: #1f2937;
  border-bottom-left-radius: 5px;
}
.chat-message.user {
  align-self: flex-end;
  background: #dcf8c6;
  color: #111827;
  border-bottom-right-radius: 5px;
}
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}
.chat-input-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 11px 13px;
}
.chat-send-button {
  border: 0;
  border-radius: 999px;
  background: #075e54;
  color: #fff;
  font-weight: 800;
  padding: 10px 15px;
}
.chat-note {
  margin: 0;
  padding: 0 14px 14px;
  font-size: 11px;
  color: #6b7280;
  background: #fff;
}
.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.6);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}
.simple-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.success-card {
  max-width: 590px;
  background: #fff;
  border-radius: 28px;
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow);
}
.phone {
  display: inline-block;
  margin: 12px 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
}
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .paid-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .timeline,
  .values,
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .portrait {
    height: 330px;
  }
}
@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 18px;
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open {
    display: flex;
  }
  .hero {
    padding-top: 48px;
  }
  .metrics,
  .service-grid,
  .timeline,
  .values {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
  }
  .chat-open-button {
    right: 12px;
    bottom: 14px;
  }
  .chat-widget {
    right: 10px;
    bottom: 76px;
    width: calc(100vw - 20px);
  }
}
@media (max-width: 768px) {
  .chat-widget {
    right: 10px;
    left: 10px;
    bottom: 75px;

    width: auto;
    height: 70vh;
    max-height: 70vh;

    border-radius: 16px;
  }

  .chat-header {
    padding: 12px;
  }

  .chat-messages {
    flex: 1;
    overflow-y: auto;
  }
}
body {
  font-size: 15px;
  line-height: 1.6;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

p,
li,
input,
button,
a,
ul {
  font-size: 0.95rem;
}

ul {
  font-family: Manrope, Arial, sans-serif;
  color: var(--muted);
}

.chat-widget {
  bottom: 80px;
  height: min(70vh, 600px);
  max-height: 70vh;
}

.chat-header h3 {
  font-size: 14px;
}

.chat-message {
  font-size: 13px;
}

@media (max-width: 768px) {
  .chat-widget {
    left: 10px;
    right: 10px;
    width: auto;
    height: 70vh;
    max-height: 70vh;
    bottom: 75px;
  }
}


/* Additional editorial pages */
.nav-links a.active {
  color: var(--brand);
}
.page-hero {
  padding: 78px 0 36px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 44px;
  align-items: center;
}
.page-kicker-card {
  background: linear-gradient(180deg, #fff, #f8eee6);
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.page-kicker-card strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 54px;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
}
.content-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
}
.sidebar-card {
  position: sticky;
  top: 104px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.sidebar-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}
.editorial-stack {
  display: grid;
  gap: 20px;
}
.editorial-card {
  background: #fff;
  border: 1px solid rgba(23, 32, 51, 0.07);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(57, 45, 38, 0.08);
}
.editorial-card h2,
.editorial-card h3 {
  margin: 0 0 12px;
}
.editorial-card p {
  color: var(--muted);
  margin: 0 0 14px;
}
.editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.editorial-meta span {
  background: var(--soft);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.quote-band {
  background: linear-gradient(135deg, rgba(15,118,110,.12), rgba(217,151,113,.14));
  border: 1px solid rgba(23, 32, 51, 0.07);
  border-radius: var(--radius);
  padding: 34px;
}
.quote-band p {
  font-size: 20px;
  color: var(--ink);
  margin: 0;
}
@media (max-width: 900px) {
  .page-hero-grid,
  .content-layout,
  .article-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-card {
    position: static;
  }
}

/* Professional content-hub layouts for the three editorial tabs */
.profile-hero,
.library-hero,
.blog-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 151, 113, 0.2), transparent 32%),
    radial-gradient(circle at 10% 12%, rgba(15, 118, 110, 0.12), transparent 28%);
}

.profile-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.doctor-profile-card,
.premium-card,
.newsletter-card,
.feature-panel,
.featured-article-card,
.blog-featured-post,
.filter-card,
.cta-mini-card,
.blog-post-list article {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.doctor-profile-card {
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.doctor-profile-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 9px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 30px;
  margin-bottom: 22px;

  background-image: url("pictures/portrait-avatar.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.24);
}
.doctor-profile-card h2,
.premium-card h2,
.newsletter-card h2,
.feature-panel h2,
.featured-article-card h2,
.blog-featured-post h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.doctor-profile-card p,
.doctor-profile-card ul,
.premium-card p,
.newsletter-card p,
.feature-panel p,
.featured-article-card p,
.blog-featured-post p,
.article-card p,
.blog-post-list p,
.cta-mini-card p {
  color: var(--muted);
}
.profile-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.profile-stat-row span,
.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 11px;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}
.profile-section-grid,
.article-page-grid,
.blog-layout {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 34px;
  align-items: start;
}
.feature-panel,
.featured-article-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 34px;
}
.panel-number,
.article-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand), #7cc4ba);
  color: #fff;
  font-weight: 800;
}
.credential-timeline {
  display: grid;
  gap: 16px;
}
.credential-timeline article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(23, 32, 51, 0.07);
  border-radius: 24px;
}
.credential-timeline span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--soft);
  color: var(--brand-dark);
  font-weight: 800;
}
.values-mini-grid,
.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.values-mini-grid article,
.article-card {
  background: #fff;
  border: 1px solid rgba(23, 32, 51, 0.07);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(57, 45, 38, 0.08);
}
.filter-card {
  position: sticky;
  top: 104px;
  padding: 26px;
  display: grid;
  gap: 10px;
}
.filter-card a,
.text-link,
.article-card a,
.cta-mini-card a {
  color: #8A5A8A;
  font-weight: 800;
  text-decoration: none;
}
/*
.filter-card a {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.08);
}
*/
.article-library,
.blog-main,
.blog-sidebar {
  display: grid;
  gap: 20px;
}
.featured-article-card {
  background: linear-gradient(135deg, #fff, #f8eee6);
}
.article-card h3,
.blog-post-list h3,
.cta-mini-card h3 {
  margin: 12px 0 8px;
}
.blog-layout {
  grid-template-columns: 1fr 0.36fr;
}
.blog-featured-post {
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(15,118,110,.94), rgba(11,79,73,.96)),
    #0f766e;
  color: #fff;
}
.blog-featured-post p,
.blog-featured-post .badge {
  color: rgba(255, 255, 255, 0.84);
}
.blog-featured-post .badge {
  background: rgba(255, 255, 255, 0.14);
}
.blog-post-list {
  display: grid;
  gap: 16px;
}
.blog-post-list article {
  padding: 24px;
}
.blog-post-list time {
  color: var(--brand);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.newsletter-card,
.premium-card,
.cta-mini-card {
  padding: 30px;
}
.cta-mini-card {
  background: linear-gradient(180deg, #fff, #f8eee6);
}
@media (max-width: 980px) {
  .profile-hero-grid,
  .profile-section-grid,
  .article-page-grid,
  .blog-layout,
  .values-mini-grid,
  .article-card-grid {
    grid-template-columns: 1fr;
  }
  .filter-card,
  .profile-sidebar {
    position: static;
  }
}
@media (max-width: 620px) {
  .feature-panel,
  .featured-article-card,
  .credential-timeline article {
    grid-template-columns: 1fr;
  }
  .blog-featured-post,
  .doctor-profile-card,
  .feature-panel,
  .featured-article-card {
    padding: 26px;
  }
}


/* Article detail pages */
.article-detail-hero {
  background:
    radial-gradient(circle at 80% 14%, rgba(217, 151, 113, 0.22), transparent 32%),
    radial-gradient(circle at 12% 20%, rgba(15, 118, 110, 0.14), transparent 30%);
}
.article-detail-grid,
.article-reading-layout {
  display: grid;
  grid-template-columns: 1fr 0.36fr;
  gap: 34px;
  align-items: start;
}
.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.article-meta span {
  background: #fff;
  border: 1px solid rgba(23, 32, 51, 0.07);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.article-summary-card,
.article-body,
.article-side-panel .sidebar-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-summary-card {
  padding: 30px;
}
.article-body {
  padding: 42px;
}
.article-body h2 {
  font-family: Manrope, Arial, sans-serif;
}
.article-body p,
.article-body li {
  color: var(--muted);
}
.article-body p:first-child {
  margin-top: 0;
}
.article-disclaimer {
  background: rgba(15, 118, 110, 0.08);
  border-left: 4px solid var(--brand);
  border-radius: 18px;
  padding: 18px;
}
.article-body blockquote {
  margin: 34px 0;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15,118,110,.10), rgba(217,151,113,.14));
  font-size: 20px;
  color: var(--ink);
}
.article-side-panel {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 104px;
}
.related-card {
  position: static;
  display: grid;
  gap: 12px;
}
.related-card a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}
.nav-links a.active {
  color: var(--brand-dark);
}

/* Legal, privacy and compliance additions */
.footer-legal-grid {
  align-items: flex-start;
}
.footer-disclaimer {
  margin: 6px 0 0;
  font-size: 12px;
  color: #8a5260;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  font-weight: 800;
}
.legal-links a {
  text-decoration: none;
  color: var(--brand-dark);
}
.legal-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  background: rgba(15, 118, 110, 0.08);
  border-radius: 14px;
  padding: 12px;
}
.consent-row {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 8px;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--muted) !important;
  line-height: 1.45;
}
.consent-row input {
  width: 18px !important;
  height: 18px;
  margin-top: 2px;
}
.consent-row a {
  color: var(--brand-dark);
  font-weight: 800;
}
.legal-hero {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(255,255,255,.1));
}
.legal-highlight {
  padding: 28px;
}
.legal-document {
  max-width: 920px;
}
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1200;
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.cookie-banner.is-hidden {
  display: none;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.small-button {
  padding: 10px 14px;
  font-size: 13px;
}

/* FAQ page */
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid rgba(23, 32, 51, 0.07);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(57, 45, 38, 0.08);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 22px 56px 22px 24px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--brand);
}
.faq-item.is-open .faq-question::after {
  content: "−";
}
.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--muted);
}
.faq-item.is-open .faq-answer {
  display: block;
}
.faq-answer p {
  margin: 0;
}
.disabled-link {
    pointer-events: none;
    color: #999;
    text-decoration: none;
    cursor: default;
}

.doctor-profile-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  align-items: start;
  padding: 34px;
}

.profile-avatar {
  width: 140px;
  height: 140px;
  margin: 0;
}

/* Fix doctor profile card: desktop horizontal, mobile vertical */
.doctor-profile-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding: 34px;
}

.doctor-profile-card > * {
  min-width: 0;
}

.doctor-profile-card p,
.doctor-profile-card ul,
.doctor-profile-card li,
.doctor-profile-card h2 {
  overflow-wrap: anywhere;
}

.profile-avatar {
  width: 140px;
  height: 140px;
  margin: 0;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .footer-legal-grid,
  .legal-links,
  .cookie-banner,
  .cookie-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-links {
    justify-content: flex-start;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .profile-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .doctor-profile-card {
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding: 24px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .profile-avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 8px;
  }

  .doctor-profile-card h2,
  .doctor-profile-card p,
  .doctor-profile-card ul,
  .doctor-profile-card li,
  .profile-stat-row {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .doctor-profile-card ul {
    margin: 0;
    padding-left: 18px;
  }

  .profile-stat-row {
    gap: 8px;
  }

  .netopia-badge {
  text-align: -webkit-center;
  margin: 15px 0;
}

  .ANPC-badge{
      display:flex;
      justify-content:center;
      align-items:center;
      width:100%;
      margin:20px 0;
      justify-self: center !important;
      text-align: center;
  }
}

ul.service-options {
  list-style-type: none !important;
  list-style-image: none !important;
}

ul.service-options > li {
  display: flex !important;
  list-style-type: none !important;
  list-style-image: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

ul.service-options > li::marker {
  content: "" !important;
  font-size: 0 !important;
}

.payment-card input:focus,
.payment-card select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 5px var(--ring);
}

.payment-card select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand) 50%),
    linear-gradient(135deg, var(--brand) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;

  padding-right: 40px;
}

.article-body img {
    display: block;
    width: 60%;
    height: auto;
    margin: 0 auto;
}

.netopia-badge {
  text-align: -webkit-center;
  margin: 15px 0;
}

.ANPC-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 5px auto;
  text-align: center;
}

.ANPC-badge a {
  display: flex;
  justify-content: center;
}

.ANPC-badge img {
  display: block;
  max-width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .article-detail-grid,
  .article-reading-layout {
    grid-template-columns: 1fr;
  }
  .article-side-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .paid-grid {
    grid-template-columns: 1fr;
  }

  .paid-grid > div:first-child {
    width: 100%;
  }

  .ANPC-badge {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 620px) {
  .article-body {
    padding: 26px;
  }

  .paid-grid {
    grid-template-columns: 1fr;
  }

  .paid-grid > div:first-child {
    width: 100%;
  }

  .ANPC-badge {
    margin-left: auto;
    margin-right: auto;
  }
}
