/* Mapar Grubu — tasarım sistemi (man.eu/tr referansı) */

:root {
  --slate: #303C49;
  --slate-deep: #1E2731;
  --slate-mid: #27323E;
  --red: #E40045;
  --red-dark: #C2003B;
  --steel: #5B6F85;
  --mist: #CBD3DC;
  --paper: #F0F0F0;
  --white: #FFFFFF;
  --on-dark: rgba(255, 255, 255, 0.72);
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --section-pad: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
}

p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Butonlar ve linkler ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 0;
  font: 600 16px/1.2 var(--font-body);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: var(--white); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--slate); }

.go-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.go-link:hover { border-bottom-color: var(--red); }

.icon {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: square;
}

.is-placeholder {
  color: var(--steel);
  font-style: italic;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: var(--slate-deep);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { width: 132px; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.site-nav .nav-cta {
  margin-left: 12px;
  padding: 10px 20px;
  background: var(--red);
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--red-dark); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--slate-deep);
    border-bottom: 1px solid var(--line-dark);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }

  .site-header.is-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s, transform 0.2s;
  }

  .site-nav a {
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line-dark);
  }
  .site-nav a:not(.nav-cta)::after { display: none; }

  .site-nav .nav-cta {
    margin: 20px 0 0;
    padding: 14px 20px;
    border-bottom: 0;
    font-family: var(--font-body);
    font-size: 17px;
    text-transform: none;
    text-align: center;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(120% 90% at 72% 42%, var(--slate) 0%, var(--slate-mid) 38%, var(--slate-deep) 78%);
  isolation: isolate;
}

.hero-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 40px;
}

.hero-copy { max-width: 36rem; }

.hero-title {
  font-size: clamp(2.75rem, 6.2vw, 5.6rem);
  line-height: 0.92;
  max-width: 11ch;
}

.hero-lead {
  margin-top: 28px;
  max-width: 34em;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--on-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  transition: opacity 0.35s, transform 0.35s;
}
.hero-caption.is-changing { opacity: 0; transform: translateY(6px); }

.hero-caption-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.hero-caption-role {
  font-size: 15px;
  color: var(--on-dark);
}

/* Şirket seçici şerit */

.rail {
  position: relative;
  border-top: 1px solid var(--line-dark);
  background: rgba(20, 27, 34, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.rail-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);   /* şirket sayısı kadar eşit sütun */
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.rail-list li + li { border-left: 1px solid var(--line-dark); }

.rail-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 22px 20px 24px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.25s, background-color 0.25s;
}

.rail-item:hover,
.rail-item:focus-visible,
.rail-item.is-active { color: var(--white); }

.rail-item:hover { background: rgba(255, 255, 255, 0.04); }

.rail-item:focus-visible { outline-offset: -3px; }

.rail-track {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  overflow: hidden;
}

.rail-progress {
  display: block;
  height: 100%;
  background: var(--red);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.rail-item.is-active .rail-progress { --p: var(--progress, 1); }

.rail-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
}

.rail-short { display: none; }

.rail-domain {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1080px) {
  .rail-item { padding-inline: 14px; }
  .rail-name { font-size: 19px; }
  .rail-domain { font-size: 13px; }
}

@media (max-width: 899px) {
  .hero-body {
    align-items: flex-end;
    padding-top: max(40vh, calc(var(--header-h) + 230px));
  }

  .hero-title {
    max-width: 14ch;
    font-size: clamp(2.5rem, 10.5vw, 4rem);
  }

  .hero-lead { margin-top: 20px; }
  .hero-actions { margin-top: 28px; }

  .hero-caption {
    top: calc(var(--header-h) + 12px);
    bottom: auto;
    left: var(--gutter);
    right: auto;
    align-items: flex-start;
    text-align: left;
  }
  .hero-caption-name { font-size: 22px; }
  .hero-caption-role { font-size: 14px; }
}

@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 700px) {
  .rail-item {
    align-items: center;
    padding: 16px 4px 18px;
    text-align: center;
  }
  .rail-name, .rail-domain { display: none; }
  .rail-short {
    display: block;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
  }
}

/* ---------- Bölümler ---------- */

.section { padding-block: var(--section-pad); }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-title { font-size: clamp(2.25rem, 4.2vw, 3.5rem); }

.section-intro {
  max-width: 36em;
  font-size: 18px;
  color: var(--steel);
}

@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
}

/* Grup şirketleri */

.companies {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mist);
}

.company {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr) auto;
  gap: clamp(20px, 3.5vw, 56px);
  align-items: center;
  padding-block: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--mist);
}

.company::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.company:hover::before,
.company:focus-within::before { transform: scaleX(1); }

.company-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: radial-gradient(110% 90% at 60% 45%, var(--slate) 0%, var(--slate-deep) 80%);
}

.company-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.company-name { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }

.company-role {
  margin-top: 8px;
  font-weight: 600;
  color: var(--red);
}

.company-text {
  margin-top: 12px;
  max-width: 38em;
}

.company-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--steel);
}

.company-services li {
  position: relative;
  padding-left: 14px;
}
.company-services li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  background: var(--red);
}

.company-link { white-space: nowrap; }

@media (max-width: 980px) {
  .company {
    grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
    align-items: start;
  }
  .company-link { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  .company { grid-template-columns: 1fr; gap: 20px; }
  .company-media { aspect-ratio: 16 / 9; }
  .company-link { grid-column: auto; }
}

/* Hakkımızda */

.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.about-copy p {
  max-width: 36em;
  margin-top: 22px;
  font-size: 18px;
}
.about-copy .section-title { max-width: 12ch; }

.facts {
  margin: 0;
  border-top: 3px solid var(--slate);
}

.fact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--mist);
}

.fact dt {
  font-weight: 500;
  color: var(--steel);
}

.fact dd { margin: 0; }

.fact-value {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: var(--slate);
  text-align: right;
}

.fact-note {
  grid-column: 1;
  font-size: 15px;
  color: var(--slate);
}

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}

/* Lokasyonlar */

.locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border-top: 3px solid var(--slate);
}

.location-city { font-size: clamp(2rem, 3vw, 2.5rem); }

.location-role {
  font-weight: 600;
  color: var(--red);
}

.location-address { margin-top: auto; padding-top: 8px; font-style: normal; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 4px 10px;
  border: 1px solid var(--mist);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .locations { grid-template-columns: 1fr; }
}

/* Sık sorulan sorular */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(40px, 7vw, 112px);
  align-items: start;
}

.faq .section-title { max-width: 10ch; }

.faq-list { border-top: 3px solid var(--slate); }

.faq-item { border-bottom: 1px solid var(--mist); }

.faq-item summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  margin-top: -1px;
  background: var(--red);
  transition: transform 0.25s;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }

.faq-item p {
  max-width: 40em;
  padding-bottom: 24px;
}

@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
}

/* İletişim bandı */

.contact {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--slate);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 64px;
  align-items: end;
}

.contact-copy .section-title { max-width: 16ch; }

.contact-copy p {
  margin-top: 18px;
  max-width: 34em;
  font-size: 18px;
  color: var(--on-dark);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.contact .is-placeholder { color: var(--mist); }
.go-link-light { color: var(--white); }

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* Footer */

.site-footer {
  padding-top: clamp(48px, 6vw, 72px);
  background: var(--slate-deep);
  color: var(--on-dark);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}

.footer-brand img { width: 120px; height: auto; }
.footer-brand p { margin-top: 18px; max-width: 26em; }

.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--white);
}

.footer-col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }

.footer-bottom {
  margin-top: 48px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}

.contact-phones {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.contact-phones li {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.contact-phones span {
  min-width: 5.5em;
  color: var(--mist);
}

/* =====================================================================
   Grup şirketi siteleri (Mapar MAN ve diğerleri): ortak bileşenler
   ===================================================================== */

/* Header: logo + site adı */

.brand { display: flex; align-items: center; gap: 14px; }

.brand-sub {
  padding-left: 14px;
  border-left: 1px solid var(--line-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--on-dark);
}

@media (max-width: 1280px) {
  .brand-sub { display: none; }
}

.site-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }

.nav-tel {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-tel small { font-size: 11px; font-weight: 500; opacity: 0.85; }
.nav-tel strong { font-size: 17px; font-weight: 600; }

/* Hero: arama şeridi (3 sütun) */

.rail-list--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 700px) {
  .rail--calls .rail-item {
    align-items: flex-start;
    padding: 14px 12px 16px;
    text-align: left;
  }
  .rail--calls .rail-name { display: block; font-size: 15px; }
  .rail--calls .rail-domain { display: block; font-size: 13px; }
  .rail--calls .rail-short { display: none; }
}

/* İç sayfa başlığı */

.page-hero {
  padding: calc(var(--header-h) + clamp(36px, 6vw, 72px)) 0 clamp(40px, 6vw, 72px);
  background: radial-gradient(120% 140% at 80% 0%, var(--slate) 0%, var(--slate-deep) 70%);
  color: var(--white);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--on-dark);
}
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }

.page-title {
  max-width: 14ch;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 0.94;
}

.page-lead {
  margin-top: 22px;
  max-width: 36em;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--on-dark);
}

.page-hero .hero-actions { margin-top: 30px; }

/* Genel yerleşim yardımcıları */

.prose { max-width: 38em; }
.prose p + p { margin-top: 1em; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split--reverse .split-media { order: -1; }

.split-media { position: relative; background: var(--slate-deep); }
.split-media img { width: 100%; height: auto; }

.split-body > * + * { margin-top: 18px; }
.split-body .go-link, .split-body .btn { margin-top: 26px; }

@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
}

/* Kartlar (hizmetler) */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 3px solid var(--slate);
  transition: border-color 0.25s;
}
.card:hover, .card:focus-within { border-top-color: var(--red); }

.card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--slate-deep);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 26px;
}

.card-title { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.card .company-services { margin-top: 4px; }
.card .go-link { margin-top: auto; padding-top: 10px; align-self: flex-start; }

@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Hizmet satırlarında gerçek fotoğraf */
.company-media--photo img { opacity: 1; }

/* Yol yardım bandı */

.hotline {
  background: var(--slate-deep);
  color: var(--white);
  padding-block: clamp(56px, 8vw, 96px);
}

.hotline-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 64px;
  align-items: center;
}

.hotline-label {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--on-dark);
}

.hotline-number {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 8.5rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.hotline-number:hover { color: var(--red); }

.hotline-copy p { max-width: 30em; color: var(--on-dark); }
.hotline-copy .hero-actions { margin-top: 28px; }

@media (max-width: 860px) {
  .hotline-inner { grid-template-columns: 1fr; }
}

/* Telefon listesi */

.tel-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tel-list li { display: flex; gap: 14px; align-items: baseline; }
.tel-list span { min-width: 5.5em; color: var(--steel); }
.tel-list--light span { color: var(--mist); }

/* Zaman çizelgesi (gerçek bir sıra: yıllar) */

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 3px solid var(--slate);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 16px;
  padding: 0 0 28px 24px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -9px; top: 12px;
  width: 15px; height: 15px;
  background: var(--red);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.timeline-text { padding-top: 6px; }

/* Vizyon / misyon */

.statements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}
.statement {
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border-top: 3px solid var(--red);
}
.statement h3 { font-size: 1.75rem; margin-bottom: 12px; }
@media (max-width: 760px) { .statements { grid-template-columns: 1fr; } }

/* Şube sayfası */

.branch-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 860px) { .branch-layout { grid-template-columns: 1fr; } }

.contact-card {
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  border-top: 3px solid var(--slate);
}
.contact-card > * + * { margin-top: 14px; }
.contact-card h2 { font-size: 1.75rem; }
.contact-card address { font-style: normal; }
.contact-card .go-link { display: inline-flex; }

/* Form */

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }

.form label { font-weight: 600; font-size: 15px; }
.form .optional { font-weight: 400; color: var(--steel); }

.form input, .form select, .form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--steel);
  border-radius: 0;
  background: var(--white);
  color: var(--slate);
  font: 400 17px/1.4 var(--font-body);
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 0;
}
.form [aria-invalid="true"] { border-color: var(--red); border-width: 2px; }

.form-error { color: var(--red-dark); font-size: 14px; font-weight: 600; }

.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-note { font-size: 14px; color: var(--steel); max-width: 34em; }

.notice {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--slate);
  background: var(--white);
  font-weight: 500;
}
.notice--ok { border-left-color: #1f7a4d; }
.notice--error { border-left-color: var(--red); }

@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

/* Grup şirketleri şeridi (footer üstü) */

.group-strip { background: var(--slate); color: var(--white); padding-block: 28px; }
.group-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.group-strip-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; text-transform: uppercase; }
.group-strip ul { display: flex; flex-wrap: wrap; gap: 8px 6px; margin: 0; padding: 0; list-style: none; }
.group-strip a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}
.group-strip a:hover { background: var(--white); border-color: var(--white); color: var(--slate); }
.group-strip a[aria-current="true"] { border-color: var(--red); background: var(--red); }

/* 404 */

.not-found { padding-block: clamp(120px, 18vw, 200px) clamp(64px, 9vw, 120px); }
.not-found .page-title { max-width: none; }

.contact-list { display: grid; gap: 20px; }

/* =====================================================================
   Mapar Marine bileşenleri
   ===================================================================== */

/* Tam genişlik fotoğraf şeridi */

.photo-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 46vw, 520px);
  overflow: hidden;
  color: var(--white);
  background: var(--slate-deep);
}

.photo-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 39, 49, 0.92) 0%, rgba(30, 39, 49, 0.6) 45%, rgba(30, 39, 49, 0.05) 100%);
}

.photo-band-body {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding-block: 48px;
}
.photo-band-body > * + * { margin-top: 18px; }
.photo-band-body p { color: var(--on-dark); }

@media (max-width: 700px) {
  .photo-band::after { background: linear-gradient(0deg, rgba(30, 39, 49, 0.95) 0%, rgba(30, 39, 49, 0.55) 70%, rgba(30, 39, 49, 0.2) 100%); }
  .photo-band { align-items: flex-end; }
}

/* Teknik tablo (motor listesi) */

.table-wrap { overflow-x: auto; margin-top: 18px; background: var(--white); border-top: 3px solid var(--slate); }

.spec {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 16px;
}
.spec caption { padding: 16px 18px 0; text-align: left; font-weight: 600; color: var(--steel); }
.spec th, .spec td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--mist); }
.spec thead th { font-size: 14px; font-weight: 600; color: var(--steel); white-space: nowrap; }
.spec tbody th { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; text-transform: uppercase; }
.spec .num { text-align: right; font-variant-numeric: tabular-nums; }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 0; }

.spec-note { margin-top: 14px; font-size: 14px; color: var(--steel); max-width: 44em; }

.engine-block + .engine-block { margin-top: clamp(40px, 6vw, 72px); }
.engine-head { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: flex-end; justify-content: space-between; }
.engine-head img { width: min(100%, 420px); height: auto; mix-blend-mode: multiply; }

/* Tasarım adımları (gerçek bir sıra) */

.steps {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps > li { position: relative; padding-left: 56px; counter-increment: step; }
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: var(--slate);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}
.steps strong { display: block; font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.01em; }

.step-group + .step-group { margin-top: 30px; }
.step-group h3 { font-size: 1.75rem; }

/* Hizmet bölümünde küçük fotoğraf dizisi */

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 22px; }
.thumbs a { display: block; background: var(--slate-deep); }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity 0.2s; }
.thumbs a:hover img { opacity: 0.85; }

/* Ürün grupları */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product { padding: clamp(22px, 3vw, 32px); background: var(--white); border-top: 3px solid var(--slate); }
.product h3 { font-size: 2rem; margin-bottom: 12px; }
.product ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.product li { position: relative; padding-left: 14px; }
.product li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--red); }
@media (max-width: 760px) { .product-grid { grid-template-columns: 1fr; } }

/* Galeri */

.gallery-group + .gallery-group { margin-top: clamp(40px, 6vw, 64px); }
.gallery-group h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 18px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery a { display: block; position: relative; overflow: hidden; background: var(--slate-deep); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease, opacity 0.2s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:focus-visible { outline-offset: -3px; }

.lightbox {
  width: min(96vw, 1400px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(14, 19, 25, 0.92); }
.lightbox-figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox-figure img { max-width: 100%; max-height: 82vh; width: auto; height: auto; background: var(--slate-deep); }
.lightbox-caption { font-size: 15px; color: var(--on-dark); text-align: center; }
.lightbox-close {
  position: absolute;
  top: -8px; right: -4px;
  width: 48px; height: 48px;
  border: 0;
  background: var(--red);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--red-dark); }

.site-footer address { font-style: normal; }

/* Fotoğraf hero'su (<x-photo-hero>): gerçek fotoğraflar yavaş yakınlaşarak sırayla geçer */
.hero--photo { background: var(--slate-deep); }

.hero-slides { position: absolute; inset: 0; z-index: -1; }
.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 39, 49, 0.9) 0%, rgba(30, 39, 49, 0.55) 42%, rgba(30, 39, 49, 0.05) 75%),
    linear-gradient(0deg, rgba(20, 27, 34, 0.75) 0%, rgba(20, 27, 34, 0) 30%),
    linear-gradient(180deg, rgba(20, 27, 34, 0.6) 0%, rgba(20, 27, 34, 0) 22%);
}

.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }

@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active img { animation: hero-zoom 9s ease-out both; }
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (max-width: 899px) {
  .hero-slides::after {
    background: linear-gradient(0deg, rgba(20, 27, 34, 0.95) 0%, rgba(20, 27, 34, 0.7) 45%, rgba(20, 27, 34, 0.15) 75%, rgba(20, 27, 34, 0.55) 100%);
  }
}

/* Fotoğrafsız bant: aynı fotoğraf hero'da kullanıldığında */
.photo-band--plain { min-height: 0; background: radial-gradient(120% 140% at 80% 0%, var(--slate) 0%, var(--slate-deep) 70%); }
.photo-band--plain::after { content: none; }
.photo-band--plain .photo-band-body { padding-block: clamp(48px, 7vw, 88px); }

/* Mapar Yedek Parça: marka duvarı */
.brand-wall-title { margin: clamp(40px, 6vw, 72px) 0 20px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.1; font-family: var(--font-display); text-transform: uppercase; }
.brand-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 1px; background: var(--mist); border: 1px solid var(--mist); }
.brand-wall li { display: flex; align-items: center; justify-content: center; height: 5.5rem; padding: 0.9rem 1.1rem; background: var(--white); }
.brand-wall img { max-width: 100%; max-height: 100%; object-fit: contain; }
