/* ============================================
   ATEŞ MOBİL AMBULANS — Ultra Clean
   ============================================ */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F5F7;
  --bg-dark: #1D1D1F;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --muted: #6E6E73;
  --muted-2: #86868B;
  --line: #D2D2D7;
  --line-soft: #E8E8ED;
  --red: #FF3B30;
  --red-dark: #E02E24;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1080px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- NAV ---------- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav-bar.is-stuck { border-bottom-color: var(--line-soft); }
.nav-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.logo__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo__name em { font-style: normal; color: var(--muted-2); font-weight: 400; }

.menu { display: flex; gap: 26px; }
.menu a {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 400;
  transition: color .2s var(--ease);
}
.menu a:hover { color: var(--red); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  padding: 7px 14px;
  border: 1px solid var(--red);
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-cta:hover { background: var(--red); color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 22px; height: 1.5px; background: var(--ink); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--red); transform: translateY(-1px); }
.btn--text { color: var(--red); font-weight: 500; padding: 12px 6px; }
.btn--text:hover { opacity: 0.7; }
.btn--xl { padding: 16px 36px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--wa { background: #25D366; color: #fff; font-weight: 500; }
.btn--wa:hover { background: #1ebe5a; transform: translateY(-1px); }
.btn--light-on-dark { background: #fff; color: var(--ink); margin-top: 24px; }
.btn--light-on-dark:hover { background: var(--red); color: #fff; }

/* ---------- HERO ---------- */
.hero {
  padding: 90px 0 0;
  text-align: center;
  background: var(--bg);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.eyebrow--center { justify-content: center; }
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255,59,48,0.18);
  animation: pulse 2s infinite;
}
.eyebrow--light { color: rgba(255,255,255,0.65); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,59,48,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(255,59,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); }
}

.hero__inner { max-width: 760px; margin: 0 auto; }
.hero__title {
  margin: 22px 0 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero__title-accent {
  color: var(--red);
  font-style: italic;
}
.hero__lede {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
}
.hero__actions {
  margin-top: 32px;
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
}

.hero__showcase {
  margin-top: 64px;
  padding: 0 0 0;
}
.showcase {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.18);
}
.showcase img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CALL STRIP ---------- */
.call-strip {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.call-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 22px;
  flex-wrap: wrap;
}
.call-strip__text h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.call-strip__text p { margin: 0; color: var(--muted); font-size: 14.5px; }
.call-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- STATS ---------- */
.stats {
  padding: 80px 0;
  border-bottom: 1px solid var(--line-soft);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- SECTIONS ---------- */
.section { padding: 120px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }

.section__head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section__head--light .section__title { color: #fff; }
.section__title {
  margin: 18px 0 0;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.section__sub {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: 17px;
  color: var(--muted);
}
.section--dark .section__sub { color: rgba(255,255,255,0.65); }

/* ---------- SERVICES ---------- */
.services {
  border-top: 1px solid var(--line-soft);
}
.service {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 24px;
  padding: 32px 12px;
  border-bottom: 1px solid var(--line-soft);
  transition: padding .35s var(--ease), background .35s var(--ease);
}
.service:hover { padding-left: 24px; background: var(--bg-soft); }
.service__no {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.service__body h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.service__body p { margin: 0; color: var(--muted); font-size: 15.5px; }
.service__arrow {
  font-size: 20px;
  color: var(--muted-2);
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.service:hover .service__arrow { transform: translateX(6px); color: var(--red); }

/* ---------- FEATURE (filo) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}
.feature:last-child { margin-bottom: 0; }
.feature--reverse .feature__media { order: 2; }
.feature__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #2a2a2c;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__text h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}
.feature__text p { margin: 0 0 24px; color: rgba(255,255,255,0.7); font-size: 17px; }
.tick { list-style: none; padding: 0; margin: 0; }
.tick li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: rgba(255,255,255,0.85);
  font-size: 15.5px;
}
.tick li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ---------- GALERİ ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.grid__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.grid__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease);
}
.grid__item:hover img { transform: scale(1.05); }
.grid__item--lg { grid-row: span 2; }

/* ---------- SÜREÇ ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: none; }
.step__no {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- BÖLGELER ---------- */
.regions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.region {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.region:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 110px 0;
}
.cta__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.cta__sub {
  margin: 16px 0 32px;
  color: rgba(255,255,255,0.65);
  font-size: 18px;
}
.cta .btn--solid { background: #fff; color: var(--ink); }
.cta .btn--solid:hover { background: var(--red); color: #fff; }

/* ---------- İLETİŞİM ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; }
.contact__row {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__row:first-child { padding-top: 0; }
.contact__cap {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact__val {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.contact__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__form h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.contact__form input,
.contact__form textarea {
  font: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s var(--ease);
  resize: vertical;
  font-family: inherit;
}
.contact__form input:focus,
.contact__form textarea:focus { outline: none; border-color: var(--ink); }
.form__note { margin: 4px 0 0; font-size: 13px; color: var(--muted-2); }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line-soft); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 72px 0 40px;
}
.footer__brand p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  max-width: 300px;
}
.logo--light .logo__mark { background: #fff; color: var(--ink); }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__name em { color: rgba(255,255,255,0.5); }
.footer__col h4 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.footer__col a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  font-size: 13px;
  color: var(--muted-2);
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- FAB ---------- */
.fab-group {
  position: fixed;
  right: 20px; bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  font-size: 22px;
  position: relative;
  box-shadow: 0 12px 30px rgba(255,59,48,0.4);
  transition: transform .2s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab--wa { background: #25D366; box-shadow: 0 12px 30px rgba(37,211,102,0.4); }
.fab__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: fabpulse 1.8s ease-out infinite;
  z-index: -1;
}
.fab__pulse--wa { background: #25D366; }
@keyframes fabpulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .feature { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
  .feature--reverse .feature__media { order: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 8px 22px 16px;
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .menu.is-open { max-height: 320px; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .burger { display: flex; }
  .nav-cta { display: none; }

  .section { padding: 80px 0; }
  .hero { padding: 56px 0 0; }
  .hero__showcase { margin-top: 44px; }
  .services .service { grid-template-columns: 40px 1fr; padding: 24px 8px; }
  .service__arrow { display: none; }
  .steps { grid-template-columns: 1fr; border-top: none; }
  .step { border-right: none; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .footer__inner { grid-template-columns: 1fr; padding: 56px 0 28px; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; gap: 10px; }
}