:root {
  --mdt-navy: #0b315c;
  --mdt-navy-2: #06264a;
  --mdt-blue: #2f78bf;
  --mdt-cyan: #15acd2;
  --mdt-ink: #17324d;
  --mdt-muted: #5e7183;
  --mdt-line: #d9e6ee;
  --mdt-pale: #eef8fc;
  --mdt-white: #ffffff;
  --mdt-shadow: 0 18px 50px rgba(10, 48, 89, 0.12);
  --mdt-radius: 22px;
}

body.mdt-turcia-layout-active {
  overflow-x: hidden;
}

.mdt-turcia-main,
.mdt-turcia-main * {
  box-sizing: border-box;
}

.mdt-turcia-main {
  color: var(--mdt-ink);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.65;
  background: var(--mdt-white);
}

.mdt-turcia-layout .elementor-section,
.mdt-turcia-layout .elementor-column,
.mdt-turcia-layout .elementor-widget-wrap,
.mdt-turcia-layout .elementor-widget,
.mdt-turcia-layout .elementor-widget-container {
  margin: 0;
  padding: 0;
}

.mdt-turcia-main a {
  color: inherit;
  text-decoration: none;
}

.mdt-turcia-main h1,
.mdt-turcia-main h2,
.mdt-turcia-main h3,
.mdt-turcia-main p,
.mdt-turcia-main ul,
.mdt-turcia-main ol,
.mdt-turcia-main blockquote {
  margin-top: 0;
}

.mdt-turcia-main h1,
.mdt-turcia-main h2,
.mdt-turcia-main h3 {
  color: var(--mdt-navy-2);
  font-family: "Poppins", Arial, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.mdt-turcia-main h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5.2vw, 74px);
  font-weight: 700;
}

.mdt-turcia-main h2 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(32px, 3.7vw, 52px);
  font-weight: 700;
}

.mdt-turcia-main h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 700;
}

.mdt-section {
  position: relative;
  padding: 92px 0;
}

.mdt-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.mdt-eyebrow {
  margin-bottom: 18px;
  color: var(--mdt-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.mdt-lead,
.mdt-intro {
  max-width: 820px;
  color: var(--mdt-muted);
  font-size: 18px;
  line-height: 1.75;
}

.mdt-hero {
  padding: 64px 0 78px;
  background: linear-gradient(135deg, #f3f9fd 0%, #ffffff 62%, #edf8fc 100%);
}

.mdt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 66px;
  align-items: center;
}

.mdt-hero .mdt-lead {
  max-width: 690px;
  margin-bottom: 30px;
}

.mdt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.mdt-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.mdt-button:hover,
.mdt-button:focus-visible {
  transform: translateY(-2px);
}

.mdt-button-primary {
  color: #fff !important;
  background: var(--mdt-blue);
  box-shadow: 0 10px 24px rgba(47, 120, 191, .24);
}

.mdt-button-primary:hover,
.mdt-button-primary:focus-visible {
  background: #246cac;
  box-shadow: 0 14px 30px rgba(47, 120, 191, .32);
}

.mdt-button-secondary {
  color: var(--mdt-navy) !important;
  border-color: #b8cbd8;
  background: rgba(255, 255, 255, .8);
}

.mdt-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  padding: 0;
  list-style: none;
}

.mdt-checks li {
  position: relative;
  padding-left: 25px;
  color: var(--mdt-navy);
  font-size: 14px;
  font-weight: 600;
}

.mdt-checks li::before {
  position: absolute;
  left: 0;
  color: var(--mdt-cyan);
  content: "✓";
  font-size: 18px;
  font-weight: 800;
}

.mdt-hero-media {
  overflow: hidden;
  border-radius: var(--mdt-radius);
  background: #fff;
  box-shadow: var(--mdt-shadow);
}

.mdt-hero-media img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.mdt-hero-media p {
  margin: 0;
  padding: 22px 25px;
  color: var(--mdt-muted);
  font-size: 14px;
}

.mdt-hero-media strong {
  color: var(--mdt-navy);
}

.mdt-network {
  color: #fff;
  background: var(--mdt-navy-2);
}

.mdt-network h2,
.mdt-network .mdt-eyebrow {
  color: #fff;
}

.mdt-network-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 38px;
}

.mdt-network h2 {
  margin-bottom: 0;
}

.mdt-stat {
  display: flex;
  min-width: 190px;
  flex-direction: column;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .25);
}

.mdt-stat strong {
  font-size: 45px;
  line-height: 1;
}

.mdt-stat span {
  margin-top: 8px;
  color: #c8d9e8;
  font-size: 13px;
}

.mdt-hospital-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mdt-hospital-links a {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease;
}

.mdt-hospital-links a:hover,
.mdt-hospital-links a:focus-visible {
  border-color: var(--mdt-cyan);
  background: rgba(21, 172, 210, .15);
}

.mdt-guidance,
.mdt-why,
.mdt-reviews {
  background: #fff;
}

.mdt-specialties,
.mdt-benefits,
.mdt-faq {
  background: var(--mdt-pale);
}

.mdt-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.mdt-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mdt-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mdt-card,
.mdt-number-card {
  padding: 29px;
  border: 1px solid var(--mdt-line);
  border-radius: 15px;
  background: #fff;
}

.mdt-card p,
.mdt-number-card p {
  margin-bottom: 0;
  color: var(--mdt-muted);
  font-size: 14px;
}

.mdt-number-card > span,
.mdt-specialty-card > span {
  display: block;
  margin-bottom: 28px;
  color: var(--mdt-blue);
  font-size: 13px;
  font-weight: 700;
}

.mdt-text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 32px;
  color: var(--mdt-blue) !important;
  font-weight: 700;
}

.mdt-specialty-grid {
  gap: 16px;
}

.mdt-specialty-card {
  display: flex;
  min-height: 265px;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mdt-specialty-card:hover,
.mdt-specialty-card:focus-visible {
  transform: translateY(-4px);
  border-color: #9ac9e0;
  box-shadow: 0 14px 34px rgba(10, 48, 89, .1);
}

.mdt-specialty-card p {
  flex: 1;
}

.mdt-specialty-card strong {
  margin-top: 22px;
  color: var(--mdt-blue);
  font-size: 13px;
}

.mdt-process {
  background: #fff;
}

.mdt-process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 42px 0 34px;
  padding: 0;
  border: 1px solid var(--mdt-line);
  border-radius: 16px;
  overflow: hidden;
  list-style: none;
}

.mdt-process-list li {
  display: flex;
  gap: 17px;
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--mdt-line);
  border-bottom: 1px solid var(--mdt-line);
}

.mdt-process-list li:nth-child(3n) {
  border-right: 0;
}

.mdt-process-list li:nth-child(n+4) {
  border-bottom: 0;
}

.mdt-process-list > li > span {
  color: var(--mdt-cyan);
  font-size: 13px;
  font-weight: 800;
}

.mdt-process-list h3 {
  font-size: 19px;
}

.mdt-process-list p {
  margin-bottom: 0;
  color: var(--mdt-muted);
  font-size: 14px;
}

.mdt-costs {
  color: #fff;
  background: linear-gradient(135deg, var(--mdt-navy-2), #0d4f7b);
}

.mdt-costs h2,
.mdt-costs .mdt-eyebrow,
.mdt-costs .mdt-intro,
.mdt-costs .mdt-text-link {
  color: #fff !important;
}

.mdt-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: 78px;
  align-items: center;
}

.mdt-factor-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  list-style: none;
}

.mdt-factor-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.mdt-factor-list span {
  color: #c9dae7;
  font-size: 13px;
}

.mdt-why .mdt-card {
  border-top: 4px solid var(--mdt-cyan);
}

.mdt-benefits .mdt-number-card {
  background: transparent;
}

.mdt-review blockquote {
  margin-bottom: 24px;
  color: var(--mdt-ink);
  font-size: 15px;
  font-style: normal;
}

.mdt-review a {
  color: var(--mdt-blue);
  font-size: 13px;
  font-weight: 700;
}

.mdt-stars {
  margin-bottom: 18px;
  color: #f2b01e;
  font-size: 19px;
  letter-spacing: .08em;
}

.mdt-faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr);
  gap: 80px;
  align-items: start;
}

.mdt-accordion details {
  border-bottom: 1px solid #bcd0dc;
}

.mdt-accordion summary {
  position: relative;
  padding: 20px 46px 20px 0;
  color: var(--mdt-navy);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.mdt-accordion summary::-webkit-details-marker {
  display: none;
}

.mdt-accordion summary::after {
  position: absolute;
  top: 18px;
  right: 2px;
  color: var(--mdt-blue);
  content: "+";
  font-size: 25px;
  font-weight: 400;
}

.mdt-accordion details[open] summary::after {
  content: "−";
}

.mdt-accordion details div {
  padding: 0 42px 18px 0;
  color: var(--mdt-muted);
  font-size: 14px;
}

.mdt-accordion details p {
  margin-bottom: 0;
}

/* Formular flotant */
.mdt-floating-contact {
  position: fixed;
  z-index: 9990;
  top: 168px;
  right: 22px;
  width: 385px;
  max-height: calc(100vh - 190px);
  font-family: "Poppins", Arial, sans-serif;
}

.mdt-form-panel {
  max-height: calc(100vh - 190px);
  padding: 24px;
  border: 1px solid #d7e4ec;
  border-top: 4px solid var(--mdt-cyan);
  border-radius: 18px;
  overflow-y: auto;
  color: var(--mdt-ink);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 52px rgba(8, 42, 78, .2);
  scrollbar-width: thin;
}

.mdt-form-launcher,
.mdt-form-close {
  display: none;
}

.mdt-form-head .mdt-eyebrow {
  margin-bottom: 6px;
  font-size: 11px;
}

.mdt-form-head h2 {
  margin-bottom: 6px;
  color: var(--mdt-navy);
  font-size: 30px;
}

.mdt-form-head > p:last-child {
  margin-bottom: 14px;
  color: var(--mdt-muted);
  font-size: 13px;
}

.mdt-form-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}

.mdt-form-contacts a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--mdt-navy);
  background: var(--mdt-pale);
}

.mdt-form-contacts a:nth-child(3) {
  grid-column: 1 / -1;
}

.mdt-form-contacts span {
  color: var(--mdt-muted);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mdt-form-contacts strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mdt-form-contacts .mdt-whatsapp {
  color: #fff;
  background: #159b5b;
}

.mdt-form-contacts .mdt-whatsapp span {
  color: #daf5e6;
}

.mdt-evaluation-form {
  display: grid;
  gap: 10px;
}

.mdt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.mdt-field {
  min-width: 0;
}

.mdt-field label {
  display: block;
  margin-bottom: 4px;
  color: var(--mdt-navy);
  font-size: 11px;
  font-weight: 700;
}

.mdt-field label span {
  display: block;
  color: var(--mdt-muted);
  font-size: 9px;
  font-weight: 400;
}

.mdt-field input,
.mdt-field textarea,
.mdt-field select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #c9d8e1;
  border-radius: 7px;
  outline: none;
  color: var(--mdt-ink);
  background: #fff;
  font: inherit;
  font-size: 12px;
}

.mdt-field textarea {
  min-height: 68px;
  resize: vertical;
}

.mdt-field input:focus,
.mdt-field textarea:focus,
.mdt-field select:focus {
  border-color: var(--mdt-cyan);
  box-shadow: 0 0 0 3px rgba(21, 172, 210, .12);
}

.mdt-field input[type="file"] {
  padding: 6px;
  font-size: 10px;
}

.mdt-consent {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 8px;
  align-items: start;
  color: var(--mdt-muted);
  font-size: 10px;
  line-height: 1.4;
}

.mdt-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
}

.mdt-consent a {
  color: var(--mdt-blue);
  text-decoration: underline;
}

.mdt-submit {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, var(--mdt-blue), var(--mdt-cyan));
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.mdt-form-note {
  margin: 0;
  color: #748596;
  font-size: 9px;
  line-height: 1.4;
}

.mdt-form-message {
  margin-bottom: 12px;
  padding: 10px 11px;
  border-radius: 7px;
  font-size: 11px;
}

.mdt-form-success {
  color: #0b6139;
  background: #e3f6ec;
}

.mdt-form-error {
  color: #8a2432;
  background: #fdecef;
}

.mdt-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Rezerva spatiu formularului pe ecranele suficient de late. */
@media (min-width: 1280px) {
  body.mdt-global-form-active:not(.mdt-turcia-layout-active) > .elementor,
  body.mdt-global-form-active:not(.mdt-turcia-layout-active) > main,
  body.mdt-global-form-active:not(.mdt-turcia-layout-active) > .site-main {
    width: auto !important;
    margin-right: 410px !important;
  }

  .mdt-turcia-main {
    padding-right: 410px;
  }

  .mdt-turcia-main .mdt-shell {
    width: min(1080px, calc(100% - 48px));
  }

  .mdt-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1660px) {
  .mdt-turcia-main {
    padding-right: 420px;
  }

  .mdt-turcia-main .mdt-shell {
    width: min(1180px, calc(100% - 48px));
  }

  .mdt-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1279px) {
  .mdt-floating-contact {
    top: auto;
    right: 18px;
    bottom: 18px;
    width: min(390px, calc(100% - 36px));
    max-height: calc(100vh - 36px);
  }

  .mdt-form-launcher {
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(90deg, var(--mdt-blue), var(--mdt-cyan));
    box-shadow: 0 14px 34px rgba(8, 42, 78, .26);
    font: inherit;
  }

  .mdt-form-launcher span {
    font-size: 15px;
    font-weight: 700;
  }

  .mdt-form-launcher small {
    font-size: 10px;
    opacity: .85;
  }

  .mdt-form-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: calc(100vh - 36px);
    transform: translateY(18px) scale(.98);
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .mdt-floating-contact.is-open .mdt-form-panel,
  .mdt-floating-contact.has-status .mdt-form-panel {
    transform: translateY(0) scale(1);
    visibility: visible;
    opacity: 1;
  }

  .mdt-floating-contact.is-open .mdt-form-launcher,
  .mdt-floating-contact.has-status .mdt-form-launcher {
    visibility: hidden;
  }

  .mdt-form-close {
    position: absolute;
    top: 12px;
    right: 14px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--mdt-navy);
    cursor: pointer;
    background: var(--mdt-pale);
    font-size: 22px;
    line-height: 1;
  }
}

@media (max-width: 1024px) {
  .mdt-section {
    padding: 72px 0;
  }

  .mdt-hero-grid,
  .mdt-split,
  .mdt-faq-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .mdt-hero-media img {
    height: 380px;
  }

  .mdt-grid-4,
  .mdt-specialty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mdt-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mdt-process-list li,
  .mdt-process-list li:nth-child(3n),
  .mdt-process-list li:nth-child(n+4) {
    border-right: 1px solid var(--mdt-line);
    border-bottom: 1px solid var(--mdt-line);
  }

  .mdt-process-list li:nth-child(2n) {
    border-right: 0;
  }

  .mdt-process-list li:nth-child(n+5) {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .mdt-section {
    padding: 58px 0;
  }

  .mdt-shell {
    width: min(100% - 32px, 680px);
  }

  .mdt-turcia-main h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .mdt-turcia-main h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .mdt-lead,
  .mdt-intro {
    font-size: 16px;
  }

  .mdt-actions,
  .mdt-network-head {
    align-items: stretch;
    flex-direction: column;
  }

  .mdt-button {
    width: 100%;
  }

  .mdt-checks,
  .mdt-grid-3,
  .mdt-grid-4,
  .mdt-specialty-grid,
  .mdt-process-list {
    grid-template-columns: 1fr;
  }

  .mdt-hero-media img {
    height: 300px;
  }

  .mdt-stat {
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .25);
    border-left: 0;
  }

  .mdt-specialty-card {
    min-height: 0;
  }

  .mdt-process-list li,
  .mdt-process-list li:nth-child(2n),
  .mdt-process-list li:nth-child(3n),
  .mdt-process-list li:nth-child(n+4),
  .mdt-process-list li:nth-child(n+5) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--mdt-line);
  }

  .mdt-process-list li:last-child {
    border-bottom: 0;
  }

  .mdt-floating-contact {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .mdt-form-panel {
    max-height: calc(100vh - 20px);
    padding: 21px 17px;
  }

  .mdt-form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mdt-turcia-main *,
  .mdt-floating-contact * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
