:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e5e7eb;
  --soft: #f5f7fb;
  --brand: #cf1f2b;
  --brand-dark: #a21720;
  --navy: #081222;
  --blue: #1d5f8f;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(16, 24, 40, .12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 24px;
}

.brand-logo {
  width: auto;
  max-width: 150px;
  max-height: 52px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

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

.main-nav a {
  padding: 10px 13px;
  color: #344054;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
  background: #fff2f3;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--navy);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 80px clamp(20px, 7vw, 96px);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .55s ease, transform .8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  width: min(760px, 100%);
  color: var(--white);
}

.hero-content p,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content h1,
.page-hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-content span {
  display: block;
  max-width: 660px;
  margin: 22px 0 30px;
  color: #e5ebf4;
  font-size: 20px;
}

.slider-dots {
  position: absolute;
  left: clamp(20px, 7vw, 96px);
  bottom: 34px;
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  background: rgba(255, 255, 255, .42);
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--brand);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--brand);
  border-color: #ffc7cd;
  background: #fff2f3;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding: 24px clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: 24px;
}

.metrics span {
  color: var(--muted);
}

.section {
  padding: 72px clamp(20px, 6vw, 84px);
}

.intro-band,
.reference-strip,
.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 44px;
  align-items: start;
}

.intro-band {
  background: var(--soft);
}

.intro-band h2,
.reference-strip h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.intro-band > p {
  color: #344054;
  font-size: 18px;
}

.services-grid,
.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.reference-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 40, .06);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card div,
.reference-card {
  padding: 24px;
}

.service-card span,
.reference-card span {
  color: var(--brand);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.service-card h2,
.reference-card h2 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.service-card p,
.reference-card p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
}

.reference-strip {
  color: var(--white);
  background: var(--navy);
}

.reference-list {
  display: grid;
  gap: 12px;
}

.reference-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-weight: 800;
}

.reference-list span {
  color: #aeb8c8;
  font-weight: 500;
}

.page-hero {
  padding: 88px clamp(20px, 6vw, 84px);
  color: var(--white);
  background: linear-gradient(90deg, rgba(8, 18, 34, .95), rgba(29, 95, 143, .82)), url('https://erp12.com.tr/assets/img/36795211011c54aeb2217e6cc78bf82b.jpg') center/cover;
}

.rich-text {
  color: #344054;
  font-size: 18px;
}

.lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.service-detail-hero {
  background-position: center;
  background-size: cover;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: start;
}

.highlight-panel,
.contact-info {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--soft);
}

.highlight-panel strong,
.contact-info h2 {
  display: block;
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
}

.reference-card img {
  width: 96px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 18px;
}

.contact-info a {
  display: block;
  margin: 10px 0;
  color: var(--blue);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.map-panel {
  grid-column: 1 / -1;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd6e3;
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
}

.success {
  padding: 12px 14px;
  border: 1px solid #b7e4c7;
  border-radius: 6px;
  color: #14532d;
  background: #ecfdf3;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 38px clamp(20px, 6vw, 84px);
  color: var(--white);
  background: #0c111d;
}

.site-footer p {
  margin: 8px 0 0;
  color: #b9c2d0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 73px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .metrics,
  .services-grid,
  .reference-grid,
  .intro-band,
  .reference-strip,
  .two-column,
  .contact-layout,
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content span {
    font-size: 17px;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .site-footer {
    display: block;
  }

  .site-footer nav {
    margin-top: 20px;
  }
}
