﻿/* =========================================================
   Konya Bağcı Temizlik — site stilleri
   ========================================================= */

:root {
  --primary: #1b7f9b;
  --primary-600: #156a82;
  --primary-50: #e8f5f9;
  --primary-100: #cfe9f1;
  --navy: #0e2a38;
  --navy-700: #163b4d;
  --accent: #f5b82e;
  --accent-600: #e0a314;
  --whatsapp: #25d366;
  --text: #1d2b33;
  --muted: #5b6b74;
  --line: #e3eaee;
  --bg: #ffffff;
  --bg-soft: #f5f9fb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(14, 42, 56, .06);
  --shadow: 0 12px 32px rgba(14, 42, 56, .10);
  --shadow-lg: 0 24px 60px rgba(14, 42, 56, .16);
  --container: 1180px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.lead { font-size: 1.125rem; color: var(--muted); }
.muted { color: var(--muted); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-50);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--navy); box-shadow: 0 8px 20px rgba(245, 184, 46, .35); }
.btn-primary:hover { background: var(--accent-600); color: var(--navy); }
.btn-teal { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(27, 127, 155, .3); }
.btn-teal:hover { background: var(--primary-600); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cfe1e8; font-size: .9rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--accent); }
.topbar-items { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar i { color: var(--accent); margin-right: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--navy-700));
  display: grid; place-items: center; color: #fff; font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(27, 127, 155, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text small { font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--navy); font-weight: 600; font-size: .95rem;
  padding: 10px 14px; border-radius: 10px; position: relative;
}
.nav a:hover { color: var(--primary); background: var(--primary-50); }
.nav a.active { color: var(--primary); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--primary);
}
.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  font-size: 1.2rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy) center/cover no-repeat;
  min-height: min(760px, 88vh);
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 42, 56, .94) 0%, rgba(14, 42, 56, .82) 42%, rgba(14, 42, 56, .35) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.hero-content { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.15rem; color: #d6e6ec; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; margin-bottom: 24px;
}
.hero-badge i { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #e6f1f5; }
.hero-points i { color: var(--accent); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff;
  background: linear-gradient(120deg, var(--navy) 0%, var(--primary-600) 100%);
  padding: 72px 0 64px; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.page-hero::before {
  content: ""; position: absolute; right: 160px; bottom: -160px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(245, 184, 46, .12);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #d6e6ec; font-size: 1.1rem; max-width: 640px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; list-style: none; font-size: .9rem; margin-bottom: 18px; color: #a9c7d2; }
.breadcrumb a { color: #fff; font-weight: 600; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #7fa5b3; }

/* ---------- Stats strip ---------- */
.stats {
  position: relative; z-index: 2; margin-top: -56px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 28px 24px; display: flex; gap: 16px; align-items: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center; font-size: 1.3rem;
  background: var(--primary-50); color: var(--primary);
}
.stat strong { display: block; font-size: 1.15rem; color: var(--navy); line-height: 1.2; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .float-card {
  position: absolute; left: -24px; bottom: -24px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 18px 22px; display: flex; gap: 14px; align-items: center; max-width: 280px;
}
.float-card .stat-icon { background: var(--accent); color: var(--navy); }
.float-card strong { display: block; color: var(--navy); }
.float-card span { font-size: .88rem; color: var(--muted); }

.check-list { list-style: none; display: grid; gap: 12px; margin: 24px 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list i {
  flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  display: grid; place-items: center; font-size: .7rem;
  background: var(--primary); color: #fff;
}
.check-list.two-col { grid-template-columns: 1fr 1fr; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 20px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100)); color: var(--primary);
}
.card.dark { background: var(--navy); border-color: var(--navy); }
.card.dark h3 { color: #fff; }
.card.dark p { color: #b9d0d8; }
.card.dark .card-icon { background: rgba(255, 255, 255, .08); color: var(--accent); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 2.2rem; font-weight: 800; line-height: 1;
  color: var(--primary-100); margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Compare table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-size: .95rem; }
.compare thead th.hl { background: var(--primary); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; color: var(--navy); width: 26%; }
.compare td.hl { background: var(--primary-50); }
.compare i.fa-check { color: var(--primary); margin-right: 8px; }
.compare i.fa-minus { color: #b4c2c8; margin-right: 8px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.faq { display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem;
  background: var(--primary-50); color: var(--primary); transition: transform .25s, background .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq .faq-body { padding: 0 24px 22px; color: var(--muted); }
.faq .faq-body ul { list-style: none; display: grid; gap: 10px; }
.faq .faq-body li { display: flex; gap: 10px; }
.faq .faq-body li i { color: var(--primary); margin-top: 6px; font-size: .8rem; }

.sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- Support / CTA box ---------- */
.support-box {
  border-radius: var(--radius); overflow: hidden; color: #fff;
  background: linear-gradient(150deg, var(--primary) 0%, var(--navy) 100%);
  box-shadow: var(--shadow);
}
.support-box img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.support-box .inner { padding: 28px; }
.support-box h3 { color: #fff; }
.support-box p { color: #d6e6ec; }
.support-box .btn { margin-top: 8px; }
.support-box .btn + .btn { margin-top: 10px; }

.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--primary-600), var(--navy));
  border-radius: 28px; padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: rgba(245, 184, 46, .14);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #d6e6ec; margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ---------- References ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ref-card {
  display: flex; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ref-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.ref-avatar {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  display: grid; place-items: center; font-size: 1.35rem;
  background: var(--navy); color: var(--accent);
}
.ref-card h3 { font-size: 1.08rem; margin: 0 0 4px; }
.ref-card a { font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.ref-card a:hover { color: var(--primary); }
.ref-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ref-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px; font-weight: 700; color: var(--navy);
}
.ref-chip i { color: var(--primary); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); transition: all .2s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 3; background: var(--bg-soft); border: 0; padding: 0; margin: 0; display: block; width: 100%;
}
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(14, 42, 56, .85));
  color: #fff; font-weight: 700; text-align: left;
}
.gallery-item figcaption small { display: block; font-weight: 500; color: #cfe1e8; font-size: .82rem; }
.gallery-item.hide { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(8, 22, 30, .92); align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 82vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-caption { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.2rem; transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.contact-card .stat-icon { width: 56px; height: 56px; }
.contact-card.wa .stat-icon { background: #e6f9ee; color: #1ebe5b; }
.contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: .85rem; }
.contact-card strong { font-size: 1.15rem; color: var(--navy); overflow-wrap: anywhere; }
.contact-card > div, .ref-card > div { min-width: 0; }
.split > *, .faq-layout > *, .contact-grid > *, .footer-grid > * { min-width: 0; }

.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-50);
}
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9d0d8; padding-top: 72px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-text small { color: #8fb0bc; }
.site-footer a { color: #d6e6ec; }
.site-footer a:hover { color: var(--accent); }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links i { color: var(--accent); margin-right: 8px; width: 16px; text-align: center; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #8fb0bc;
}
.footer-bottom a { color: #8fb0bc; }

/* ---------- Floating buttons ---------- */
.fab-wa {
  position: fixed; left: 20px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; font-size: 1.9rem;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.fab-wa:hover { color: #fff; transform: scale(1.08); }
.fab-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whatsapp); animation: pulse 2.2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); }

.mobile-callbar { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab-wa::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 10px 10px; font-size: .9rem; }
  .header-cta .btn-text { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .section { padding: 72px 0; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    /* header has backdrop-filter, which makes it the containing block: give an explicit height */
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 20px; overflow-y: auto;
    opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav a { font-size: 1.1rem; padding: 14px 16px; }
  .nav a.active { background: var(--primary-50); }
  .nav a.active::after { display: none; }
  body.nav-open { overflow: hidden; }
  .header-cta .btn { display: none; }

  .split, .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .split-media .float-card { left: 16px; bottom: -20px; }
  .card-grid, .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .sticky-side { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .brand-text small { display: none; }
  .hero { min-height: auto; }
  .hero .container { padding-top: 56px; padding-bottom: 96px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats { margin-top: -48px; }
  .stat { padding: 18px 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .stat-icon { width: 42px; height: 42px; font-size: 1.05rem; }
  .card-grid, .card-grid.cols-2, .card-grid.cols-4, .ref-grid, .steps { grid-template-columns: 1fr; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-item.tall { grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery-item figcaption { padding: 28px 10px 10px; font-size: .85rem; }
  .gallery-item figcaption small { display: none; }
  .form-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; border-radius: 20px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 48px 0 44px; }
  .compare th, .compare td { padding: 14px; font-size: .92rem; }
  .split-media .float-card { position: static; margin-top: 16px; max-width: none; }

  .fab-wa, .to-top { display: none; }
  .mobile-callbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    box-shadow: 0 -6px 20px rgba(14, 42, 56, .15);
  }
  .mobile-callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 58px; color: #fff; font-weight: 700;
  }
  .mobile-callbar .call { background: var(--navy); }
  .mobile-callbar .wa { background: var(--whatsapp); }
}
