/* Rota Oto Servis — servis hattı haritası */
:root {
  --ink: #0E1B36;
  --ink-2: #08122A;
  --paper: #F4EFE3;
  --paper-2: #E8E0CC;
  --route: #A8330F;
  --line: #E2531F;
  --hi: #FF8A5B;
  --teal: #0F6B70;
  --teal-deep: #0B4A50;
  --mint: #8FD9CF;
  --gx: clamp(18px, 4.2vw, 64px);
  --pad-l: calc(var(--gx) + clamp(30px, 5vw, 84px));
  --pad-r: clamp(20px, 5vw, 72px);
  --pad-y: clamp(64px, 9vw, 136px);
  --head: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: Tahoma, Verdana, Geneva, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  position: relative;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(2rem, 5.4vw, 4.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3.5vw, 3rem); max-width: 22ch; }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--focus, var(--teal)); outline-offset: 3px; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .7rem 1rem; border-radius: 8px;
}
.skip:focus { top: 8px; }

/* ---------- Route (scroll line) ---------- */
.route {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--gx) - 3px); width: 6px;
  z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(112,122,145,.55) 0 10px, transparent 10px 18px);
}
.route-fill {
  position: absolute; top: 0; left: 0; width: 100%;
  height: var(--y, 100%);
  background: var(--line); border-radius: 3px;
}
.route-car {
  display: none;
  position: absolute; left: 50%; top: var(--y, 0);
  transform: translate(-50%, -50%) rotate(180deg);
  width: 32px; height: 32px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}
.route-car svg { display: block; }
.js .route-car { display: block; }
.still .route-car { display: none; }
.still .route-fill { height: 100%; }

.stop-chip {
  display: none;
  position: fixed; right: 14px; bottom: 14px; z-index: 40;
  background: var(--ink); color: var(--paper);
  font-family: var(--head); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .55rem 1rem; border-radius: 999px; border: 2px solid var(--line);
  pointer-events: none;
}
@media (min-width: 760px) { .js .stop-chip.on { display: block; } }
.still .stop-chip { display: none !important; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .4rem 1.5rem;
  padding: .6rem clamp(14px, 3.4vw, 52px);
  background: rgba(244,239,227,.96);
  border-bottom: 3px solid var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--head); font-size: 1.35rem; letter-spacing: -0.02em; }
.brand-text small { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; margin-top: .25rem; font-weight: bold; color: var(--route); }
.nav-wrap { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.nav-wrap ul { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; }
.nav-wrap nav a {
  display: inline-block; padding: .45rem 0; font-size: .9rem; font-weight: bold; text-decoration: none;
  background: linear-gradient(var(--route), var(--route)) no-repeat 0 100% / 0 3px;
  transition: background-size .25s;
}
.nav-wrap nav a:hover { background-size: 100% 3px; }
.menu-btn {
  display: none; align-items: center; gap: .6rem;
  font: inherit; font-weight: bold; color: var(--ink);
  background: transparent; border: 2px solid var(--ink); border-radius: 10px;
  padding: .55rem .9rem; cursor: pointer; min-height: 44px;
}
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav-wrap { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: .6rem 0 1rem; gap: 1rem; }
  .js .nav-wrap.open { display: flex; }
  .js .nav-wrap ul { flex-direction: column; }
  .js .nav-wrap nav a { display: block; padding: .8rem 0; font-size: 1.05rem; border-top: 2px dashed rgba(14,27,54,.25); }
  .js .nav-wrap .btn { text-align: center; }
  .nav-wrap { flex-basis: 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-align: center; text-decoration: none;
  font-family: var(--head); font-size: .85rem; letter-spacing: .04em;
  background: var(--route); color: #fff;
  border: 2px solid var(--route); border-radius: 14px;
  padding: .9rem 1.5rem; min-height: 46px; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--hi); border-color: var(--hi); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.textlink { font-weight: bold; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--line); }
.textlink:hover { color: var(--route); }

/* ---------- Section frame & stations ---------- */
main > :where(.wp-block-post-content) > section, footer { position: relative; }
main > :where(.wp-block-post-content) > section {
  --pt: var(--pad-y);
  --accent: var(--route);
  --st-bg: var(--paper);
  --st-bd: var(--ink);
  padding: var(--pt) var(--pad-r) var(--pad-y) var(--pad-l);
}
main > :where(.wp-block-post-content) > section::before, footer::before {
  content: ""; position: absolute; z-index: 3;
  left: calc(var(--gx) - 13px); top: calc(var(--pt) + 1px);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--st-bg); border: 5px solid var(--st-bd);
  transition: background .3s, transform .3s;
}
.is-passed::before { background: var(--line) !important; transform: scale(1.12); }
html:not(.js) main > :where(.wp-block-post-content) > section::before, html:not(.js) footer::before { background: var(--line); }
.still main > :where(.wp-block-post-content) > section::before, .still footer::before { background: var(--line); }

.stop {
  display: inline-block; margin: 0 0 1.2rem;
  font-family: var(--head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  color: var(--accent); border: 2px solid currentColor; border-radius: 999px; padding: .55rem 1rem;
}
.intro { max-width: 56ch; }
.services, .atmosphere, .process, .contact, footer {
  color: var(--paper);
  --accent: var(--hi);
  --st-bg: var(--ink);
  --st-bd: var(--paper);
  --focus: var(--mint);
}
main > :where(.wp-block-post-content) > .services, main > :where(.wp-block-post-content) > .contact { background: var(--ink); }
main > :where(.wp-block-post-content) > .process { background: var(--teal-deep); --accent: var(--mint); --st-bg: var(--teal-deep); }
main > :where(.wp-block-post-content) > .story, main > :where(.wp-block-post-content) > .faq { background: var(--paper-2); --st-bg: var(--paper-2); }

/* ---------- Hero ---------- */
.hero {
  --pt: calc(var(--pad-y) * .6);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(14,27,54,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,27,54,.07) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero .stop { justify-self: start; }
.hero h1 { max-width: 14ch; margin-bottom: 1.2rem; }
.hero .lead { font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 50ch; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: .6rem 0 2rem; }
.hero-pic { margin: 0 0 2.4rem; position: relative; }
.hero-pic img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 8px clamp(56px, 10vw, 150px) 8px clamp(56px, 10vw, 150px);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--line);
}

.hat { counter-reset: h; position: relative; }
.hat li { position: relative; counter-increment: h; padding: 0 0 1rem 2.7rem; }
.hat li::before {
  content: counter(h); position: absolute; left: 0; top: 0;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  border: 3px solid var(--ink); background: var(--paper);
  display: grid; place-items: center;
  font-family: var(--head); font-size: .7rem; line-height: 1;
  transition: background .2s;
}
.hat li::after { content: ""; position: absolute; left: calc(.9rem - 2px); top: 1.8rem; bottom: 0; width: 4px; background: var(--teal); }
.hat li:last-child::after { display: none; }
.hat li:hover::before, .hat li:focus-within::before { background: var(--line); }
.hat a { display: inline-block; font-weight: bold; text-decoration: none; padding: .2rem 0; min-height: 28px; }
.hat a:hover { color: var(--route); }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; }
  .hero .stop { grid-column: 1; grid-row: 1; }
  .hero h1 { grid-column: 1; grid-row: 2; }
  .hero .lead { grid-column: 1; grid-row: 3; }
  .hero .actions { grid-column: 1; grid-row: 4; }
  .hero-pic { grid-column: 2; grid-row: 1 / span 4; margin: 0 12px 0 0; }
  .hero-pic img { aspect-ratio: 1 / .95; }
  .hat { grid-column: 1 / -1; grid-row: 5; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(24px, 4vw, 56px); }
  .hat li { padding: 2.7rem .8rem 0 0; }
  .hat li::after { left: 1.8rem; right: 0; top: calc(.9rem - 2px); bottom: auto; width: auto; height: 4px; }
}

/* ---------- Story ---------- */
.story { display: grid; gap: 2.4rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
.story figure { margin: 0 14px 14px 0; order: 2; }
.story img {
  width: 100%; border: 3px solid var(--ink);
  border-radius: 0 clamp(40px, 8vw, 110px) 0 clamp(40px, 8vw, 110px);
  box-shadow: 14px 14px 0 var(--teal);
}
.story .copy { order: 1; }
.story .copy p:not(.stop) { max-width: 56ch; }
.story h2 { margin-bottom: 1.2rem; }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 100px); }
  .story figure { order: 1; }
  .story .copy { order: 2; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: minmax(0, 1fr); }
.services h2 { margin-bottom: 1rem; }
.services .intro { margin-bottom: 2.4rem; opacity: .95; }
.services ul { counter-reset: s; margin-bottom: 2.4rem; border-bottom: 2px dashed rgba(244,239,227,.3); }
.services li {
  counter-increment: s; position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.2rem; row-gap: .4rem;
  padding: 1.6rem 0; border-top: 2px dashed rgba(244,239,227,.3);
  transition: padding-left .25s, background .25s;
}
.services li::before {
  content: counter(s, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: var(--head); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--hi);
  transition: color .25s;
}
.services li p { margin: 0; max-width: 60ch; }
.services li:hover { padding-left: .8rem; background: rgba(244,239,227,.05); }
.services li:hover::before { color: var(--hi); }
@media (min-width: 900px) {
  .services li { grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 2rem; align-items: center; }
  .services li::before { grid-row: auto; }
}

/* ---------- Detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.detail h2 { margin-bottom: 1rem; }
.detail .intro { margin-bottom: 2rem; }
.detail figure { margin: 0 0 2.2rem; }
.detail img { width: 100%; border: 3px solid var(--ink); }
.detail .tall img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px clamp(50px, 9vw, 130px) 8px 8px; box-shadow: 12px 12px 0 var(--line); }
.detail .square img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px 8px 8px clamp(50px, 9vw, 130px); box-shadow: -12px 12px 0 var(--teal); }
.detail .tall, .detail .square { padding: 0 12px 12px 12px; }
.detail figcaption { margin-top: 1.4rem; padding-left: 1rem; border-left: 4px solid var(--line); max-width: 44ch; font-size: .95rem; }
@media (min-width: 900px) {
  .detail { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); column-gap: clamp(40px, 6vw, 100px); align-content: start; }
  .detail .stop { grid-column: 1; grid-row: 1; justify-self: start; }
  .detail h2 { grid-column: 1; grid-row: 2; }
  .detail .intro { grid-column: 1; grid-row: 3; }
  .detail .square { grid-column: 1; grid-row: 4; margin-top: 1rem; }
  .detail .tall { grid-column: 2; grid-row: 1 / span 4; margin: 0; align-self: start; }
}

/* ---------- Atmosphere ---------- */
.atmosphere { --pt: clamp(80px, 12vw, 170px); display: flex; align-items: flex-end; min-height: clamp(420px, 62vw, 680px); overflow: hidden; background: var(--ink); }
.atmosphere > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.atmosphere::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,18,42,.92) 0%, rgba(8,18,42,.7) 45%, rgba(8,18,42,.15) 100%);
}
.atmosphere .copy { position: relative; z-index: 1; max-width: 640px; }
.atmosphere h2 { margin-bottom: 1rem; }
.atmosphere p:not(.stop) { max-width: 46ch; margin-bottom: 0; }
@media (max-width: 700px) {
  .atmosphere::after { background: linear-gradient(0deg, rgba(8,18,42,.94) 0%, rgba(8,18,42,.75) 60%, rgba(8,18,42,.4) 100%); }
}

/* ---------- Why ---------- */
.why h2 { margin-bottom: 2.4rem; }
.why ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; counter-reset: w; }
.why li {
  counter-increment: w; position: relative;
  padding: 4.6rem 1.6rem 1.8rem; background: var(--ink); color: var(--paper);
  border-radius: 0 36px 0 36px;
}
.why li::before {
  content: counter(w); position: absolute; left: 1.6rem; top: 1.4rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink);
  font-family: var(--head); font-size: .95rem;
}
.why li:nth-child(2) { background: var(--teal); color: #fff; }
.why li:nth-child(3) { background: var(--route); color: #fff; }
.why li:nth-child(4) { background: var(--paper-2); color: var(--ink); border: 3px solid var(--ink); }
.why li h3 { margin-bottom: .7rem; }
.why li p { margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .why ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .why ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: minmax(0, 1fr); }
.process h2 { margin-bottom: 1rem; }
.process figure { margin: 1rem 12px 2.4rem 0; }
.process figure img { width: 100%; border: 3px solid var(--paper); border-radius: 8px clamp(40px, 8vw, 110px) 8px clamp(40px, 8vw, 110px); box-shadow: 12px 12px 0 var(--line); }
.process ol { counter-reset: p; display: grid; gap: 1.6rem; }
.process li { counter-increment: p; position: relative; padding-left: 4rem; }
.process li::before {
  content: counter(p); position: absolute; left: 0; top: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink); font-family: var(--head); font-size: 1rem;
}
.process li::after { content: ""; position: absolute; left: calc(1.3rem - 2px); top: 2.8rem; bottom: -1.6rem; width: 4px; background: var(--mint); opacity: .7; }
.process li:last-child::after { display: none; }
.process li h3 { margin: .35rem 0 .4rem; }
.process li p { margin: 0; font-size: .95rem; }
@media (min-width: 960px) {
  .process { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); column-gap: clamp(40px, 6vw, 100px); }
  .process .stop { grid-column: 1; grid-row: 1; justify-self: start; }
  .process h2 { grid-column: 1; grid-row: 2; }
  .process .intro { grid-column: 1; grid-row: 3; }
  .process figure { grid-column: 2; grid-row: 1 / span 3; margin: 0 12px 0 0; align-self: start; }
  .process ol { grid-column: 1 / -1; grid-row: 4; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; margin-top: clamp(40px, 5vw, 72px); }
  .process li { padding: 3.8rem 0 0; }
  .process li::after { left: 2.6rem; right: -1.4rem; top: calc(1.3rem - 2px); bottom: auto; width: auto; height: 4px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 0; }
.faq h2 { margin-bottom: 1.4rem; }
.faq details { border-top: 3px solid var(--ink); }
.faq details:last-child { border-bottom: 3px solid var(--ink); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 0; cursor: pointer; list-style: none;
  font-family: var(--head); font-size: clamp(.95rem, 1.5vw, 1.1rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--paper);
  font-size: 1.3rem; line-height: 1;
}
.faq details[open] summary::after { content: "−"; background: var(--route); }
.faq details p { max-width: 62ch; padding-bottom: 1.2rem; margin: 0; }
@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); column-gap: clamp(40px, 6vw, 100px); align-items: start; }
  .faq .stop { grid-column: 1; grid-row: 1; justify-self: start; }
  .faq h2 { grid-column: 1; grid-row: 2; }
  .faq-list { grid-column: 2; grid-row: 1 / span 3; }
}

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem;
  background-image:
    linear-gradient(rgba(244,239,227,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,239,227,.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.contact h2 { margin-bottom: 1rem; }
.contact .copy p:not(.stop) { max-width: 46ch; }
.contact .copy ul { margin-top: 1.4rem; display: grid; gap: .7rem; }
.contact .copy li { position: relative; padding-left: 2rem; }
.contact .copy li::before { content: ""; position: absolute; left: 0; top: .55em; width: 1.1rem; height: 4px; background: var(--hi); border-radius: 2px; }
.contact form {
  background: var(--paper); color: var(--ink);
  padding: clamp(20px, 3.5vw, 40px); border-radius: 0 40px 0 40px;
  border: 3px solid var(--line);
  --focus: var(--teal);
}
.contact form p { margin: 0 0 1.1rem; }
.contact label { display: block; font-weight: bold; font-size: .9rem; margin-bottom: .35rem; }
.contact input, .contact textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: .8rem .9rem;
}
.contact textarea { resize: vertical; min-height: 130px; }
.contact input:focus-visible, .contact textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.contact .btn { width: 100%; font-size: 1rem; }
@media (min-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 100px); align-items: start; }
}

/* ---------- Footer ---------- */
footer {
  --pt: clamp(48px, 6vw, 80px);
  background: var(--ink-2);
  padding: var(--pt) var(--pad-r) 48px var(--pad-l);
  display: grid; gap: .4rem 2rem; grid-template-columns: minmax(0, 1fr);
}
footer::before { width: 34px; height: 34px; left: calc(var(--gx) - 17px); border-width: 6px; }
footer p { margin: 0 0 .6rem; max-width: 48ch; }
.foot-brand { font-family: var(--head); font-size: 1.4rem; }
footer ul { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; }
footer nav a { display: inline-block; padding: .5rem 0; font-weight: bold; text-decoration-color: var(--hi); text-underline-offset: 5px; }
footer nav a:hover { color: var(--hi); }
footer .small { font-size: .8rem; opacity: .85; margin-top: .8rem; }

/* ---------- Small screens ---------- */
@media (max-width: 480px) {
  .hero-pic img, .story img, .detail img, .process figure img { box-shadow-width: 0; }
  .hero-pic img { box-shadow: 6px 6px 0 var(--line); }
  .story img { box-shadow: 8px 8px 0 var(--teal); }
  .btn { width: 100%; }
  .actions { flex-direction: column; }
}

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

/* inner pages */
/* Rota Oto Servis — iç sayfalar (pg- önekli kurallar) */

/* Kompakt sayfa başlığı: tek sütun, daha az dikey boşluk */
main > :where(.wp-block-post-content) > .pg-hero {
  --pt: calc(var(--pad-y) * .45);
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: calc(var(--pad-y) * .5);
}
main > :where(.wp-block-post-content) > .pg-hero h1 { max-width: 20ch; }
main > :where(.wp-block-post-content) > .pg-hero .lead { margin-bottom: 1.4rem; }
main > :where(.wp-block-post-content) > .pg-hero .actions { margin-bottom: 0; }
main > :where(.wp-block-post-content) > .pg-hero .lead:last-child { margin-bottom: 0; }

/* Hizmetler: ayrıntılı açıklama gövdesi */
.pg-svc-body { min-width: 0; }
.pg-svc-body p + p { margin-top: .7rem; }
.pg-svc-body strong { color: var(--hi); }

/* Hizmetler: kapanış çağrısı (tek sütun, dar buton alanı) */
main > :where(.wp-block-post-content) > .pg-cta { grid-template-columns: minmax(0, 1fr); }
.pg-cta .copy { max-width: 60ch; }
.pg-cta .actions {
  flex-direction: column;
  max-width: 24rem;
  margin-bottom: 0;
}

/* İletişim: bilgi notu */
.pg-note {
  margin-top: 1.4rem;
  padding-left: 1rem;
  border-left: 4px solid var(--hi);
  font-size: .95rem;
}

/* İletişim: figürsüz, üç adımlı süreç */
@media (min-width: 960px) {
  main > :where(.wp-block-post-content) > .pg-next { grid-template-columns: minmax(0, 1fr); }
  .pg-next ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-next .intro { max-width: 62ch; }
}

.wpf-legal { padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 4vw, 2rem); }
.wpf-legal .wpf-legal__inner { max-width: 72ch; margin: 0 auto; }
.wpf-legal .wpf-legal__inner h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; margin: .2em 0 .8em; }
.wpf-legal .wpf-legal__inner h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.25; margin: 2.2em 0 .6em; }
.wpf-legal .wpf-legal__inner p, .wpf-legal .wpf-legal__inner li { line-height: 1.75; max-width: none; }
.wpf-legal .wpf-legal__inner ul { padding-left: 1.2em; margin: 0 0 1em; }
.wpf-legal .wpf-legal__inner li { margin: .35em 0; list-style: disc; }
.wpf-legal .wpf-legal__inner a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.wpf-legal .wpf-legal__meta { font-size: .875rem; opacity: .7; margin: 0; }
.wpf-legal .wpf-legal__table { overflow-x: auto; margin: 1em 0 1.5em; }
.wpf-legal table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wpf-legal th, .wpf-legal td { text-align: left; vertical-align: top; padding: .7em .8em; border-bottom: 1px solid rgba(127,127,127,.3); }
.wpf-legal code { font-size: .85em; word-break: break-word; }
.wpf-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; grid-column: 1 / -1;
  width: 100%; box-sizing: border-box; padding: 1.1rem clamp(1.25rem, 4vw, 2rem) 0; font-size: .875rem; }
.wpf-legal-links a { color: inherit; opacity: .85; text-decoration: underline; text-underline-offset: .15em; }
.wpf-legal-links a:hover, .wpf-legal-links a:focus-visible { opacity: 1; }

.wpf-consent { position: fixed; z-index: 99998; left: 16px; right: 16px; bottom: 16px; max-width: 27rem; box-sizing: border-box;
  padding: 20px 22px; border-radius: 14px; border: 1px solid rgba(127,127,127,.28); box-shadow: 0 14px 44px rgba(0,0,0,.24);
  font-size: 15px; line-height: 1.55; text-align: left; }
.wpf-consent[hidden] { display: none; }
.wpf-consent .wpf-consent__title { margin: 0 0 6px; font-weight: 700; font-size: 1.05em; }
.wpf-consent .wpf-consent__text { margin: 0 0 16px; max-width: none; }
.wpf-consent .wpf-consent__text a { color: inherit; text-decoration: underline; }
.wpf-consent .wpf-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wpf-consent .wpf-consent__actions button { cursor: pointer; margin: 0; width: auto; }
.wpf-consent .wpf-consent__primary, .wpf-consent .wpf-consent__secondary { font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 8px; }
.wpf-consent .wpf-consent__primary { background: #1c1b19; color: #fff; border: 1px solid #1c1b19; }
.wpf-consent .wpf-consent__secondary { background: transparent; color: inherit; border: 1px solid currentColor; }
.wpf-consent button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
