:root {
  --ink: #234d73;
  --ink-deep: #163957;
  --blue: #146eb4;
  --blue-soft: #e9f1f8;
  --surface: #f3f5f8;
  --surface-2: #e7edf4;
  --line: #cbd8e4;
  --text: #40536a;
  --muted: #65768a;
  --accent: #ee9a37;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(25, 64, 96, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; padding: 9px 13px; background: var(--surface); z-index: 10; }

.topbar { background: var(--ink-deep); color: #e8f2fb; font-size: .86rem; }
.topbar .container { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.topbar-list { display: flex; align-items: center; gap: 20px; padding: 0; margin: 0; list-style: none; }
.topbar strong { color: #fff; font-weight: 750; }
.header { background: rgba(243,245,248,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; min-height: 78px; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--ink-deep); min-width: max-content; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: #eaf4fb; background: linear-gradient(135deg, var(--ink-deep), var(--blue)); box-shadow: 0 8px 18px rgba(20,110,180,.2); }
.icon { width: 1.08em; height: 1.08em; display: inline-block; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: -.18em; }
.brand-mark .icon { width: 22px; height: 22px; }
.brand-name { display: grid; line-height: 1.02; }
.brand-name b { font-size: 1.12rem; letter-spacing: -.04em; }
.brand-name small { color: var(--muted); font-weight: 650; font-size: .63rem; letter-spacing: .13em; }
.brand-logo-link { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 220px; height: 44px; object-fit: cover; object-position: center; }
.brand-logo-footer .brand-logo { width: 238px; height: 48px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { padding: 10px 11px; font-size: .92rem; color: #526478; font-weight: 670; border-radius: 9px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-soft); color: var(--ink); }
.header-contact { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink-deep); }
.header-contact i { font-style: normal; background: #dbeaf5; color: var(--blue); padding: 7px; border-radius: 9px; display: grid; }
.menu-button { display: none; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 10px; padding: 8px 9px 6px; }

.hero { background: var(--ink); color: #eff7fc; border-bottom: 6px solid #d6e2ec; }
.hero-grid { min-height: 468px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; position: relative; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 56px 60px 56px 0; }
.hero-visual { min-height: 100%; background: url("images/hero-plumber-v1.webp") 72% center / cover no-repeat; position: relative; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,77,115,.28), transparent 45%); }

@media (min-width: 821px) {
  .hero .container { width: 100%; max-width: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(520px, .95fr); }
  .hero-copy { margin-left: max(32px, calc((100vw - 1160px) / 2)); max-width: 620px; padding-right: 56px; }
  .hero-visual { background-position: 72% center; }
}
.eyebrow { display: flex; width: max-content; align-items: center; gap: 8px; color: #d0e9fa; letter-spacing: .08em; font-size: .77rem; font-weight: 800; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 21px; height: 2px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.045em; margin: 18px 0; max-width: 720px; color: #f6fbff; }
.hero p { max-width: 610px; font-size: 1.06rem; color: #d8e8f4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 11px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #24364b; box-shadow: 0 10px 22px rgba(6,28,48,.20); }
.button-ghost { border: 1px solid rgba(232,247,255,.43); color: #fff; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 17px; padding: 0; margin: 26px 0 0; list-style: none; color: #d8e8f4; font-size: .83rem; font-weight: 680; }
.hero-notes li { display: inline-flex; gap: 7px; align-items: center; }
.hero-notes li::before { content: "✓"; color: #9de0c1; font-weight: 900; }
.call-number { color: var(--blue); font-size: 1.4rem; font-weight: 850; display: block; margin: 16px 0; letter-spacing: -.03em; }

.trust-strip { border-bottom: 1px solid var(--line); background: #eaf0f6; }
.trust-grid { min-height: 90px; display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 19px 27px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { color: var(--blue); font-size: 1.6rem; width: 28px; height: 28px; flex: 0 0 auto; }
.trust-item b { display: block; color: var(--ink); font-size: .98rem; }
.trust-item span { display: block; color: var(--muted); font-size: .81rem; }

.section { padding: 88px 0; }
.section-soft { background: #e9eef4; }
.section-heading { max-width: 710px; margin-bottom: 34px; }
.section-heading h2 { color: var(--ink-deep); margin: 10px 0; font-size: clamp(1.85rem, 3.5vw, 2.55rem); letter-spacing: -.04em; line-height: 1.12; }
.section-heading p { color: var(--muted); max-width: 620px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { background: #f5f8fa; border: 1px solid var(--line); border-radius: 7px; padding: 25px; transition: .2s ease; border-top: 4px solid var(--blue); }
.service-card:hover { transform: translateY(-2px); border-color: #8cb8d8; box-shadow: 0 12px 25px rgba(25,64,96,.08); }
.service-card .service-icon { color: var(--blue); display: grid; place-items: center; width: 41px; height: 41px; background: #e1eef7; border-radius: 5px; }
.service-card .service-icon .icon { width: 22px; height: 22px; }
.service-card h3 { color: var(--ink); font-size: 1.12rem; letter-spacing: -.025em; margin: 18px 0 8px; }
.service-card p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }

.split { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: center; }
.image-panel { min-height: 365px; background: #dfeaf2; border-radius: 7px; border: 1px solid #bad0df; position: relative; overflow: hidden; display: grid; place-items: center; }
.image-panel::before { content: "SİLİVRİ\A TESİSAT\A HİZMETLERİ"; white-space: pre; color: var(--ink); font-weight: 800; line-height: 1.45; letter-spacing: .07em; text-align: center; font-size: 1.4rem; }
.pipe-graphic { display: none; }
.check-list { padding: 0; margin: 25px 0 0; list-style: none; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #52657a; }
.check-list i { color: #187b62; font-style: normal; font-weight: 900; }

.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.area-grid a { background: #f2f6f9; padding: 17px; color: var(--ink); font-weight: 720; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.area-grid a:hover { background: #deedf7; }
.area-grid a:nth-child(4n) { border-right: 0; }
.area-grid a:nth-last-child(-n+4) { border-bottom: 0; }

.faq { display: grid; gap: 10px; }
.faq details { background: #f4f7f9; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 760; padding: 17px 27px 17px 0; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; font-size: 1.25rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: .94rem; }
.cta { background: var(--ink-deep); color: #e5f1fa; border-radius: 8px; padding: clamp(28px, 6vw, 54px); display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; }
.cta h2 { color: #f3faff; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.05em; margin: 7px 0 0; position: relative; z-index: 1; }
.cta .button { position: relative; z-index: 1; flex: 0 0 auto; }

.footer { padding: 42px 0 84px; background: #e4ebf2; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 25px; align-items: start; }
.footer p { font-size: .85rem; max-width: 510px; margin: 12px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.mobile-contact { display: none; }

.page-hero { background: var(--ink-deep); color: #e6f2fa; padding: 72px 0; }
.page-hero h1 { font-size: clamp(2.2rem,4vw,3.8rem); margin-bottom: 12px; }
.breadcrumb { color: #bcd7e9; font-size: .86rem; font-weight: 650; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.service-detail { display: grid; grid-template-columns: 1fr .75fr; gap: 56px; }
.aside-card { background: #e5eef5; border: 1px solid var(--line); border-radius: 16px; padding: 26px; height: max-content; position: sticky; top: 105px; }
.aside-card h3 { color: var(--ink); margin-bottom: 9px; }
.aside-card p { font-size: .9rem; color: var(--muted); }
.article h2 { color: var(--ink); font-size: 1.75rem; line-height: 1.15; letter-spacing: -.045em; margin: 0 0 15px; }
.article h3 { color: var(--ink); margin-top: 35px; }
.article p { color: var(--muted); }

/* Service page */
.service-page-hero { padding: 66px 0 72px; }
.service-page-hero .eyebrow { margin-top: 24px; }
.service-page-hero h1 { max-width: 820px; }
.service-page-hero p { max-width: 700px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.service-anchor-bar { position: sticky; top: 78px; z-index: 12; background: rgba(234, 240, 246, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.service-anchor-bar .container { display: flex; overflow-x: auto; gap: 0; scrollbar-width: none; }
.service-anchor-bar .container::-webkit-scrollbar { display: none; }
.service-anchor-bar a { flex: 0 0 auto; padding: 15px 17px; color: var(--ink); font-size: .84rem; font-weight: 760; border-right: 1px solid var(--line); }
.service-anchor-bar a:first-child { border-left: 1px solid var(--line); }
.service-anchor-bar a:hover { background: var(--blue-soft); }
.eyebrow-dark { color: var(--blue); }
.text-link { display: inline-block; margin-top: 18px; color: var(--blue); font-size: .85rem; font-weight: 790; }
.service-card { display: block; }
.service-card .text-link { transition: transform .2s ease; }
.service-card:hover .text-link { transform: translateX(3px); }
.service-article { display: grid; gap: 54px; }
.service-article section { scroll-margin-top: 150px; }
.article-kicker { display: block; margin-bottom: 11px; color: var(--blue); letter-spacing: .08em; font-size: .72rem; font-weight: 850; }
.detail-points, .two-column-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.detail-points > div, .two-column-list > div { padding: 17px; background: #f4f8fb; border: 1px solid var(--line); border-radius: 10px; }
.detail-points b, .two-column-list b { display: block; color: var(--ink); margin-bottom: 5px; font-size: .9rem; }
.detail-points span, .two-column-list span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.aside-card .button { width: 100%; }
.aside-whatsapp { display: block; margin: 16px 0 0; color: var(--blue); font-size: .88rem; font-weight: 750; }
.aside-card hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0 14px; }
.aside-card small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.process-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; margin: 0; counter-reset: none; }
.process-grid li { min-height: 198px; padding: 23px; background: #f4f8fb; border: 1px solid var(--line); border-radius: 10px; }
.process-grid li > b { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .82rem; }
.process-grid h3 { margin: 22px 0 8px; color: var(--ink); font-size: 1rem; }
.process-grid p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.service-faq-split { align-items: start; gap: 70px; }
.faq-title { color: var(--ink-deep); font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: 1.12; letter-spacing: -.04em; margin: 11px 0; }
.faq-intro { color: var(--muted); max-width: 355px; }

@media (max-width: 820px) {
  body { padding-bottom: 72px; }
  .container { width: min(100% - 30px, 620px); }
  .topbar .container { justify-content: center; min-height: 33px; }
  .topbar { font-size: .73rem; letter-spacing: .015em; }
  .topbar-list li:not(:first-child), .topbar strong { display: none; }
  .header { background: rgba(243,245,248,.98); }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-name b { font-size: 1rem; }
  .brand-name small { font-size: .55rem; }
  .brand-logo { width: 188px; height: 38px; }
  .brand-logo-footer .brand-logo { width: 208px; height: 42px; }
  .nav { display: none; position: fixed; top: 76px; left: 12px; right: 12px; padding: 10px; border: 1px solid #b5cad9; border-radius: 14px; background: #edf3f7; box-shadow: 0 18px 45px rgba(14,48,75,.22); flex-direction: column; align-items: stretch; z-index: 50; }
  .nav.is-open { display: flex; }
  .nav a { min-height: 50px; display: flex; align-items: center; padding: 12px 14px; font-size: 1rem; border-bottom: 1px solid #d3e0e9; }
  .nav a:last-of-type { border-bottom: 0; }
  .nav a::after { content: "›"; margin-left: auto; color: var(--blue); font-size: 1.35rem; font-weight: 400; }
  .nav .mobile-menu-meta { display: block; margin: 8px 4px 3px; border-radius: 9px; padding: 14px; background: var(--ink); color: #e8f3fa; }
  .mobile-menu-meta small { display: block; font-size: .72rem; font-weight: 650; color: #bdd9ea; }
  .mobile-menu-meta b { display: block; font-size: 1.2rem; margin: 2px 0 10px; }
  .mobile-menu-meta .button { min-height: 42px; width: 100%; font-size: .88rem; }
  .header-contact { display: none; }
  .menu-button { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border-radius: 10px; }
  .menu-button[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 205px; margin: 0 -15px; background-position: 75% center; }
  .hero-visual::after { background: linear-gradient(90deg, rgba(21,55,81,.20), transparent 68%); }
  .hero-copy { padding: 29px 0 31px; }
  .hero-copy .eyebrow { font-size: .69rem; }
  .hero-copy h1 { font-size: clamp(2.12rem, 9.8vw, 2.8rem); line-height: 1.07; letter-spacing: -.048em; margin: 13px 0; }
  .hero p { font-size: .92rem; line-height: 1.58; max-width: 37rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .hero-actions .button { padding: 0 8px; min-height: 48px; font-size: .84rem; }
  .hero-notes { gap: 9px 13px; margin-top: 18px; font-size: .71rem; }
  .trust-strip { background: #e5edf4; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 13px 4px; border: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 55px 0; }
  .section-heading { margin-bottom: 25px; }
  .service-grid { grid-template-columns: 1fr; }
  .split, .service-detail { grid-template-columns: 1fr; gap: 35px; }
  .image-panel { min-height: 270px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid a:nth-child(4n) { border-right: 1px solid var(--line); }
  .area-grid a:nth-child(2n) { border-right: 0; }
  .area-grid a:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .area-grid a:nth-last-child(-n+2) { border-bottom: 0; }
  .cta { display: block; }
  .cta .button { margin-top: 22px; width: 100%; }
  .footer { padding-bottom: 106px; }
  .footer-grid { display: block; }
  .footer-links { margin-top: 22px; }
  .mobile-contact { display: grid; grid-template-columns: 1fr 1.08fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: rgba(234,241,246,.98); border-top: 1px solid #b9cfdf; padding: 8px 15px calc(8px + env(safe-area-inset-bottom)); gap: 9px; box-shadow: 0 -8px 25px rgba(27,64,93,.13); backdrop-filter: blur(12px); }
  .mobile-contact .button { min-height: 47px; font-size: .86rem; padding: 0 7px; border-radius: 10px; }
  .mobile-contact .button-primary:not(:has(svg)) { font-size: 0; }
  .mobile-contact .button-primary:not(:has(svg))::after { content: "Hemen Ara"; font-size: .86rem; }
  .mobile-contact .button-ghost { color: var(--ink); border-color: #9ab8ce; }
  .aside-card { position: static; }
  .service-page-hero { padding: 45px 0 50px; }
  .service-page-hero .eyebrow { margin-top: 19px; }
  .page-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }
  .page-hero-actions .button { padding: 0 8px; font-size: .83rem; }
  .service-anchor-bar { top: 66px; }
  .service-anchor-bar .container { width: 100%; padding: 0 15px; }
  .service-anchor-bar a { padding: 13px 14px; font-size: .78rem; }
  .service-anchor-bar a:first-child { border-left: 0; }
  .service-article { gap: 43px; }
  .detail-points, .two-column-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .process-grid li { min-height: 164px; padding: 18px; }
  .process-grid h3 { margin-top: 17px; font-size: .94rem; }
  .process-grid p { font-size: .78rem; }
  .service-faq-split { gap: 27px; }
}

.mobile-menu-meta { display: none; }

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