/* ============================================================
   GFservices — modernization layer
   Loaded after the template CSS; only additive/override rules.
   ============================================================ */

:root {
  --brand: #f5811e;
  --brand-dark: #d96d10;
  --brand-soft: #fff1e3;
  --green: #4f9d3a;
  --green-soft: #eaf5e6;
  --ink: #1f2630;
  --muted: #6b7280;
  --bg-soft: #f7f9fb;
  --line: #e7eaef;
  --radius: 16px;
  --shadow-sm: 0 4px 16px rgba(20, 28, 40, .06);
  --shadow-md: 0 14px 40px rgba(20, 28, 40, .12);
}

/* --- shared section rhythm + headings --- */
.mod-section { padding: 72px 0; }
.mod-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.mod-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.mod-head h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--ink); margin: 0 0 12px;
}
.mod-head p { color: var(--muted); font-size: 16px; margin: 0; }

/* icon glyph rendered from an SVG mask so it inherits brand color */
.ic {
  display: inline-block; width: 1em; height: 1em; flex: none;
  background-color: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
          mask: var(--ic) center / contain no-repeat;
}

/* ============================================================
   HERO — dynamic photo with slow zoom-out (Ken Burns)
   ============================================================ */
.banner-slider .swiper-slide { overflow: hidden; }
.banner-slider .slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center 22%; /* keep peoples' heads in frame, esp. on tall/zoomed viewports */
  transform: scale(1.16); will-change: transform;
}
@media (max-width: 768px) { .banner-slider .slide-bg { object-position: center 18%; } }
/* zoom runs only on the active slide; duration is longer than the on-screen
   time so it never reaches the end (and "stalls"/jumps) while still visible */
.banner-slider .slide-bg.is-zooming { animation: heroZoomOut 10s linear both; }
@keyframes heroZoomOut { from { transform: scale(1.16); } to { transform: scale(1); } }

.banner-slider .banner-overlay::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15,20,28,.72) 0%, rgba(15,20,28,.45) 45%, rgba(15,20,28,.15) 100%);
}
.banner-slider .banner-overlay .container { position: relative; z-index: 2; }
.banner-slider .banner-title { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; }
.banner-overlay .hero-sub {
  color: rgba(255,255,255,.92); font-size: 18px; max-width: 460px; margin: 4px 0 22px;
}
@media (max-width: 768px) {
  .banner-slider .banner-overlay::before {
    background: linear-gradient(180deg, rgba(15,20,28,.55), rgba(15,20,28,.65));
  }
  .banner-overlay .hero-sub { margin-left: auto; margin-right: auto; }
}

/* ============================================================
   CERTIFICATES
   ============================================================ */
.certs { background: var(--bg-soft); }
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* clickable box: icon + big certificate number; opens the PDF in a new tab */
.cert-card {
  position: relative; display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: box-shadow .25s ease, border-color .25s ease;
}
/* hover highlight only on real pointer devices — on touch, tapping while
   scrolling must NOT stick the active border (scroll-driven .is-front handles that) */
@media (hover: hover) {
  .cert-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand); }
}
.cert-badge {
  width: 58px; height: 58px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 27px;
}
.cert-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cert-num { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; }
.cert-desc { font-size: 13.5px; color: var(--muted); }
/* external-link hint, top-right */
.cert-ext {
  position: absolute; top: 16px; right: 18px; font-size: 14px; color: var(--muted);
  opacity: .5; transition: opacity .2s ease, color .2s ease, transform .2s ease;
}
@media (hover: hover) {
  .cert-card:hover .cert-ext { opacity: 1; color: var(--brand); transform: translate(2px, -2px); }
}
@media (max-width: 860px) { .certs-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* --- mobile GSAP stack: cards pin at the top, the next reveals/highlights below --- */
@media (max-width: 860px) {
  /* clip so the side-slide reveal never creates horizontal scroll */
  .certs { overflow-x: clip; }
  .certs-grid.cert-stack { display: block; }
  .certs-grid.cert-stack .cert-card {
    position: sticky; margin-bottom: 18px; will-change: transform, opacity;
  }
  /* progressively deeper offsets so pinned cards peek as a deck */
  .certs-grid.cert-stack .cert-card:nth-child(1) { top: 90px; }
  .certs-grid.cert-stack .cert-card:nth-child(2) { top: 106px; }
  .certs-grid.cert-stack .cert-card:nth-child(3) { top: 122px; }
  .certs-grid.cert-stack .cert-card:last-child { margin-bottom: 0; }
  /* highlight the card currently at the front of the deck */
  .cert-card.is-front { border-color: var(--brand); box-shadow: var(--shadow-md); }
}

/* ============================================================
   SERVICES — compact modern cards
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); background: #ddd;
  transition: transform .3s ease, box-shadow .3s ease;
}
.svc-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.svc-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,28,0) 35%, rgba(15,20,28,.82) 100%);
}
.svc-card:hover img { transform: scale(1.08); }
.svc-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 20px;
}
.svc-meta h3 { color: #fff; font-size: 19px; font-weight: 600; margin: 0; line-height: 1.25; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.svc-plus {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 15px;
  transition: transform .25s ease, background .25s ease;
}
.svc-card:hover .svc-plus { transform: rotate(90deg); background: var(--brand-dark); }
@media (max-width: 860px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 520px) {
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-card { aspect-ratio: 16 / 9; }
}

/* ============================================================
   SERVICE MODAL — rich detail layout
   ============================================================ */
#serviceModal .modal-dialog { max-width: 760px; }
#serviceModal .modal-content { border-radius: 18px; }
#serviceModal .modal-header { padding: 20px 28px; align-items: center; }
#serviceModal .modal-title { font-size: 22px; }
#serviceModal .modal-body { padding: 0; }
/* bottom close button — mobile only (desktop closes via the header X) */
#serviceModal .svc-footer-close { display: none; padding: 0 28px 24px; border-top: 0; }
.svc-close-btn { width: 100%; justify-content: center; }

.svc-detail { padding: 26px 28px 30px; }
.svc-intro { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 8px; }
.svc-intro .svc-icon-lg {
  width: 64px; height: 64px; flex: none; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 32px;
}
.svc-intro p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.svc-intro p strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

.svc-block-title {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); margin: 26px 0 14px; padding-top: 22px; border-top: 1px solid var(--line);
}
.svc-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 20px; }
.svc-features.cols-2 { grid-template-columns: repeat(2, 1fr); }
.svc-feature { display: flex; gap: 11px; align-items: flex-start; }
.svc-feature .ic { font-size: 22px; color: var(--brand); margin-top: 1px; }
/* FontAwesome icons used in the modal — bolder than the thin SVG set */
.svc-feature > i { flex: none; width: 24px; text-align: center; font-size: 20px; color: var(--brand); margin-top: 1px; }
.svc-tag > i { font-size: 15px; color: var(--green); }
.svc-icon-lg > i { font-size: 30px; line-height: 1; }
.svc-icon-sm > i { font-size: 22px; line-height: 1; }
.svc-feature h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 3px; line-height: 1.3; }
.svc-feature p { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.45; }

/* simple bullet list variant (icon + single line) */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 22px; }
.svc-list li { display: flex; gap: 10px; align-items: center; list-style: none; font-size: 14px; color: var(--ink); }
.svc-list .ic { font-size: 19px; color: var(--brand); flex: none; }
.svc-list { padding: 0; margin: 0; }

.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: var(--green-soft); color: #2f6e22; font-size: 13.5px; font-weight: 500;
}
.svc-tag .ic { font-size: 16px; color: var(--green); }

.svc-foot {
  display: flex; gap: 16px; align-items: center; margin-top: 26px; padding: 18px 20px;
  background: var(--bg-soft); border-radius: 14px;
}
.svc-foot .svc-icon-sm {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: #fff; color: var(--green); font-size: 24px; box-shadow: var(--shadow-sm);
}
.svc-foot p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.svc-foot p strong { color: var(--ink); }

.svc-badge-24 {
  width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 700; display: inline-grid; place-items: center; margin-top: 1px; flex: none;
}

#serviceModal .modal-cta {
  padding: 16px 28px 26px; display: flex; justify-content: flex-end;
}
#serviceModal .modal-cta .btn-quote {
  background: var(--brand); color: #fff; border: none; border-radius: 10px;
  padding: 12px 24px; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
#serviceModal .modal-cta .btn-quote:hover { background: var(--brand-dark); transform: translateY(-2px); }

@media (max-width: 600px) {
  .svc-features, .svc-features.cols-2, .svc-list { grid-template-columns: 1fr; }
  .svc-detail { padding: 22px 20px; }
  .svc-intro { gap: 14px; }
  .svc-intro .svc-icon-lg { width: 52px; height: 52px; font-size: 26px; }
}

/* ============================================================
   WHY US — accordion
   ============================================================ */
.whyus { background: var(--bg-soft); }
.acc { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.acc-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease;
}
.acc-item.open { box-shadow: var(--shadow-md); border-color: transparent; }
.acc-trigger {
  width: 100%; border: none; background: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  font-size: 18px; font-weight: 600; color: var(--ink);
}
.acc-trigger .acc-ico {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 22px;
  transition: background .25s ease, color .25s ease;
}
.acc-item.open .acc-trigger .acc-ico { background: var(--brand); color: #fff; }
.acc-trigger .acc-label { flex: 1; }
.acc-trigger .acc-chev { color: var(--muted); transition: transform .3s ease; font-size: 15px; }
.acc-item.open .acc-trigger .acc-chev { transform: rotate(180deg); color: var(--brand); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-panel-inner { padding: 0 24px 24px 86px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.acc-panel-inner p { margin: 0 0 18px; }
.acc-panel-inner p:last-child { margin-bottom: 0; }

/* stat row inside an accordion panel — equal-height boxes, number always on one line */
.acc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 4px 0 20px; }
.acc-stat {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 98px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 10px; text-align: center;
}
.acc-stat .num {
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; color: var(--brand);
  line-height: 1.1; white-space: nowrap;
}
.acc-stat .lbl { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.3; }

/* object-type chips */
.acc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-chips span {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); font-size: 13px; font-weight: 500;
}

@media (max-width: 600px) {
  .acc-trigger { padding: 18px; font-size: 16px; gap: 12px; }
  .acc-panel-inner { padding: 0 18px 20px 18px; }
  .acc-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PRICE OFFER
   ============================================================ */
.priceoffer .po-card {
  max-width: 880px; margin: 0 auto; background: linear-gradient(135deg, #fff, var(--bg-soft));
  border: 1px solid var(--line); border-radius: 22px; padding: 48px; text-align: center;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.priceoffer .po-card::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, var(--brand-soft), transparent 70%);
}
.priceoffer .po-ico {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 18px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 30px; position: relative;
}
.priceoffer h2 { font-size: clamp(26px, 4vw, 36px); color: var(--ink); margin: 0 0 18px; position: relative; }
.priceoffer .po-text { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 680px; margin: 0 auto 16px; position: relative; }
.priceoffer .po-text strong { color: var(--ink); }
.priceoffer .po-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; position: relative;
  background: var(--brand); color: #fff; border-radius: 12px; padding: 14px 30px;
  font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s, transform .2s;
}
.priceoffer .po-cta:hover { background: var(--brand-dark); transform: translateY(-3px); color: #fff; }
@media (max-width: 600px) { .priceoffer .po-card { padding: 34px 22px; } }

/* nav: certificate menu item highlight harmony (no layout change) */
.navbar-nav .nav-item a.nav-link { transition: color .2s ease; }

/* ============================================================
   UNIFIED BUTTONS — one shape + one hover for every CTA
   ============================================================ */
.btn-contact,
.po-cta,
#serviceModal .modal-cta .btn-quote,
.contact-form .default-button,
.menu-sidebar .default-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: none; border-radius: 8px; cursor: pointer;
  padding: 14px 30px; font-size: 15px; font-weight: 600; line-height: 1;
  font-family: var(--fontFamily2, inherit);
  background: var(--brand); color: #fff; text-decoration: none;
  box-shadow: 0 6px 18px rgba(245, 129, 30, .28);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-contact:hover,
.po-cta:hover,
#serviceModal .modal-cta .btn-quote:hover,
.contact-form .default-button:hover,
.menu-sidebar .default-button:hover {
  background: var(--brand-dark); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(245, 129, 30, .38);
}
.btn-contact:active,
.po-cta:active,
#serviceModal .modal-cta .btn-quote:active,
.contact-form .default-button:active,
.menu-sidebar .default-button:active { transform: translateY(0); }

/* keep inline icons sized to the label, inheriting the white text color
   (overrides template rules that blow them up to 30px / brand color) */
.btn-contact i,
.po-cta i,
.contact-form .default-button i,
.menu-sidebar .default-button i {
  font-size: 1em; color: inherit; margin: 0; position: static;
}

/* neutralize the template's split-fill pseudo hover on reused buttons */
.contact-form .default-button::before,
.contact-form .default-button::after,
.menu-sidebar .default-button::before,
.menu-sidebar .default-button::after { display: none; }
.contact-form .default-button span,
.menu-sidebar .default-button span { position: static; }

/* secondary / ghost button (e.g. links that should read as buttons on dark) */
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 8px; padding: 12px 26px; font-size: 15px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.35); color: #fff; background: transparent;
  text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; transform: translateY(-2px); }

/* hero CTAs — larger and more characterful than a plain button */
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; }
.btn-hero { padding: 16px 34px; font-size: 16px; box-sizing: border-box; line-height: 1; }
/* match box model to the ghost button (which has a 1.5px border) so both
   buttons end up exactly the same height */
.btn-contact.btn-hero { box-shadow: 0 10px 28px rgba(245,129,30,.4); border: 1.5px solid transparent; gap: 12px; }
.btn-contact.btn-hero i { transition: transform .25s ease; font-size: .9em; margin-left: 2px; }
.btn-contact.btn-hero:hover i { transform: translateX(5px); }
@media (max-width: 768px) {
  .hero-actions { justify-content: center; }
  .btn-hero { padding: 14px 26px; font-size: 15px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 28px; align-items: stretch; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.contact-item {
  display: flex; gap: 15px; align-items: center; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.contact-item .ci-ico {
  width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 20px; transition: background .2s ease, color .2s ease;
}
/* hover only highlights the icon — no lift, no border, no shadow change */
.contact-item:hover .ci-ico { background: var(--brand); color: #fff; }
.contact-item h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.contact-item div span { font-size: 15px; color: var(--muted); }
.contact-social { display: flex; gap: 10px; }
.contact-social a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 17px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.contact-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); border-color: transparent; }
.contact-map { border-radius: 16px; overflow: hidden; flex: 1 1 auto; min-height: 200px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 100%; min-height: 200px; display: block; border: 0; }

.contact-formcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-sm); height: 100%; margin-top: 0; }
.contact-formcard h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.contact-formcard .sub { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form .form-control {
  width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 13px 16px;
  font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea.form-control { min-height: 130px; resize: vertical; }
.contact-form .form-control::placeholder { color: #9aa1ac; }
.contact-form .form-control:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.contact-form .form-control.is-invalid { border-color: #e04545; box-shadow: 0 0 0 3px rgba(224,69,69,.12); }
.contact-form .nice-select { border: 1.5px solid var(--line); border-radius: 11px; height: auto; padding: 13px 30px 13px 16px; line-height: 1.3; }
.contact-form .nice-select.is-invalid { border-color: #e04545; }
/* validation: only the input border turns red, no helper text */
.field-error { display: none !important; }

/* submit button: compact (not too tall), sized to label, aligned right */
.contact-form .default-button { width: auto; min-width: 185px; padding: 12px 26px; line-height: 1; }
.contact-form .default-button span { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.contact-form .default-button i { font-size: 14px; line-height: 1; }
.contact-form .submit-row { text-align: right; }

/* in-button loading spinner */
.btn-spin { display: inline-block; width: 1em; height: 1em; border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff; border-radius: 50%; animation: btnspin .6s linear infinite; }
@keyframes btnspin { to { transform: rotate(360deg); } }
.form-note { font-size: 12.5px; color: var(--muted); margin: 4px 0 18px; }

/* toast notifications */
.toast-wrap {
  position: fixed; right: 20px; bottom: 20px; z-index: 99999;
  display: flex; flex-direction: column; gap: 12px; max-width: calc(100vw - 40px);
}
.toast {
  display: flex; gap: 13px; align-items: flex-start; width: 360px; max-width: 100%;
  background: #fff; border-radius: 12px; padding: 15px 16px;
  box-shadow: 0 16px 40px rgba(20, 28, 40, .22); border-left: 4px solid var(--brand);
  transform: translateX(120%); opacity: 0; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.ok  { border-left-color: var(--green); }
.toast.err { border-left-color: #e04545; }
.toast .t-ico { font-size: 20px; line-height: 1.3; flex: none; }
.toast.ok  .t-ico { color: var(--green); }
.toast.err .t-ico { color: #e04545; }
.toast .t-body { flex: 1; }
.toast .t-title { font-size: 14.5px; font-weight: 700; color: var(--ink); margin: 0 0 2px; }
.toast .t-msg { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.45; }
.toast .t-close { flex: none; background: none; border: none; cursor: pointer; color: #9aa1ac; font-size: 16px; padding: 2px; line-height: 1; }
.toast .t-close:hover { color: var(--ink); }
@media (max-width: 520px) { .toast-wrap { left: 16px; right: 16px; bottom: 16px; } .toast { width: 100%; } }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 260px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #141a22; color: #aeb6c2; }
.site-footer .footer-top { padding: 60px 0 36px; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; }
.site-footer .f-logo { height: 42px; width: auto; margin-bottom: 18px; }
.site-footer .f-about { font-size: 14.5px; line-height: 1.7; max-width: 360px; margin: 0 0 20px; }
.site-footer .f-social { display: flex; gap: 10px; }
.site-footer .f-social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: #fff; font-size: 16px; transition: background .2s ease, transform .2s ease;
}
.site-footer .f-social a:hover { background: var(--brand); }
.site-footer .footer-bottom .f-heart { color: #e3534b; font-size: .9em; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 18px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.site-footer ul a { color: #aeb6c2; text-decoration: none; font-size: 14.5px; transition: color .2s ease, padding-left .2s ease; }
.site-footer ul a:hover { color: var(--brand); padding-left: 4px; }
.site-footer .f-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; }
.site-footer .f-contact li i { color: var(--brand); margin-top: 3px; width: 16px; text-align: center; }
.site-footer .f-contact a { color: #aeb6c2; text-decoration: none; }
.site-footer .f-contact a:hover { color: var(--brand); }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: #7e8794;
}
.site-footer .footer-bottom a { color: #aeb6c2; text-decoration: none; }
.site-footer .footer-bottom a:hover { color: var(--brand); }
@media (max-width: 768px) {
  .site-footer .footer-top { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 28px; }
  .site-footer .footer-bottom { flex-direction: column; text-align: center; }
  /* put the privacy link on its own line under the "poháňa boostuj.sk" row */
  .site-footer .footer-bottom .f-dot { display: none; }
  .site-footer .footer-bottom .f-policy { display: block; margin-top: 4px; }
}

/* --- icon classes (url relative to this stylesheet) --- */
.ic--after-builders-cleaning { --ic: url(../icons/after-builders-cleaning.svg); }
.ic--aircon-cleaning { --ic: url(../icons/aircon-cleaning.svg); }
.ic--bathroom-cleaning { --ic: url(../icons/bathroom-cleaning.svg); }
.ic--building { --ic: url(../icons/building.svg); }
.ic--carpet-cleaning { --ic: url(../icons/carpet-cleaning.svg); }
.ic--chainsaw { --ic: url(../icons/chainsaw.svg); }
.ic--cleaning-service { --ic: url(../icons/cleaning-service.svg); }
.ic--cleanliness { --ic: url(../icons/cleanliness.svg); }
.ic--daily-cleaning { --ic: url(../icons/daily-cleaning.svg); }
.ic--farm-app { --ic: url(../icons/farm-app.svg); }
.ic--fertilizer { --ic: url(../icons/fertilizer.svg); }
.ic--garbage { --ic: url(../icons/garbage.svg); }
.ic--glove { --ic: url(../icons/glove.svg); }
.ic--grass { --ic: url(../icons/grass.svg); }
.ic--high-pressure-washer { --ic: url(../icons/high-pressure-washer.svg); }
.ic--home-cleaning { --ic: url(../icons/home-cleaning.svg); }
.ic--hygiene { --ic: url(../icons/hygiene.svg); }
.ic--last-minute-cleaning { --ic: url(../icons/last-minute-cleaning.svg); }
.ic--lawn-mower { --ic: url(../icons/lawn-mower.svg); }
.ic--mop { --ic: url(../icons/mop.svg); }
.ic--pruning-shears { --ic: url(../icons/pruning-shears.svg); }
.ic--quality-assurance { --ic: url(../icons/quality-assurance.svg); }
.ic--rake { --ic: url(../icons/rake.svg); }
.ic--satisfaction-guarantee { --ic: url(../icons/satisfaction-guarantee.svg); }
.ic--science { --ic: url(../icons/science.svg); }
.ic--scythe { --ic: url(../icons/scythe.svg); }
.ic--shovel { --ic: url(../icons/shovel.svg); }
.ic--snow-hill { --ic: url(../icons/snow-hill.svg); }
.ic--snowflake { --ic: url(../icons/snowflake.svg); }
.ic--soap { --ic: url(../icons/soap.svg); }
.ic--spray-cleaning { --ic: url(../icons/spray-cleaning.svg); }
.ic--spray-garden { --ic: url(../icons/spray-garden.svg); }
.ic--street-cleaning { --ic: url(../icons/street-cleaning.svg); }
.ic--surface-cleaning { --ic: url(../icons/surface-cleaning.svg); }
.ic--thermometer { --ic: url(../icons/thermometer.svg); }
.ic--tree { --ic: url(../icons/tree.svg); }
.ic--vacuum-cleaner { --ic: url(../icons/vacuum-cleaner.svg); }
.ic--waste-management { --ic: url(../icons/waste-management.svg); }
.ic--watering-can { --ic: url(../icons/watering-can.svg); }
.ic--weather { --ic: url(../icons/weather.svg); }
.ic--wheat { --ic: url(../icons/wheat.svg); }
.ic--wheelbarrow { --ic: url(../icons/wheelbarrow.svg); }
.ic--window-cleaning { --ic: url(../icons/window-cleaning.svg); }
.ic--wipe { --ic: url(../icons/wipe.svg); }

/* ============================================================
   NAV — desktop fit (the extra "Certifikáty" item was overflowing
   the bootstrap container and pushing the CTA off-screen)
   ============================================================ */
@media (min-width: 1200px) {
  .main-nav .container { max-width: 1200px; }
  .main-nav nav.navbar { flex-wrap: nowrap; }
  /* roomier spacing between links (there's plenty of slack to the logo/CTA) */
  .main-nav nav .navbar-nav .nav-item a { margin-left: 16px; margin-right: 16px; font-size: 14.5px; white-space: nowrap; }
  .menu-sidebar ul li { margin-left: 10px; }
  /* nav CTA: compact pill that always fits inside the bar */
  .menu-sidebar .default-button { padding: 10px 18px; font-size: 13.5px; white-space: nowrap; }
}
/* nav CTA: no drop shadow + sized envelope icon */
.menu-sidebar .default-button { box-shadow: none; }
.menu-sidebar .default-button i { font-size: .9em; margin-right: 2px; }
/* step the spacing down on narrower desktops so the CTA never clips */
@media (min-width: 1280px) and (max-width: 1365px) {
  .main-nav nav .navbar-nav .nav-item a { margin-left: 11px; margin-right: 11px; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .main-nav nav .navbar-nav .nav-item a { margin-left: 7px; margin-right: 7px; }
}

/* ============================================================
   MOBILE OFF-CANVAS DRAWER + hamburger
   ============================================================ */
.nav-burger { display: none; }
.mobile-drawer, .drawer-overlay { display: none; }

@media (max-width: 1199px) {
  /* template makes .logo position:absolute which overlaps the burger — reset it.
     min-height matches the 65px bar so logo + burger sit vertically centered */
  .mobile-nav { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 65px; }
  .mobile-nav .logo { position: static; display: flex; align-items: center; }
  .logos-mobile { max-height: 24px; width: auto; }
  .nav-burger { position: relative; z-index: 2; }

  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; background: none; border: none; cursor: pointer;
  }
  .nav-burger span { display: block; width: 26px; height: 3px; margin: 0 0 0 auto; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .25s ease; }
  .nav-burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-burger.active span:nth-child(2) { opacity: 0; }
  .nav-burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .drawer-overlay {
    display: block; position: fixed; inset: 0; z-index: 1100;
    background: rgba(15,20,28,.5); opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .drawer-overlay.open { opacity: 1; visibility: visible; }

  .mobile-drawer {
    display: flex; flex-direction: column; position: fixed; top: 0; right: 0; height: 100%;
    width: 310px; max-width: 85vw; z-index: 1101; background: #fff;
    box-shadow: -12px 0 40px rgba(15,20,28,.18); overflow-y: auto;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .mobile-drawer.open { transform: translateX(0); }
  /* white head with a menu label/icon on the left, close button on the right */
  .drawer-head {
    display: flex; align-items: center; justify-content: space-between; padding: 16px 18px;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .drawer-title { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .drawer-title i { color: var(--brand); font-size: 15px; }
  .drawer-close {
    background: rgba(15,20,28,.05); border: none; width: 38px; height: 38px; border-radius: 50%;
    font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; display: grid; place-items: center;
    transition: background .2s ease, color .2s ease;
  }
  .drawer-close:hover { background: rgba(15,20,28,.1); color: var(--ink); }
  .drawer-nav { display: flex; flex-direction: column; padding: 10px 0; flex: 1; background: #fff; }
  .drawer-nav a {
    padding: 14px 22px; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none;
    border-left: 3px solid transparent; transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  .drawer-nav a:hover, .drawer-nav a:active { background: var(--bg-soft); color: var(--brand); border-left-color: var(--brand); }
  .drawer-foot { padding: 20px 22px 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; background: #fff; }
  .drawer-cta {
    display: flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 8px;
    background: var(--brand); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none;
    transition: background .2s ease;
  }
  .drawer-cta:hover { background: var(--brand-dark); color: #fff; }
  .drawer-phone, .drawer-mail { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 15px; }
  .drawer-phone i, .drawer-mail i { color: var(--brand); width: 18px; text-align: center; }
  .drawer-phone:hover, .drawer-mail:hover { color: var(--brand); }
  .drawer-social { display: flex; gap: 10px; margin-top: 4px; }
  .drawer-social a {
    width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
    background: var(--bg-soft); color: var(--ink); font-size: 16px; transition: background .2s ease, color .2s ease;
  }
  .drawer-social a:hover { background: var(--brand); color: #fff; }
}

/* ============================================================
   MOBILE FIXES — hero CTAs, stats, form spacing, modal
   ============================================================ */
@media (max-width: 600px) {
  /* hero: stack the two CTAs full-width, equal size */
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 300px; margin-left: auto; margin-right: auto; }
  .btn-hero { width: 100%; }

  /* service modal: tighter, comfortable on small screens */
  #serviceModal .modal-dialog { margin: 10px; }
  #serviceModal .modal-header { padding: 16px 18px; }
  #serviceModal .modal-title { font-size: 18px; }
  .svc-detail { padding: 20px 18px 24px; }
  /* stack the intro: icon box on top, text below — more balanced on narrow screens */
  .svc-intro { flex-direction: column; align-items: flex-start; gap: 14px; }
  .svc-intro .svc-icon-lg { width: 52px; height: 52px; font-size: 26px; border-radius: 14px; }
  .svc-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* show the bottom close button on mobile */
  #serviceModal .svc-footer-close { display: flex; padding: 0 18px 20px; }
}

/* contact form: native select is hidden by niceSelect — keep the visible
   nice-select flush so the gap to the textarea matches the other fields */
.contact-form select#service { display: none !important; }
/* niceSelect floats left -> its .field collapses to 0 height and the next
   field sticks to it. Un-float it so spacing matches the other inputs. */
.contact-form .nice-select { float: none; display: block; width: 100%; margin: 0; }

/* bold (stroked) variants used only in the pravidelné upratovanie modal */
.ic--daily-cleaning-b { --ic: url(../icons/daily-cleaning-b.svg); }
.ic--vacuum-cleaner-b { --ic: url(../icons/vacuum-cleaner-b.svg); }
.ic--wipe-b { --ic: url(../icons/wipe-b.svg); }
.ic--window-cleaning-b { --ic: url(../icons/window-cleaning-b.svg); }
.ic--bathroom-cleaning-b { --ic: url(../icons/bathroom-cleaning-b.svg); }
.ic--soap-b { --ic: url(../icons/soap-b.svg); }
.ic--hygiene-b { --ic: url(../icons/hygiene-b.svg); }

/* bold (stroked) variants for nepravidelné upratovanie + upratovanie exteriéru */
.ic--last-minute-cleaning-b { --ic: url(../icons/last-minute-cleaning-b.svg); }
.ic--mop-b { --ic: url(../icons/mop-b.svg); }
.ic--carpet-cleaning-b { --ic: url(../icons/carpet-cleaning-b.svg); }
.ic--aircon-cleaning-b { --ic: url(../icons/aircon-cleaning-b.svg); }
.ic--high-pressure-washer-b { --ic: url(../icons/high-pressure-washer-b.svg); }
.ic--spray-cleaning-b { --ic: url(../icons/spray-cleaning-b.svg); }
.ic--cleaning-service-b { --ic: url(../icons/cleaning-service-b.svg); }
.ic--waste-management-b { --ic: url(../icons/waste-management-b.svg); }
.ic--after-builders-cleaning-b { --ic: url(../icons/after-builders-cleaning-b.svg); }
.ic--quality-assurance-b { --ic: url(../icons/quality-assurance-b.svg); }
.ic--home-cleaning-b { --ic: url(../icons/home-cleaning-b.svg); }
.ic--satisfaction-guarantee-b { --ic: url(../icons/satisfaction-guarantee-b.svg); }
.ic--street-cleaning-b { --ic: url(../icons/street-cleaning-b.svg); }
.ic--surface-cleaning-b { --ic: url(../icons/surface-cleaning-b.svg); }
.ic--garbage-b { --ic: url(../icons/garbage-b.svg); }
.ic--cleanliness-b { --ic: url(../icons/cleanliness-b.svg); }

/* ============================================================
   Migrated from inline <head> styles (homepage + gdpr page)
   ============================================================ */
.banner-slider {
        position: relative;
        width: 100%;
        height: 540px;
        overflow: hidden;
        }

        .banner-slider .swiper-container,
        .banner-slider .swiper-wrapper,
        .banner-slider .swiper-slide {
        width: 100%;
        height: 100%;
        }
        .banner-slider .swiper-slide {
        background-position: center;
        background-size: cover;
        }

        .slide-position {
        background-position: center 15% !important;
        }

        .banner-slider .banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        pointer-events: none;
        z-index: 2;
        }
        .banner-slider .banner-overlay .container {
        pointer-events: auto;
        }

        .banner-slider .swiper-pagination {
        bottom: 20px !important;
        }

        .banner-slider .swiper-button-prev,
        .banner-slider .swiper-button-next {
        display: none !important;
        }

        .banner-slider .banner-title {
        font-size: 58px;
        color: #ffffff;
        font-weight: bold;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
        }

        /* .btn-contact styling unified in assets/css/modern.css */

        .swiper-pagination-bullet {
        background-color: rgba(255,255,255,0.5);
        width: 12px;
        height: 12px;
        margin: 0 6px;
        }

        .swiper-pagination-bullet-active {
        background-color: #f5811e;
        opacity: 1;
        }

        .swiper-pagination-bullet:hover {
        background-color: #ffa351;
        }

        .header-area {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #ffffff;
        transition: none !important;
        }

        .header-area,
        .header-area .navbar-area,
        .main-nav {
        opacity: 1 !important;
        transform: none !important;
        background-color: #ffffff;
        }

        @media (-webkit-min-device-pixel-ratio: 1.5),
            (min--moz-device-pixel-ratio: 1.5),
            (min-resolution: 144dpi) {
        .main-nav nav .navbar-nav .nav-item a i {
            top: 5px;
        }
        }

        .service-card-text p {
        display: none;
        }

        .service-icon {
        margin-left: 8px;
        color: #f5811e;
        cursor: pointer;
        transition: transform .2s;
        }
        .service-icon:hover {
        transform: scale(1.2);
        }

        .service-img {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        }
        .service-img img {
        width: 100%;
        display: block;
        }
        .service-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 0.75rem 1rem;
        background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        display: flex;
        justify-content: space-between;
        align-items: center;
        }
        .service-title {
        margin: 0;
        font-size: 1.25rem;
        color: #ffffff;
        }
        .service-icon {
        font-size: 1.5rem;
        color: #f5811e;
        transition: transform 0.2s;
        }
        .service-card {
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .service-card:hover .service-icon {
        transform: scale(1.2);
        }
        .service-card:hover {
        transform: scale(1.03);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
        z-index: 1;
        }

        #serviceModal .modal-content {
        border-radius: 12px;
        overflow: hidden;
        border: none;
        }
        #serviceModal .modal-header {
        background-color: #f5811e;
        border-bottom: none;
        padding: 1rem 1.5rem;
        }
        #serviceModal .modal-title {
        color: #ffffff;
        font-weight: 600;
        }
        #serviceModal .btn-close {
        filter: brightness(0) invert(1);
        opacity: 0.8;
        transition: opacity 0.2s;
        }
        #serviceModal .btn-close:hover {
        opacity: 1;
        }
        #serviceModal .modal-body {
        padding: 1.5rem;
        color: #333333;
        font-size: 1rem;
        line-height: 1.6;
        background-color: #ffffff;
        }
        #serviceModal .modal-footer {
        border-top: none;
        padding: 1rem 1.5rem;
        background-color: #f9f9f9;
        }
        #serviceModal .modal-footer .btn {
        background-color: #f5811e;
        color: #fff;
        }

        .ptb-about {
        padding-top: 40px;
        padding-bottom: 40px;
        }

        .nice-select .current {
        color: #9aa1ac;
        }
        .nice-select.has-value .current {
        color: #1f2630;
        }
        .nice-select .list li.option {
        color: #333333;
        }
        .nice-select .list li.disabled {
        color: #777777;
        }

        .footer-link {
        color: #f5811e;
        text-decoration: none;
        position: relative;
        transition: color 0.2s ease;
        }
        .footer-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        height: 1px;
        width: 0;
        background-color: #f5811e;
        transition: width 0.3s ease;
        }
        .footer-link:hover,
        .footer-link:focus {
        color: #f5811e;
        }
        .footer-link:hover::after,
        .footer-link:focus::after {
        width: 100%;
        }

        @media (max-width: 575px) {
        .ptb-about {
            padding-top: 0px;
            padding-bottom: 20px;
        }
        .google-map {
            margin-bottom: 80px;
        }
        }

        .google-map {
        position: relative;
        z-index: 1;
        }
        .footer {
        position: relative;
        z-index: 2;
        }

        body.modal-open {
        padding-right: 0 !important;
        overflow: hidden;
        }

        @media (max-width: 768px) {
        .banner-slider .banner-overlay {
            align-items: flex-start !important;
            justify-content: center !important;
            text-align: center;
            padding-top: 80px;
        }
        .banner-slider .banner-overlay .btn-contact {
            margin: 1rem auto 0;
            display: inline-block;
        }
        .banner-slider .banner-overlay .banner-title {
            margin: 0 auto;
            max-width: 90%;
        }
        .banner-slider .banner-title {
            font-size: 45px;
        }
        }

        .banner-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        }

        .banner-title .title-divider {
            display: block;
            margin: 10px 0;
        }

        @media (max-width: 768px) {
        .banner-title {
            align-items: center;
            text-align: center;
        }
        .banner-title .title-divider {
            display: block;
            width: 40px;
            height: 2px;
            background: #fff;
            margin: 8px 0;
        }
        .banner-slider {
            height: 500px;
        }
        }

/* legal / gdpr page */
/* legal page content */
        .legal { padding: 56px 0 64px; }
        .legal .container { max-width: 920px; }
        .legal h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 700; color: var(--ink); margin: 36px 0 14px; }
        .legal h2:first-of-type { margin-top: 0; }
        .legal h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 26px 0 8px; }
        .legal p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin: 0 0 16px; }
        .legal a { color: var(--brand); text-decoration: none; }
        .legal a:hover { text-decoration: underline; }
.legal-hr { border: 0; border-top: 1px solid var(--brand); margin: 34px 0; }

/* always-on header shadow so the sticky nav reads as a separate bar,
   even at the very top / on the gdpr page before any scroll */
.header-area { box-shadow: 0 2px 28px 0 rgba(0, 0, 0, .09); }
