/* Hausmeister123 – Demo multi-page site */

:root {
  --navy: #14304d;
  --navy-dark: #0d2136;
  --amber: #e8892b;
  --amber-dark: #c96f18;
  --amber-light: #f2a94e;
  --slate: #5b6b7c;
  --bg: #f4f6f8;
  --bg-alt: #eaeef2;
  --ink: #1c2b3a;
  --ink-soft: #4b5b6b;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(20, 48, 77, 0.12);
  --radius: 14px;
  --topbar-h: 40px;
  --nav-h: 76px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--nav-h) + 10px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 800; line-height: 1.18; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--amber-dark);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--amber); color: var(--white); }
.btn-primary:hover { background: var(--amber-dark); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); box-shadow: var(--shadow); }

/* ---------- Top utility bar ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; height: var(--topbar-h); background: var(--navy-dark); color: var(--bg); z-index: 1000; font-size: .85rem; }
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-contacts { display: flex; align-items: center; gap: 18px; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.topbar-contacts svg { width: 16px; height: 16px; }
.topbar-contacts .wa { color: #7fe3a3; }
.topbar-contacts a:hover { color: var(--amber-light); }
.topbar-area { color: rgba(244,246,248,.7); font-size: .8rem; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: var(--topbar-h); z-index: 999; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); box-shadow: 0 2px 14px rgba(20,48,77,.08); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { line-height: 1.1; }
.brand-text .name { font-weight: 800; font-size: 1.22rem; letter-spacing: -.01em; color: var(--navy); }
.brand-text .name b { color: var(--amber-dark); }
.brand-text .sub { font-size: .72rem; color: var(--slate); letter-spacing: .06em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-weight: 700; font-size: .93rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--amber-dark); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--amber); transition: width .2s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: .86rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(120deg, rgba(13,33,54,.92), rgba(20,48,77,.72)), url('../img/hero-building.jpg') center/cover no-repeat;
}
.hero-inner { max-width: 680px; }
.hero .eyebrow { color: var(--amber-light); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: var(--white); }
.hero p.lead { font-size: 1.12rem; color: rgba(244,246,248,.92); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; }
.hero-badges div { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: rgba(244,246,248,.85); font-weight: 600; }
.hero-badges svg { width: 20px; height: 20px; color: var(--amber-light); flex: none; }

/* page hero (service pages) */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  color: var(--white);
  background: linear-gradient(120deg, rgba(13,33,54,.90), rgba(20,48,77,.78)), var(--hero-img, none) center/cover no-repeat;
}
.page-hero .eyebrow { color: var(--amber-light); }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-hero p { color: rgba(244,246,248,.9); max-width: 620px; }
.breadcrumb { font-size: .82rem; color: rgba(244,246,248,.7); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--amber-light); }

/* ---------- Service grid (home) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--amber);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(20,48,77,.18); }
.service-card .img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.service-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .img-wrap img { transform: scale(1.06); }
.service-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { font-size: .92rem; margin: 0 0 16px; flex: 1; }
.service-card .more { font-size: .86rem; font-weight: 700; color: var(--amber-dark); display: inline-flex; align-items: center; gap: 6px; }
.service-card .more svg { width: 16px; height: 16px; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.why-item { text-align: center; }
.why-item .icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--navy);
  color: var(--amber-light); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.why-item .icon svg { width: 28px; height: 28px; }
.why-item h3 { font-size: 1.02rem; }
.why-item p { font-size: .9rem; }

/* ---------- About / team ---------- */
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { aspect-ratio: 4/5; object-fit: cover; }
.about-text .eyebrow { color: var(--amber-dark); }

/* ---------- Service area chips ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-chips span { background: var(--white); border: 1px solid rgba(20,48,77,.14); padding: 8px 16px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--navy); }

/* ---------- Service detail content ---------- */
.service-body { display: grid; grid-template-columns: 1.3fr .9fr; gap: 50px; align-items: start; }
.service-body .lead-text { font-size: 1.05rem; color: var(--ink-soft); }
.service-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.service-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .96rem; color: var(--ink); }
.service-list svg { width: 20px; height: 20px; color: var(--amber-dark); flex: none; margin-top: 2px; }
.service-side {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
  position: sticky;
  top: calc(var(--topbar-h) + var(--nav-h) + 24px);
}
.service-side h3 { font-size: 1.05rem; }
.service-side p { font-size: .9rem; }
.service-side .btn { width: 100%; justify-content: center; margin-top: 10px; }
.other-services { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.other-services a { font-size: .88rem; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--bg-alt); }
.other-services a:hover { color: var(--amber-dark); }

/* ---------- Hours & contact strip ---------- */
.info-strip { background: var(--navy); color: var(--bg); padding: 64px 0; }
.info-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.info-block { display: flex; gap: 16px; }
.info-block svg { width: 30px; height: 30px; flex: none; color: var(--amber-light); }
.info-block h3 { color: var(--white); font-size: 1.02rem; margin-bottom: 6px; }
.info-block p { color: rgba(244,246,248,.85); margin: 0; font-size: .92rem; }
.info-block .disclaimer { font-size: .78rem; color: rgba(244,246,248,.55); margin-top: 4px; }

/* ---------- Map ---------- */
.map-frame {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 16/7; background: var(--bg-alt) url('../img/hero-building.jpg') center/cover; display: flex; align-items: center; justify-content: center;
}
.map-frame::before { content: ""; position: absolute; inset: 0; background: rgba(13,33,54,.6); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 460px; padding: 20px; }
.map-consent p { font-size: .85rem; color: rgba(255,255,255,.85); }

/* ---------- Cookie banner + settings modal ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000;
  background: var(--navy-dark); color: var(--bg);
  padding: 18px 24px; box-shadow: 0 -8px 24px rgba(0,0,0,.25);
  transform: translateY(110%); transition: transform .35s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-inner p { margin: 0; font-size: .88rem; max-width: 620px; color: rgba(244,246,248,.9); }
.cookie-inner p a { text-decoration: underline; color: var(--amber-light); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 16px; font-size: .84rem; }
.btn-ghost { background: transparent; color: var(--bg); border-color: rgba(244,246,248,.4); }
.btn-ghost:hover { background: rgba(244,246,248,.1); }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(13,33,54,.55); z-index: 3000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--white); border-radius: var(--radius); max-width: 520px; width: 100%;
  padding: 30px 28px; box-shadow: 0 24px 60px rgba(0,0,0,.3);
  max-height: 86vh; overflow-y: auto;
}
.modal-box h2 { font-size: 1.3rem; }
.modal-box p { font-size: .9rem; }
.cookie-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--bg-alt); }
.cookie-cat:first-of-type { border-top: none; }
.cookie-cat-text h4 { margin: 0 0 4px; font-size: .96rem; color: var(--navy); }
.cookie-cat-text p { margin: 0; font-size: .84rem; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 2; }
.switch .track { position: absolute; inset: 0; background: #cbd5e0; border-radius: 999px; transition: background .2s ease; }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s ease; }
.switch input:checked ~ .track { background: var(--amber); }
.switch input:checked ~ .thumb { transform: translateX(20px); }
.switch input:disabled ~ .track { background: #a9c3ab; opacity: .7; cursor: not-allowed; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.modal-close { position: absolute; top: 18px; right: 18px; background: none; border: none; cursor: pointer; color: var(--slate); }
.modal-box { position: relative; }

/* ---------- Footer ---------- */
footer { background: var(--navy-dark); color: rgba(244,246,248,.85); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-grid p { font-size: .9rem; color: rgba(244,246,248,.7); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.footer-links a:hover { color: var(--amber-light); }
.footer-links button { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.footer-links button:hover { color: var(--amber-light); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(244,246,248,.3); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: rgba(244,246,248,.1); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(244,246,248,.15); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .78rem; color: rgba(244,246,248,.55); }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--amber-light); }
.footer-demo-note { max-width: 720px; }

/* ---------- Floating WhatsApp ---------- */
.fab-whatsapp { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 900; }
.fab-whatsapp svg { width: 28px; height: 28px; color: white; }

/* ---------- Legal pages ---------- */
.legal { padding-top: calc(var(--topbar-h) + var(--nav-h) + 50px); padding-bottom: 80px; }
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: 30px; }
.legal h2 { font-size: 1.12rem; margin-top: 38px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.legal table td { padding: 6px 10px; border-bottom: 1px solid var(--bg-alt); font-size: .9rem; vertical-align: top; }
.notice-box { background: var(--bg-alt); border-inline-start: 4px solid var(--amber); padding: 14px 18px; border-radius: 8px; font-size: .88rem; color: var(--ink-soft); margin-bottom: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about .container { grid-template-columns: 1fr; }
  .service-body { grid-template-columns: 1fr; }
  .service-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-strip .container { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta .btn-outline-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { padding: 8px 14px; font-size: .8rem; }
  .topbar-contacts span.label { display: none; }
  .topbar-area { display: none; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }

  .nav-menu-mobile {
    position: fixed; top: calc(var(--topbar-h) + var(--nav-h)); left: 0; right: 0;
    background: var(--white); box-shadow: var(--shadow);
    display: flex; flex-direction: column; padding: 10px 24px 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease; z-index: 998;
  }
  .nav-menu-mobile.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-menu-mobile a { padding: 12px 0; border-bottom: 1px solid var(--bg-alt); font-weight: 700; }
}
@media (min-width: 761px) {
  .nav-menu-mobile { display: none; }
}
