/* =========================================================
   Kalorimetre Modelleri — Statik Prototip Stil Dosyası
   2026 / Apple benzeri premium, sade ve ferah tasarım
   ========================================================= */

:root {
    --color-background: #f5f5f7;
    --color-surface: #ffffff;
    --color-surface-2: #fbfbfd;
    --color-text: #1d1d1f;
    --color-muted: #6e6e73;
    --color-line: #e6e6ea;
    --color-primary: #e52329;
    --color-primary-strong: #c81e23;
    --color-primary-soft: #fdecec;
    --color-link: #0071e3;
    --color-whatsapp: #25d366;
    --color-success: #2ea86a;

    --radius-small: 14px;
    --radius-medium: 22px;
    --radius-large: 32px;
    --radius-pill: 999px;

    --container-width: 1240px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.05);
    --shadow-md: 0 6px 18px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.05);
    --shadow-lg: 0 18px 50px rgba(15,23,42,.14);

    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
            "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --ease: cubic-bezier(.22,.61,.36,1);
    --header-h: 62px;
    --topbar-h: 40px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-background);
    line-height: 1.55;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1rem; }

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 70px) 0; }
.section--soft { background: var(--color-surface); }

.section-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
    display: inline-block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 14px;
}
.section-head p { color: var(--color-muted); font-size: 1.12rem; margin: 0; }

.lead { font-size: 1.2rem; color: var(--color-muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform .25s var(--ease), background-color .25s var(--ease),
                box-shadow .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; }

.btn--primary { background: var(--color-primary); color: #fff; box-shadow: 0 8px 20px rgba(229,35,41,.28); }
.btn--primary:hover { background: var(--color-primary-strong); box-shadow: 0 12px 26px rgba(229,35,41,.34); }

.btn--dark { background: var(--color-text); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--ghost { background: rgba(255,255,255,.7); color: var(--color-text); border-color: var(--color-line); }
.btn--ghost:hover { background: #fff; box-shadow: var(--shadow-sm); }

.btn--light { background: #fff; color: var(--color-text); box-shadow: var(--shadow-sm); }
.btn--light:hover { box-shadow: var(--shadow-md); }

.btn--link { background: transparent; color: var(--color-link); min-height: auto; padding: 0; border-radius: 0; }
.btn--link:hover { color: #005bbb; }

.btn--wa { background: var(--color-whatsapp); color: #fff; }
.btn--wa:hover { background: #1eba59; }

.btn--block { width: 100%; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 1.05rem; }

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute;
    left: 16px; top: -60px;
    z-index: 2000;
    background: var(--color-text);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Focus visibility */
:focus-visible {
    outline: 3px solid var(--color-link);
    outline-offset: 2px;
    border-radius: 6px;
}

/* =========================================================
   Top info bar
   ========================================================= */
.topbar {
    background: var(--color-text);
    color: #fff;
    font-size: .86rem;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--topbar-h);
    gap: 16px;
}
.topbar__msg { color: #d6d6da; }
.topbar__actions { display: flex; align-items: center; gap: 18px; }
.topbar__link { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 500; }
.topbar__link svg { width: 16px; height: 16px; }
.topbar__link:hover { color: #ff9a9d; }
.topbar__link--offer { color: #ff9a9d; font-weight: 600; }

/* =========================================================
   Header
   ========================================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255,255,255,.72);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header.is-scrolled {
    background: rgba(255,255,255,.92);
    border-bottom-color: var(--color-line);
    box-shadow: 0 1px 12px rgba(0,0,0,.05);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: var(--header-h);
}
.header__brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.header__brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: .96rem;
    font-weight: 500;
    color: var(--color-text);
    transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { background: rgba(0,0,0,.05); }
.nav__link--active { color: var(--color-primary); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    border-radius: 50%;
    color: var(--color-text);
    transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.icon-btn:hover { box-shadow: var(--shadow-sm); }
.icon-btn svg { width: 20px; height: 20px; }

.header__login { font-weight: 500; padding: 8px 12px; border-radius: var(--radius-pill); }
.header__login:hover { background: rgba(0,0,0,.05); }

.hamburger {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    border-radius: 12px;
    color: var(--color-text);
    align-items: center;
    justify-content: center;
}
.hamburger svg { width: 24px; height: 24px; }

/* =========================================================
   Mobile drawer
   ========================================================= */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,12,20,.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
    z-index: 1000;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
    position: fixed;
    top: 0; right: 0;
    height: 100%;
    width: 88%;
    max-width: 400px;
    background: var(--color-surface);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .34s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.2);
}
.drawer.is-open { transform: translateX(0); }

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-line);
}
.drawer__head img { height: 32px; }
.drawer__close {
    width: 44px; height: 44px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--color-text);
}
.drawer__close svg { width: 22px; height: 22px; }

.drawer__nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 12px 20px;
    -webkit-overflow-scrolling: touch;
}
.drawer__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius-small);
    font-size: 1.08rem;
    font-weight: 500;
}
.drawer__nav a:hover { background: var(--color-background); }
.drawer__nav a svg { width: 18px; height: 18px; color: var(--color-muted); }

.drawer__cta {
    padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-line);
    display: grid;
    gap: 10px;
    background: var(--color-surface-2);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 90px);
    background:
        radial-gradient(1100px 500px at 78% -10%, #ffe9ea 0%, rgba(255,233,234,0) 60%),
        radial-gradient(900px 500px at 5% 15%, #e9f0fb 0%, rgba(233,240,251,0) 55%),
        var(--color-background);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(30px, 5vw, 64px);
    align-items: center;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255,255,255,.7);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--color-primary); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--color-muted); max-width: 560px; margin-bottom: 26px; }

/* Hero selector card */
.selector {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-medium);
    padding: 18px;
    box-shadow: var(--shadow-md);
    max-width: 560px;
}
.selector__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--color-muted); padding-left: 4px; }
.field select, .field input, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-small);
    background: var(--color-surface-2);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
}
.field select:focus, .field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--color-link);
    box-shadow: 0 0 0 4px rgba(0,113,227,.14);
}
.selector__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255,255,255,.65);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-text);
}
.trust-chip svg { width: 16px; height: 16px; color: var(--color-primary); }

.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; }

/* =========================================================
   Page hero (iç sayfalar için üst başlık)
   ========================================================= */
.page-hero {
    padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
    background:
        radial-gradient(900px 400px at 85% -20%, #ffe9ea 0%, rgba(255,233,234,0) 60%),
        radial-gradient(700px 400px at 0% 10%, #e9f0fb 0%, rgba(233,240,251,0) 55%),
        var(--color-background);
}
.breadcrumb { margin-bottom: 16px; }
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0; padding: 0;
    font-size: .88rem;
    color: var(--color-muted);
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-text); }
.breadcrumb li[aria-current] { color: var(--color-text); font-weight: 600; }
.breadcrumb .sep { color: var(--color-line); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: var(--color-muted); font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 680px; margin: 0; }

/* =========================================================
   Cards / grids (services, why, products)
   ========================================================= */
.grid {
    display: grid;
    gap: 20px;
}
.grid--services { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-medium);
    padding: 26px 24px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card__icon {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--color-muted); font-size: .98rem; margin-bottom: 18px; flex: 1; }
.card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-link);
    font-weight: 600;
    font-size: .95rem;
}
.card__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Why-us feature cards */
.feature { padding: 28px 26px; }
.feature .card__icon { background: #eaf3ff; color: var(--color-link); }

/* =========================================================
   Products & brands
   ========================================================= */
.product-card { padding: 0; overflow: hidden; }
.product-card__media {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #f2f4f8, #e7ebf2);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-primary);
}
.product-card__media svg { width: 84px; height: 84px; }
.product-card__body { padding: 20px 22px 24px; }
.product-card__tag {
    display: inline-block;
    font-size: .74rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 8px;
}
.product-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.product-card p { color: var(--color-muted); font-size: .92rem; margin: 0; }

.brands {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}
.brand-chip {
    padding: 12px 22px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-small);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: var(--color-text);
    transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.brand-chip:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

/* =========================================================
   How it works (steps)
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-medium);
    padding: 30px 24px 26px;
}
.step__num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-text);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
    margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* =========================================================
   Service regions (tabs + province search)
   ========================================================= */
.regions__search { max-width: 520px; margin: 0 auto 28px; position: relative; }
.regions__search svg {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; color: var(--color-muted); pointer-events: none;
}
.regions__search input {
    width: 100%;
    min-height: 54px;
    padding: 12px 18px 12px 48px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    font-size: 1.02rem;
    box-shadow: var(--shadow-sm);
}
.regions__search input:focus { outline: none; border-color: var(--color-link); box-shadow: 0 0 0 4px rgba(0,113,227,.14); }

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}
.tab {
    padding: 9px 18px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: .95rem;
    color: var(--color-text);
    transition: all .2s var(--ease);
}
.tab:hover { border-color: var(--color-primary); }
.tab.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.provinces {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.province-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-small);
    font-size: .95rem;
    font-weight: 500;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.province-link:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.province-link .plate {
    flex-shrink: 0;
    min-width: 34px;
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    color: var(--color-muted);
    background: var(--color-background);
    border-radius: 8px;
    padding: 3px 6px;
}
.province-link .name { color: var(--color-text); }
.regions__empty { text-align: center; color: var(--color-muted); padding: 30px 0; display: none; }
.regions__empty.is-visible { display: block; }
.province-link.is-hidden { display: none; }

/* =========================================================
   City showcase (Kastamonu)
   ========================================================= */
.city {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(30px, 5vw, 56px);
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-large);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--shadow-sm);
}
.city__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.city__tags span {
    padding: 7px 14px;
    background: var(--color-primary-soft);
    color: var(--color-primary-strong);
    border-radius: var(--radius-pill);
    font-size: .84rem;
    font-weight: 600;
}
.city__districts h3 { font-size: 1.05rem; margin-bottom: 14px; }
.district-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}
.district-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--color-background);
    border-radius: var(--radius-small);
    font-size: .93rem;
    font-weight: 500;
    transition: background-color .2s var(--ease);
}
.district-list a:hover { background: #ededf0; }
.district-list a svg { width: 15px; height: 15px; color: var(--color-primary); }

/* =========================================================
   SEO content tabs & accordion
   ========================================================= */
.info-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    justify-content: center;
}
.info-panels { max-width: 820px; margin: 0 auto; }
.info-panel { display: none; }
.info-panel.is-active { display: block; animation: fadeUp .4s var(--ease); }
.info-panel h3 { margin-bottom: 12px; }
.info-panel p { color: var(--color-muted); }
.info-panel ul { color: var(--color-muted); padding-left: 20px; }
.info-panel li { margin-bottom: 8px; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Accordion (FAQ) */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-medium);
    background: var(--color-surface);
    margin-bottom: 12px;
    overflow: hidden;
}
.acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--color-text);
}
.acc-trigger .chevron {
    flex-shrink: 0;
    width: 22px; height: 22px;
    color: var(--color-muted);
    transition: transform .3s var(--ease);
}
.acc-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); color: var(--color-primary); }
.acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
}
.acc-panel__inner { padding: 0 22px 22px; color: var(--color-muted); }

/* =========================================================
   Quote form section
   ========================================================= */
.quote {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(30px, 5vw, 56px);
    align-items: start;
}
.quote__aside ul { list-style: none; padding: 0; margin: 20px 0 0; }
.quote__aside li {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 16px; color: var(--color-muted);
}
.quote__aside li svg { width: 22px; height: 22px; color: var(--color-success); flex-shrink: 0; margin-top: 2px; }
.quote__aside li strong { color: var(--color-text); display: block; }

.form-card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-large);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field--full { grid-column: 1 / -1; }
.field__error { font-size: .82rem; color: var(--color-primary); min-height: 1em; padding-left: 4px; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--color-primary); }

.consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 8px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--color-primary); }
.consent label { font-size: .9rem; color: var(--color-muted); }
.consent a { color: var(--color-link); }

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #eafaf1;
    border: 1px solid #bfe9d1;
    border-radius: var(--radius-medium);
    color: #1c7a4a;
    font-weight: 600;
    margin-top: 16px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

/* =========================================================
   Big CTA
   ========================================================= */
.cta {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-large);
    padding: clamp(40px, 6vw, 72px);
    text-align: center;
    color: #fff;
    background:
        radial-gradient(600px 300px at 80% 0%, rgba(255,255,255,.18), transparent 60%),
        linear-gradient(135deg, #ff5a5f, #e52329 55%, #c81e23);
    box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; max-width: 760px; margin: 0 auto 14px; }
.cta p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 28px; font-size: 1.12rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta .btn--light { color: var(--color-primary-strong); }
.cta .btn--outline { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.cta .btn--outline:hover { background: rgba(255,255,255,.2); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
    background: #f2f2f4;
    border-top: 1px solid var(--color-line);
    padding-top: clamp(48px, 6vw, 72px);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    gap: 32px;
}
.footer__brand img { height: 34px; margin-bottom: 16px; }
.footer__brand p { color: var(--color-muted); font-size: .95rem; max-width: 320px; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--color-text);
    transition: box-shadow .2s var(--ease);
}
.footer__social a:hover { box-shadow: var(--shadow-sm); color: var(--color-primary); }
.footer__social svg { width: 18px; height: 18px; }

.footer__col h4 { font-size: .95rem; margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: var(--color-muted); font-size: .93rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--color-text); }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact svg { width: 17px; height: 17px; color: var(--color-primary); flex-shrink: 0; }

.footer__bottom {
    margin-top: clamp(36px, 5vw, 56px);
    border-top: 1px solid var(--color-line);
    padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
    justify-content: space-between;
}
.footer__bottom p { color: var(--color-muted); font-size: .86rem; margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__legal a { color: var(--color-muted); font-size: .86rem; }
.footer__legal a:hover { color: var(--color-text); }

/* Space for mobile sticky bar */
.footer { margin-bottom: 0; }

/* =========================================================
   Floating (desktop) + mobile sticky bar
   ========================================================= */
.floaters {
    position: fixed;
    right: 20px; bottom: 24px;
    z-index: 700;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floaters a, .floaters button {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    border: none;
}
.floaters svg { width: 26px; height: 26px; }
.float-wa { background: var(--color-whatsapp); color: #fff; }
.float-top {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
}
.float-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.mobile-bar {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 800;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-top: 1px solid var(--color-line);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 4px;
    border-radius: 14px;
    font-size: .74rem;
    font-weight: 600;
    color: var(--color-text);
    min-height: 44px;
    justify-content: center;
}
.mobile-bar a svg { width: 22px; height: 22px; }
.mobile-bar .mb-call { color: var(--color-link); }
.mobile-bar .mb-wa { color: var(--color-whatsapp); }
.mobile-bar .mb-offer { color: var(--color-primary); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
    .grid--services { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .provinces { grid-template-columns: repeat(4, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .nav, .header__login, .header__actions .icon-btn { display: none; }
    .header__actions .btn { display: none; }
    .hamburger { display: inline-flex; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { order: -1; max-width: 460px; margin: 0 auto; }
    .quote { grid-template-columns: 1fr; }
    .city { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    body { padding-bottom: 78px; } /* space for mobile bar */
    .mobile-bar { display: grid; }
    .floaters { display: none; }
    .topbar__msg { display: none; }
    .topbar .container { justify-content: center; }
    .grid--services { grid-template-columns: repeat(2, 1fr); }
    .provinces { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .selector__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .grid--4 { grid-template-columns: 1fr; }
    .grid--3 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .district-list { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .selector__actions { grid-template-columns: 1fr; }
    .hero__trust { gap: 8px; }
}

@media (max-width: 360px) {
    .grid--services { grid-template-columns: 1fr; }
    .provinces { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ---------- Reveal on scroll ----------
   Yalnızca JS etkinken gizlenir; JS kapalıysa içerik görünür kalır. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
