/* ==========================================================================
   Ayaz Copy Center — Global Stylesheet
   Marka renkleri ve tipografi kimliği korunmuştur.
   ========================================================================== */

:root {
  --brand-900: #0a1d3d;
  --brand-800: #0b2545;
  --brand-700: #13315c;
  --brand-600: #1d4373;

  --accent-500: #10b3a3;
  --accent-600: #0891b2;
  --accent-200: #7ef0e2;

  --ink: #1c2a3a;
  --ink-soft: #475569;
  --muted: #64748b;

  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #e2e8f0;
  --line-soft: #eef2f7;

  --wa: #25d366;
  --wa-dark: #1eb056;
  --tel: linear-gradient(135deg, #10b3a3, #0891b2);

  --ring: rgba(16, 179, 163, .3);
  --shadow-xs: 0 1px 2px rgba(11, 37, 69, .06);
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 4px 12px rgba(11, 37, 69, .05);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, .1);
  --shadow-lg: 0 18px 48px rgba(11, 37, 69, .16);

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 9px;

  --font: "Poppins", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;

  --wrap: 1880px;
  --gutter: 3%;
  --header-h: 92px;
  --section-y: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { flex: 0 0 auto; }

a { color: var(--accent-600); text-decoration: none; }
a:hover { text-decoration: none; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-800);
  line-height: 1.22;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(1.95rem, 4.2vw, 3.05rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.18rem, 1.6vw, 1.35rem); }
h4 { font-size: 1.06rem; }
h5 { font-size: .97rem; }
h6 { font-size: .88rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .07em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--brand-800); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: rgba(16, 179, 163, .24); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--brand-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 179, 163, .32);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(16, 179, 163, .42); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .32); }
.btn-wa:hover { background: var(--wa-dark); }

.btn-outline {
  background: #fff;
  color: var(--brand-800);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover { border-color: var(--accent-500); color: var(--accent-600); }

.btn-ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }

.btn-sm { padding: 10px 18px; font-size: .9rem; border-radius: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}

.site-header .wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-800);
  flex: 0 0 auto;
}
.brand .logo {
  height: 68px;
  width: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
}

.nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav a,
.nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  color: var(--brand-800);
  background: none;
  border: 0;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
}
.nav a:hover,
.nav .nav-link:hover { background: var(--bg-soft); color: var(--accent-600); }
.nav a[aria-current="page"] { color: var(--accent-600); font-weight: 600; }

.nav .has-sub { position: relative; }

.nav .caret {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform .18s ease;
}
.nav .has-sub.open .caret { transform: rotate(180deg); }

.submenu {
  position: fixed;
  top: var(--header-h);
  left: 50%;
  transform: translate(-50%, 6px);
  width: min(1120px, 92vw);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 95;
}
/* urun menusu: kategoriler masaustunde de alt alta (tek sutun) siralanir */
.nav .submenu-stack {
  width: min(560px, 92vw);
  grid-template-columns: 1fr;
  gap: 2px 0;
  padding: 12px;
}
.nav .submenu-stack .submenu-col { padding: 0 2px; }
/* imlecin butondan menüye giderken aradaki boslukta kaybolmasin (tiklanabilirlik) */
.nav .has-sub::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 34px;
}
.nav .has-sub:hover > .submenu,
.nav .has-sub:focus-within > .submenu,
.nav .has-sub.open > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.submenu-col {
  min-width: 0;
  padding: 4px 6px 6px;
  border-radius: 10px;
}
.submenu-col:hover { background: var(--bg-soft); }

.submenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
}

.nav .submenu-head {
  display: block;
  margin: 0 0 7px;
  padding: 8px 8px 6px;
  font-size: .95rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-600);
  border-bottom: 1px solid var(--line-soft);
  transition: color .15s ease;
}
.nav .submenu-head:hover { color: var(--brand-900); }

/* bulunulan sayfa: basliklar mavi kalir, sol kenar cizgisi ile isaretlenir */
.nav .submenu-head[aria-current="page"] {
  color: var(--brand-600);
  background: var(--bg-soft);
  box-shadow: inset 3px 0 0 var(--accent-500);
  border-radius: 4px;
}
.submenu-list a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  background: var(--bg-soft);
}

.submenu-top { grid-column: 1 / -1; }
.submenu-top a {
  font-weight: 700;
  color: var(--brand-700);
  background: var(--bg-soft);
}
.submenu-top a:hover { color: var(--brand-600); }

.submenu a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: .86rem;
  line-height: 1.35;
  white-space: normal;
}
.submenu a:hover { background: #fff; color: var(--accent-600); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand-800);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(16, 179, 163, .34), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(8, 145, 178, .3), transparent 60%),
    linear-gradient(135deg, var(--brand-800) 0%, var(--brand-700) 55%, var(--brand-900) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero .wrap { position: relative; padding: 40px 0 44px; }

.hero h1 { color: #fff; font-weight: 800; max-width: 20ch; margin: 0; font-size: clamp(1.55rem, 2.9vw, 2.1rem); }
.hero h1 .grad {
  background: linear-gradient(90deg, #4ade80, #7ef0e2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  max-width: 62ch;
  color: rgba(255, 255, 255, .86);
  font-size: 1.07rem;
  margin: 18px 0 30px;
}

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-soft); }
.section-tight { padding: 52px 0; }

.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); margin: 0; }

.kicker {
  display: block;
  margin-bottom: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent-600);
}
/* anasayfada Hizmetlerimiz & Urunlerimiz basligi iki kat buyuk */
#hizmetler .kicker { font-size: 1.56rem; }
#surec .kicker { font-size: 1.56rem; }


.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 179, 163, .45);
}
.card p { color: var(--ink-soft); font-size: .94rem; margin: 0 0 16px; flex: 1; }
.card .more { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card .more::after { content: "→"; transition: transform .15s ease; }
.card .more:hover::after { transform: translateX(3px); }

.card-media { margin: -26px -26px 20px; }
.card-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #fff;
}
.card-media.tall img { aspect-ratio: 4 / 3; }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent-600);
  background: linear-gradient(135deg, rgba(16, 179, 163, .14), rgba(8, 145, 178, .14));
}

.cat-block + .cat-block { margin-top: 56px; }
.cat-block { scroll-margin-top: calc(var(--header-h) + 28px); }

.link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding: 22px 26px;
  margin-bottom: 44px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-600);
  border-radius: var(--r-md);
}
.link-box h2 { font-size: 1.06rem; margin: 0 0 6px; }
.link-box p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.link-box p a { color: var(--brand-700); font-weight: 600; }
.link-box .btn { flex: 0 0 auto; }

.cat-tile {
  text-decoration: none;
  color: inherit;
  padding-top: 26px;
}
.cat-tile .card-media { margin: -26px -26px 20px; }
.cat-tile h3 { font-size: 1.06rem; margin: auto 0 0; }
.cat-tile:focus-visible { outline: 3px solid rgba(16, 179, 163, .5); outline-offset: 3px; }

.cat-tile .cat-frame {
  flex: 0 0 auto;
  margin: -26px -26px 20px;
  max-width: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.cat-tile .cat-frame-grid { gap: 3px; }
.cat-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cat-num {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  box-shadow: 0 8px 20px rgba(16, 179, 163, .28);
}
.cat-head h2 { margin: 0; }
.cat-head h2 a { color: #6b7c93; text-decoration: none; transition: color .15s ease; }
.cat-head h2 a:hover { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.cat-head p { margin: 4px 0 0; color: var(--ink-soft); font-size: .94rem; }

/* alt kategori kartlari: varsayilan auto-fit (genislik hizmet sayisina gore degisir) */
.svc-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
/* yalnizca istenen sayfa sabit sutun kullanir (cols-fixed + --cols) */
.svc-list.cols-fixed { grid-template-columns: repeat(var(--cols, 3), 1fr); }
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.svc h2 { font-size: clamp(1.18rem, 1.6vw, 1.35rem); margin-bottom: 6px; }
.svc-media { margin: -4px 0 14px; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-soft); }
.svc-media img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.svc > p { color: var(--ink-soft); font-size: .93rem; }
.svc h4 { margin: 18px 0 8px; color: var(--brand-700); }
.svc h5 { margin: 14px 0 6px; color: var(--brand-700); }
.svc h6 { margin: 10px 0 4px; }
.svc .more { font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; }
.svc .more::after { content: "→"; }
.svc h2 a { color: inherit; }
.svc h2 a:hover { color: var(--brand-600); }

.subcat { margin-bottom: 40px; }

.features { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .icon-badge { width: 46px; height: 46px; border-radius: 12px; margin: 0; }
.feature h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag {
  font-size: .78rem;
  font-weight: 500;
  color: var(--brand-700);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
}

#hizmetbolgesi .kicker { font-size: 1.56rem; }

.area-lead {
  display: inline-block;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  background: var(--bg-soft);
  border-left: 4px solid var(--brand-600);
  padding: 10px 16px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 0 0 16px;
}

.area-lead strong { color: var(--brand-600); font-weight: 700; }

.area-label {
  color: var(--brand-600);
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0 0 14px;
}

.area-list { margin-top: 0; }

.process {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-item {
  position: relative;
  padding: 26px 26px 26px 74px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  counter-increment: process;
}

.process-item::before {
  content: counter(process);
  position: absolute;
  left: 26px;
  top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(16, 179, 163, .14), rgba(8, 145, 178, .14));
  color: var(--accent-600);
  font-weight: 700;
  font-size: .95rem;
}

.process-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-item p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-actions .btn { white-space: nowrap; }

.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px;
  border-radius: var(--r-lg);
  color: #fff;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(16, 179, 163, .3), transparent 60%),
    linear-gradient(135deg, var(--brand-800), var(--brand-700));
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 48px 0 132px;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-700));
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; margin: 0 0 10px; }
.page-hero p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 68ch; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .78);
}
.breadcrumb a { color: var(--accent-200); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: .55; }

.main-lift { position: relative; z-index: 5; margin-top: -84px; padding-bottom: 72px; }

.layout-dual { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .layout-dual { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); } }

.prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 38px 40px;
}
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose-slim { max-width: 920px; margin-inline: auto; }
.prose h2 { margin: 1.3em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose h4 { margin: 1.2em 0 .4em; color: var(--brand-700); }
.prose h5 { margin: 1.1em 0 .4em; color: var(--brand-700); }
.prose h6 { margin: 1em 0 .3em; }
.prose h3 + p, .prose h4 + p, .prose h5 + p { margin-top: 0; }
.prose p { color: var(--ink); }

.bullets { display: grid; gap: 10px; margin: 0 0 1.2em; }
.bullets li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .95rem; }
.bullets .dot {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 1px;
  color: var(--accent-600);
  background: rgba(16, 179, 163, .14);
}

.plain-list { display: grid; gap: 8px; margin: 0 0 1.2em; padding-left: 20px; }
.plain-list li { list-style: disc; color: var(--ink); }
.plain-list li::marker { color: var(--accent-500); }

.side-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}
@media (min-width: 940px) {
  .side-card { position: sticky; top: calc(var(--header-h) + 18px); }
}
.side-card h2 { font-size: 1.05rem; margin-bottom: 12px; }
.side-nav { display: grid; gap: 4px; }
.side-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--brand-700);
  font-size: .9rem;
  font-weight: 500;
}
.side-link:hover { background: #fff; color: var(--accent-600); box-shadow: var(--shadow-xs); }
.side-link.active { background: linear-gradient(135deg, rgba(16, 179, 163, .16), rgba(8, 145, 178, .14)); color: var(--accent-600); font-weight: 600; }
.side-link .arrow { color: var(--accent-500); }
.side-group { margin-top: 10px; padding: 0 0 6px; }
.side-group:first-of-type { margin-top: 0; }
.side-group > h3 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.quick-contact h3 { font-size: .95rem; margin: 0 0 10px; }
.quick-contact { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.quick-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .93rem;
  padding: 9px 0;
}
.quick-contact .wa-link { color: var(--wa-dark); }

.contact-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card.wide { grid-column: 1 / -1; }
.contact-card h2 { font-size: 1.04rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); font-size: .95rem; margin: 0 0 8px; }
.contact-card a.action { font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }

.parking-note {
  display: inline-block;
  font-size: .92rem;
  line-height: 1.4;
  color: var(--ink);
  background: var(--bg-soft);
  border-left: 4px solid var(--brand-600);
  padding: 9px 14px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 0 0 14px;
}

.parking-note strong { color: var(--brand-600); font-weight: 700; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table caption { text-align: left; color: var(--ink-soft); font-size: .92rem; padding-bottom: 12px; }
.hours-table th, .hours-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.hours-table thead th { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
.hours-table tbody th { font-weight: 600; color: var(--brand-800); }
.hours-table td { color: var(--ink-soft); }

.map-wrap {
  margin-top: 30px;
  max-width: 560px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}
.map-wrap iframe { display: block; width: 100%; height: 280px; border: 0; }

.page-hero-media {
  margin: 0 auto 28px;
  max-width: 880px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 2;
  background: #fff;
}
.page-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; background: #fff; }

.cat-frame {
  position: relative;
  margin: 0 0 34px;
  max-width: 620px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}
.cat-frame-grid {
  position: static;
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  gap: 5px;
}
.cat-frame-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #fff;
}
.cat-frame-cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cat-frame-cell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}
.cat-frame-cell img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #fff;
}

/* ana sayfa kategori kartlari: her kart tek birlestirilmis fotograf, 3/2 kirpmadan oturur */
.cat-frame-cap {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 5px 6px 6px;
  font-size: .66rem;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  color: var(--ink-soft);
  background: #fff;
  border-top: 1px solid var(--line);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .cat-frame { max-width: 100%; }
}

.photo-frame { margin: 0 0 30px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.photo-frame img { width: 100%; }

.site-footer { background: var(--brand-900); color: rgba(255, 255, 255, .72); padding: 62px 0 0; }
.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  padding-bottom: 40px;
}
.footer-col h2 { color: #fff; font-size: .98rem; margin: 0 0 14px; }
.footer-col h3 { color: #fff; font-size: .9rem; margin: 0 0 10px; }
.footer-col p { font-size: .9rem; margin: 0 0 10px; }
.footer-col a { color: rgba(255, 255, 255, .74); font-size: .9rem; }
.footer-col a:hover { color: var(--accent-200); }
.footer-nav { display: grid; gap: 8px; }
.footer-nav .fgroup { margin-top: 12px; }
.footer-nav .fgroup > h3 {
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent-200);
  margin: 0 0 6px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem;
  color: rgba(255, 255, 255, .78);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-credit a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s;
}

.footer-credit a:hover { color: var(--accent-200); }

.contact-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-fab a {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .15s ease, filter .15s ease;
}
.contact-fab a:hover { transform: scale(1.08); }
.contact-fab .fab-wa { background: var(--wa); position: relative; }
.contact-fab .fab-wa::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(37, 211, 102, .55);
  border-radius: 50%;
  animation: fab-pulse 2s ease-out infinite;
}
.contact-fab .fab-tel { background: var(--tel); }

@keyframes fab-pulse {
  0%   { transform: scale(.85); opacity: 1; }
  80%  { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

.img-fallback {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 18px;
  text-align: center;
  font-size: .84rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px dashed rgba(16, 179, 163, .45);
}

@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --header-h: 78px; --section-y: 58px; }
  .brand .logo { height: 52px; }
  .burger { display: flex; }
  .header-actions .btn { display: none; }

  .nav > ul {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 5% 48px;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }
  .nav.open > ul { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav > ul > li > a,
  .nav > ul > li > .nav-link {
    width: 100%;
    padding: 14px 12px;
    font-size: 1.02rem;
    border-radius: 10px;
    justify-content: space-between;
  }

  .nav .has-sub > .submenu,
  .nav .has-sub.open > .submenu,
  .nav .has-sub:hover > .submenu,
  .nav .has-sub:focus-within > .submenu {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 8px;
    margin: 4px 0 8px 10px;
    border: 0;
    border-left: 2px solid rgba(16, 179, 163, .35);
    border-radius: 0 10px 10px 0;
    background: var(--bg-soft);
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: max-height .25s ease, padding .25s ease;
  }
  .nav .has-sub.open > .submenu,
  .nav .has-sub.open:hover > .submenu,
  .nav .has-sub.open:focus-within > .submenu {
    max-height: 2400px;
    padding: 10px 8px;
    pointer-events: auto;
  }
  .nav .has-sub::after { content: none; }
  .nav .submenu-head { border-top: 0; padding: 10px 8px 6px; }
  .submenu-col { padding: 2px 0 4px; }
  .submenu-col:hover { background: transparent; }
}

@media (max-width: 720px) {
  .grid-4 { grid-template-columns: 1fr; }
  .map-wrap { max-width: 100%; }
  .map-wrap iframe { height: 220px; }
  .prose { padding: 28px 22px; }
  .cta-banner { padding: 32px 24px; }
  .main-lift { margin-top: -64px; }
  .page-hero { padding: 40px 0 110px; }
  .contact-card.wide { grid-column: auto; }
  .contact-fab { right: 14px; bottom: 14px; }
  .contact-fab a { width: 52px; height: 52px; }
  .cat-head { flex-wrap: wrap; gap: 12px; }
  .svc-list { grid-template-columns: 1fr; }
  .hero .wrap { padding: 30px 0 34px; }
  .hero-actions { flex-wrap: nowrap; gap: 8px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding: 13px 8px; font-size: .8rem; gap: 5px; }
  .hero-actions .btn svg { width: 16px; height: 16px; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .contact-fab, .site-footer, .page-hero { display: none; }
  body { color: #000; }
}
