:root {
  --ink: #18232b;
  --muted: #61717f;
  --line: #dfe7ed;
  --panel: #f6f9fb;
  --paper: #ffffff;
  --steel: #526f86;
  --blue: #1f6fb2;
  --green: #168764;
  --amber: #b7791f;
  --dark: #121a21;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand img {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 4px;
  min-width: 0;
}

.nav a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 42px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  white-space: nowrap;
}

.nav-group,
.nav-subitem {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  display: none;
  min-width: 290px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(18, 26, 33, 0.14);
}

.nav-submenu::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
}

.nav-submenu a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  white-space: normal;
}

.nav-submenu.nested {
  position: static;
  display: grid;
  min-width: 0;
  max-width: none;
  margin: 6px 0 4px 12px;
  padding: 6px;
  border: 0;
  border-left: 2px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  box-shadow: none;
}

.nav-subitem.has-children > a::after {
  content: "";
  margin-left: auto;
}

.nav-group:hover > .nav-submenu,
.nav-group:focus-within > .nav-submenu {
  display: block;
}

.nav a:hover,
.nav a.active,
.footer-links a:hover {
  color: var(--ink);
  background: var(--panel);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.52) contrast(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 26, 33, 0.95), rgba(18, 26, 33, 0.58), rgba(18, 26, 33, 0.16));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 70px;
}

.page-hero {
  padding: 96px 0 70px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 26, 33, 0.96), rgba(31, 111, 178, 0.68)),
    url("/resimler/firma/banner01.jpg") center / cover;
}

.page-hero .eyebrow {
  color: #cae5f4;
}

.page-hero h1 {
  max-width: 880px;
}

.page-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #cae5f4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section .eyebrow {
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--green);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 780px;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
}

.hero p {
  max-width: 680px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.button:hover {
  background: #195c94;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.section .button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.section .button.secondary:hover {
  background: var(--panel);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--panel);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.section-head p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.card-media {
  height: 210px;
  background: #d9e3ea;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card h3 {
  font-size: 20px;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
}

.about-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31, 111, 178, 0.08), rgba(22, 135, 100, 0.06)),
    #fff;
}

.about-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.about-intro {
  max-width: 560px;
}

.about-intro h2 {
  margin: 12px 0 18px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.about-intro p {
  margin: 0;
  color: var(--steel);
  font-size: 17px;
  line-height: 1.85;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.about-panel {
  border: 1px solid rgba(82, 111, 134, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(18, 26, 33, 0.08);
  overflow: hidden;
}

.about-panel-head {
  display: grid;
  gap: 8px;
  padding: 24px 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--dark), #1f6fb2);
}

.about-panel-head strong {
  font-size: 21px;
}

.about-panel-head span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.about-points {
  display: grid;
  gap: 0;
  padding: 8px 28px;
}

.about-points > div {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 2px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.about-points > div:last-child {
  border-bottom: 0;
}

.about-points span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--blue);
  background: rgba(31, 111, 178, 0.1);
  font-weight: 800;
  font-size: 13px;
}

.about-points strong {
  align-self: end;
  font-size: 17px;
}

.about-points p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.about-metrics div {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.about-metrics div:last-child {
  border-right: 0;
}

.about-metrics strong {
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.about-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.about-page-showcase {
  align-items: start;
}

.content-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.content-card h2 {
  font-size: 28px;
}

.content-card h3 {
  margin-top: 28px;
  margin-bottom: 14px;
  font-size: 20px;
}

.content-card p {
  color: var(--muted);
  line-height: 1.8;
}

.rich-content {
  color: var(--muted);
  line-height: 1.8;
}

.rich-content p {
  margin: 0 0 16px;
}

.rich-content p:last-child,
.rich-content .check-list:last-child {
  margin-bottom: 0;
}

.rich-content h3 {
  margin: 26px 0 12px;
  color: var(--ink);
  font-size: 22px;
}

.rich-content .check-list {
  margin: 0 0 18px;
}

.service-tree {
  display: grid;
  gap: 16px;
}

.service-node {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.service-node > a {
  display: block;
  padding: 24px;
}

.service-node.featured > a {
  background: linear-gradient(90deg, rgba(31, 111, 178, 0.08), rgba(22, 135, 100, 0.08));
  border-bottom: 1px solid var(--line);
}

.service-node span,
.service-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-node strong,
.service-card strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 22px;
}

.service-node p,
.service-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-children {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.service-card {
  display: block;
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.service-card strong {
  margin-top: 0;
  font-size: 17px;
  line-height: 1.25;
}

.service-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.service-menu {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.service-menu a.child {
  padding-left: 24px;
  font-size: 12px;
  font-weight: 700;
}

.service-menu a:hover,
.service-menu a.active {
  color: var(--ink);
  background: var(--panel);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.6;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.stat {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.report-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
}

.report-form,
.inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.field {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #cdd9e2;
  border-radius: 8px;
  outline: 0;
  background: #fff;
}

textarea.field {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

.field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.12);
}

.status {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 700;
}

.status.ok {
  color: #0f5f46;
  background: #e9f8f2;
}

.status.error {
  color: #8a2d2d;
  background: #fff0f0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery a {
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery a:hover img {
  transform: scale(1.04);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.contact-panel,
.form-panel {
  border: 1px solid rgba(82, 111, 134, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 58px rgba(18, 26, 33, 0.07);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(18, 26, 33, 0.97), rgba(31, 111, 178, 0.86)),
    url("/resimler/firma/banner01.jpg") center / cover;
  overflow: hidden;
}

.contact-panel .eyebrow {
  color: #cae5f4;
}

.contact-panel h2 {
  max-width: 560px;
  margin: 4px 0 16px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.contact-panel > p {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

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

.contact-list a,
.contact-list div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.contact-list a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.contact-list i {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #0f4e7d;
  background: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.contact-list i svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.contact-list i.whatsapp-mini {
  color: #128c4a;
}

.contact-list span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff;
  line-height: 1.5;
}

.contact-note {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.contact-note strong {
  color: #fff;
  font-size: 14px;
}

.contact-note span {
  font-size: 14px;
}

.form-panel {
  padding: 28px;
}

.form-panel-head {
  margin-bottom: 22px;
}

.form-panel-head span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-panel-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.form-panel-head p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-form-actions {
  margin-top: 16px;
}

.contact-form-actions .button {
  min-width: 158px;
}

.map-frame {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

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

.form-grid .full {
  grid-column: 1 / -1;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 4px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
  padding: 10px 16px 10px 10px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #149954, #0f7f43);
  box-shadow: 0 18px 44px rgba(18, 140, 74, 0.32);
  font-weight: 800;
}

.whatsapp-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #128c4a;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(18, 140, 74, 0.08);
}

.whatsapp-float-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.whatsapp-float:hover {
  background: linear-gradient(135deg, #16a85c, #0d723b);
  transform: translateY(-1px);
}

.whatsapp-float-text {
  display: grid;
  gap: 3px;
}

.whatsapp-float-text span {
  font-size: 12px;
  line-height: 1;
}

.whatsapp-float-text strong {
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}

.loading {
  min-height: 50vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--muted);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 4px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.empty {
  padding: 28px;
  border: 1px dashed #bfccd6;
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 0 18px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav-group {
    display: grid;
  }

  .nav-submenu,
  .nav-submenu.nested {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    box-shadow: none;
  }

  .nav-submenu::before,
  .nav-subitem.has-children > a::after {
    display: none;
  }

  .nav a {
    padding: 14px;
  }

  .hero {
    min-height: 560px;
  }

  .grid.three,
  .grid.two,
  .contact-grid,
  .about-showcase,
  .stat-band,
  .service-children,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .about-intro {
    max-width: none;
  }

  .about-panel-head,
  .about-points {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }

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

  .about-metrics div:last-child {
    border-bottom: 0;
  }

  .service-menu {
    position: static;
  }

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

  .stat:last-child {
    border-bottom: 0;
  }

  .section-head {
    display: block;
  }

  .report-form,
  .inline-form,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-width: 0;
    padding: 9px;
  }

  .whatsapp-float-text {
    display: none;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 38px;
  }

  .container,
  .hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}
