:root {
  --ink: #13202b;
  --muted: #5d6b75;
  --line: #dce4ea;
  --paper: #f7fafc;
  --white: #ffffff;
  --blue: #0065a8;
  --cyan: #19a9d8;
  --yellow: #f4c542;
  --green: #1c8f68;
  --shadow: 0 18px 48px rgba(13, 35, 52, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px; z-index: 9; }
.skip-link:focus { left: 8px; }

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(16px, 4vw, 56px);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(16px, 4vw, 56px);
}
.brand img { width: 190px; max-height: 60px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-links a, .dropdown > button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  padding: 10px 8px;
}
.nav-links a[aria-current="page"] { color: var(--blue); }
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel { display: grid; }
.dropdown-panel a { padding: 8px 10px; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; padding: 10px 12px; font-weight: 700; }
.call-button, .primary-action, .secondary-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}
.call-button, .primary-action { color: #fff; background: var(--blue); }
.secondary-action { color: var(--ink); background: #fff; border-color: var(--line); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(38px, 7vw, 86px) clamp(16px, 4vw, 56px);
  background: linear-gradient(135deg, #ffffff 0%, #e9f7fb 58%, #fff8dc 100%);
}
.hero h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.05; margin: 10px 0 16px; letter-spacing: 0; }
.hero p { max-width: 760px; font-size: 18px; color: var(--muted); }
.eyebrow { color: var(--blue); font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero-media img { border-radius: 8px; box-shadow: var(--shadow); background: #fff; }
.keyword-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.keyword-strip span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 700; }

.trust-grid, .content-band, .article-section, .calculator-wrap, .contact-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto;
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-grid article, .service-card, .price-result, .admin-shell, .calculator, .contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(13, 35, 52, .08);
}
.trust-grid article { padding: 22px; }
.trust-grid strong { display: block; font-size: 30px; color: var(--blue); }
.two-col { display: grid; grid-template-columns: 1fr .9fr; gap: 32px; align-items: center; }
.two-col img, .article-image img { border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { overflow: hidden; text-decoration: none; }
.service-card img { aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.service-card strong, .service-card span { display: block; padding: 0 16px; }
.service-card strong { padding-top: 14px; font-size: 20px; }
.service-card span { padding-bottom: 18px; color: var(--muted); font-size: 14px; }
.partner-slider {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}
.partner-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 240px);
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 16px;
  scrollbar-width: thin;
}
.partner-logo-card {
  height: 126px;
  margin: 0;
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 35, 52, .08);
}
.partner-logo-card img {
  width: 86%;
  max-height: 86px;
  object-fit: contain;
}
.slider-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 35, 52, .08);
}
.slider-button:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.article-section { background: #fff; padding: clamp(22px, 4vw, 48px); border: 1px solid var(--line); border-radius: 8px; }
.article-section h2 { margin-top: 34px; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.article-section p { color: #314250; font-size: 17px; }
.article-image { margin: 28px 0; }
.article-image figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; list-style: none; }
.service-list a { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 12px; text-decoration: none; font-weight: 800; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 800; }

.calculator-wrap { display: grid; grid-template-columns: 1fr .55fr; gap: 18px; align-items: stretch; }
.calculator { padding: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
label { display: grid; gap: 6px; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font: inherit; background: #fff; }
.price-result { padding: 28px; display: grid; align-content: center; }
.price-result strong { font-size: 42px; color: var(--green); }
.contact-panel { display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; }
.contact-panel > div { padding: 28px; }
.contact-panel iframe { border: 0; width: 100%; min-height: 360px; }

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 46px clamp(16px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(9, 17, 24, .94), rgba(9, 17, 24, .78)),
    url('/assets/images/turkiye-footer-map.svg') center / cover no-repeat,
    var(--ink);
  color: #dce9f0;
  overflow: hidden;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .24);
  pointer-events: none;
}
.site-footer > div { position: relative; z-index: 1; }
.site-footer img { max-width: 190px; max-height: 60px; object-fit: contain; }
.site-footer a { display: block; color: #fff; text-decoration: none; margin: 6px 0; }
.site-footer h2 { font-size: 18px; color: #fff; }
.sticky-call { position: fixed; right: 16px; bottom: 16px; z-index: 12; background: var(--yellow); color: #111; border-radius: 999px; padding: 12px 18px; font-weight: 900; text-decoration: none; box-shadow: var(--shadow); }

.admin-body { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.admin-shell { width: min(720px, 100%); padding: 28px; }
.admin-form { display: grid; gap: 14px; margin: 20px 0; }
.notice { background: #e7f8ef; border: 1px solid #b7e4c7; padding: 12px; border-radius: 8px; }
.muted { color: var(--muted); }
.admin-links { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .topbar { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; order: 3; margin: 0; align-items: stretch; flex-direction: column; }
  .nav-links.is-open { display: flex; }
  .dropdown-panel { position: static; box-shadow: none; margin: 0 0 8px; }
  .dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel { display: grid; }
  .call-button { margin-left: 0; }
  .hero, .two-col, .calculator-wrap, .contact-panel, .site-footer { grid-template-columns: 1fr; }
  .trust-grid, .card-grid, .service-list { grid-template-columns: 1fr; }
  .partner-slider { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 8px; }
  .partner-track { grid-auto-columns: minmax(170px, 78vw); }
  .slider-button { width: 40px; height: 40px; font-size: 28px; }
  .calculator { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
}
