/* ============================================================
   MEDISTLINE — Tasarım Sistemi
   Renkler logodan türetildi. Sakin, klinik, güven odaklı.
   ============================================================ */

:root {
  /* Marka renkleri */
  --primary: #34A8A4;        /* cyan/teal — ana aksan, CTA */
  --primary-hover: #2A8C88;  /* CTA hover */
  --primary-deep: #1C5C63;   /* gradyan ucu, koyu vurgu */
  --ink: #1B2B44;            /* başlık + ana metin */
  --bg: #FFFFFF;
  --bg-soft: #F5F7F7;        /* bölüm zeminleri */
  --mint: #E7F4F1;           /* yumuşak vurgu blokları */
  --line: #E3E8E8;           /* kenarlık */
  --muted: #5B6B72;          /* ikincil metin */
  --danger: #C0392B;         /* acil banner */
  --danger-soft: #FBEEEC;

  --grad: linear-gradient(135deg, #34A8A4 0%, #1C5C63 100%);

  /* Tipografi */
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Köşeler */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Gölgeler — minimal/işlevsel */
  --sh-sm: 0 1px 2px rgba(27, 43, 68, 0.05);
  --sh-md: 0 4px 16px rgba(27, 43, 68, 0.07);
  --sh-lg: 0 12px 40px rgba(27, 43, 68, 0.10);
  --sh-ring: 0 0 0 4px rgba(52, 168, 164, 0.14);

  /* Düzen */
  --maxw: 1180px;
  --gutter: 24px;
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(28px, 4vw, 54px); font-weight: 700; }
h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; }
h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--primary);
  display: inline-block;
}
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head p { color: var(--muted); font-size: 18px; margin: 0; }
.lead { font-size: 19px; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.section__head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
  text-align: center; line-height: 1.1; white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--soft { background: var(--mint); color: var(--primary-deep); }
.btn--soft:hover { background: #d8ede8; }
.btn--lg { padding: 16px 28px; font-size: 17px; }
.btn--block { width: 100%; justify-content: center; }

.linkarrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--primary-deep);
}
.linkarrow svg { width: 17px; height: 17px; transition: transform .2s ease; }
.linkarrow:hover svg { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--grad); box-shadow: var(--sh-sm); }
.brand__mark svg { width: 24px; height: 24px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--muted); margin-top: 1px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  font-weight: 500; font-size: 15.5px; color: var(--ink);
  padding: 9px 13px; border-radius: var(--r-sm);
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: var(--bg-soft); color: var(--primary-deep); }
.nav a[aria-current="page"] { color: var(--primary-deep); font-weight: 600; }
.header-cta { margin-left: 10px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); width: 44px; height: 44px; cursor: pointer;
  color: var(--ink); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ============================================================
   RADIAL HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, var(--mint) 0%, rgba(231,244,241,0) 60%),
    var(--bg);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 40px; align-items: center; padding-block: clamp(40px, 6vw, 76px); }
.hero__copy { max-width: 520px; }
.hero__copy h1 { margin-bottom: 18px; }
.hero__copy .lead { margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__assure { margin-top: 26px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.hero__assure svg { width: 18px; height: 18px; color: var(--primary); flex: none; }

/* radial stage */
.radial {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  max-width: 560px; margin-inline: auto;
  --r: 41%; /* spoke yarıçapı (yüzde, stage'e göre) */
}
.radial__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.radial__spoke { stroke: var(--line); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.radial__orbit { stroke: var(--primary); stroke-width: 1.4; fill: none; stroke-dasharray: 4 9; opacity: .42; transform-origin: 50% 50%; }
.radial__beatline {
  fill: none; stroke: var(--primary); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke; opacity: 0;
  filter: drop-shadow(0 0 2px rgba(52,168,164,.65));
}
.radial__dot {
  fill: var(--primary); opacity: 0;
  filter: drop-shadow(0 0 1.4px var(--primary)) drop-shadow(0 0 3px rgba(52,168,164,.95));
}

.radial__center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 31%; aspect-ratio: 1; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 14px 38px rgba(28,92,99,0.34); z-index: 5;
}
.radial__center::before { /* breathing halo */
  content: ""; position: absolute; inset: -7%; border-radius: 50%;
  border: 1.5px solid var(--primary); opacity: .5;
  animation: breathe 3.4s ease-in-out infinite;
}
.radial__center svg { width: 38%; height: 38%; }
.radial__center span { position: absolute; bottom: 18%; font-family: var(--font-head); font-weight: 700; font-size: clamp(13px, 1.5vw, 16px); }

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.09); opacity: .12; }
}

.spoke-node {
  position: absolute; top: 50%; left: 50%;
  width: 20%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 4;
}
.spoke-node a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 100%; height: 100%; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--line);
  color: var(--ink); box-shadow: var(--sh-sm);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, border-color .2s ease, background .2s ease;
  text-align: center; padding: 6px;
}
.spoke-node a svg { width: 30%; height: 30%; color: var(--primary-deep); transition: color .2s ease; }
.spoke-node a span { font-size: clamp(10px, 1.15vw, 12.5px); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.spoke-node a:hover, .spoke-node a:focus-visible {
  transform: scale(1.09); border-color: var(--primary);
  box-shadow: var(--sh-md), var(--sh-ring); background: #fff; outline: none;
}
.spoke-node a:hover svg { color: var(--primary); }
.spoke-node a:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

/* mobil radial fallback — buton grid */
.radial-grid { display: none; }

/* ============================================================
   HOW IT WORKS — adımlar
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; position: relative;
}
.step__num {
  width: 40px; height: 40px; border-radius: 11px; background: var(--mint);
  color: var(--primary-deep); font-family: var(--font-head); font-weight: 700; font-size: 18px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.step__icon { color: var(--primary); margin-bottom: 14px; }
.step__icon svg { width: 26px; height: 26px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.steps__line { display: none; }

/* ============================================================
   AREA CARDS — hizmet alanları grid
   ============================================================ */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.area-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 22px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: #cfdedd; }
.area-card__icon {
  width: 50px; height: 50px; border-radius: 14px; background: var(--mint);
  display: grid; place-items: center; color: var(--primary-deep); flex: none;
}
.area-card__icon svg { width: 26px; height: 26px; }
.area-card h3 { margin: 0; font-size: 19px; }
.area-card p { margin: 0; font-size: 14.5px; color: var(--muted); flex: 1; }
.area-card .linkarrow { font-size: 14.5px; }
.area-card--feature { grid-column: span 2; }

/* ============================================================
   ECE PROMO (homepage section)
   ============================================================ */
.ece-promo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.ece-promo__do { display: grid; gap: 14px; margin: 24px 0 0; }
.do-row { display: flex; gap: 13px; align-items: flex-start; }
.do-row .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.do-row .ic svg { width: 17px; height: 17px; }
.do-row.is-do .ic { background: var(--mint); color: var(--primary-deep); }
.do-row.is-dont .ic { background: var(--danger-soft); color: var(--danger); }
.do-row b { display: block; font-family: var(--font-head); font-size: 16px; }
.do-row p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }

/* chat preview card */
.chat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); overflow: hidden;
}
.chat-card__top { display: flex; align-items: center; gap: 11px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-card__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; }
.chat-card__avatar svg { width: 20px; height: 20px; }
.chat-card__top b { font-family: var(--font-head); font-size: 15.5px; }
.chat-card__top .status { font-size: 12.5px; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.chat-card__top .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(52,168,164,.2); }
.chat-card__body { padding: 20px; display: grid; gap: 12px; background: var(--bg-soft); }
.bubble { max-width: 84%; padding: 11px 15px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.bubble--user { background: var(--ink); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; }
.bubble--ece { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble--ece b { color: var(--primary-deep); }
.bubble-route {
  margin-top: 4px; display: flex; align-items: center; gap: 10px;
  background: var(--mint); border-radius: 12px; padding: 11px 14px; font-size: 14px; font-weight: 600; color: var(--primary-deep);
}
.bubble-route svg { width: 18px; height: 18px; flex: none; }
.chat-card__foot { padding: 11px 16px; font-size: 11.5px; color: var(--muted); text-align: center; border-top: 1px solid var(--line); background: #fff; }

/* ============================================================
   CENTERS teaser / directory
   ============================================================ */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-chip {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 16px; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 15px;
  text-align: center; min-height: 76px; transition: border-color .2s ease, box-shadow .2s ease;
}
.logo-chip:hover { border-color: #cfdedd; box-shadow: var(--sh-sm); }
.logo-chip .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--grad); flex: none; }

/* center card (directory) */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.filters label { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-right: -4px; }
.select {
  appearance: none; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6B72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 38px 10px 14px; cursor: pointer;
}
.filters__count { margin-left: auto; font-size: 14px; color: var(--muted); }
.center-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.center-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.center-card__head { display: flex; align-items: center; gap: 13px; }
.center-card__logo { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--primary-deep); font-family: var(--font-head); font-weight: 700; font-size: 18px; flex: none; }
.center-card h3 { margin: 0; font-size: 17.5px; }
.center-card__city { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.center-card__city svg { width: 14px; height: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 12.5px; font-weight: 600; color: var(--primary-deep);
  background: var(--mint); border-radius: var(--r-pill); padding: 5px 11px;
}
.center-card__foot { margin-top: auto; padding-top: 4px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }

/* ============================================================
   TRUST / privacy
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; }
.trust-card .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--mint); color: var(--primary-deep); display: grid; place-items: center; margin-bottom: 16px; }
.trust-card .ic svg { width: 24px; height: 24px; }
.trust-card h3 { font-size: 18px; margin-bottom: 7px; }
.trust-card p { margin: 0; font-size: 15px; color: var(--muted); }
.emergency-note {
  display: flex; align-items: center; gap: 14px; margin-top: 22px;
  background: var(--danger-soft); border: 1px solid #f3d6d1; border-radius: var(--r-md);
  padding: 16px 20px; color: #8c2c20; font-size: 15px;
}
.emergency-note svg { width: 22px; height: 22px; color: var(--danger); flex: none; }
.emergency-note b { color: var(--danger); }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink);
  padding: 22px 44px 22px 0; position: relative; display: block;
}
.faq__q::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 13px; height: 13px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg); transition: transform .25s ease;
}
.faq__item[open] .faq__q::after { transform: translateY(-35%) rotate(225deg); }
.faq__a { padding: 0 44px 24px 0; color: var(--muted); font-size: 16px; margin: 0; }
.faq__item summary { list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }

/* ============================================================
   CTA band + FOOTER
   ============================================================ */
.cta-band { background: var(--grad); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 60px); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 540px; margin: 0 auto 26px; font-size: 18px; }
.cta-band .btn--primary { background: #fff; color: var(--primary-deep); }
.cta-band .btn--primary:hover { background: var(--mint); }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); }

.site-footer { background: var(--ink); color: #c8d2dd; padding-block: 56px 28px; margin-top: 0; }
.site-footer a { color: #c8d2dd; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #8fa0b0; }
.footer-about { max-width: 300px; font-size: 14.5px; color: #97a6b6; margin-top: 16px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .03em; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13px; color: #8fa0b0; }
.footer-bottom .powered { display: inline-flex; align-items: center; gap: 7px; }
.footer-bottom .powered .d { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }

/* ============================================================
   PAGE HERO (inner pages — sakin)
   ============================================================ */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--primary-deep); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.page-hero__icon { width: 60px; height: 60px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--primary-deep); margin-bottom: 20px; }
.page-hero__icon svg { width: 30px; height: 30px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { max-width: 620px; color: var(--muted); font-size: 18px; margin: 0 0 24px; }

/* sub-services grid */
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sub-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 18px; font-size: 15.5px; font-weight: 500;
}
.sub-item .chk { width: 22px; height: 22px; border-radius: 7px; background: var(--mint); color: var(--primary-deep); display: grid; place-items: center; flex: none; }
.sub-item .chk svg { width: 13px; height: 13px; }

.compliance-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 20px; font-size: 14.5px; color: var(--muted); margin-top: 36px;
}
.compliance-note svg { width: 19px; height: 19px; color: var(--primary); flex: none; margin-top: 1px; }

/* prose (legal + about) */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 44px; }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: #41525e; font-size: 16.5px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; display: grid; gap: 7px; }
.prose ul li { padding-left: 4px; }
.prose .updated { font-size: 14px; color: var(--muted); margin-bottom: 8px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: var(--sh-ring); }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--mint); color: var(--primary-deep); display: grid; place-items: center; flex: none; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row b { font-family: var(--font-head); }
.info-row p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* stat / about */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.stat b { display: block; font-family: var(--font-head); font-size: 34px; color: var(--primary-deep); line-height: 1; }
.stat span { font-size: 14.5px; color: var(--muted); }

/* placeholder image */
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background-color: var(--bg-soft);
  background-image: repeating-linear-gradient(135deg, #eef3f2 0 11px, #f6f9f8 11px 22px);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.ph::after {
  content: attr(data-label); font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; color: #94a6a4; letter-spacing: .03em;
  background: rgba(255,255,255,.7); padding: 5px 10px; border-radius: 6px;
}

/* ============================================================
   ECE WIDGET (launcher + panel)
   ============================================================ */
.ece-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--grad); color: #fff; border: none; cursor: pointer;
  padding: 13px 20px 13px 16px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  box-shadow: 0 10px 30px rgba(28,92,99,.35);
  transition: transform .18s ease, box-shadow .2s ease;
}
.ece-launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(28,92,99,.42); }
.ece-launcher__ic { position: relative; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.ece-launcher__ic svg { width: 18px; height: 18px; }
.ece-launcher__dot { position: absolute; top: -1px; right: -1px; width: 10px; height: 10px; border-radius: 50%; background: #6ee7b7; border: 2px solid #2a8c88; }
.ece-launcher__dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #6ee7b7; animation: pulse-dot 1.8s ease-out infinite; }
@keyframes pulse-dot { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

.ece-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: min(396px, calc(100vw - 28px)); height: min(640px, calc(100vh - 40px));
  background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(27,43,68,.28);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(14px) scale(.98); opacity: 0; pointer-events: none;
  transition: transform .26s cubic-bezier(.2,.7,.3,1), opacity .2s ease;
}
.ece-panel.is-open { transform: none; opacity: 1; pointer-events: auto; }
.ece-panel__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--grad); color: #fff; }
.ece-panel__head .av { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.ece-panel__head .av svg { width: 22px; height: 22px; }
.ece-panel__head b { font-family: var(--font-head); font-size: 16px; display: block; }
.ece-panel__head .st { font-size: 12px; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; }
.ece-panel__head .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6ee7b7; }
.ece-panel__close { margin-left: auto; background: rgba(255,255,255,.16); border: none; color: #fff; width: 34px; height: 34px; border-radius: 9px; cursor: pointer; display: grid; place-items: center; }
.ece-panel__close:hover { background: rgba(255,255,255,.28); }
.ece-panel__close svg { width: 19px; height: 19px; }

.ece-emergency {
  background: var(--danger); color: #fff; padding: 14px 18px; font-size: 14px; display: none; gap: 11px; align-items: flex-start;
}
.ece-emergency.show { display: flex; }
.ece-emergency svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.ece-emergency b { display: block; }

.ece-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 12px; }
.ece-msg { max-width: 86%; padding: 11px 14px; border-radius: 15px; font-size: 14.5px; line-height: 1.5; animation: msg-in .3s ease both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
.ece-msg--ece { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; }
.ece-msg--user { background: var(--ink); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.ece-msg--ece b { color: var(--primary-deep); }
.ece-route {
  align-self: flex-start; max-width: 92%; background: #fff; border: 1.5px solid var(--primary);
  border-radius: 14px; padding: 14px; animation: msg-in .3s ease both;
}
.ece-route__area { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; color: var(--primary-deep); margin-bottom: 6px; }
.ece-route__area .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--mint); display: grid; place-items: center; }
.ece-route__area .ic svg { width: 17px; height: 17px; }
.ece-route p { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.ece-route .btn { font-size: 14px; padding: 10px 16px; }

.ece-consent {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px; font-size: 13px; color: var(--muted);
}
.ece-consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin-bottom: 12px; }
.ece-consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--primary); flex: none; }
.ece-consent a { color: var(--primary-deep); text-decoration: underline; }
.ece-consent .note { display: block; margin-bottom: 12px; }

.ece-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.ece-quick button {
  font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--primary-deep);
  background: var(--mint); border: none; border-radius: var(--r-pill); padding: 8px 13px; cursor: pointer;
  transition: background .15s ease;
}
.ece-quick button:hover { background: #d8ede8; }

.ece-foot { border-top: 1px solid var(--line); background: #fff; }
.ece-input { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px; }
.ece-input__attach { background: var(--bg-soft); border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; color: var(--muted); flex: none; }
.ece-input__attach:hover { color: var(--primary-deep); border-color: #cfdedd; }
.ece-input__attach svg { width: 19px; height: 19px; }
.ece-input textarea {
  flex: 1; resize: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  font-family: var(--font-body); font-size: 14.5px; max-height: 90px; line-height: 1.4;
}
.ece-input textarea:focus { outline: none; border-color: var(--primary); }
.ece-input__send { background: var(--primary); border: none; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; color: #fff; flex: none; }
.ece-input__send:hover { background: var(--primary-hover); }
.ece-input__send svg { width: 19px; height: 19px; }
.ece-disclaimer { font-size: 11px; color: var(--muted); text-align: center; padding: 0 16px 11px; line-height: 1.4; }

/* typing indicator */
.ece-typing { display: inline-flex; gap: 4px; align-items: center; padding: 13px 16px; }
.ece-typing span { width: 7px; height: 7px; border-radius: 50%; background: #b9c6c4; animation: typing 1.2s infinite; }
.ece-typing span:nth-child(2) { animation-delay: .2s; }
.ece-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .area-card--feature { grid-column: span 2; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .center-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col--legal { grid-column: 2 / -1; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { gap: 16px; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 18px;
    box-shadow: var(--sh-md);
  }
  .nav.is-open a { padding: 12px 14px; }
  .header-cta.is-open { display: inline-flex; margin: 8px var(--gutter) 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__copy { max-width: none; order: 2; }
  .radial { order: 1; }
  .ece-promo, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .trust-grid, .sub-grid, .stat-row, .stat-row { grid-template-columns: 1fr; }
  .center-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .area-grid, .logo-grid { grid-template-columns: 1fr 1fr; }
  .area-card--feature { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
  .sub-grid { grid-template-columns: 1fr; }

  /* RADIAL → grid fallback */
  .radial { display: none; }
  .radial-grid { display: block; }
  .radial-grid__center {
    display: flex; align-items: center; gap: 14px; justify-content: center;
    background: var(--grad); color: #fff; border-radius: var(--r-lg); padding: 18px; margin-bottom: 16px;
  }
  .radial-grid__center .m { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
  .radial-grid__center .m svg { width: 26px; height: 26px; }
  .radial-grid__center b { font-family: var(--font-head); font-size: 16px; display: block; }
  .radial-grid__center span { font-size: 13px; opacity: .9; }
  .radial-grid__items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .radial-grid__items a {
    display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 14px 15px; color: var(--ink);
  }
  .radial-grid__items a .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--mint); color: var(--primary-deep); display: grid; place-items: center; flex: none; }
  .radial-grid__items a .ic svg { width: 20px; height: 20px; }
  .radial-grid__items a span { font-size: 14px; font-weight: 600; line-height: 1.2; }
}
@media (max-width: 380px) {
  .area-grid, .logo-grid, .radial-grid__items { grid-template-columns: 1fr; }
  .area-card--feature { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
