:root {
  --navy: #0a1b33;
  --navy-2: #132a4a;
  --navy-3: #1c3a63;
  --white: #ffffff;
  --fog: #eef1f5;
  --fog-2: #d9e0ea;
  --ink: #142033;
  --muted: #5b6b7f;
  --accent: #e87722;
  --accent-2: #f0a33a;
  --accent-dark: #c45f12;
  --ok: #1f7a4c;
  --shadow: 0 18px 50px rgba(10, 27, 51, 0.14);
  --radius: 18px;
  --max: 1160px;
  --header-h: 84px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--navy);
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 27, 51, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--white);
  background: #fff;
  border-radius: 12px;
  padding: 0.2rem 0.45rem;
  line-height: 0;
}

.brand-logo {
  width: auto;
  height: 58px;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand-tag {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent-2);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff !important;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(10, 27, 51, 0.92) 18%, rgba(10, 27, 51, 0.55) 58%, rgba(232, 119, 34, 0.28)),
    radial-gradient(circle at 80% 20%, rgba(240, 163, 58, 0.35), transparent 40%),
    linear-gradient(160deg, #0a1b33 0%, #1c3a63 48%, #0a1b33 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4.5rem;
  max-width: 720px;
  animation: rise 0.9s ease both;
}

.hero .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  color: #fff;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  max-width: 18ch;
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 42ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(232, 119, 34, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--fog-2);
}

.btn-wa {
  background: #1fa855;
  color: #fff;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background:
    linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-link {
  display: block;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(19, 42, 74, 0.08);
  box-shadow: 0 8px 24px rgba(10, 27, 51, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-link:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 119, 34, 0.45);
  box-shadow: var(--shadow);
}

.service-link h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.service-link p {
  margin: 0;
  font-size: 0.95rem;
}

.district-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.district-cloud a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.district-cloud a:hover {
  background: var(--accent);
}

.panel {
  background: #fff;
  border: 1px solid rgba(19, 42, 74, 0.08);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
}

.faq details {
  border-bottom: 1px solid var(--fog-2);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0.75rem 0 0;
}

.breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--navy-3);
}

.breadcrumb span {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.page-hero {
  padding: 3.2rem 0 2rem;
  background:
    linear-gradient(135deg, #0a1b33 0%, #1c3a63 55%, #243f6d 100%);
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 18ch;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 52ch;
}

.content-wrap {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.prose h2 {
  margin-top: 1.8rem;
  font-size: 1.45rem;
}

.prose h3 {
  margin-top: 1.3rem;
  font-size: 1.15rem;
}

.prose ul {
  padding-left: 1.15rem;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.4rem;
}

.side-cta {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.4rem;
}

.side-cta h2 {
  color: #fff;
  font-size: 1.25rem;
}

.side-cta p {
  color: rgba(255, 255, 255, 0.75);
}

.side-cta .btn {
  width: 100%;
  margin-top: 0.55rem;
}

.contact-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: 2rem;
  overflow: hidden;
  position: relative;
}

.contact-strip::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 119, 34, 0.45), transparent 70%);
}

.contact-strip h2 {
  color: #fff;
}

.contact-strip p {
  color: rgba(255, 255, 255, 0.78);
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--fog-2);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.88rem;
}

.form .consent input {
  width: auto;
  margin-top: 0.2rem;
}

.form-status {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.form-status.ok {
  display: block;
  background: #e8f7ef;
  color: var(--ok);
}

.form-status.err {
  display: block;
  background: #fdecea;
  color: #a12622;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-list a {
  background: var(--fog);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
}

.chip-list a:hover {
  background: var(--accent);
  color: #fff;
}

.site-footer {
  background: #071326;
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 6.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--accent-2);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.float-cta {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 27, 51, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(10, 27, 51, 0.34);
}

.float-btn svg {
  width: 26px;
  height: 26px;
  display: block;
}

.float-call {
  background: var(--accent);
}

.float-wa {
  background: #25d366;
}

/* Eski mobil alt bar sınıfı (geriye dönük) */
.mobile-cta {
  display: none;
}

.visual-band {
  min-height: 280px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(10, 27, 51, 0.88), rgba(232, 119, 34, 0.55)),
    repeating-linear-gradient(
      -35deg,
      rgba(255, 255, 255, 0.05) 0 10px,
      transparent 10px 20px
    ),
    #1c3a63;
  display: grid;
  place-items: end start;
  padding: 1.4rem;
  color: #fff;
}

.visual-band span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .grid-3,
  .grid-2,
  .content-wrap,
  .contact-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .side-cta {
    position: static;
  }

  .hero {
    min-height: 78vh;
  }

  .brand-logo {
    height: 48px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
  }
}
