/* =====================================================================
   Selçuk Elektronik — style.css
   ===================================================================== */

:root {
  --navy-900: #0b1622;
  --navy-800: #0d1b2a;
  --navy-700: #14293e;
  --navy-600: #1b3a56;
  --ink: #16212d;
  --body: #46586b;
  --muted: #6b7c8f;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --brand: #f59313;
  --brand-dark: #d97c05;
  --brand-soft: #fff4e3;
  --accent: #1e7fd4;
  --ok: #1a9c6b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 2px 8px rgba(13, 27, 42, .05);
  --shadow-md: 0 6px 24px rgba(13, 27, 42, .09);
  --shadow-lg: 0 18px 48px rgba(13, 27, 42, .14);
  --wrap: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }
.muted { color: var(--muted); font-size: .93rem; }
.lead { font-size: 1.06rem; color: var(--body); max-width: 62ch; }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  text-decoration: none; font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #1b1205; box-shadow: 0 6px 18px rgba(245, 147, 19, .32); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--bg-alt); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.section-dark .btn-outline, .cta-band .btn-outline, .hero .btn-outline, .page-head-svc .btn-outline { color: #fff; }
.section-dark .btn-outline:hover, .cta-band .btn-outline:hover,
.hero .btn-outline:hover, .page-head-svc .btn-outline:hover { background: #fff; color: var(--navy-800); }

/* ----------------------------------------------------------- topbar */
.topbar { background: var(--navy-900); color: #b7c6d6; font-size: .84rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar-note { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.topbar-note strong { white-space: nowrap; }
.topbar-note strong { color: var(--brand); }
.topbar-note .ico { width: 17px; height: 17px; color: var(--brand); }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { color: #b7c6d6; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: #fff; text-decoration: none; }
.topbar-links .ico { width: 15px; height: 15px; }

/* ----------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.12rem; font-weight: 600; }
.brand-txt strong { color: var(--brand); font-weight: 800; }
.brand-txt em { font-style: normal; font-size: .69rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 2px; }

.mainnav { margin-left: auto; }
.mainnav > ul { display: flex; align-items: center; gap: 4px; }
.mainnav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: .94rem; white-space: nowrap;
}
.mainnav > ul > li > a:hover { background: var(--bg-alt); text-decoration: none; }
.mainnav a[aria-current="page"] { color: var(--brand-dark); }
.caret { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .55; }
.has-sub { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; min-width: 560px; opacity: 0; visibility: hidden; transition: .18s ease;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.submenu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--ink); font-size: .92rem; font-weight: 500; }
.submenu a:hover { background: var(--brand-soft); text-decoration: none; }
.submenu .ico { color: var(--brand); }

.header-cta { display: flex; gap: 8px; flex: 0 0 auto; }
.navtoggle { display: none; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.navtoggle .i-close { display: none; }
.navtoggle[aria-expanded="true"] .i-open { display: none; }
.navtoggle[aria-expanded="true"] .i-close { display: block; }

/* ------------------------------------------------------------- hero */
.hero { position: relative; background: var(--navy-800); color: #cfdcea; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 12% 8%, rgba(245,147,19,.20), transparent 62%),
    radial-gradient(620px 420px at 88% 92%, rgba(30,127,212,.24), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0; opacity: .30;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 72px 20px 84px; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 span { color: var(--brand); }
.hero .lead { color: #b9cadb; font-size: 1.08rem; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  background: rgba(245,147,19,.13); border: 1px solid rgba(245,147,19,.34); color: #ffc879;
  padding: 7px 15px; border-radius: 999px; font-size: .83rem; font-weight: 600;
}
.badge .ico { width: 17px; height: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; font-size: .92rem; color: #a9bccf; }
.hero-ticks li { display: flex; align-items: center; gap: 8px; }
.hero-ticks .ico { width: 17px; height: 17px; color: var(--brand); }

.hero-card { background: #fff; border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); }
.hero-card h2 { font-size: 1.3rem; margin-bottom: .3em; }
.hero-card > p { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }

/* ------------------------------------------------------------- form */
.quickform { display: grid; gap: 13px; }
.quickform label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.quickform input, .quickform select, .quickform textarea {
  font-family: inherit; font-size: .95rem; font-weight: 400; color: var(--ink);
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.quickform textarea { resize: vertical; }
.quickform input:focus, .quickform select:focus, .quickform textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.quickform input.invalid { border-color: #d8443c; box-shadow: 0 0 0 3px #fdeceb; }
.quickform small { color: var(--muted); font-size: .78rem; line-height: 1.5; }

/* ------------------------------------------------------------ stats */
.stats { background: var(--navy-700); padding: 30px 0; }
.stat { text-align: center; color: #b9cadb; }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); color: #fff; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: .86rem; }
.section-alt .stat { color: var(--muted); }
.section-alt .stat b { color: var(--brand-dark); }

/* --------------------------------------------------------- sections */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-800); color: #b9cadb; }
.section-dark h2, .section-dark h3 { color: #fff; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 10px; }
.section-dark .eyebrow { color: var(--brand); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.svc-card { display: flex; flex-direction: column; color: inherit; padding: 0; overflow: hidden; }
.svc-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cbd7e3; }
.svc-media { display: block; background: var(--navy-800); line-height: 0; }
.svc-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.svc-body-txt { display: block; padding: 22px 24px 26px; }
.svc-body-txt .svc-ico { margin-top: -46px; position: relative; box-shadow: 0 6px 16px rgba(13, 27, 42, .22); border: 3px solid #fff; }

.page-head-art { flex: 0 0 auto; display: block; width: 340px; max-width: 100%; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); line-height: 0; }
.page-head-art img { display: block; width: 100%; height: auto; }
.svc-ico, .adv-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 16px; }
.svc-ico .ico, .adv-ico .ico { width: 24px; height: 24px; }
.svc-card p { font-size: .93rem; margin-bottom: 14px; }
.card-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .89rem; color: var(--brand-dark); }
.card-link .ico { width: 16px; height: 16px; transition: transform .18s ease; }
.svc-card:hover .card-link .ico { transform: translateX(4px); }
.adv-card p { font-size: .93rem; margin: 0; }
.svc-group + .svc-group { margin-top: 44px; }
.svc-group-title { font-size: .84rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------ steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding-top: 22px; border-top: 3px solid var(--line); }
.steps li b { display: block; font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 10px; letter-spacing: -.03em; }
.steps li h3 { font-size: 1.02rem; margin-bottom: .35em; }
.steps li p { font-size: .91rem; margin: 0; }

/* ---------------------------------------------------------- partner */
.partner { display: flex; gap: 28px; align-items: flex-start; }
.partner-ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; background: rgba(245,147,19,.14); color: var(--brand); }
.partner-logo { flex: 0 0 auto; display: block; width: 140px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); line-height: 0; }
.partner-logo:hover { text-decoration: none; }
.partner-logo img { display: block; width: 100%; height: auto; }
.foot-partner-logo { display: inline-flex; width: 36px; padding: 3px; border-radius: 8px; background: #fff; line-height: 0; }
.foot-partner-logo img { display: block; width: 100%; height: auto; }
.brand-mark { border-radius: 9px; object-fit: contain; }
.brand-mark--wide { width: auto; height: 38px; border-radius: 8px; display: block; }
.brand--wide { gap: 0; }
.brand-foot .brand-mark--wide { height: 48px; }
.partner-ico .ico { width: 30px; height: 30px; }
.partner p { max-width: 68ch; }
.partner .btn { margin-top: 8px; }

/* ------------------------------------------------- brands & areas */
.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brands li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 17px; font-size: .89rem; font-weight: 600; color: var(--ink); }
.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.areas li { display: flex; align-items: center; gap: 8px; background: var(--bg-alt); border-radius: var(--radius-sm); padding: 11px 14px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.areas .ico { width: 17px; height: 17px; color: var(--brand-dark); }

/* -------------------------------------------------------------- faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: 0 0 auto; width: 18px; height: 18px; position: relative; }
.faq-item summary i::before, .faq-item summary i::after { content: ''; position: absolute; background: var(--brand-dark); border-radius: 2px; transition: transform .2s ease; }
.faq-item summary i::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-item summary i::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] summary i::after { transform: scaleY(0); }
.faq-a { padding: 0 20px 18px; font-size: .95rem; }
.faq-a p { margin: 0; }

/* --------------------------------------------------------- cta band */
.cta-band { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: #c6d5e4; padding: 54px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------- crumbs & heads */
.crumbs { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .85rem; }
.crumbs ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-dark); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.page-head { background: var(--bg-alt); padding: 54px 0 50px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .35em; }
.page-head-svc { background: var(--navy-800); border-bottom: none; color: #b9cadb; }
.page-head-svc h1 { color: #fff; }
.page-head-svc .lead { color: #b9cadb; }
.page-head-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }

/* -------------------------------------------------- service layout */
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 46px; align-items: start; }
.svc-body h2 { margin-top: 1.6em; }
.svc-body > p:first-child { font-size: 1.04rem; }
.ticks { display: grid; gap: 11px; margin: 0 0 1.4em; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; }
.ticks .ico { width: 19px; height: 19px; color: var(--ok); margin-top: 3px; }
.svc-aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.02rem; }
.aside-card h3 + h3, .aside-card ul + h3 { margin-top: 1.4em; }
.aside-card .btn { margin-top: 16px; }
.aside-list ul { display: grid; gap: 3px; margin-bottom: 12px; }
.aside-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--ink); font-size: .92rem; font-weight: 500; }
.aside-list a:hover { background: var(--brand-soft); text-decoration: none; }
.aside-list .ico { color: var(--brand-dark); }

.prose { max-width: 78ch; }
.prose h2 { margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }

/* -------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.15); }

/* --------------------------------------------------------- footer */
.site-footer { background: var(--navy-900); color: #93a7ba; font-size: .92rem; padding-top: 62px; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #93a7ba; }
.site-footer a:hover { color: var(--brand); text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.brand-foot .brand-txt { color: #fff; }
.brand-foot .brand-txt em { color: #7d92a7; }
.foot-brand p { margin-top: 18px; max-width: 42ch; }
.foot-partner { display: flex; align-items: center; gap: 8px; }
.foot-partner .ico { width: 18px; height: 18px; color: var(--brand); }
.foot-partner a { color: var(--brand); font-weight: 600; }
.foot-social { display: flex; gap: 14px; margin-top: 6px; }
.foot-links, .foot-areas { display: grid; gap: 9px; }
.foot-areas { grid-template-columns: 1fr 1fr; }
.foot-contact { display: grid; gap: 12px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ico { width: 18px; height: 18px; color: var(--brand); margin-top: 3px; }
.foot-hours { display: grid; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.09); }
.foot-hours li { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; }
.foot-hours b { color: #fff; font-weight: 600; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: .85rem; }
.foot-bottom p { margin: 0; }

.aside-card .foot-contact .ico { color: var(--brand-dark); }
.aside-card .foot-contact a { color: var(--ink); }
.aside-card .foot-hours { border-top-color: var(--line); }
.aside-card .foot-hours b { color: var(--ink); }

/* ------------------------------------------------- floating / bar */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .42);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .ico { width: 29px; height: 29px; }
.mobilebar { display: none; }

/* ---------------------------------------------------- responsive */

/* Dar masaüstü / yatay tablet: başlık sıkışmasın (menü sarmasın) */
@media (min-width: 981px) and (max-width: 1200px) {
  .header-in { gap: 12px; }
  .mainnav > ul > li > a { padding: 9px 9px; font-size: .9rem; }
  .header-cta { gap: 6px; }
  .header-cta .btn { padding: 10px 14px; font-size: .9rem; }
  .brand-mark--wide { height: 34px; }
}

/* --- Tablet / küçük dizüstü --- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 34px; padding-top: 52px; padding-bottom: 58px; }
  .hero-card { max-width: 520px; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-aside { position: static; grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .page-head-in { gap: 28px; }
  .page-head-art { width: 300px; }
}

/* --- Mobil menüye geçiş --- */
@media (max-width: 980px) {
  /* DİKKAT: .site-header üzerinde backdrop-filter KULLANILAMAZ.
     backdrop-filter (filter/transform gibi) alt öğelerdeki position:fixed için
     kapsayıcı blok yaratır; menü paneli viewport yerine başlığın kutusuna
     hapsolur. Mobilde düz beyaz zemin kullanılır. */
  .site-header { backdrop-filter: none; background: #fff; z-index: 130; }
  .header-in { position: relative; z-index: 3; min-height: 66px; gap: 12px; }
  .header-cta { display: none; }
  /* Kapatma düğmesi panelin ÜSTÜNDE kalmalı (aynı yığın bağlamında, daha yüksek z-index) */
  .navtoggle { display: flex; margin-left: auto; position: relative; z-index: 5; }
  .mainnav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff;
    padding: 96px 18px 40px; overflow-y: auto; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .25s ease; z-index: 4;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .mainnav { transform: translateX(0); }
  /* Karartma başlığın yığın bağlamı içinde: menünün ve başlık çubuğunun ALTINDA
     kalır, böylece kapatma düğmesi tıklanabilir ve menü kararmaz. */
  body.nav-open .site-header::before {
    content: ''; position: fixed; inset: 0; background: rgba(9, 20, 32, .55); z-index: 1;
  }
  .mainnav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .mainnav > ul > li > a {
    padding: 14px 12px; font-size: 1.02rem; justify-content: space-between; border-radius: 10px;
  }
  .submenu {
    position: static; transform: none; opacity: 1; visibility: visible; min-width: 0;
    box-shadow: none; border: none; border-left: 2px solid var(--line); border-radius: 0;
    margin: 2px 0 10px 12px; padding: 0 0 0 6px; display: none;
  }
  .has-sub.open > a .caret { transform: rotate(-135deg) translateY(-2px); }
  .has-sub.open .submenu { display: block; }
  .submenu ul { grid-template-columns: 1fr; }
  .submenu a { padding: 12px; font-size: .95rem; }

  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-head-in { flex-direction: column; align-items: flex-start; }
  .page-head-art { width: 100%; max-width: 460px; }
  .topbar-links a:nth-child(2) { display: none; }
}

/* --- Telefon --- */
@media (max-width: 760px) {
  body { padding-bottom: 66px; }          /* alt aksiyon barı için yer */

  .section { padding: 48px 0; }
  .wrap { padding: 0 16px; }
  h1 { font-size: clamp(1.65rem, 7.2vw, 2.1rem); line-height: 1.18; }
  h2 { font-size: clamp(1.32rem, 5.6vw, 1.7rem); }
  .lead { font-size: 1rem; }
  .sec-head { margin-bottom: 28px; }

  /* Üst şerit sadeleşir */
  .topbar-in { min-height: 34px; }
  .topbar-note { font-size: .75rem; line-height: 1.3; white-space: nowrap; }
  .topbar-more { display: none; }
  .topbar-links { display: none; }

  /* Başlık */
  .brand img { width: 34px; height: 34px; }
  /* .brand img'den daha özgül olmalı, yoksa geniş logo 34px'e ezilir */
  .brand .brand-mark--wide { width: auto; height: 32px; }
  .brand-foot .brand-mark--wide { height: 42px; }
  .brand-txt { font-size: 1rem; }
  .brand-txt em { font-size: .6rem; letter-spacing: .05em; }
  .navtoggle { width: 46px; height: 46px; }

  /* Düğmeler: taşma yerine sar, dokunma alanı büyük */
  .btn { white-space: normal; text-align: center; padding: 13px 18px; min-height: 48px; }
  .btn-lg { padding: 14px 20px; font-size: .97rem; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }

  /* Hero */
  .hero-in { padding: 36px 16px 44px; gap: 26px; }
  .badge { font-size: .76rem; padding: 6px 12px; margin-bottom: 16px; }
  .hero .lead { font-size: 1rem; }
  .hero-ticks { gap: 8px 18px; margin-top: 20px; font-size: .87rem; }
  .hero-card { padding: 20px; border-radius: 14px; max-width: none; }
  .hero-card h2 { font-size: 1.15rem; }

  /* Form: iOS'ta odaklanınca sayfa zoomlamasın diye 16px */
  .quickform input, .quickform select, .quickform textarea { font-size: 16px; padding: 12px 13px; }

  /* Izgaralar tek sütun */
  .grid-3, .steps, .svc-aside { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stats { padding: 24px 0; }
  .stat b { font-size: 1.45rem; }
  .stat span { font-size: .8rem; }

  /* Kartlar */
  .card { padding: 22px; }
  .svc-body-txt { padding: 18px 20px 22px; }
  .svc-group + .svc-group { margin-top: 32px; }
  .areas { grid-template-columns: 1fr 1fr; }
  .areas li { padding: 10px 12px; font-size: .86rem; }
  .brands li { padding: 7px 14px; font-size: .84rem; }

  /* Süreç adımları */
  .steps li { padding-top: 16px; }
  .steps li b { font-size: 1.7rem; }

  /* SSS */
  .faq-item summary { padding: 15px 16px; font-size: .96rem; gap: 12px; }
  .faq-a { padding: 0 16px 16px; font-size: .92rem; }

  /* Sayfa başlıkları */
  .page-head { padding: 34px 0 32px; }
  .crumbs ul { padding: 10px 0; font-size: .8rem; }

  /* Hizmet detay */
  .svc-body h2 { margin-top: 1.3em; }
  .svc-body > p:first-child { font-size: 1rem; }
  .aside-card { padding: 20px; }

  /* İş ortağı bloğu */
  .partner { flex-direction: column; gap: 16px; }
  .partner-ico { width: 54px; height: 54px; }
  .partner-logo { width: 112px; padding: 10px; }

  /* CTA bandı */
  .cta-band { padding: 40px 0; }
  .cta-in { flex-direction: column; align-items: stretch; gap: 22px; }

  /* Harita */
  .map-section iframe { height: 300px; }

  /* Alt bilgi */
  .foot-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
  .foot-areas { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .site-footer { padding-top: 44px; }

  /* Yüzen WhatsApp + alt bar */
  .wa-float { bottom: 78px; right: 14px; width: 52px; height: 52px; }
  .wa-float .ico { width: 26px; height: 26px; }
  .mobilebar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -3px 14px rgba(13, 27, 42, .1);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mobilebar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 10px 4px; min-height: 58px; color: var(--ink);
    font-size: .73rem; font-weight: 600; text-align: center;
  }
  .mobilebar a:hover { text-decoration: none; }
  .mobilebar a + a { border-left: 1px solid var(--line); }
  .mobilebar .ico { width: 21px; height: 21px; color: var(--brand-dark); }
}

/* --- Dar telefonlar (≤380px) --- */
@media (max-width: 380px) {
  .brand .brand-mark--wide { height: 28px; }
  .grid-4 { grid-template-columns: 1fr; }
  .areas, .foot-areas { grid-template-columns: 1fr; }
  .brand-txt em { display: none; }
  .hero-ticks { flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* -------------------------------------------------------- print */
@media print {
  .topbar, .site-header, .wa-float, .mobilebar, .cta-band, .map-section { display: none !important; }
  body { color: #000; }
}
