/* OFA — Hizmetler page (page-hizmetler.php), compact: a short head; the three monthly packages as short
   rate cards side by side; one comparison table with everything they include, each service once; the two
   projects on a quote; four steps; the close. Warm stone ground, ink, OFA blue on the actions and the ticks.
   Surfaces are told apart by tone; the table alone uses hairlines, because it is read across rows. */

.sv {
	--sv-ground: #f1f0ec;
	--sv-step: #e6e4de;
	--sv-shell: #dbd8d0;
	--sv-core: #f7f7f5;
	--sv-ink: #111318;
	--sv-ink-2: #1d2027;
	--sv-ink-shell: #2a2d35;
	--sv-soft: #55575e;
	--sv-on-ink: #f3f3f1;
	--sv-on-ink-soft: #a9abb2;
	--sv-accent: #005efb;
	--sv-accent-press: #004ed4;
	--sv-mark: #0b4fd6;
	--sv-rule: #d6d3cb;
	--sv-h1: clamp(28px, 2.4vw, 36px);
	--sv-h2: clamp(22px, 1.9vw, 27px);
	--sv-h3: 18px;
	--sv-body: 16px;
	--sv-small: 14px;
	--sv-gap: clamp(20px, 2.6vw, 36px);
	--sv-section: clamp(40px, 4.6vw, 64px);
	--sv-out: cubic-bezier(.22, 1, .36, 1);
	color: var(--sv-ink);
	background: var(--sv-ground);
	font-family: var(--font);
}
body:has(.sv) { background: var(--sv-ground); }
.sv :where(h1, h2, h3, h4, p, ul, ol) { margin: 0; }
.sv :where(h1, h2, h3) { font-weight: 550; letter-spacing: -.03em; text-wrap: balance; }

/* ---------- buttons: one pill shape, the arrow in its own circle ---------- */
.sv-btn {
	--b-bg: var(--sv-accent); --b-fg: #fff; --b-ic: rgb(255 255 255 / .18); --b-hover: var(--sv-accent-press);
	display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 4px 4px 4px 18px; border-radius: 999px;
	background: var(--b-bg); color: var(--b-fg); font: 600 15px/1.2 var(--font); text-decoration: none; white-space: nowrap;
	transition: transform 140ms var(--sv-out), background-color 180ms var(--sv-out);
}
.sv-btn__ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--b-ic); transition: transform 400ms var(--sv-out); }
.sv-btn__ic svg { width: 16px; height: 16px; stroke-width: 1.6; }
.sv-btn:active { transform: scale(.97); }
.sv-btn:focus-visible { outline: 2px solid var(--sv-accent); outline-offset: 3px; }
.sv-btn--ink { --b-bg: var(--sv-ink); --b-ic: rgb(255 255 255 / .14); --b-hover: #2a2d35; }
@media (hover: hover) and (pointer: fine) {
	.sv-btn:hover { background: var(--b-hover); }
	.sv-btn:hover .sv-btn__ic { transform: translateX(3px) scale(1.05); }
}
.sv-link {
	color: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: .22em;
	text-decoration-thickness: .07em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color 180ms var(--sv-out);
}
.sv-link:hover { text-decoration-color: currentColor; }
.sv-link:focus-visible { outline: 2px solid var(--sv-accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- lists with a solid accent dot ---------- */
.sv-list { display: grid; gap: 5px; padding: 0; list-style: none; }
.sv-list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.42; }
.sv-list li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 7px; height: 7px; border-radius: 50%; background: var(--sv-mark); }

/* ---------- 1. the head: title left, the offer in one line right ---------- */
.sv-hero { padding: clamp(24px, 3vw, 40px) 0 clamp(20px, 2.4vw, 28px); }
.sv-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; gap: 14px var(--sv-gap); }
.sv-hero__title { font-size: var(--sv-h1); line-height: 1.06; letter-spacing: -.032em; }
.sv-hero__title span { display: block; }
.sv-hero__lead { max-width: 58ch; font-size: 16px; line-height: 1.55; color: var(--sv-soft); }
.sv-hero__side .ofa-offer { margin: 12px 0 0; }

/* ---------- 2. three rate cards ---------- */
.sv-packs { padding-bottom: clamp(32px, 3.6vw, 48px); }
.sv-packs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.sv-card {
	position: relative; display: flex; flex-direction: column; padding: clamp(18px, 1.8vw, 24px); border-radius: 22px;
	background: var(--sv-core); box-shadow: inset 0 0 0 1px var(--sv-rule); scroll-margin-top: calc(var(--head) + 16px);
	transition: box-shadow 300ms var(--sv-out);
}
.sv-card--e-ticaret { background: var(--sv-ink); color: var(--sv-on-ink); box-shadow: none; --sv-mark: #8db8ff; }
.sv-card.is-picked { box-shadow: inset 0 0 0 2px var(--sv-accent); }
.sv-card__who { font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--sv-accent); }
.sv-card--e-ticaret .sv-card__who { color: #8db8ff; }
.sv-card__name { margin-top: 6px !important; font-size: var(--sv-h2); line-height: 1.1; }
.sv-card__line { margin-top: 8px !important; font-size: 15px; line-height: 1.5; color: var(--sv-soft); }
.sv-card--e-ticaret .sv-card__line { color: var(--sv-on-ink-soft); }
.sv-card__price { display: flex; align-items: baseline; gap: 0 .3em; margin-top: auto !important; padding-top: 16px; }
.sv-card__price strong { font-size: clamp(30px, 2.6vw, 36px); font-weight: 650; line-height: 1.05; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.sv-card__price span { font-size: 16px; font-weight: 600; }
.sv-card__facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.sv-card__facts span { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--sv-step); font-size: 13px; font-weight: 600; color: var(--sv-ink); }
.sv-card--e-ticaret .sv-card__facts span { background: var(--sv-ink-shell); color: var(--sv-on-ink); }
.sv-card__facts span.is-offer { background: var(--sv-accent); color: #fff; }
.sv-card__note { margin-top: 10px !important; font-size: 13px; line-height: 1.5; color: var(--sv-soft); }
.sv-card--e-ticaret .sv-card__note { color: var(--sv-on-ink-soft); }
.sv-card__acts { display: grid; gap: 10px; justify-items: start; margin-top: 14px !important; }
.sv-card__acts .sv-btn { width: 100%; }
.sv-card--e-ticaret .sv-btn:focus-visible, .sv-card--e-ticaret .sv-link:focus-visible { outline-color: #fff; }

/* ---------- 3. the comparison table ---------- */
.sv-compare { padding-block: 0 var(--sv-section); scroll-margin-top: var(--head); }
.sv-compare__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 14px; }
.sv-compare__title { font-size: var(--sv-h2); line-height: 1.1; }
.sv-compare__sub { font-size: var(--sv-small); color: var(--sv-soft); }
.sv-matrix { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14.5px; line-height: 1.4; }
.sv-matrix__pk { width: 176px; }
.sv-matrix thead th { position: sticky; top: var(--head); z-index: 2; padding: 0; background: var(--sv-ground); vertical-align: bottom; border-bottom: 1px solid var(--sv-ink); }
.sv-matrix thead th:not(:first-child) { text-align: center; }
.sv-matrix thead a { display: grid; gap: 2px; padding: 12px 6px 10px; color: inherit; text-decoration: none; }
.sv-matrix thead a:hover .sv-matrix__name { color: var(--sv-accent); }
.sv-matrix__name { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.sv-matrix__abbr { display: none; }
.sv-matrix__fee { font-size: 13px; color: var(--sv-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sv-matrix__group th { padding: 16px 0 4px; font-size: 12.5px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--sv-soft); text-align: left; }
.sv-matrix tbody tr:not(.sv-matrix__group) { border-bottom: 1px solid var(--sv-rule); }
.sv-matrix tbody th[scope="row"] { padding: 7px 12px 7px 0; font-weight: 450; text-align: left; }
.sv-matrix td { padding: 7px 6px; text-align: center; vertical-align: middle; }
.sv-matrix td .icon { display: inline-block; width: 18px; height: 18px; color: var(--sv-accent); stroke-width: 2.2; }
.sv-matrix__no { display: inline-block; width: 10px; height: 2px; border-radius: 1px; background: #c2bfb6; vertical-align: middle; }
.sv-matrix tbody tr:not(.sv-matrix__group):hover { background: rgb(255 255 255 / .45); }
.sv-compare__notes { display: grid; gap: 6px; margin-top: 16px !important; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.5; color: var(--sv-soft); }
.sv-compare__notes li { position: relative; padding-left: 14px; }
.sv-compare__notes li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--sv-soft); }
.sv-compare__notes .sv-link { font-size: 13.5px; color: var(--sv-ink); }

/* ---------- 4. projects on a quote: two cards, scope beside the description ---------- */
.sv-work { padding-block: var(--sv-section); background: var(--sv-step); scroll-margin-top: var(--head); }
.sv-work__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.sv-work__title { font-size: var(--sv-h2); line-height: 1.1; }
.sv-work__sub { font-size: 16px; color: var(--sv-soft); }
.sv-work__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(16px, 1.8vw, 22px); }
.sv-job { display: flex; padding: 5px; border-radius: 24px; background: var(--sv-shell); scroll-margin-top: calc(var(--head) + 24px); }
.sv-job__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "name items" "line items" "price items" "acts items"; column-gap: 22px; align-content: start; width: 100%; padding: clamp(16px, 1.6vw, 20px); border-radius: 19px; background: var(--sv-core); }
.sv-job__name { grid-area: name; font-size: 19px; line-height: 1.2; }
.sv-job__line { grid-area: line; max-width: 36ch; margin-top: 6px !important; font-size: 15px; line-height: 1.5; }
.sv-job__items { grid-area: items; margin-top: 2px; }
.sv-job__price { grid-area: price; margin-top: 12px !important; font-size: var(--sv-small); line-height: 1.5; color: var(--sv-soft); }
.sv-job__price strong { margin-right: 6px; color: var(--sv-ink); font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.sv-job__acts { grid-area: acts; margin-top: 12px !important; align-self: end; }

/* ---------- 5. how we work: four steps in one ruled row ---------- */
.sv-steps { padding-block: var(--sv-section); }
.sv-steps__title { font-size: var(--sv-h2); line-height: 1.1; }
.sv-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin-top: clamp(14px, 1.6vw, 20px) !important; padding: 0; list-style: none; border-top: 1px solid var(--sv-ink); counter-reset: sv; }
.sv-steps__step { padding: 14px 0 16px; border-bottom: 1px solid var(--sv-rule); counter-increment: sv; }
.sv-steps__step h3 { font-size: 16px; line-height: 1.25; }
.sv-steps__step h3::before { content: counter(sv, decimal-leading-zero); margin-right: 10px; font-size: 13px; font-weight: 600; color: var(--sv-accent); font-variant-numeric: tabular-nums; }
.sv-steps__step p { margin-top: 6px !important; font-size: 14.5px; line-height: 1.5; color: var(--sv-soft); }

/* ---------- 6. the close, on the stone step so it stays apart from the ink footer ---------- */
.sv-close { padding-block: clamp(32px, 3.6vw, 48px); background: var(--sv-step); }
.sv-close__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.sv-close__q { font-size: var(--sv-h2); line-height: 1.1; }
.sv-close__note { max-width: 52ch; margin-top: 8px !important; font-size: 16px; line-height: 1.5; color: var(--sv-soft); }
.sv-close__acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
	.sv-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.sv-packs__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sv-card--reklam-paketi { grid-column: 1 / -1; }
	.sv-matrix__pk { width: 120px; }
	.sv-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
	.sv-packs__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.sv-card { padding: 18px 16px; border-radius: 18px; }
	.sv-card__price { padding-top: 12px; }
	.sv-matrix { font-size: 13.5px; }
	.sv-matrix__pk { width: 58px; }
	.sv-matrix thead a { padding: 10px 2px 8px; }
	.sv-matrix__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.sv-matrix__abbr { display: block; font-size: 12px; font-weight: 650; line-height: 1.2; }
	.sv-matrix__fee { display: none; }
	.sv-matrix tbody th[scope="row"] { padding: 8px 8px 8px 0; }
	.sv-matrix td { padding: 8px 2px; }
	.sv-work__cards { grid-template-columns: minmax(0, 1fr); }
	.sv-job__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "line" "items" "price" "acts"; }
	.sv-job__items { margin-top: 10px; }
	.sv-job__acts .sv-btn { width: 100%; }
	.sv-steps__list { grid-template-columns: minmax(0, 1fr); }
	.sv-close__acts, .sv-close__acts .sv-btn { width: 100%; }
}
