:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --ink: #17212b;
  --muted: #5e6a75;
  --line: #dde5ec;
  --navy: #111b27;
  --navy-soft: #1b2a3a;
  --accent: #18a76a;
  --accent-dark: #0c7d4d;
  --blue: #2374ab;
  --card: #ffffff;
  --shadow: 0 16px 40px rgba(17, 27, 39, 0.1);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--accent-dark);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 38px;
  height: auto;
  max-height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}

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

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu a {
  display: block;
  padding: 8px 11px;
  color: #27323d;
  font-size: 0.93rem;
  border-radius: var(--radius);
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--accent-dark);
  background: #eaf7f1;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 27, 39, 0.97), rgba(22, 33, 45, 0.95)),
    url("assets/network-kamera-kurulum-bg.svg") center / cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  min-height: 390px;
  padding: 34px 0 40px;
}

.hero-content {
  max-width: 660px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0 0 18px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 640px;
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 1.95vw, 2.1rem);
  line-height: 1.28;
  font-weight: 800;
}

.hero-lead {
  max-width: 620px;
  color: #d8e0e8;
  font-size: 0.96rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  font-size: 0.94rem;
  font-weight: 800;
  border-radius: var(--radius);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.trust-line {
  max-width: 610px;
  color: #c8d3dd;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.65;
}

.hero-panel {
  position: relative;
  align-self: center;
  height: clamp(270px, 25vw, 330px);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #101923;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 27, 39, 0.14), rgba(17, 27, 39, 0.02) 50%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(17, 27, 39, 0.16));
}

.hero-panel img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% center;
  background: #101923;
  transform: scale(1.002);
}

.hero-card {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  max-width: 270px;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(17, 27, 39, 0.18);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 70px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(17, 27, 39, 0.08);
}

.service-card {
  padding: 24px;
}

.service-icon {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--accent-dark);
  background: #edf8f3;
  border: 1px solid #cfeee0;
  border-radius: var(--radius);
}

.service-icon::before,
.service-icon::after {
  position: absolute;
  content: "";
}

.service-icon-computer::before {
  width: 20px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.service-icon-computer::after {
  width: 16px;
  height: 2px;
  bottom: 8px;
  background: currentColor;
  border-radius: 2px;
}

.service-icon-camera::before {
  width: 18px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.service-icon-camera::after {
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.service-icon-network::before {
  width: 20px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.service-icon-network::after {
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
}

.service-icon-it::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.service-icon-it::after {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}

.service-card h3,
.reason h3 {
  margin: 0 0 10px;
  line-height: 1.25;
}

.service-card h3 {
  font-size: 1.05rem;
}

.service-card p,
.reason p,
.split p,
.about p,
.contact p,
.site-footer p {
  color: var(--muted);
}

.service-card ul,
.area-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  margin-top: 8px;
  color: #35424e;
  font-size: 0.95rem;
}

.service-card li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "✓";
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.reason {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(17, 27, 39, 0.06);
}

.reason h3 {
  font-size: 1.02rem;
}

.split,
.about-grid,
.contact-box,
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 42px;
  align-items: center;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-list li {
  padding: 10px 12px;
  color: #23313e;
  background: #eef4f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about {
  background: linear-gradient(180deg, #fff, #f7fafc);
}

.about-media img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  background: #dfe8ee;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact {
  padding-top: 20px;
}

.contact-box {
  padding: 32px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
}

.contact-box p {
  color: #d5dee7;
}

.site-footer {
  padding: 34px 0;
  color: #d5dee7;
  background: #0c131b;
}

.site-footer p {
  margin: 6px 0 0;
  color: #aebbc6;
}

.site-footer a,
.site-footer span {
  display: block;
  color: #d5dee7;
  text-align: right;
}

.site-footer a {
  margin-top: 4px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1eaa52;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .about-grid,
  .contact-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    min-height: auto;
    gap: 28px;
    padding: 38px 0 42px;
  }

  .hero-content {
    max-width: 680px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(1.75rem, 4.5vw, 2.1rem);
  }

  .hero-lead,
  .trust-line {
    max-width: 640px;
  }

  .site-footer a,
  .site-footer span {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    padding: 12px;
  }

  .hero-grid {
    padding: 34px 0 38px;
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(1.55rem, 6.4vw, 1.88rem);
    line-height: 1.22;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-actions {
    margin: 22px 0 16px;
  }

  .trust-line {
    font-size: 0.9rem;
  }

  .hero-panel {
    height: 220px;
    min-height: 0;
  }

  .hero-panel img {
    min-height: 0;
    object-position: center center;
  }

  .hero-card {
    position: static;
    max-width: none;
    margin-top: -52px;
    margin-inline: 14px;
  }

  .section {
    padding: 56px 0;
  }

  .service-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 24px;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 36px;
    max-height: 28px;
  }

  .hero h1 {
    font-size: 1.48rem;
  }

  .service-card,
  .reason {
    padding: 18px;
  }
}
