/* ==========================================================================
   HEC Medical — "medical" theme (MEDICAL-SITE-TEMA, 2026-10-21)
   Premium healthcare-organisation look: white space, anthracite + brand orange.
   Mobile-first, no framework on native pages, RTL via logical properties.
   ========================================================================== */

:root {
  --md-orange: #e85d26;
  --md-orange-strong: #c94a17;   /* AA contrast with white text */
  --md-orange-soft: #fdf1eb;
  --md-orange-line: #f6d3c3;
  --md-ink: #1f2328;
  --md-ink-2: #2b3038;
  --md-ink-3: #3a414b;
  --md-text: #2f343b;
  --md-muted: #5d6570;
  --md-line: #e7e9ed;
  --md-soft: #f6f7f9;
  --md-white: #ffffff;
  --md-wa: #25d366;
  --md-radius: 18px;
  --md-radius-sm: 12px;
  --md-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --md-shadow-lg: 0 24px 60px rgba(16, 24, 40, .12);
  --md-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --md-font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --md-header-h: 68px;
}
[dir="rtl"] {
  --md-font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --md-font-head: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--md-header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body.md {
  margin: 0;
  font-family: var(--md-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--md-text);
  background: var(--md-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[dir="rtl"] body.md { line-height: 1.8; }

.md img { max-width: 100%; height: auto; }
.md a { color: inherit; }
.md h1, .md h2, .md h3 { font-family: var(--md-font-head); color: var(--md-ink); line-height: 1.2; letter-spacing: -.015em; }
.md-native h1, .md-native h2, .md-native h3, .md-footer h2 { margin: 0; }
[dir="rtl"] .md h1, [dir="rtl"] .md h2, [dir="rtl"] .md h3 { letter-spacing: 0; line-height: 1.45; }
.md-native p, .md-footer p { margin: 0; }

.md-container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .md-container { padding-inline: 32px; } }

.md-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.md-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 2000; background: var(--md-ink); color: #fff !important; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.md-skip:focus { top: 12px; }
.md :focus-visible { outline: 3px solid var(--md-orange); outline-offset: 3px; border-radius: 6px; }

.ic { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.ic--sm { width: 16px; height: 16px; }
[dir="rtl"] .ic-flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.md-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 16px/1.2 var(--md-font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.md-btn:hover { transform: translateY(-1px); }
.md-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.md-btn--lg { min-height: 54px; padding: 14px 26px; font-size: 16.5px; }
.md-btn--block { display: flex; width: 100%; }
.md-btn--primary { background: var(--md-orange-strong); color: #fff !important; box-shadow: 0 8px 20px rgba(201, 74, 23, .25); }
.md-btn--primary:hover { background: #b2400f; }
.md-btn--ghost { background: #fff; color: var(--md-ink) !important; border-color: var(--md-line); }
.md-btn--ghost:hover { border-color: var(--md-ink); }
.md-btn--light { background: #fff; color: var(--md-ink) !important; }
.md-btn--light .ic { color: #1da851; }
.md-btn--outline-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.md-btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.md-btn--wa { background: #128c4a; color: #fff !important; }
.md-btn--wa:hover { background: #0f7a40; }

/* ---------- Header ---------- */
.md-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.md-header.is-scrolled { border-bottom-color: var(--md-line); box-shadow: 0 6px 24px rgba(16, 24, 40, .06); }
.md-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--md-header-h); }
.md-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--md-ink) !important; flex-shrink: 0; }
.md-logo img { max-height: 30px; width: auto; display: block; }
.md-logo__mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--md-orange), #f08a4b); color: #fff; font: 800 18px/1 var(--md-font-head); }
.md-logo__text { font: 700 19px/1 var(--md-font-head); letter-spacing: -.01em; }
.md-logo__text b { color: var(--md-orange); font-weight: 800; }
.md-logo--light { color: #fff !important; }

.md-nav { display: none; align-items: center; gap: 2px; margin-inline: auto; }
.md-nav a { position: relative; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 14.5px; line-height: 1.2; white-space: nowrap; color: var(--md-ink-3); text-decoration: none; }
.md-nav a:hover { color: var(--md-ink); background: var(--md-soft); }
.md-nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--md-orange); transform: scaleX(0); transition: transform .2s ease; }
.md-nav a:hover::after, .md-nav a:focus-visible::after { transform: scaleX(1); }
.md-header__right { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.md-header__cta { display: none; }

.md-lang { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--md-line); border-radius: 999px; background: #fff; }
.md-lang a { padding: 5px 9px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--md-muted); text-decoration: none; line-height: 1.2; }
.md-lang a:hover { color: var(--md-ink); }
.md-lang a.is-active { background: var(--md-ink); color: #fff; }
.md-lang a[lang="ar"] { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; }

.md-burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--md-line); background: #fff; color: var(--md-ink); cursor: pointer; }
.md-drawer { border-top: 1px solid var(--md-line); background: #fff; }
.md-drawer[hidden] { display: none; }
.md-drawer__nav { display: grid; padding-block: 10px 18px; }
.md-drawer__nav a { padding: 13px 4px; border-bottom: 1px solid var(--md-line); text-decoration: none; font-weight: 600; color: var(--md-ink); }
.md-drawer__nav a:last-child { border-bottom: 0; }

@media (max-width: 420px) {
  .md-logo__text { font-size: 17px; }
  .md-lang a { padding: 5px 7px; font-size: 12px; }
}
@media (min-width: 640px) { .md-header__cta { display: inline-flex; } }
@media (min-width: 1240px) {
  .md-nav { display: flex; }
  .md-header__right { margin-inline-start: 0; }
  .md-burger { display: none; }
  .md-drawer { display: none !important; }
}

/* ---------- Typography helpers ---------- */
.md-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--md-orange-soft); border: 1px solid var(--md-orange-line); color: #9c3a10; font-size: 13px; font-weight: 600; line-height: 1.4; }
.md-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--md-orange); flex-shrink: 0; }
.md-kicker { color: var(--md-orange-strong); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px !important; }
[dir="rtl"] .md-kicker { letter-spacing: 0; font-size: 14px; }
.md-muted { color: var(--md-muted); }
.md-center { text-align: center; }
.md-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--md-orange-strong) !important; text-decoration: none; }
.md-link:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
/* MEDICAL-HERO-RENKLI: Istanbul gun batimi fotografi (Canva; img/hero-bg-*), sol/ust krem, metin kremin uzerinde. Alt kenar beyaza erir. */
.md-hero { position: relative; overflow: hidden; padding-block: 40px 32px; background-color: #fcf1e4;
  background-image: linear-gradient(180deg, rgba(255, 250, 247, 0) 88%, #ffffff 100%), url("img/hero-bg-mobile-v2.webp");
  background-repeat: no-repeat; background-size: 100% 100%, cover; background-position: center, right bottom; }
[dir="rtl"] .md-hero { background-image: linear-gradient(180deg, rgba(255, 250, 247, 0) 88%, #ffffff 100%), url("img/hero-bg-mobile-rtl-v2.webp"); background-position: center, left bottom; }
.md-hero__grid { display: grid; gap: 40px; align-items: center; }
.md-hero__title { font-size: clamp(2rem, 6.4vw, 3.5rem); font-weight: 800; margin-block: 18px 18px !important; max-width: 16ch; }
[dir="rtl"] .md-hero__title { max-width: 20ch; font-weight: 700; }
.md-hero__lead { font-size: clamp(1.02rem, 2.2vw, 1.18rem); color: var(--md-ink-3); max-width: 60ch; }
.md-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.md-hero__actions .md-btn { flex: 1 1 220px; }
@media (min-width: 560px) { .md-hero__actions .md-btn { flex: 0 0 auto; } }
.md-hero__micro { margin-top: 16px !important; color: var(--md-muted); font-size: 14.5px; max-width: 56ch; }
.md-hero__note { margin-top: 6px !important; color: var(--md-muted); font-size: 12.5px; max-width: 60ch; }
.md-hero__note a { text-decoration: underline; }

.md-hero__visual { position: relative; display: none; }
.md-journey { position: relative; z-index: 1; background: #fff; border: 1px solid var(--md-line); border-radius: 24px; box-shadow: var(--md-shadow-lg); padding: 26px; max-width: 420px; margin-inline: auto; }
.md-journey__head { display: flex; align-items: center; gap: 10px; font: 700 17px/1.3 var(--md-font-head); color: var(--md-ink); padding-bottom: 16px; border-bottom: 1px solid var(--md-line); }
.md-journey__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--md-wa); box-shadow: 0 0 0 5px rgba(37, 211, 102, .15); }
.md-journey__list { list-style: none; margin: 0; padding: 8px 0 0; display: grid; gap: 4px; }
.md-journey__list li { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 0; font-weight: 600; color: var(--md-ink-2); }
.md-journey__list li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 15px; top: 44px; height: 18px; width: 2px; background: var(--md-line); }
.md-journey__num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--md-muted); background: var(--md-soft); border: 1px solid var(--md-line); }
.md-journey__list li.is-done .md-journey__num { background: var(--md-orange); border-color: var(--md-orange); color: #fff; }
.md-journey__foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--md-orange-soft); color: #8a3410; font-size: 14px; font-weight: 600; }
.md-hero__blob { position: absolute; inset: 8% -6% -6% 10%; border-radius: 40px; background: linear-gradient(135deg, rgba(232, 93, 38, .18), rgba(31, 35, 40, .08)); transform: rotate(-4deg); }
[dir="rtl"] .md-hero__blob { transform: rotate(4deg); }

@media (min-width: 960px) {
  .md-hero { padding-block: 72px 48px; background-image: linear-gradient(180deg, rgba(255, 250, 247, 0) 90%, #ffffff 100%), url("img/hero-bg-desktop-v2.webp"); background-position: center, right center; }
  [dir="rtl"] .md-hero { background-image: linear-gradient(180deg, rgba(255, 250, 247, 0) 90%, #ffffff 100%), url("img/hero-bg-desktop-rtl-v2.webp"); background-position: center, left center; }
  .md-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .md-hero__visual { display: block; }
}

.md-trust { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.md-trust li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--md-radius-sm); background: #fff; border: 1px solid var(--md-line); }
.md-trust b { display: block; font-family: var(--md-font-head); color: var(--md-ink); font-size: 15px; line-height: 1.3; }
.md-trust small { display: block; color: var(--md-muted); font-size: 13px; line-height: 1.4; }
.md-trust__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--md-orange-soft); color: var(--md-orange-strong); }
@media (min-width: 960px) { .md-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; } .md-trust li { padding: 18px; } }

/* ---------- Sections ---------- */
.md-section { padding-block: 64px; }
.md-section--tight { padding-block: 40px 64px; }
.md-section--soft { background: var(--md-soft); }
.md-section--dark { background: var(--md-ink); color: #d6dae0; }
.md-section--dark h2 { color: #fff; }
@media (min-width: 960px) { .md-section { padding-block: 96px; } .md-section--tight { padding-block: 48px 96px; } }

.md-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.md-head h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; }
[dir="rtl"] .md-head h2 { font-weight: 700; }
.md-head > p:not(.md-kicker) { margin-top: 14px; color: var(--md-muted); font-size: 1.06rem; }
.md-section--dark .md-head > p:not(.md-kicker) { color: #b9c0c9; }
.md-section--dark .md-kicker { color: #ff9b6e; }
.md-head--start { text-align: start; margin-inline: 0; }
@media (min-width: 960px) { .md-head { margin-bottom: 56px; } }

.md-footnote { margin: 32px auto 0 !important; max-width: 760px; text-align: center; color: var(--md-muted); font-size: 14px; padding: 14px 18px; border-radius: var(--md-radius-sm); background: var(--md-soft); border: 1px solid var(--md-line); }
.md-section--soft .md-footnote { background: #fff; }

/* ---------- Steps ---------- */
.md-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.md-step { position: relative; padding: 26px 24px; border-radius: var(--md-radius); background: #fff; border: 1px solid var(--md-line); box-shadow: var(--md-shadow); transition: transform .2s, box-shadow .2s; }
.md-step:hover { transform: translateY(-2px); box-shadow: var(--md-shadow-lg); }
.md-step__num { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 10px; border-radius: 12px; background: var(--md-ink); color: #fff; font: 800 15px/1 var(--md-font-head); margin-bottom: 18px; }
.md-step:first-child .md-step__num { background: var(--md-orange); }
.md-step h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px !important; }
.md-step p { color: var(--md-muted); font-size: 15px; }
@media (min-width: 720px) { .md-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1080px) { .md-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .md-step { padding: 30px 28px; } }

/* ---------- Service cards ---------- */
.md-cards { display: grid; gap: 14px; }
.md-card { padding: 22px; border-radius: var(--md-radius); background: #fff; border: 1px solid var(--md-line); display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px; align-items: start; }
.md-card__ic { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--md-orange-soft); color: var(--md-orange-strong); }
.md-card__ic .ic { width: 22px; height: 22px; }
.md-card h3 { font-size: 1.04rem; font-weight: 700; align-self: center; }
.md-card p { grid-column: 2; color: var(--md-muted); font-size: 15px; }
@media (min-width: 720px) { .md-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1080px) {
  .md-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .md-card { display: block; padding: 28px; transition: border-color .2s, box-shadow .2s; }
  .md-card:hover { border-color: var(--md-orange-line); box-shadow: var(--md-shadow); }
  .md-card__ic { margin-bottom: 18px; }
  .md-card h3 { margin-bottom: 8px !important; }
}

/* ---------- Domains ---------- */
.md-domains { display: grid; gap: 28px; }
.md-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.md-chips li { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #eef0f3; font-weight: 500; font-size: 15px; line-height: 1.35; }
.md-domains__ask a { display: inline-flex; align-items: center; gap: 8px; color: #ffb592 !important; font-weight: 600; text-decoration: none; }
.md-domains__ask a:hover { text-decoration: underline; }
@media (min-width: 960px) {
  .md-domains { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
  .md-domains .md-head { margin-bottom: 0; }
  .md-domains__ask { grid-column: 2; }
}

/* ---------- Videos ---------- */
.md-videos { display: grid; gap: 20px; }
@media (min-width: 720px) { .md-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .md-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.md-video { margin: 0; }
.md-video__frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--md-radius); overflow: hidden; background: var(--md-ink); box-shadow: var(--md-shadow); }
.md-video__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s, opacity .3s; opacity: .92; }
.md-video__frame:hover img { transform: scale(1.03); opacity: 1; }
.md-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Video popup (MEDICAL-VIDEO-POPUP) */
.md-noscroll, .md-noscroll body { overflow: hidden; }
.md-vmodal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.md-vmodal[hidden] { display: none; }
.md-vmodal__backdrop { position: absolute; inset: 0; background: rgba(12, 14, 17, .82); }
.md-vmodal__box { position: relative; width: min(960px, 100%); }
.md-vmodal__player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.md-vmodal__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.md-vmodal__close { position: absolute; top: -48px; inset-inline-end: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--md-ink); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.md-vmodal__close:hover { background: #fff; }
.md-video__play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--md-orange-strong); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s; }
.md-video__play .ic { width: 28px; height: 28px; margin-inline-start: 3px; }
[dir="rtl"] .md-video__play .ic { margin-inline-start: 0; margin-inline-end: 3px; }
.md-video__frame:hover .md-video__play { transform: scale(1.08); }
.md-video__time { position: absolute; inset-inline-end: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .75); color: #fff; font-size: 12px; font-weight: 600; }
.md-video figcaption { margin-top: 12px; font-weight: 600; color: var(--md-ink); font-size: 15px; line-height: 1.45; }

/* ---------- FAQ ---------- */
.md-faq-wrap { max-width: 860px; }
.md-faq { display: grid; gap: 12px; }
.md-faq__item { border-radius: var(--md-radius-sm); background: #fff; border: 1px solid var(--md-line); transition: border-color .2s, box-shadow .2s; }
.md-faq__item[open] { border-color: var(--md-orange-line); box-shadow: var(--md-shadow); }
.md-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font: 700 16px/1.45 var(--md-font-head); color: var(--md-ink); }
.md-faq__item summary::-webkit-details-marker { display: none; }
.md-faq__ic { color: var(--md-orange-strong); transition: transform .25s; }
.md-faq__item[open] .md-faq__ic { transform: rotate(45deg); }
.md-faq__body { padding: 0 20px 20px; color: var(--md-muted); }
.md-faq__body p + p { margin-top: 8px; }
.md-faq__body a { color: var(--md-orange-strong); font-weight: 600; }

/* ---------- Final CTA ---------- */
.md-cta { position: relative; overflow: hidden; display: grid; gap: 28px; padding: 36px 26px; border-radius: 28px; color: #e9ecf0; background: radial-gradient(600px 300px at 100% 0%, rgba(232, 93, 38, .55), rgba(232, 93, 38, 0) 70%), linear-gradient(135deg, var(--md-ink) 0%, var(--md-ink-2) 100%); }
[dir="rtl"] .md-cta { background: radial-gradient(600px 300px at 0% 0%, rgba(232, 93, 38, .55), rgba(232, 93, 38, 0) 70%), linear-gradient(225deg, var(--md-ink) 0%, var(--md-ink-2) 100%); }
.md-cta h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
.md-cta p { margin-top: 12px !important; color: #c9ced6; max-width: 60ch; }
.md-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.md-cta__actions .md-btn { flex: 1 1 220px; }
@media (min-width: 960px) {
  .md-cta { grid-template-columns: 1.3fr auto; align-items: center; padding: 56px; gap: 40px; }
  .md-cta__actions { flex-direction: column; }
  .md-cta__actions .md-btn { flex: 0 0 auto; }
}

/* ---------- Inner pages ---------- */
.md-page-hero { padding-block: 44px 28px; background: linear-gradient(180deg, #fffaf7 0%, #fff 100%); border-bottom: 1px solid var(--md-line); }
.md-page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; }
.md-page-hero p:not(.md-kicker) { margin-top: 12px !important; color: var(--md-muted); max-width: 62ch; font-size: 1.05rem; }
@media (min-width: 960px) { .md-page-hero { padding-block: 72px 44px; } }

.md-form-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .md-form-layout { grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; } .md-form-aside { position: sticky; top: calc(var(--md-header-h) + 24px); } }
.md-form-card { padding: 24px; border-radius: var(--md-radius); background: #fff; border: 1px solid var(--md-line); box-shadow: var(--md-shadow); }
@media (min-width: 720px) { .md-form-card { padding: 36px; } }
.md-form { display: grid; gap: 18px; }
.md-field { display: grid; gap: 7px; }
.md-field-row { display: grid; gap: 18px; }
@media (min-width: 720px) { .md-field-row { grid-template-columns: 1fr 1fr; } }
.md-field label { font-weight: 600; font-size: 14.5px; color: var(--md-ink-2); }
.md-field label span { color: var(--md-orange-strong); }
.md-field input, .md-field select, .md-field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid #d5d9df; background: #fff;
  font: 400 16px/1.4 var(--md-font); color: var(--md-ink); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.md-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6570' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; padding-inline-end: 42px; }
[dir="rtl"] .md-field select { background-position: left 14px center; }
.md-field textarea { min-height: 120px; resize: vertical; }
.md-field input:focus, .md-field select:focus, .md-field textarea:focus { outline: none; border-color: var(--md-orange); box-shadow: 0 0 0 4px rgba(232, 93, 38, .15); }
.md-field small { color: var(--md-muted); font-size: 13px; }
.md-consent { font-size: 13.5px !important; color: var(--md-muted); padding: 14px; border-radius: 12px; background: var(--md-soft); }
.md-consent input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; accent-color: var(--md-orange-strong); }
.md-consent a { color: var(--md-orange-strong); }
.md-form__req { color: var(--md-muted); font-size: 12.5px; text-align: center; }
.md-alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; margin-bottom: 18px; }
.md-alert ul { margin: 6px 0 0; padding-inline-start: 18px; }
.md-alert--ok { background: #eaf8ef; color: #135c2f; border: 1px solid #bfe8cd; }
.md-alert--error { background: #fdeceb; color: #8a1f17; border: 1px solid #f5c6c2; }

.md-form-aside { display: grid; gap: 14px; }
.md-form-aside h2 { font-size: 1.2rem; }
.md-mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.md-mini-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--md-ink-2); }
.md-mini-steps li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--md-orange-soft); color: var(--md-orange-strong); font-size: 14px; }
.md-info { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--md-radius); background: #fff; border: 1px solid var(--md-line); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.md-info:hover { border-color: var(--md-orange-line); box-shadow: var(--md-shadow); }
.md-info b { display: block; color: var(--md-ink); }
.md-info small { display: block; color: var(--md-muted); font-size: 13.5px; }
.md-info__val { display: block; margin-top: 4px; font-weight: 600; color: var(--md-orange-strong); }
.md-info__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--md-orange-soft); color: var(--md-orange-strong); }
.md-info__ic--wa { background: #e7f8ee; color: #128c4a; }

/* ---------- Footer ---------- */
.md-footer { background: #16191d; color: #aab1bb; padding-block: 56px 28px; font-size: 15px; }
.md-footer__grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .md-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.md-footer__brand p { margin-top: 14px !important; max-width: 40ch; color: #9aa2ad; }
.md-footer__brand .md-logo img.md-logo__invert { filter: brightness(0) invert(1); }
.md-footer__col { display: grid; gap: 10px; align-content: start; }
.md-footer__col h2 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px !important; font-family: var(--md-font); }
[dir="rtl"] .md-footer__col h2 { letter-spacing: 0; }
.md-footer__col a { display: inline-flex; align-items: center; gap: 8px; color: #c4cad2 !important; text-decoration: none; }
.md-footer__col a:hover { color: #fff !important; }
.md-social { display: flex; gap: 10px; margin-top: 20px; }
.md-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff !important; transition: background .2s; }
.md-social a:hover { background: var(--md-orange-strong); }
.md-footer .site-legal { margin-top: 36px !important; color: #9aa2ad; }
.md-footer .site-legal a, .md-footer .site-cookie-link a { color: #c4cad2; }
.md-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #7f8893; }
.md-footer__bottom a { color: #aab1bb !important; }

/* ---------- Floating WhatsApp ---------- */
.md-wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 950; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--md-wa); color: #fff !important; box-shadow: 0 10px 28px rgba(18, 140, 74, .35); transition: transform .2s; }
.md-wa-float .ic { width: 30px; height: 30px; }
.md-wa-float:hover { transform: scale(1.06); }
@media (max-width: 480px) { .md-wa-float { width: 54px; height: 54px; inset-inline-end: 14px; bottom: 14px; } }

/* ---------- Compatibility layer for shared (default) pages ---------- */
.md-compat main { min-height: 50vh; }
.md-compat .section { padding-block: 56px; }
.md-compat .section-title { text-align: center; margin-bottom: 40px; }
.md-compat .section-title .kicker { color: var(--md-orange-strong); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin-bottom: 8px; }
.md-compat .section-title h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.md-compat .section-title p { color: var(--md-muted); max-width: 680px; margin: 12px auto 0; }
.md-compat .btn-brand, .md-compat .btn-accent { background: var(--md-orange-strong); border-color: var(--md-orange-strong); color: #fff !important; border-radius: 999px; }
.md-compat .btn-brand:hover, .md-compat .btn-accent:hover { background: #b2400f; border-color: #b2400f; }
.md-compat .btn-outline-brand { color: var(--md-orange-strong) !important; border: 2px solid var(--md-orange-strong); border-radius: 999px; }
.md-compat .feature-card, .md-compat .service-card { background: #fff; border-radius: var(--md-radius); border: 1px solid var(--md-line); overflow: hidden; height: 100%; }
.md-compat .feature-card { padding: 28px 22px; text-align: center; }
.md-compat .service-card img { width: 100%; height: 220px; object-fit: cover; }
.md-compat .service-card-body { padding: 22px; }
.md-compat main a:not(.btn) { color: var(--md-orange-strong); }
