/* Kayseri Kanalizasyon — v17 */
:root{--navy:#071825;--navy2:#06131e;--navy3:#1b3042;--red:#e0222c;--red2:#f12b35;--green:#16a34a;--ink:#101820;--muted:#52636d;--line:#dce4e9;--bg:#f5f7f9;--soft:#eef2f4;--r:12px}
*{box-sizing:border-box}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Inter,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.5}
img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}
.wrap{width:min(1210px,calc(100% - 32px));margin:auto}
.skip{position:absolute;left:-999px;top:0;background:#fff;color:#000;padding:10px 14px;z-index:100}.skip:focus{left:10px}
:focus-visible{outline:3px solid #ffb400;outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* topbar + header */
.topbar{background:var(--navy2);color:#d7e1e8;font-size:12.5px;border-bottom:1px solid #1b2c39}.topbar .wrap{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar span{margin-right:20px}.ok{color:#29d66b}
.header{position:sticky;top:0;z-index:50;background:var(--navy);color:#fff;box-shadow:0 8px 28px rgba(0,0,0,.18)}
.nav{height:78px;display:flex;align-items:center;gap:26px}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand img{width:46px;height:46px;border-radius:10px}.brand strong{font-size:21px;line-height:.98;letter-spacing:.3px}.brand strong span{display:block;color:var(--red2)}
.links{display:flex;align-items:center;gap:0;flex:1;white-space:nowrap}.links>a,.dd>button{font:inherit;font-size:14px;font-weight:800;color:#e8eef2;padding:10px 9px;border-radius:8px;background:none;border:0;cursor:pointer}.links>a:hover,.dd>button:hover,.links a[aria-current=page]{background:rgba(255,255,255,.08)}
.dd{position:relative}.ddm{display:none;position:absolute;top:100%;left:0;background:#fff;color:var(--ink);border-radius:12px;box-shadow:0 18px 50px rgba(0,0,0,.25);padding:14px;width:560px;grid-template-columns:1fr 1fr;gap:2px 10px}.dd:hover .ddm,.dd:focus-within .ddm,.dd.open .ddm{display:grid}.ddm a{padding:8px 10px;border-radius:7px;font-size:14px;font-weight:600}.ddm a:hover{background:var(--soft);color:var(--red)}.ddm.small{width:300px;grid-template-columns:1fr}
.headcall{display:flex;align-items:center;gap:10px;margin-left:auto}.phoneicon{width:44px;height:44px;border-radius:50%;background:var(--red2);display:grid;place-items:center;font-size:20px}.headcall small{display:block;color:#b9c7cf;font-size:12px}.headcall b{font-size:18px;white-space:nowrap}
.burger{display:none;background:none;border:1px solid rgba(255,255,255,.25);color:#fff;border-radius:8px;width:44px;height:44px;font-size:22px;cursor:pointer}
.mnav{display:none}

/* hero (home) */
.hero{min-height:520px;color:#fff;background:#071623;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071623 0%,rgba(7,22,35,.97) 36%,rgba(7,22,35,.7) 58%,rgba(7,22,35,.1) 100%)}
.heroPhoto{position:absolute;inset:0 0 0 42%;background:url("images/hero.webp") center/cover no-repeat}
.hero .wrap{position:relative;z-index:2;min-height:520px;display:flex;align-items:center}.copy{max-width:690px;padding:45px 0}
.eyebrow{font-size:13px;letter-spacing:.6px;text-transform:uppercase;color:#e8eef2;font-weight:700}
.hero h1{font-size:54px;line-height:1.04;margin:12px 0 15px;letter-spacing:-1.5px}.hero h1 em{font-style:normal;color:var(--red2)}.hero p{font-size:17px;line-height:1.65;color:#e1e8ec;max-width:640px}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 20px;border-radius:9px;font-weight:900;border:0;cursor:pointer;font-size:15px;font-family:inherit;line-height:1.2}
.red{background:var(--red);color:#fff}.red:hover{background:#c51a23}.green{background:var(--green);color:#fff}.green:hover{background:#12843c}.ghost{background:transparent;border:2px solid rgba(255,255,255,.35);color:#fff}.light{background:#fff;color:var(--navy);border:1px solid var(--line)}
.proof{display:flex;gap:22px;flex-wrap:wrap;font-size:13px;font-weight:800}.proof span:before{content:"✓";display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#fff;color:#071623;margin-right:7px}

/* service cards */
.services{background:#fff;padding:20px 0}.servicegrid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}
.card{background:#f1f4f6;border-radius:9px;overflow:hidden;transition:.2s;box-shadow:0 4px 15px rgba(6,19,30,.05);display:block}.card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(6,19,30,.12)}.card img{width:100%;height:108px;object-fit:cover;display:block}.cardbody{padding:12px;min-height:88px;position:relative}.card h3{font-size:14px;line-height:1.25;margin:0 0 10px}.arrow{display:grid;place-items:center;width:27px;height:27px;background:var(--red2);color:#fff;border-radius:6px;font-weight:900}
.benefits{background:#f8fafb;border-top:1px solid #e5ebef;border-bottom:1px solid var(--line)}.benefitgrid{display:grid;grid-template-columns:repeat(5,1fr)}.benefit{display:flex;align-items:center;gap:12px;padding:20px 18px;border-right:1px solid var(--line)}.benefit:last-child{border:0}.ico{font-size:26px;color:var(--red2)}.benefit b,.benefit small{display:block}.benefit b{font-size:14px}.benefit small{font-size:12px;color:#5f6f79}
.twocol{padding:12px 0 70px;background:#fff}.panels{display:grid;grid-template-columns:1.03fr .97fr;gap:14px}.panel{min-height:330px;border-radius:10px;overflow:hidden;position:relative;color:#fff}.coverage{background:url("images/kayseri-erciyes.webp") center/cover no-repeat}.panel:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,20,32,.96),rgba(5,20,32,.5))}.process{background:var(--navy)}.inside{position:relative;z-index:2;padding:34px}.inside h2{font-size:30px;line-height:1.08;margin:0 0 8px}.inside p{color:#d7e1e8}
.districts{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:380px}.districts a,.districts span{background:rgba(7,24,37,.8);padding:9px 12px;border-radius:8px;font-size:13px}.districts a:hover{background:var(--red)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:30px}.step{text-align:center}.stepi{width:58px;height:58px;border-radius:50%;background:var(--navy3);display:grid;place-items:center;margin:0 auto 12px;font-size:22px}.step:first-child .stepi{background:var(--red2)}.step b{display:block;font-size:14px}.step small{color:#b9c7cf;font-size:12px}

/* sections */
.section{padding:70px 0}.section.alt{background:var(--soft)}.section.white{background:#fff}
.heading{text-align:center;max-width:760px;margin:0 auto 34px}.heading span{color:var(--red);font-size:12.5px;font-weight:900;letter-spacing:1px}.heading h2{font-size:34px;margin:6px 0;line-height:1.15}.heading p{color:var(--muted)}
.faq{max-width:880px;margin:auto}.faq details{background:#fff;margin:9px 0;border-radius:10px;padding:16px 20px;box-shadow:0 3px 14px rgba(6,19,30,.05);border:1px solid #e6ecef}.faq summary{font-weight:800;cursor:pointer;list-style:none;position:relative;padding-right:28px}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:"+";position:absolute;right:0;top:-2px;font-size:22px;color:var(--red)}.faq details[open] summary:after{content:"–"}.faq p{color:#44545e;line-height:1.7;margin:12px 0 0}
.cta{background:var(--navy);color:#fff;border-radius:14px;padding:34px;display:flex;justify-content:space-between;align-items:center;gap:25px}.cta h2{margin:0;font-size:28px}.cta p{margin:6px 0 0;color:#c3cfd6}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.tile{display:block;background:#fff;border:1px solid #e2e8ec;border-radius:14px;padding:22px;box-shadow:0 8px 24px rgba(6,19,30,.05);transition:.2s}.tile:hover{transform:translateY(-3px);border-color:#f3b6ba}.tile h3,.tile h2{font-size:18px;margin:0 0 8px;color:var(--navy)}.tile p{color:var(--muted);margin:0;line-height:1.6;font-size:15px}.tile .more{display:inline-block;margin-top:12px;color:var(--red);font-weight:800;font-size:14px}.tile img{width:100%;height:150px;object-fit:cover;border-radius:9px;margin-bottom:12px}
.tiles.four{grid-template-columns:repeat(4,1fr)}
.related{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.related a{background:var(--soft);padding:14px 16px;border-radius:9px;font-weight:800;font-size:15px}.related a:hover{background:#fde5e6;color:var(--red)}
.districtlinks{display:flex;flex-wrap:wrap;gap:8px}.districtlinks a{background:var(--soft);padding:9px 12px;border-radius:7px;font-weight:700;font-size:14px}.districtlinks a:hover{background:#fde5e6}

/* inner page hero + content */
.seohero{background:linear-gradient(120deg,#071825 0%,#0b2436 100%);color:#fff;padding:46px 0 50px}
.crumb{font-size:13px;color:#aebcc5;margin-bottom:16px}.crumb a{color:#dfe7ec;text-decoration:underline;text-underline-offset:3px}.crumb ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}.crumb li+li:before{content:"›";margin-right:6px;color:#7f929e}
.seohero h1{font-size:42px;margin:0 0 12px;line-height:1.12}.seohero p{max-width:800px;color:#dbe4e9;font-size:17px;line-height:1.7;margin:0}
.meta{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:#aebcc5;margin-top:14px}
.contentgrid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:30px;padding:44px 0 60px;align-items:start}
.article{min-width:0;overflow-wrap:break-word;background:#fff;padding:34px;border-radius:14px;border:1px solid #e6ecef}.article h2{font-size:26px;margin:36px 0 12px;line-height:1.25;scroll-margin-top:100px}.article h2:first-child{margin-top:0}.article h3{font-size:19px;margin:22px 0 8px}.article p,.article li{line-height:1.78;color:#34444e;font-size:16.5px}.article ul,.article ol{padding-left:22px}.article li{margin:4px 0}.article a:not(.btn){color:#b3141d;text-decoration:underline;text-underline-offset:3px}.article .related a,.article .districtlinks a{text-decoration:none;color:var(--ink)}
.answer{border-left:4px solid var(--red);background:#f7f9fa;padding:16px 18px;margin:0 0 18px;border-radius:0 10px 10px 0;font-size:16.5px;line-height:1.7}.answer b{display:block;font-size:12px;letter-spacing:.8px;color:var(--red);margin-bottom:4px}
.note{background:#fff8e6;border:1px solid #f4dd9c;border-radius:10px;padding:14px 16px;font-size:15px;line-height:1.65;color:#5a4a16;margin:18px 0}
.warn{background:#fdecec;border:1px solid #f5bcbf;border-radius:10px;padding:14px 16px;font-size:15px;line-height:1.65;color:#6b1a1e;margin:18px 0}
.twolist{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:10px 0}.twolist>div{border-radius:12px;padding:16px 18px}.twolist .do{background:#ecf8f0;border:1px solid #bfe6cb}.twolist .dont{background:#fdf0f0;border:1px solid #f4c7ca}.twolist h3{margin:0 0 6px;font-size:17px}.twolist ul{margin:0;padding-left:20px}.twolist li{font-size:15.5px}
.stepsl{counter-reset:s;list-style:none;padding:0!important}.stepsl li{counter-increment:s;position:relative;padding:4px 0 12px 48px!important}.stepsl li:before{content:counter(s);position:absolute;left:0;top:2px;width:32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px}
table.tbl{width:100%;border-collapse:collapse;margin:12px 0;font-size:15px}.tbl th,.tbl td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top;line-height:1.55}.tbl th{background:var(--soft)}
.tablewrap{overflow-x:auto}
.toc{background:var(--soft);border-radius:12px;padding:16px 20px;margin:0 0 24px}.toc b{font-size:13px;letter-spacing:.6px;color:var(--muted)}.toc ol{margin:8px 0 0;padding-left:20px}.toc a{color:var(--ink)!important;text-decoration:none!important;font-weight:600}.toc li{font-size:15px!important;line-height:1.6!important}
.sidebox{background:var(--navy);color:#fff;border-radius:14px;padding:24px;position:sticky;top:98px}.sidebox h3{margin:0 0 8px;font-size:20px}.sidebox p{color:#c7d2d9;line-height:1.6;font-size:15px}.sidebox .btn{width:100%;margin-top:8px}.sidebox .num{display:block;font-size:26px;font-weight:900;margin:6px 0 4px;color:#fff}
.sidebox ul{padding-left:18px;color:#c7d2d9;font-size:14px;line-height:1.7;margin:10px 0}
.sidelinks{background:#fff;border:1px solid #e6ecef;border-radius:14px;padding:20px;margin-top:16px}.sidelinks h3{margin:0 0 10px;font-size:16px}.sidelinks a{display:block;padding:7px 0;border-bottom:1px solid #eef2f4;font-size:14.5px;font-weight:600}.sidelinks a:last-child{border:0}.sidelinks a:hover{color:var(--red)}
.side{display:flex;flex-direction:column;position:sticky;top:98px}.side .sidebox{position:static}

/* forms + tool */
.formcard{background:#fff;border:1px solid #e2e8ec;border-radius:14px;padding:26px;box-shadow:0 10px 30px rgba(6,19,30,.06)}
.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.formgrid .full{grid-column:1/-1}
label{display:block;font-weight:800;font-size:14px;margin-bottom:6px}
input,select,textarea{width:100%;font:inherit;font-size:16px;padding:12px 13px;border:1px solid #c9d4da;border-radius:9px;background:#fff;color:var(--ink)}textarea{min-height:96px;resize:vertical}
.small{font-size:13px;color:var(--muted)}
.quiz{max-width:820px;margin:auto}.qstep{display:none}.qstep.on{display:block}.opts{display:grid;gap:10px;margin-top:14px}.opt{display:block;text-align:left;background:#fff;border:2px solid #dde5ea;border-radius:12px;padding:15px 18px;font:inherit;font-weight:700;cursor:pointer;color:var(--ink);font-size:16px}.opt:hover{border-color:var(--red)}.progress{height:6px;background:#e3e9ed;border-radius:6px;overflow:hidden;margin-bottom:18px}.progress i{display:block;height:100%;background:var(--red);width:0;transition:.3s}
.result{border-radius:14px;padding:24px;background:#fff;border:2px solid var(--line)}.result.lvl3{border-color:#e0222c}.result.lvl2{border-color:#f0a020}.result.lvl1{border-color:#16a34a}.badge{display:inline-block;padding:5px 10px;border-radius:999px;font-size:12.5px;font-weight:900;letter-spacing:.4px}.b3{background:#fde2e3;color:#a3121a}.b2{background:#fff0d6;color:#8a5200}.b1{background:#dcf5e5;color:#0f6b31}

/* footer */
footer{background:var(--navy2);color:#b9c7cf;padding:52px 0 96px;font-size:15px}.footergrid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px}footer h3{color:#fff;font-size:16px;margin:0 0 12px}footer a:hover{color:#fff;text-decoration:underline}footer ul{list-style:none;padding:0;margin:0}footer li{margin:7px 0}footer .brand{margin-bottom:14px}.copyright{border-top:1px solid #1b2c39;margin-top:34px;padding-top:18px;font-size:13px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.floatwa{position:fixed;right:18px;bottom:20px;width:58px;height:58px;border-radius:50%;background:#20c963;color:#fff;display:grid;place-items:center;z-index:60;box-shadow:0 12px 30px rgba(0,0,0,.25)}.floatwa svg{width:30px;height:30px}
.mobilebar{display:none}

@media(max-width:1240px){.topbar span:nth-child(2){display:none}.headcall small{display:none}}
@media(max-width:1100px){.links{display:none}.burger{display:grid;place-items:center}.servicegrid{grid-template-columns:repeat(4,1fr)}.heroPhoto{left:32%}.benefitgrid{grid-template-columns:repeat(3,1fr)}.footergrid{grid-template-columns:1fr 1fr}.tiles.four{grid-template-columns:repeat(2,1fr)}
.mnav{display:none;background:var(--navy2);border-top:1px solid #1b2c39;max-height:calc(100vh - 78px);overflow:auto}.mnav.open{display:block}.mnav a{display:block;padding:13px 20px;border-bottom:1px solid #12283a;color:#e8eef2;font-weight:700}.mnav .sub{padding-left:36px;font-weight:500;font-size:14.5px;color:#c3cfd6}.mnav b{display:block;padding:14px 20px 6px;color:var(--red2);font-size:12px;letter-spacing:1px}}
@media(max-width:860px){.contentgrid{grid-template-columns:minmax(0,1fr)}.side,.sidebox{position:static}.tiles{grid-template-columns:1fr 1fr}.related{grid-template-columns:1fr 1fr}.seohero h1{font-size:33px}.article{padding:22px}.twolist{grid-template-columns:1fr}}
@media(max-width:720px){.topbar{display:none}.nav{height:66px;gap:10px}.brand img{width:38px;height:38px}.brand strong{font-size:16px}.headcall small{display:none}.headcall b{font-size:14px}.phoneicon{width:36px;height:36px;font-size:17px}.headcall .ht{display:none}
.hero,.hero .wrap{min-height:560px}.heroPhoto{left:0;opacity:.38}.hero:after{background:linear-gradient(90deg,rgba(7,22,35,.96),rgba(7,22,35,.74))}.hero h1{font-size:38px}.copy{padding:32px 0}.servicegrid{grid-template-columns:repeat(2,1fr)}.card img{height:120px}.benefitgrid{grid-template-columns:1fr 1fr}.panels{grid-template-columns:1fr}.steps{grid-template-columns:1fr 1fr}.cta{display:block}.cta .actions{margin-bottom:0}.footergrid{grid-template-columns:1fr}.tiles,.tiles.four,.related{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr}.heading h2{font-size:27px}.section{padding:52px 0}.floatwa{bottom:76px;width:52px;height:52px}
.mobilebar{display:grid;grid-template-columns:1fr 1fr;position:fixed;bottom:0;left:0;right:0;z-index:55;box-shadow:0 -6px 20px rgba(0,0,0,.2)}.mobilebar a{padding:15px;text-align:center;color:#fff;font-weight:900}.mobilebar a:first-child{background:var(--red)}.mobilebar a:last-child{background:var(--green)}}
@media print{.header,.topbar,.mobilebar,.floatwa,.sidebox,footer{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
