:root {
  --bg: #ffffff;
  --surface: #f5f7f9;
  --surface-2: #eef1f5;
  --border: #e4e7ec;
  --border-strong: #d4d9e0;

  --ink: #14171c;
  --ink-soft: #232830;
  --text: #33404f;
  --muted: #5a6875;

  --brand: #ee1c25;
  --accent: #c1121a;
  --accent-strong: #9d0f15;
  --red-dark: #7a1114;
  --accent-tint: #fdeced;

  --radius: 6px;
  --radius-sm: 4px;
  --container: 1140px;
  --header-h: 74px;
  --ring: 0 0 0 3px rgba(193, 18, 26, 0.30);

  --shadow-sm: 0 1px 2px rgba(20, 23, 28, 0.06);
  --shadow-md: 0 14px 40px -16px rgba(20, 23, 28, 0.28);

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h);
  scrollbar-width: thin; scrollbar-color: var(--ink) var(--surface);
}
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb {
  background: var(--ink); border-radius: 6px;
  border: 3px solid var(--surface);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1, h2 { font-weight: 700; }
h3 { font-weight: 600; }
p { margin: 0; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .18s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1; padding: 12px 20px;
  border-radius: 6px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: rgba(255,255,255,0.10); border-color: #fff; }

.brand-logo {
  display: inline-flex; align-items: center;
  background: linear-gradient(180deg, #ee1c25, #b3141b);
  padding: 8px 15px; border-radius: 5px;
}
.brand-logo img { height: 30px; width: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 rgba(20, 23, 28, 0.04);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 74px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  color: var(--text); font-weight: 500; font-size: 15px; padding: 9px 14px; border-radius: 8px;
  transition: background-color .16s ease, color .16s ease;
}
.main-nav a:hover { background: var(--surface); color: var(--ink); }
.main-nav a.is-current { color: var(--accent); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; padding: 0 11px; background: none;
  border: none; cursor: pointer;
}
.nav-toggle span { height: 2px; width: 100%; background: var(--ink); border-radius: 2px; }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 22px 20px; border-bottom: 1px solid var(--border); background: #fff; }
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a { padding: 12px; border-radius: 9px; color: var(--text); font-weight: 500; }
.mobile-nav a:hover { background: var(--surface); }
.mobile-nav .btn { margin-top: 8px; }
.mobile-nav a.btn-primary { color: #fff; }

.hero {
  position: relative; color: #fff; overflow: hidden;
  --hero-photo: url("hero-car.jpg");
  --hero-photo: image-set(url("hero-car.webp") type("image/webp"), url("hero-car.jpg") type("image/jpeg"));
  background-color: var(--accent);
  background-image:
    linear-gradient(rgba(15, 17, 21, 0.55), rgba(15, 17, 21, 0.55)),
    var(--hero-photo);
  background-size: cover, cover;
  background-position: center, center 78%;
  background-repeat: no-repeat, no-repeat;
  display: flex; align-items: center;
  min-height: calc(100svh - var(--header-h));
}
.hero-grid {
  position: relative; z-index: 1; width: 100%;
  padding-block: clamp(48px, 7vw, 96px);
  display: flex; justify-content: center;
}
.hero-copy { max-width: 780px; margin-inline: auto; text-align: center; }
.hero-title { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; column-gap: clamp(12px, 2.4vw, 26px); row-gap: 4px; line-height: 1; }
.hero-title-word { display: block; height: clamp(2.6rem, 8.2vw, 4.6rem); width: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero .lead { margin: 24px auto 0; font-size: clamp(1.05rem, 1.55vw, 1.24rem); color: rgba(255,255,255,0.92); max-width: 62ch; line-height: 1.65; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-cta-call { display: none; }
.hero-cta-contact { display: inline-flex; }
.hero .btn-primary { background: #fff; color: var(--ink); }
.hero .btn-primary:hover { background: rgba(255,255,255,0.88); }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title  { animation: heroRise 0.62s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero .lead  { animation: heroRise 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.09s both; }
.hero-actions { animation: heroRise 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both; }

.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-full {
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
}
.section-head { max-width: 640px; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

.services { display: grid; gap: 6px; }
.service {
  position: relative;
  display: grid; grid-template-columns: 34px minmax(220px, 0.85fr) 1.35fr;
  align-items: center; gap: 30px;
  padding: 22px 8px 22px 16px;
  color: var(--ink);
}
.service::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  background: var(--brand); transform: scaleY(0); transform-origin: center;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.service.is-active::before { transform: scaleY(1); }
.service-num { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); will-change: transform; }
.service-num, .service h3 { transition: transform .4s cubic-bezier(.22,1,.36,1), color .35s ease; }
.service.is-active .service-num { color: var(--accent); }
.service.is-active .service-num, .service.is-active h3 { transform: translateX(8px); }
.service h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.service p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.service.is-active h3 { color: var(--accent); }

@media (hover: hover) {
  .service:hover::before { transform: scaleY(1); }
  .service:hover .service-num { color: var(--accent); }
  .service:hover .service-num, .service:hover h3 { transform: translateX(8px); }
  .service:hover h3 { color: var(--accent); }
}

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 76px); align-items: center; }
.about-copy { max-width: 58ch; }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 18px; }
.about-copy p + p { margin-top: 16px; }
.about-copy p { font-size: 1.06rem; }
.about-why-title { font-size: 1.12rem; font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.about-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.about-why li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; font-size: 1.02rem; }
.about-why svg { flex: none; margin-top: 2px; color: var(--accent); }
.duty-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.duty-list li { position: relative; padding-left: 20px; color: var(--text); font-size: 1.02rem; line-height: 1.6; }
.duty-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.contact-section { background: var(--ink); color: #d6dbe2; padding: clamp(56px, 8vw, 100px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 52px); align-items: stretch; }
.contact-info h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.contact-lead { margin: 14px 0 28px; color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 44ch; }
.contact-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.c-ico { display: inline-flex; color: #fff; flex: none; margin-top: 2px; opacity: 0.85; }
.c-label { display: block; color: rgba(255,255,255,0.55); font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.c-value { color: #eef1f5; font-weight: 500; line-height: 1.5; }
.c-value a { color: #fff; font-weight: 600; display: inline-block; padding: 11px 4px; margin: -6px 0; }
.c-value a:hover { text-decoration: underline; }
.phone-list { display: grid; gap: 2px; }
.phone-item { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.phone-tag { color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 500; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.14); min-height: 380px; background: var(--surface-2); }
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

.site-footer { background: #0f1114; color: #9aa6b2; padding-top: 44px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; padding-bottom: 30px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 460px; }
.footer-brand p { color: #9aa6b2; font-size: 14px; line-height: 1.7; }
.footer-vergi { color: #7e8b98; font-size: 13px; }
.footer-contact { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.footer-contact a { color: #c3ccd5; font-weight: 500; font-size: 14px; padding: 8px 0; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 22px; font-size: 13px; color: #74808c; }

.mobile-call {
  display: none; position: fixed; right: 18px; bottom: 18px; z-index: 60;
  align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 26px -6px rgba(122, 17, 20, 0.6);
}
.mobile-call:active { background: var(--accent-strong); }

@media (max-width: 940px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-cta-call { display: inline-flex; }
  .hero-cta-contact { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 30px 1fr; column-gap: 20px; row-gap: 6px; }
  .service h3 { grid-column: 2; }
  .service p { grid-column: 2; }
  .service-num { grid-row: 1 / span 2; align-self: start; margin-top: 4px; }
}
@media (max-width: 600px) {
  .brand { flex: 1; margin-right: 0; }
  .site-header .brand-logo { width: 100%; justify-content: center; padding: 8px 18px; }
  .site-header .brand-logo img { width: auto; height: 34px; max-width: 100%; }
  .footer-inner { flex-direction: column; }
  .footer-contact { text-align: left; }
  .mobile-call { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
