/* =========================================================
   polish.css  -  visual refresh only (no content/structure changes)
   Loaded LAST. To revert: remove the <link> to this file.
   Brand: teal #88b0b8 / orange #e6b072 (from logo)
   ========================================================= */
:root {
  --brand-teal: #88b0b8;
  --brand-teal-dark: #5f8e98;
  --brand-orange: #e6b072;
  --brand-orange-dark: #d99a4f;
  --ink: #1b2a30;
  --muted: #5d6b70;
  --soft: #f4f8f9;
  --radius: 18px;
  --shadow-sm: 0 4px 14px rgba(27, 42, 48, .08);
  --shadow-md: 0 14px 38px rgba(27, 42, 48, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", "Heebo", sans-serif;
  color: var(--muted);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -.01em; }
p { line-height: 1.8; }
::selection { background: var(--brand-orange); color: #fff; }

img { max-width: 100%; }

/* ---------- Buttons ---------- */
.main-btn {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #fff;
  letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(217, 154, 79, .35);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.main-btn:hover {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-dark));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(95, 142, 152, .4);
}
.main-btn.main-btn-2 {
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .15);
}
.main-btn.main-btn-2:hover {
  background: var(--brand-orange);
  color: #fff;
}

/* ---------- Header / nav ---------- */
.header-area .header-nav {
  transition: background .35s, box-shadow .35s, padding .35s;
}
.header-area .header-nav.sticky {
  background: rgba(255, 255, 255, .92) !important;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 6px 24px rgba(27, 42, 48, .1);
}
.header-area .header-nav .navigation .navbar .navbar-nav .nav-item .nav-link {
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
  transition: color .3s;
}
.header-area .header-nav .navigation .navbar .navbar-nav .nav-item .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--brand-orange);
  transition: width .3s var(--ease), left .3s var(--ease);
}
.header-area .header-nav .navigation .navbar .navbar-nav .nav-item .nav-link:hover::after,
.header-area .header-nav .navigation .navbar .navbar-nav .nav-item.active .nav-link::after {
  width: 60%;
  left: 20%;
}
.navbar-btn .main-btn { line-height: 1.5; padding: 10px 28px; }

/* ---------- Hero ---------- */
.hero-section .single-hero-slide::before {
  background: linear-gradient(180deg, rgba(20, 38, 44, .55) 0%, rgba(20, 38, 44, .72) 100%);
}
.hero-section .single-hero-slide .hero-content h1 {
  font-weight: 700;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.hero-section .single-hero-slide .hero-content h1 span { color: var(--brand-orange); }
.our_seals {
  transition: transform .35s var(--ease), filter .35s;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25));
}
a.our_seals:hover .our_seals, .our_seals:hover { transform: translateY(-6px) scale(1.06); }

/* ---------- Section titles ---------- */
.section-title h2 { font-weight: 700; color: var(--ink); }
.section-title.white-color h2 { color: #fff; }
.section-title p.title-tag {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-orange-dark);
}

/* ---------- Photos: rounded + soft shadow + zoom ---------- */
.bg-image, .ba-slider { border-radius: var(--radius) !important; overflow: hidden; }
.bg-image.shadow-1-strong { box-shadow: var(--shadow-sm) !important; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.bg-image.shadow-1-strong:hover { transform: translateY(-6px); box-shadow: var(--shadow-md) !important; }
.bg-image img { transition: transform .6s var(--ease); }
.bg-image:hover img { transform: scale(1.05); }
.ba-slider img { border-radius: 0; }

.about-section img, .experience-section img, .faq-section img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ---------- Service cards ---------- */
.single-service {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.single-service:hover, .single-service.active {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.single-service .service-bg { transition: transform .6s var(--ease); }
.single-service:hover .service-bg { transform: scale(1.04); }
.single-service .service-link {
  transition: transform .3s var(--ease), background .3s;
}
.single-service .service-link:hover { transform: scale(1.12); }
.single-service .service-content h4 { font-weight: 600; }

/* ---------- Stats ---------- */
.counter-box { border-radius: var(--radius); transition: transform .35s var(--ease); }
.counter-box:hover { transform: translateY(-5px); }
.counter-num { font-weight: 700; }

/* ---------- Testimonials / reviews ---------- */
.testimonial-section .single-testimonial,
.our_reviews .single-testimonial {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Forms ---------- */
.appointment-section input,
.appointment-section textarea,
.appointment-section .nice-select {
  border-radius: 12px;
  border: 1.5px solid #dfe8ea;
  transition: border-color .25s, box-shadow .25s;
}
.appointment-section input:focus,
.appointment-section textarea:focus,
.appointment-section .nice-select.open,
.appointment-section .nice-select:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(136, 176, 184, .25);
  outline: none;
}
.appointment-section button, .appointment-section input[type="submit"] {
  border-radius: 32px;
}

/* ---------- Footer ---------- */
footer a { transition: color .25s, transform .25s; }
footer a:hover { color: var(--brand-orange); }

/* ---------- Mobile menu: replace old purple with brand teal ---------- */
@media (max-width: 767px) {
  .our_mobile { background-color: var(--brand-teal-dark) !important; border-radius: 0 0 var(--radius) var(--radius); }
  .section-title h2 { line-height: 1.25; }
}
.frase { background-color: rgba(95, 142, 152, .75) !important; }

/* ---------- Respect reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   CARDS: every section and photo inside a card
   (cancels the template's overlapping negative margins)
   ========================================================= */
:root { --card-gap: 28px; --card-radius: 28px; }

body { background: #eaf1f3; }

main > section,
.hero-section,
.about-section,
.service-section,
.experience-section,
.statistics-section,
.testimonial-section,
.cta-section,
.appointment-section,
section.our_reviews {
  position: relative;
  max-width: 1360px;
  margin: var(--card-gap) auto !important;
  width: calc(100% - 2 * var(--card-gap));
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-clip: padding-box;
}

/* sections that need a light card surface */
.about-section, .experience-section, .appointment-section, section.our_reviews { background-color: #fff; }
section.our_reviews:not(.testimonial-section) { padding: 24px 0 8px; }

/* hero sits under the fixed header: keep top flush */
.hero-section { margin-top: 0 !important; border-radius: 0 0 var(--card-radius) var(--card-radius); }

/* big bottom paddings only existed to make room for overlaps */
.service-section { padding-top: 80px; padding-bottom: 80px; }
.statistics-section { padding-bottom: 80px; }
.testimonial-section { padding-bottom: 80px; }
.experience-section { padding: 70px 0; }
.cta-section { padding: 70px 0; }

/* footer as a card too */
footer {
  max-width: 1360px;
  width: calc(100% - 2 * var(--card-gap));
  margin: var(--card-gap) auto;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ---------- Photos in cards ---------- */
.bg-image.shadow-1-strong,
.tz-gallery .thumbnail,
.tz-gallery a.lightbox,
.about-section img,
.experience-section img,
.faq-section img {
  background: #fff;
  padding: 8px;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm);
}
.bg-image.shadow-1-strong img,
.tz-gallery img,
.ba-slider { border-radius: calc(var(--radius) - 6px); }
.tz-gallery .col-lg-3, .tz-gallery [class*="col-"] { margin-bottom: 16px; }
.single-service { background: #fff; }

@media (max-width: 767px) {
  :root { --card-gap: 12px; --card-radius: 20px; }
}
.tz-gallery a.lightbox { display: block; overflow: hidden; }
.tz-gallery a.lightbox img { display: block; width: 100%; }

/* ---------- Before/After layout: the two short (landscape) photos stacked ----------
   order in HTML: 1 tall | 2 short | 3 tall | 4 short
   result:        1 tall | 2 over 4 | 3 tall                                      */
@media (min-width: 992px) {
  .row:has(.ba-slider) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
  }
  .row:has(.ba-slider) > [class*="col-"] {
    flex: none;
    width: auto;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
  }
  .row:has(.ba-slider) > :nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .row:has(.ba-slider) > :nth-child(2) { grid-column: 2; grid-row: 1; }
  .row:has(.ba-slider) > :nth-child(4) { grid-column: 2; grid-row: 2; }
  .row:has(.ba-slider) > :nth-child(3) { grid-column: 3; grid-row: 1 / span 2; }
}

/* About: second photo (CSS background) gets the same photo-card as the first */
.about-section .video-bg {
  background-color: #fff;
  border: 8px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background-clip: padding-box;
  overflow: hidden;
}

/* Before/After: tall photos (1st and 3rd) stretch to match the height of the two stacked in the middle */
@media (min-width: 992px) {
  .row:has(.ba-slider) > :nth-child(1),
  .row:has(.ba-slider) > :nth-child(3) { align-self: stretch; }
  .row:has(.ba-slider) > :nth-child(1) .bg-image,
  .row:has(.ba-slider) > :nth-child(3) .bg-image,
  .row:has(.ba-slider) > :nth-child(1) .ba-slider,
  .row:has(.ba-slider) > :nth-child(3) .ba-slider { height: 100%; }
  .row:has(.ba-slider) > :nth-child(1) .ba-slider img,
  .row:has(.ba-slider) > :nth-child(3) .ba-slider img {
    position: absolute; top: 0; left: 0;
    height: 100%; object-fit: cover;
  }
}

/* About: both photos exactly the same size (3:2, full column width) */
.about-section .video-wrap { padding: 0; }
.about-section .about-img img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.about-section .video-bg {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
}

/* A touch of rose (very subtle accent, from the "Children & Seniors" seal) */
:root { --rose: #e8719d; --blush: rgba(232, 113, 157, .10); }
.about-section {
  background-image: radial-gradient(circle at 100% 0%, var(--blush), transparent 38%),
                    radial-gradient(circle at 0% 100%, var(--blush), transparent 32%);
}
.seals-rule { background: linear-gradient(90deg, #5f8e98, #d99a4f 70%, var(--rose)) !important; }

/* About: light purple taken from the ONX logo house (replaces the pink glow here) */
:root { --lilac: #b98ab3; --lilac-soft: rgba(185, 138, 179, .22); }
.about-section {
  background-image:
    radial-gradient(circle at 100% 0%, var(--lilac-soft), transparent 42%),
    radial-gradient(circle at 0% 100%, var(--lilac-soft), transparent 38%);
}
.about-section .section-title.left-border p.title-tag::before { background-color: var(--lilac) !important; }
.about-section .about-img img,
.about-section .video-bg {
  box-shadow: 0 16px 36px rgba(185, 138, 179, .38), 0 0 0 2px rgba(185, 138, 179, .35);
}

/* Experience ("The best choice in Massachusetts!"): photo as a framed card, like the About photos */
.experience-section .experience-inner {
  border-radius: var(--card-radius);
  overflow: hidden;
}
.experience-section .experience-inner .col-xl-4.custom-width { padding: 28px; }
.experience-section .experience-inner .experience-bg {
  border: 8px solid #fff;
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(95, 60, 20, .28), 0 0 0 2px rgba(255, 255, 255, .45);
  background-clip: padding-box;
  min-height: 420px;
}
@media (max-width: 991px) {
  .experience-section .experience-inner .col-xl-4.custom-width { padding: 20px 20px 0; }
  .experience-section .experience-inner .experience-bg { min-height: 0; height: 360px; }
}

/* Experience: the orange panel becomes a rounded card floating inside the white card */
.experience-section { padding: 48px 28px !important; }
.experience-section .container { max-width: 1240px; }
.experience-section .experience-inner {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(217, 154, 79, .35);
}
@media (max-width: 767px) { .experience-section { padding: 28px 12px !important; } }

/* Statistics: each counter in its own glass card; the Google card spans both columns */
.statistics-section .col-xl-5.col-lg-6 > .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding-top: 0 !important;
}
.statistics-section .col-xl-5.col-lg-6 > .row > [class*="col-"] {
  flex: none; width: auto; max-width: none; padding: 0; margin: 0;
}
/* the 26-reviews counter is nested inside the 4th column in the HTML: flatten it into the grid */
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) { display: contents; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] {
  grid-column: 1 / -1; flex: none; width: auto; max-width: none; padding: 0;
}

.statistics-section .counter-box {
  margin: 0;
  padding: 26px 26px 22px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(20, 45, 52, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  height: 100%;
  transition: transform .35s var(--ease), background .35s;
}
.statistics-section .counter-box:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .22); }
.statistics-section .counter-box .counter-title { padding: 0 0 10px; }
.statistics-section .counter-box p { padding-left: 0; margin: 0; }

/* wide card: number on the left, phrase on one line on the right */
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 30px;
}
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-title { padding: 0 20px 0 0; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-box p {
  font-size: 18px;
  line-height: 1.35;
  white-space: nowrap;
}
@media (max-width: 574px) {
  .statistics-section .col-xl-5.col-lg-6 > .row { grid-template-columns: 1fr; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-box { flex-direction: column; gap: 6px; text-align: center; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-box p { white-space: normal; }
  .statistics-section .counter-box .counter-title { padding-right: 0; }
}

/* =========================================================
   REVIEWS (text comes from the database - markup untouched)
   ========================================================= */
.testimonial-section.our_reviews {
  background:
    radial-gradient(circle at 15% 10%, rgba(230, 176, 114, .22), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(185, 138, 179, .22), transparent 42%),
    linear-gradient(160deg, #24474f 0%, #1a3238 100%) !important;
  padding-top: 90px;
  padding-bottom: 120px;
}
.testimonial-section.our_reviews::after { opacity: .35; }
.testimonial-section .section-title h2 { color: #fff; }
.testimonial-section .section-title p.title-tag { color: var(--brand-orange); }
.testimonial-section .section-title p.title-tag::before,
.testimonial-section .section-title p.title-tag::after { background-color: var(--brand-orange); }
.testimonial-section .section-title img {
  background: #fff;
  padding: 10px 22px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
  width: 190px; height: auto;
  margin: 0 !important;
}

/* equal-height slides (the .col-lg-4 itself is the slick slide) */
.testimonial-section .slick-track { display: flex !important; }
.testimonial-section .slick-slide {
  height: auto; float: none;
  max-width: none !important; flex: none;
  padding: 12px 14px;
}

/* the card */
.testimonial-section .single-testimonial {
  height: 100%;
  background: #fff;
  border-radius: 22px;
  padding: 34px 32px 28px !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.testimonial-section .single-testimonial::before {   /* big decorative quote mark */
  content: "\201C";
  position: absolute; top: -18px; right: 22px;
  font: 700 150px/1 "Poppins", sans-serif;
  color: var(--brand-orange);
  opacity: .35;
  pointer-events: none;
}
.testimonial-section .single-testimonial::after {    /* brand stripe */
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(180deg, var(--brand-teal), var(--brand-orange), var(--lilac, #b98ab3));
}
.testimonial-section .single-testimonial .testimonial-author { padding: 0 !important; margin: 0 0 14px; }
.testimonial-section .single-testimonial .testimonial-author h4 {
  color: var(--ink); font: 700 19px/1.2 "Poppins", sans-serif; margin: 0 0 4px;
}
.testimonial-section .single-testimonial .testimonial-author .author-pro {
  color: var(--brand-teal-dark); font: 600 13px/1 "Poppins", sans-serif; letter-spacing: .04em; margin: 0;
}
.testimonial-section .single-testimonial .testimonial-content {
  padding: 0 !important; margin: 0 !important; background: transparent;
  flex: 1; display: flex; flex-direction: column; position: relative;
}
.testimonial-section .single-testimonial .testimonial-content > p {
  color: #46545a !important; font-size: 15.5px; line-height: 1.75; margin: 0 0 18px;
}
.testimonial-section .single-testimonial .testimonial-content .rating { margin-top: auto; padding: 0; }
.testimonial-section .single-testimonial .testimonial-content .rating li { color: #f5b301; margin-right: 3px; font-size: 16px; }

/* dots */
.testimonial-section ul.slick-dots { bottom: -70px; }
.testimonial-section ul.slick-dots li button { border-color: rgba(255, 255, 255, .7); width: 14px; height: 14px; border-width: 2px; }
.testimonial-section ul.slick-dots li.slick-active button { background: var(--brand-orange); border-color: var(--brand-orange); }

/* "Write a review" strip */
section.our_reviews:not(.testimonial-section) {
  background: #fff !important;
  padding: 30px 0 22px !important;
}
section.our_reviews:not(.testimonial-section) br { display: none; }
section.our_reviews .btn.btn-danger {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  border: 0;
  border-radius: 32px;
  padding: 14px 34px;
  font: 700 15px/1 "Poppins", sans-serif;
  box-shadow: 0 8px 22px rgba(217, 154, 79, .35);
  transition: transform .3s var(--ease), box-shadow .3s;
}
section.our_reviews .btn.btn-danger:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(217, 154, 79, .45); }
section.our_reviews .btn.btn-danger a { text-decoration: none; }
@media (max-width: 767px) {
  .testimonial-section .single-testimonial { padding: 28px 22px 24px !important; }
  .testimonial-section.our_reviews { padding-bottom: 100px; }
}
/* give the card shadows room inside the slick viewport (avoids a clipped dark band) */
.testimonial-section .slick-list { padding: 10px 0 50px; margin: -10px 0 -50px; }

/* CTA ("Contact Us now..."): colored panel becomes a rounded card floating inside the section card */
.cta-section { background-color: #fff; padding: 48px 28px !important; }
.cta-section .container { max-width: 1240px; }
.cta-section .cta-inner {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: linear-gradient(135deg, #f0c27f 0%, var(--brand-orange) 45%, #d99a4f 100%);
  box-shadow: 0 18px 40px rgba(217, 154, 79, .38);
}
.cta-section .cta-inner .cta-text span { color: #fff; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.cta-section .cta-inner .cta-text h1 { color: #1b2a30; }
@media (max-width: 767px) { .cta-section { padding: 28px 12px !important; } .cta-section .cta-inner { padding: 70px 0; } }

/* Gallery: the template adds a 30px bottom margin to each photo, which showed up as empty space inside the photo cards */
.tz-gallery .lightbox img { margin-bottom: 0; box-shadow: none; }
.cta-section .cta-inner .cta-text h1 { font-size: clamp(30px, 3.7vw, 52px); line-height: 1.2; padding: 0 20px; }

/* Appointment / contact: one big rounded card (text panel + form), rounded fields */
.appointment-section { padding: 48px 28px !important; }
.appointment-section .container { max-width: 1240px; }
.appointment-section .container > .row {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(27, 42, 48, .20);
}
.appointment-section .appointment-text::after { border-radius: var(--radius); }
.appointment-section .appointment-form form input,
.appointment-section .appointment-form form textarea,
.appointment-section .appointment-form form select,
.appointment-section .appointment-form form .nice-select {
  border-radius: 16px !important;
  border: 1.5px solid #e1e9ec;
  box-shadow: 0 2px 8px rgba(27, 42, 48, .05);
  transition: border-color .25s, box-shadow .25s;
}
.appointment-section .appointment-form form input:focus,
.appointment-section .appointment-form form textarea:focus,
.appointment-section .appointment-form form .nice-select.open,
.appointment-section .appointment-form form .nice-select:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(136, 176, 184, .25);
  outline: none;
}
.appointment-section .appointment-form form .nice-select .list { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
@media (max-width: 767px) { .appointment-section { padding: 28px 12px !important; } }

/* Header: when the bar turns white on scroll, menu links must turn dark (logo swaps to the purple version in the HTML) */
@media (min-width: 992px) {
  .header-area .header-nav.sticky .navigation .navbar .navbar-nav .nav-item .nav-link { color: #1b2a30; }
  .header-area .header-nav.sticky .navigation .navbar .navbar-nav .nav-item .nav-link:hover,
  .header-area .header-nav.sticky .navigation .navbar .navbar-nav .nav-item.active .nav-link { color: #8c3190; }
}
/* mobile: hamburger lines dark on the white bar */
.header-area .header-nav.sticky .navigation .navbar .navbar-toggler .toggler-icon { background-color: #8c3190; }

/* Logo: on the colored (top) bar the logo is turned solid white with a CSS filter - no extra image file needed.
   When the bar turns white (sticky) the sticky logo shows the original purple logo. */
.header-area .header-nav .navigation .navbar .navbar-brand.main-logo img {
  filter: brightness(0) invert(1);
}
.header-area .header-nav .navigation .navbar .navbar-brand.sticky-logo img {
  filter: none;
}

/* =========================================================================
   MOBILE ONLY  (max-width: 767px)  -  nothing here affects desktop/tablet
   ========================================================================= */
@media (max-width: 767px) {

  /* ---- menu: bigger tap targets, full-width floating panel ---- */
  .header-area .header-nav .navigation .navbar .navbar-toggler {
    width: 48px; height: 48px; padding: 0; right: 4px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  .header-area .header-nav .navigation .navbar .navbar-toggler .toggler-icon { width: 28px; height: 3px; border-radius: 3px; margin: 3.5px 0; }
  .header-area .header-nav .navigation .navbar .navbar-toggler.active .toggler-icon:nth-of-type(1) { top: 6.5px; }
  .header-area .header-nav .navigation .navbar .navbar-toggler.active .toggler-icon:nth-of-type(3) { top: -6.5px; }
  .our_mobile {
    max-width: none !important;
    width: calc(100% - 24px) !important;
    left: 12px !important;
    top: calc(100% + 8px) !important;
    padding: 8px 10px !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 50px rgba(20, 40, 46, .35) !important;
  }
  .our_mobile .navbar-nav .nav-item .nav-link {
    line-height: 1.2 !important; padding: 15px 16px !important; font-size: 17px; border-radius: 12px; text-align: left;
  }
  .our_mobile .navbar-nav .nav-item .nav-link:hover,
  .our_mobile .navbar-nav .nav-item.active .nav-link { background: rgba(255, 255, 255, .14); }
  .our_mobile .navbar-nav .nav-item .nav-link::after { display: none; }

  /* ---- general: comfortable text and buttons ---- */
  p { line-height: 1.7; }
  .main-btn { line-height: 56px; padding: 0 34px; font-size: 15px; }
  .section-title h2 { font-size: 28px; }

  /* ---- Airbnb card: tighter and easier to scan ---- */
  main > .airbnb-section { padding: 92px 0 54px; }
  .airbnb-title { font-size: 34px; margin: 20px 0 12px; }
  .airbnb-sub { font-size: 19px; }
  .airbnb-where { font-size: 16px; margin-bottom: 22px; }
  .airbnb-list { grid-template-columns: 1fr; gap: 9px; margin-bottom: 24px; }
  .airbnb-list li { font-size: 15.5px; padding: 12px 14px; border-radius: 14px; }
  .airbnb-list svg { width: 22px; height: 22px; }
  .airbnb-tagline { font-size: 17px; margin-bottom: 26px; }
  .airbnb-cta { display: block; width: 100%; text-align: center; font-size: 16px; line-height: 58px; padding: 0 16px; }
  .airbnb-badge { max-width: 190px; }
  .airbnb-visual { margin-top: 28px; }

  /* ---- seals: 2 columns, readable text ---- */
  .seals-grid { gap: 12px; }
  .seal-card { padding: 20px 10px 18px; border-radius: 20px; }
  .seal-svg { max-width: 118px; margin-bottom: 12px; }
  .seal-card h3 { font-size: 15.5px; }
  .seal-card p { font-size: 13px; line-height: 1.5; }

  /* ---- photo galleries in 2 columns (square thumbnails) ---- */
  .our_lastworks > .row,
  .tz-gallery .row {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0;
  }
  .our_lastworks > .row > [class*="col-"],
  .tz-gallery .row > [class*="col-"] {
    flex: none; width: auto; max-width: none; padding: 0; margin: 0 !important;
  }
  .our_lastworks > .row:not(:has(.ba-slider)) img,
  .tz-gallery .lightbox img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
  .our_lastworks > .row, .tz-gallery { padding-left: 12px; padding-right: 12px; }
  .tz-gallery { padding: 14px 0 0; }
  .tz-gallery .col-sm-6 { margin-bottom: 0 !important; }
  .bg-image.shadow-1-strong, .tz-gallery a.lightbox { padding: 5px; border-radius: 14px !important; }

  /* ---- before/after: 2x2 grid, same frame for every slider ---- */
  .our_lastworks > .row:has(.ba-slider) > [class*="col-"] { margin: 0 !important; }
  .our_lastworks .ba-slider { aspect-ratio: 4 / 5; height: auto; }
  .our_lastworks .ba-slider img {
    position: absolute; top: 0; left: 0; height: 100%; object-fit: cover;
  }
  .our_lastworks .ba-slider .handle:after,
  .our_lastworks .ba-slider .handle.ba-draggable:after { transform: scale(.55); }
  .bg-image:has(> .ba-slider) { width: 100%; }

}

/* Sticky (scrolled) header on phones/tablets: plain solid white bar (no blur - backdrop-filter can render
   blank boxes on some mobile browsers) and the purple logo is guaranteed to be unfiltered and visible */
@media (max-width: 991px) {
  .header-area .header-nav.sticky {
    background: #fff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
.header-area .header-nav.sticky .navigation .navbar .navbar-brand.sticky-logo img {
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* anchored sections: stop the fixed header from covering the section title after a menu jump */
#airbnb, #seals, #about, #Service, #reviews, #galery, #contact, #last_works { scroll-margin-top: 84px; }
@media (max-width: 767px) { #airbnb, #seals, #about, #Service, #reviews, #galery, #contact, #last_works { scroll-margin-top: 62px; } }

/* Cross-browser: stop Chrome (Android) from auto-inflating text ("font boosting"), so phones render like Safari */
html { -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: hidden; }

/* MOBILE ONLY: "Recent Amazing Works" card - tighter top, tighter gaps after the titles, tighter bottom */
@media (max-width: 767px) {
  main > br { display: none; }                                   /* stray line breaks between cards */
  #last_works.service-section { padding-top: 18px !important; padding-bottom: 16px !important; }
  #last_works br { display: none; }                              /* line breaks inside the card (before "Before/After") */
  #last_works .section-title { margin-bottom: 12px !important; }
  #last_works .section-title h2 { margin: 0; padding: 4px 0 6px; font-size: 24px; line-height: 1.2; }   /* the template adds 30px padding top and bottom */
  #last_works .section-title p.title-tag { margin: 0; }
  #last_works .section-title + .row,
  #last_works .section-title ~ .row { margin-top: 0; }
  #last_works > .section-title:nth-of-type(2) { margin-top: 16px; }
}

/* MOBILE ONLY: "Let's Talk About Our Company" - no big empty bands, so the "Schedule Now" button is on screen */
@media (max-width: 767px) {
  #about.about-section { padding-top: 14px !important; padding-bottom: 18px !important; }
  #about .about-img { margin-bottom: 8px; }
  #about .about-text .section-title { margin-bottom: 10px !important; }
  #about .about-text .section-title h2 { padding: 4px 0 6px; font-size: 24px; line-height: 1.2; }
  #about .about-text .section-title h2 span { display: none; }
  #about .about-text p { margin-bottom: 0; font-size: 14.5px; line-height: 1.6; }
  #about .about-text .main-btn.mt-50 { margin-top: 14px !important; line-height: 50px; }
  #about .pt-80 { padding-top: 22px !important; }
  #about .video-text { margin-bottom: 14px; }
  #about .video-text h3 { font-size: 22px; line-height: 1.25; }
  #about .video-text .main-btn.mt-50 { margin-top: 14px !important; line-height: 50px; }
}
@media (max-width: 767px) and (max-height: 700px) {
  #about .about-img img { aspect-ratio: 16 / 8; }
  #about .about-text p { font-size: 14px; line-height: 1.5; }
  #about .about-text .section-title h2 { font-size: 22px; }
}

/* MOBILE ONLY: About section polish - consistent left alignment, text blocks as soft cards, nicer buttons */
@media (max-width: 767px) {
  #about .video-text { text-align: left !important; }
  #about .about-text, #about .video-text {
    background: #fff;
    border-radius: 18px;
    padding: 18px 18px 20px !important;
    box-shadow: 0 8px 22px rgba(27, 42, 48, .08);
    border: 1px solid rgba(185, 138, 179, .22);
  }
  #about .about-text .section-title { margin-bottom: 6px !important; }
  #about .about-img { margin-bottom: 14px; }
  #about .pt-80 { padding-top: 16px !important; }
  #about .video-text p { font-size: 14.5px; line-height: 1.6; margin: 0; }
  #about .video-text h3 { margin: 0 0 8px; font-size: 21px; }
  #about .main-btn.main-btn-3 {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 14px !important; line-height: 50px; padding: 0 20px;
  }
  #about .main-btn.main-btn-3 i { margin: 0; }
  #about .video-wrap { margin-top: 14px; }
}
@media (max-width: 767px) and (max-height: 700px) {
  #about .about-text p { font-size: 13.5px; line-height: 1.5; }
}
@media (max-width: 767px) and (max-height: 640px) {
  #about .about-img img { aspect-ratio: 16 / 6.5; }
  #about .about-img { margin-bottom: 10px; }
  #about .about-text { padding: 12px 16px 14px !important; }
  #about .about-text p { font-size: 13px; line-height: 1.45; }
  #about .about-text .main-btn.main-btn-3 { margin-top: 10px !important; line-height: 44px; }
}

/* MOBILE ONLY: About - order = title, photo, text, button. Title first, centered buttons */
@media (max-width: 767px) {
  #about .container > .row:first-child { display: flex; flex-direction: column; }
  #about .container > .row:first-child > [class*="col-"] { display: contents; }
  #about .about-text { display: contents !important; }
  #about .about-text .section-title { order: 1; width: 100%; margin: 0 0 10px !important; padding: 0 4px; }
  #about .about-img { order: 2; width: 100%; margin-bottom: 14px; }
  #about .about-text > p {
    order: 3; width: 100%;
    background: #fff; border-radius: 18px; padding: 18px; margin: 0;
    border: 1px solid rgba(185, 138, 179, .22);
    box-shadow: 0 8px 22px rgba(27, 42, 48, .08);
  }
  #about .about-text > .main-btn {
    order: 4; width: 100%; box-sizing: border-box;
    margin: 14px 0 0 !important; padding: 0 20px !important; line-height: 50px;
    display: flex !important; align-items: center; justify-content: center !important; gap: 8px; text-align: center;
  }
}
@media (max-width: 767px) {
  #about .container { padding-left: 14px; padding-right: 14px; }
  #about .container > .row { margin-left: 0; margin-right: 0; }
  #about .container > .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
  #about .about-text .section-title { padding: 0 4px; }
}

/* MOBILE ONLY: About = ONE card only (the section itself). No extra white cards around the text blocks. */
@media (max-width: 767px) {
  #about .about-text, #about .video-text,
  #about .about-text > p, #about .video-text p {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  #about .about-text > p { padding: 0 4px !important; margin-top: 4px; }
  #about .video-text { padding: 0 4px !important; }
}

/* MOBILE ONLY: the About columns are flattened (display: contents), so the template's scroll-reveal animation
   cannot trigger on them and they stayed invisible. Show them always on phones. */
@media (max-width: 767px) {
  #about .wow { visibility: visible !important; animation: none !important; opacity: 1 !important; }
}

/* MOBILE ONLY: About order = title, photo, "ABOUT COMPANY" tag, space, text, button */
@media (max-width: 767px) {
  #about .about-text .section-title { display: contents !important; }
  #about .about-text .section-title h2 { order: 1; width: 100%; margin: 0 0 10px; }
  #about .about-img { order: 2; }
  #about .about-text .section-title p.title-tag { order: 3; width: 100%; margin: 2px 0 18px; padding-left: 70px; }
  #about .about-text > p { order: 4; }
  #about .about-text > .main-btn { order: 5; }
}

/* MOBILE ONLY: second block order = title, text, photo, then the "Schedule Now" button after the photo */
@media (max-width: 767px) {
  #about .container > .row.pt-80 { display: flex; flex-direction: column; }
  #about .container > .row.pt-80 > [class*="col-"] { display: contents; }
  #about .video-text { display: contents !important; }
  #about .video-text h3 { order: 1; width: 100%; }
  #about .video-text p { order: 2; width: 100%; }
  #about .video-wrap { order: 3; width: 100%; margin-top: 14px; }
  #about .video-text .main-btn {
    order: 4; width: 100%; box-sizing: border-box;
    margin: 14px 0 0 !important; padding: 0 20px !important; line-height: 50px;
    display: flex !important; align-items: center; justify-content: center !important; gap: 8px; text-align: center;
  }
}

/* =========================================================================
   MOBILE ONLY: Services ("We Provide Best Price...") - redone: 2 cards per row, no swipe
   ========================================================================= */
@media (max-width: 767px) {
  .service-section#Service { padding-top: 22px !important; padding-bottom: 20px !important; }
  #Service .section-title { margin-bottom: 14px !important; }
  #Service .section-title h2 { font-size: 22px; line-height: 1.2; padding: 4px 0 8px; }
  #Service .section-title h2 span { display: none; }
  #Service .section-title p.title-tag { font-size: 13px; }
  #Service .section-title::after { content: none !important; }   /* no "swipe" hint anymore */

  #Service .service-loop {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible; scroll-snap-type: none;
    margin: 0; padding: 0;
  }
  #Service .service-loop > [class*="col-"] {
    flex: none; width: auto; max-width: none; padding: 0; margin: 0 !important;
    scroll-snap-align: none;
    visibility: visible !important; animation: none !important; opacity: 1 !important;
  }
  #Service .service-loop .single-service {
    margin: 0; height: 100%;
    border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column;
    background: #fff;
  }
  #Service .single-service .service-bg {
    height: 112px; flex: none;
    position: relative;
  }
  #Service .single-service .service-bg .service-link {
    width: 34px; height: 34px; line-height: 34px; font-size: 14px;
    right: 8px; bottom: -17px; top: auto;
  }
  #Service .single-service .service-content { padding: 24px 12px 14px; flex: 1; }
  #Service .single-service .service-content h4 { font-size: 14.5px; line-height: 1.2; margin: 0 0 6px; }
  #Service .single-service .service-content p { font-size: 12px; line-height: 1.45; margin: 0; }

  /* the last (Airbnb) card is wide: spans both columns, image on the left, text on the right */
  #Service .service-loop > .col-12 { grid-column: 1 / -1; }
  #Service .service-loop .single-service.service-airbnb { flex-direction: row; min-height: 0; }
  #Service .service-airbnb .service-bg { flex: 0 0 38%; height: auto; min-height: 150px; }
  #Service .service-airbnb .service-content { padding: 14px 12px; }
  #Service .service-airbnb .service-content h4 { font-size: 15px; }
  #Service .service-airbnb .service-airbnb-link { padding: 11px 16px; font-size: 12px; margin-top: 8px; }
}
@media (max-width: 767px) {
  /* every service card identical: no highlighted/lifted "active" card, so the pairs line up */
  #Service .single-service.active { transform: none !important; margin: 0 !important; }
  #Service .single-service.active .service-content { background: #fff !important; }
  #Service .single-service.active .service-content h4,
  #Service .single-service.active .service-content p { color: inherit !important; }
  #Service .single-service:hover { transform: none !important; }
  #Service .single-service .service-content h4 { color: #1b2a30; }
}
@media (max-width: 767px) {
  #Service .single-service.active .service-content h4 { color: #1b2a30 !important; }
  #Service .single-service.active .service-content p { color: #686868 !important; }
}

/* =========================================================================
   MOBILE ONLY: "The best choice in Massachusetts!" - short photo + compact info, fits the screen
   ========================================================================= */
@media (max-width: 767px) {
  .experience-section { padding: 10px 10px !important; }
  .experience-section .experience-inner .col-xl-4.custom-width { padding: 10px 10px 0 !important; flex: 0 0 100%; max-width: 100%; }
  .experience-section .experience-inner .experience-bg {
    height: 110px !important; min-height: 0 !important; border-width: 5px; background-position: center 25%;
  }
  .experience-section .experience-inner .col-xl-8.custom-width { flex: 0 0 100%; max-width: 100%; }
  .experience-section .experience-inner .col-xl-8.custom-width > .row { margin: 0; }
  .experience-section .experience-inner .col-xl-8.custom-width .col-xl-8 { padding: 0 14px; margin: 0; flex: 0 0 100%; max-width: 100%; }
  .experience-section .experience-inner .experience-content { padding: 12px 0 16px !important; }
  .experience-content .section-title { margin-bottom: 10px !important; }
  .experience-content .section-title h2 { font-size: 21px; line-height: 1.2; padding: 0 0 6px; }
  .experience-content .section-title h2 span { display: none; }
  .experience-content .section-title p.title-tag { font-size: 12px; }
  .experience-section .experience-inner .experience-content .experience-list li { margin-bottom: 10px; padding-left: 52px; min-height: 40px; }
  .experience-content .experience-list li span.icon { left: 0; width: 38px; height: 38px; line-height: 38px; font-size: 20px; }
  .experience-content .experience-list li h4 { font-size: 15px; margin: 0 0 2px; line-height: 1.2; }
  .experience-content .experience-list li p { font-size: 12.5px; line-height: 1.4; margin: 0; }
}
@media (max-width: 767px) {
  .experience-section .experience-inner .experience-content .experience-list li { padding-left: 50px !important; }
  .experience-section .experience-inner .experience-content .experience-list li::after { width: 38px !important; height: 38px !important; left: 0 !important; top: 0 !important; }
  .experience-section .experience-inner .experience-content .experience-list li span.icon {
    left: 5px !important; top: 5px !important; width: 38px !important; height: 38px !important; line-height: 38px !important; font-size: 21px !important;
  }
  .experience-section .experience-inner .experience-content .experience-list li h4 { font-size: 15px !important; line-height: 1.2 !important; margin-bottom: 2px !important; }
  .experience-section .experience-inner .experience-content .experience-list li p { font-size: 12.5px !important; line-height: 1.4 !important; }
}
/* MOBILE ONLY: title and text of each item sit closer together */
@media (max-width: 767px) {
  .experience-section .experience-inner .experience-content .experience-list li h4 { margin: 0 !important; padding: 0 !important; line-height: 1.1 !important; }
  .experience-section .experience-inner .experience-content .experience-list li p { margin: 1px 0 0 !important; padding: 0 !important; line-height: 1.3 !important; }
}

/* =========================================================================
   MOBILE ONLY: Statistics ("Let's See Company Life Statistics") - one screen, counters in pairs
   ========================================================================= */
@media (max-width: 767px) {
  .statistics-section.our_statistics { padding-top: 16px !important; padding-bottom: 16px !important; }
  .statistics-section .col-xl-5 { flex: 0 0 100%; max-width: 100%; padding: 0 14px; }
  .statistics-section .statistics-text { margin-bottom: 12px; }
  .statistics-section .statistics-text .section-title { margin-bottom: 8px !important; }
  .statistics-section .statistics-text .section-title h2 { font-size: 20px; line-height: 1.2; padding: 0 0 6px; }
  .statistics-section .statistics-text .section-title h2 span { display: none; }
  .statistics-section .statistics-text .section-title h2 br { display: none; }
  .statistics-section .statistics-text .section-title p.title-tag { font-size: 12px; }
  .statistics-section .statistics-text > p { font-size: 12.5px; line-height: 1.45; margin: 0; }

  /* counters: always 2 per row (the Google one spans both columns) */
  .statistics-section .col-xl-5.col-lg-6 > .row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
  .statistics-section .counter-box { padding: 12px 10px 10px; border-radius: 14px; text-align: center; }
  .statistics-section .counter-box .counter-title { font-size: 30px; padding: 0 0 4px; text-align: center; }
  .statistics-section .counter-box .counter-title span.box-count { display: none; }
  .statistics-section .counter-box .counter-title span.counter-num::before { font-size: 14px; right: -12px; top: -6px; }
  .statistics-section .counter-box p { font-size: 12.5px; line-height: 1.25; text-align: center; padding: 0; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-box {
    flex-direction: row; gap: 10px; padding: 10px 12px; text-align: left;
  }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-title { padding: 0 8px 0 0; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-box p { white-space: normal; font-size: 12.5px; text-align: left; }
}

/* Statistics: 6 counters = 3 rows of 2 (the Google card and the new Airbnb card share the last row) */
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] { grid-column: auto !important; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-box {
  display: block; text-align: left; padding: 26px 26px 22px;
}
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-title { padding: 0 0 10px; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-box p { white-space: normal; font-size: inherit; }
@media (max-width: 767px) {
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-box { display: block; padding: 12px 10px 10px; text-align: center; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-title { padding: 0 0 4px; text-align: center; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] .counter-box p { font-size: 12.5px; text-align: center; }
}

/* Statistics: counters in pairs; the Google reviews card takes the space of two and carries the Google seal */
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"] { grid-column: 1 / -1 !important; }
.statistics-section .counter-box.counter-reviews {
  display: flex !important; flex-direction: row; align-items: center; justify-content: center; gap: 22px;
  padding: 18px 26px; text-align: left;
}
.statistics-section .counter-reviews .stat-seal { width: 104px; height: auto; flex: none; filter: drop-shadow(0 8px 12px rgba(0,0,0,.3)); }
.statistics-section .counter-reviews .stat-seal text { font-family: "Poppins", sans-serif; font-weight: 700; letter-spacing: .1em; }
.statistics-section .counter-reviews .stat-seal .num { letter-spacing: 0; }
.statistics-section .counter-reviews .counter-title { padding: 0 0 6px; }
.statistics-section .counter-reviews p { white-space: normal; font-size: 17px; }
@media (max-width: 767px) {
  .statistics-section .counter-box.counter-reviews { padding: 8px 12px; gap: 12px; text-align: left; }
  .statistics-section .counter-reviews .stat-seal { width: 78px; }
  .statistics-section .counter-reviews .counter-title { text-align: left; padding: 0 0 2px; }
  .statistics-section .counter-reviews p { font-size: 13px; text-align: left; }
}

/* the Airbnb counter (last) is a slim full-width strip so no card is left alone in a row */
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-box {
  display: flex !important; flex-direction: row; align-items: center; justify-content: center; gap: 16px; padding: 12px 22px;
}
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-title { padding: 0; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-box p { font-size: 16px; }
@media (max-width: 767px) {
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-box { padding: 8px 12px; gap: 10px; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-title { font-size: 26px; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-box p { font-size: 13px; text-align: left; }
}

/* Statistics order: 500 | 3500  /  130 | 12 Airbnb  /  60 Google reviews (wide, with seal)  /  4 years (slim strip) */
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(1) { order: 1; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(2) { order: 2; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(3) { order: 3; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child { order: 4; grid-column: auto !important; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:nth-child(2) { order: 5; grid-column: 1 / -1 !important; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > .counter-box { order: 6; grid-column: 1 / -1; }

/* Airbnb counter: normal card again (sits beside the offices counter) */
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-box {
  display: block !important; text-align: left; padding: 26px 26px 22px; gap: 0;
}
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-title { padding: 0 0 10px; font-size: 50px; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-box p { font-size: inherit; }

/* "4 years" counter: slim full-width strip */
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > .counter-box {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 16px; padding: 12px 22px; height: auto;
}
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > .counter-box .counter-title { padding: 0; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > .counter-box p { font-size: 16px; }

@media (max-width: 767px) {
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-box { display: block !important; text-align: center; padding: 12px 10px 10px; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-title { font-size: 30px; padding: 0 0 4px; text-align: center; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:last-child .counter-box p { font-size: 12.5px; text-align: center; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > .counter-box { padding: 8px 12px; gap: 10px; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > .counter-box .counter-title { font-size: 26px; text-align: left; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > .counter-box p { font-size: 13px; text-align: left; }
}

/* Statistics (without the "years" counter): 500 | 3500 / 130 | 12 Airbnb / 60 Google reviews (wide, with seal) */
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:first-child { order: 5; grid-column: 1 / -1 !important; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:nth-child(2) { order: 4 !important; grid-column: auto !important; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:nth-child(2) .counter-box {
  display: block !important; text-align: left; padding: 26px 26px 22px; gap: 0;
}
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:nth-child(2) .counter-title { padding: 0 0 10px; font-size: 50px; }
.statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:nth-child(2) .counter-box p { font-size: inherit; }
@media (max-width: 767px) {
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:nth-child(2) .counter-box { padding: 12px 10px 10px; text-align: center; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:nth-child(2) .counter-title { font-size: 30px; padding: 0 0 4px; text-align: center; }
  .statistics-section .col-xl-5.col-lg-6 > .row > :nth-child(4) > [class*="col-"]:nth-child(2) .counter-box p { font-size: 12.5px; text-align: center; }
}

/* =========================================================================
   MOBILE ONLY: Reviews ("What People's Say About Our Company") - redone, fits one screen
   (texts, names and dates still come from the database - markup untouched)
   ========================================================================= */
@media (max-width: 767px) {
  .testimonial-section.our_reviews { padding: 18px 0 40px !important; min-height: 0; }
  .testimonial-section.our_reviews .container { padding: 0 14px; }
  .testimonial-section .section-title { margin-bottom: 12px !important; }
  .testimonial-section .section-title h2 { font-size: 20px; line-height: 1.2; padding: 0 0 6px; }
  .testimonial-section .section-title h2 br { display: none; }
  .testimonial-section .section-title h2 span { display: none; }
  .testimonial-section .section-title p.title-tag { font-size: 11.5px; margin: 0 0 8px; }
  .testimonial-section .section-title br { display: none; }
  .testimonial-section .section-title img { width: 96px !important; padding: 6px 14px; border-radius: 12px; }

  .testimonial-section .slick-list { padding: 4px 0 6px; margin: 0; }
  .testimonial-section .slick-slide { padding: 4px 4px; }
  .testimonial-section .single-testimonial { padding: 18px 18px 14px !important; border-radius: 18px; }
  .testimonial-section .single-testimonial::before { font-size: 90px; top: -8px; right: 14px; }
  .testimonial-section .single-testimonial .testimonial-author { margin: 0 0 8px; }
  .testimonial-section .single-testimonial .testimonial-author h4 { font-size: 16px; }
  .testimonial-section .single-testimonial .testimonial-author .author-pro { font-size: 11.5px; }
  .testimonial-section .single-testimonial .testimonial-content > p { font-size: 14px; line-height: 1.55; margin: 0 0 10px; }
  .testimonial-section .single-testimonial .testimonial-content .rating li { font-size: 15px; }
  .testimonial-section ul.slick-dots { position: static; transform: none; margin: 8px 0 0; text-align: center; }
  .testimonial-section ul.slick-dots li button { width: 11px; height: 11px; }
}
@media (max-width: 767px) {
  .testimonial-section .section-title img { display: block; margin: 6px auto 0 !important; }
}

/* MOBILE ONLY: Gallery - remove the dark bands above and below (the dark section background); the white card stays */
@media (max-width: 767px) {
  #galery.service-section { background: transparent !important; background-image: none !important; padding: 0 !important; box-shadow: none; }
  #galery .container.gallery-container { margin: 0 auto; border-radius: var(--card-radius); box-shadow: var(--shadow-md); min-height: 0; padding-bottom: 8px; }
}

/* MOBILE ONLY: Reviews header - always a column: title, "REVIEWS" tag, then the Google logo BELOW */
@media (max-width: 767px) {
  .testimonial-section .section-title { display: flex !important; flex-direction: column; align-items: center; }
  .testimonial-section .section-title > * { width: auto; max-width: 100%; }
  .testimonial-section .section-title img { display: block !important; float: none !important; margin: 10px auto 0 !important; }
}

/* MOBILE ONLY: review card narrower (centered, side margins) and taller (more inner space, larger text) */
@media (max-width: 767px) {
  .testimonial-section .slick-list { padding: 4px 26px 6px !important; }
  .testimonial-section .slick-slide { padding: 4px 6px; }
  .testimonial-section .single-testimonial {
    padding: 30px 20px 26px !important;
    min-height: 250px;
  }
  .testimonial-section .single-testimonial .testimonial-author { margin: 0 0 14px; }
  .testimonial-section .single-testimonial .testimonial-author h4 { font-size: 17px; }
  .testimonial-section .single-testimonial .testimonial-content > p { font-size: 15px; line-height: 1.65; margin: 0 0 18px; }
  .testimonial-section .single-testimonial .testimonial-content .rating { padding-top: 6px; }
  .testimonial-section .single-testimonial .testimonial-content .rating li { font-size: 17px; }
}

/* =========================================================================
   MOBILE ONLY: Footer - two columns, fits one screen
   ========================================================================= */
@media (max-width: 767px) {
  footer .footer-widget-area { padding-top: 16px !important; padding-bottom: 4px !important; }
  footer .footer-widget-area .container { padding: 0 14px; }
  footer .footer-widget-area .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; margin: 0; }
  footer .footer-widget-area .row > [class*="col-"] { flex: none; width: auto; max-width: none; padding: 0; }
  footer .footer-widget-area .mb-40 { margin-bottom: 8px !important; }
  /* order: logo | contact, then links | about */
  footer .footer-widget-area .row > :nth-child(1) { order: 1; display: flex; align-items: center; }
  footer .footer-widget-area .row > :nth-child(4) { order: 2; }
  footer .footer-widget-area .row > :nth-child(3) { order: 3; }
  footer .footer-widget-area .row > :nth-child(2) { order: 4; }
  footer .footer-logo { margin: 0 !important; }
  footer .footer-logo img { max-width: 130px; height: auto; background: transparent; padding: 0; border-radius: 0; filter: brightness(0) invert(1); }
  footer .widget-title { font-size: 14px; margin: 0 0 8px; padding-bottom: 6px; }
  footer .widget p, footer .widget li, footer .widget li a { font-size: 11.5px; line-height: 1.4; }
  footer .about-company p { margin: 0; }
  footer .widget ul li { margin-bottom: 5px; padding-left: 0; word-break: break-word; }
  footer .nav-widget ul li a i, footer .contact-info li i { font-size: 10px; margin-right: 6px; position: static; }
  footer .contact-info li { padding-left: 0; display: flex; align-items: flex-start; gap: 4px; }
  footer .nav-widget { display: block !important; }
  footer .copyright-area { padding: 8px 10px !important; }
  footer .copyright-area p { font-size: 10.5px; margin: 0; }
}
@media (max-width: 767px) {
  footer .footer-widget-area .widget .contact-info ul li,
  footer .footer-widget-area .widget .contact-info ul li a { font-size: 11.5px !important; line-height: 1.35 !important; margin-bottom: 6px !important; }
  footer .footer-widget-area .widget .contact-info ul li { word-break: break-all; }
  footer .footer-widget-area .widget.nav-widget ul li { margin-bottom: 0 !important; padding: 0 !important; }
  footer .footer-widget-area .widget.nav-widget ul li a { display: block; font-size: 12px !important; line-height: 1.3 !important; padding: 4px 0 !important; }
  footer .footer-widget-area .widget .widget-title { margin: 0 0 6px !important; padding: 0 0 4px !important; }
  footer .footer-widget-area .widget .widget-title::before, footer .footer-widget-area .widget .widget-title::after { display: none; }
  footer .footer-widget-area .widget ul { margin: 0; padding: 0; }
}

/* MOBILE ONLY: footer order = logo | About Company  /  Quick Links | Contact Us */
@media (max-width: 767px) {
  footer .footer-widget-area .row > :nth-child(1) { order: 1; }
  footer .footer-widget-area .row > :nth-child(2) { order: 2; }
  footer .footer-widget-area .row > :nth-child(3) { order: 3; }
  footer .footer-widget-area .row > :nth-child(4) { order: 4; }
}

/* MOBILE ONLY: footer = logo / phone / email / city (full width) / Quick Links | About Company */
@media (max-width: 767px) {
  footer .footer-widget-area .row > :nth-child(1) { order: 1; grid-column: 1 / -1; justify-content: center; }
  footer .footer-widget-area .row > :nth-child(4) { order: 2; grid-column: 1 / -1; }
  footer .footer-widget-area .row > :nth-child(3) { order: 3; grid-column: 1; }
  footer .footer-widget-area .row > :nth-child(2) { order: 4; grid-column: 2; }
  footer .footer-logo img { max-width: 120px; }
  footer .contact-widget .widget-title { display: none; }
  footer .contact-widget { margin-bottom: 4px !important; }
  footer .footer-widget-area .widget .contact-info ul { display: block; text-align: center; }
  footer .footer-widget-area .widget .contact-info ul li { justify-content: center; font-size: 13px !important; margin-bottom: 4px !important; word-break: normal; }
  footer .footer-widget-area .widget .contact-info ul li a { font-size: 13px !important; }
}

/* MOBILE ONLY: footer a bit larger + free space after the last line, so the floating "Make Appointment" never covers text */
@media (max-width: 767px) {
  footer .footer-widget-area { padding-top: 22px !important; }
  footer .footer-logo img { max-width: 140px; }
  footer .footer-widget-area .row { gap: 8px 14px; }
  footer .footer-widget-area .widget .contact-info ul li,
  footer .footer-widget-area .widget .contact-info ul li a { font-size: 14px !important; }
  footer .footer-widget-area .widget .widget-title { font-size: 15.5px; }
  footer .widget p { font-size: 12.5px; line-height: 1.5; }
  footer .footer-widget-area .widget.nav-widget ul li a { font-size: 13px !important; padding: 5px 0 !important; }
  footer .copyright-area { padding: 10px 10px 90px !important; }   /* empty room below the copyright for the widget */
  footer { margin-bottom: 0; }
}

/* Footer credit: "Powered by [D logo] damigroupinc.com" */
.copyright-area .powered-by { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-orange); font-weight: 600; vertical-align: middle; transition: color .25s; }
.copyright-area .powered-by:hover { color: #fff; }
.copyright-area .powered-by-logo { height: 22px; width: auto; display: inline-block; }
@media (max-width: 767px) { .copyright-area .powered-by-logo { height: 18px; } }
.copyright-area .powered-by { justify-content: center; }
.copyright-area .powered-by span { color: inherit; }

/* MOBILE ONLY: credit line is the very LAST line of the page, below the floating "Make Appointment" button.
   The gap ABOVE it is where that button sits when the page is scrolled to the end. Smaller D logo. */
@media (max-width: 767px) {
  footer .copyright-area { padding: 54px 10px 8px !important; }
  footer .copyright-area p { line-height: 1; }
  .copyright-area .powered-by { font-size: 11px; gap: 5px; }
  .copyright-area .powered-by-logo { height: 13px; }
}
@media (max-width: 767px) {
  /* footer card touches the very bottom of the page, so the credit line sits BELOW the fixed "Make Appointment" button */
  footer { margin-bottom: 0 !important; border-radius: var(--card-radius) var(--card-radius) 0 0 !important; }
  footer .copyright-area { padding: 52px 10px 9px !important; }
}
@media (max-width: 767px) {
  /* small gap between the footer card and the end of the screen (credit line still sits below the floating button) */
  footer { margin-bottom: 10px !important; border-radius: var(--card-radius) !important; }
  footer .copyright-area { padding: 52px 10px 5px !important; }
}

/* MOBILE ONLY: review text shows 6 lines; longer ones scroll inside the card (visible scroll bar) - text unchanged */
@media (max-width: 767px) {
  .testimonial-section .single-testimonial { min-height: 0; }
  .testimonial-section .single-testimonial .testimonial-content > p {
    max-height: calc(1.65em * 6);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-orange) #eee;
  }
  .testimonial-section .single-testimonial .testimonial-content > p::-webkit-scrollbar { width: 5px; }
  .testimonial-section .single-testimonial .testimonial-content > p::-webkit-scrollbar-track { background: #eee; border-radius: 5px; }
  .testimonial-section .single-testimonial .testimonial-content > p::-webkit-scrollbar-thumb { background: var(--brand-orange); border-radius: 5px; }
}

/* Reviews: the date is hidden (mobile and desktop). The name stays; data still comes from the database. */
.testimonial-section .single-testimonial .testimonial-author .author-pro { display: none !important; }
.testimonial-section .single-testimonial .testimonial-author { margin-bottom: 10px; }

/* Reviews navigation: arrows + counter box replace the dots */
.testimonial-section ul.slick-dots { display: none !important; }
.rev-nav {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 26px auto 0; width: max-content; max-width: 100%;
  padding: 8px 10px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 60px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.rev-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #1b2a30;
  background: linear-gradient(135deg, #ffe3a8, #e6b072);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
  transition: transform .25s, box-shadow .25s;
}
.rev-btn:hover { transform: scale(1.08); box-shadow: 0 10px 20px rgba(0, 0, 0, .35); }
.rev-btn:active { transform: scale(.94); }
.rev-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.rev-count {
  min-width: 86px; text-align: center; color: rgba(255, 255, 255, .7);
  font: 600 15px/1 "Poppins", sans-serif; letter-spacing: .08em;
}
.rev-count b { color: #fff; font-size: 22px; font-weight: 700; }
.rev-count i { font-style: normal; margin: 0 6px; color: var(--brand-orange); }
@media (max-width: 767px) {
  .rev-nav { margin-top: 12px; gap: 10px; padding: 6px 8px; }
  .rev-btn { width: 42px; height: 42px; font-size: 16px; }
  .rev-count { min-width: 74px; font-size: 13px; }
  .rev-count b { font-size: 19px; }
}

/* Reviews: one blank line between the "REVIEWS" tag and the Google logo (desktop and mobile) */
.testimonial-section .section-title img { margin-top: 24px !important; }
@media (max-width: 767px) { .testimonial-section .section-title img { margin-top: 22px !important; } }

/* DESKTOP footer: narrower logo column, wider Contact Us column (e-mail on one line) */
@media (min-width: 992px) {
  footer .footer-widget-area .row > :nth-child(1) { flex: 0 0 16.6667%; max-width: 16.6667%; }
  footer .footer-widget-area .row > :nth-child(2) { flex: 0 0 25%; max-width: 25%; }
  footer .footer-widget-area .row > :nth-child(3) { flex: 0 0 16.6667%; max-width: 16.6667%; }
  footer .footer-widget-area .row > :nth-child(4) { flex: 0 0 41.6667%; max-width: 41.6667%; }
  footer .footer-logo img { max-width: 100%; height: auto; }
  footer .contact-info ul li { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  footer .contact-info ul li, footer .contact-info ul li a { font-size: 14px; }
}

/* "NEW" badge on the Airbnb option of the appointment form (desktop and mobile) */
.nice-select .option[data-value="5"]::after,
.nice-select.is-airbnb .current::after {
  content: "NEW";
  display: inline-block;
  margin-left: 9px;
  padding: 3px 9px 2px;
  border-radius: 20px;
  font: 700 10px/1.4 "Poppins", sans-serif;
  letter-spacing: .14em;
  vertical-align: middle;
  color: #1b2a30;
  background: linear-gradient(135deg, #ffe3a8, #e6b072);
  box-shadow: 0 3px 8px rgba(217, 154, 79, .4);
}
.nice-select .option[data-value="5"] { font-weight: 600; }

/* MOBILE/TABLET: white logo drawn with a CSS mask instead of a filter.
   Some phone browsers render "filter" on a big PNG as a plain white box; a mask uses the logo's own shape, so it cannot. */
@media (max-width: 991px) {
  .header-area .header-nav .navigation .navbar .navbar-brand.main-logo:not(.sticky-logo),
  footer .footer-logo { position: relative; display: inline-block; }
  .header-area .header-nav .navigation .navbar .navbar-brand.main-logo:not(.sticky-logo) img,
  footer .footer-logo img {
    filter: none !important; -webkit-filter: none !important;
    opacity: 0 !important;                       /* only reserves the space; the white logo is the ::after below */
  }
  .header-area .header-nav .navigation .navbar .navbar-brand.main-logo:not(.sticky-logo)::after,
  footer .footer-logo::after {
    content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    background: #ffffff;
    -webkit-mask-image: url(../img/logo.png); mask-image: url(../img/logo.png);
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: left center; mask-position: left center;
    -webkit-mask-size: contain; mask-size: contain;
    pointer-events: none;
  }
  footer .footer-logo::after { -webkit-mask-position: center; mask-position: center; }
}

/* ---------- Recent Amazing Works: every photo the same size (any number of photos, jpg or png) ---------- */
@media (min-width: 768px) {
  .our_lastworks > .row:not(:has(.ba-slider)) {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-left: 0; margin-right: 0;
  }
  .our_lastworks > .row:not(:has(.ba-slider)) > [class*="col-"] {
    flex: none; width: auto; max-width: none; padding: 0; margin: 0 !important;
  }
  .our_lastworks > .row:not(:has(.ba-slider)) img {
    display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  }
}
@media (min-width: 992px) {
  .our_lastworks > .row:not(:has(.ba-slider)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Before/After on desktop: 4 cards, all exactly the same size ---------- */
@media (min-width: 992px) {
  .row:has(.ba-slider) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: none;
    align-items: stretch;
  }
  .row:has(.ba-slider) > :nth-child(n) { grid-column: auto; grid-row: auto; align-self: stretch; }
  .row:has(.ba-slider) > [class*="col-"] .bg-image { height: 100%; }
  .row:has(.ba-slider) .ba-slider { aspect-ratio: 4 / 5; height: auto !important; }
  .row:has(.ba-slider) .ba-slider img { position: absolute; top: 0; left: 0; height: 100% !important; object-fit: cover; }
  .row:has(.ba-slider) .ba-slider .handle:after,
  .row:has(.ba-slider) .ba-slider .handle.ba-draggable:after { transform: scale(.6); }
}

/* ---------- Phones: slimmer menu bar (it was 74px at the top and ~94px once scrolled, because the logo is huge and the
   sticky bar adds extra padding). Now ~58px in both states. Desktop/tablet untouched. ---------- */
@media (max-width: 767px) {
  .header-area .header-nav .navigation .navbar { padding: 7px 0 !important; min-height: 58px; align-items: center; }
  .header-area .header-nav.sticky .navigation .navbar { padding: 7px 70px 7px 0 !important; }
  .header-area .header-nav .navigation .navbar .navbar-brand.our_logo {
    max-width: none !important; padding: 0 !important; margin: 0 !important; line-height: 0; font-size: 0;
    top: 0 !important;   /* the theme's .our_headerarea pushes the (relative) logo link 27px down */
  }
  .header-area .header-nav .navigation .navbar .navbar-brand.our_logo img {
    display: block; height: 44px; width: auto; max-width: none !important; padding: 0 !important;
  }
}

/* ---------- Photo modal (baguetteBox): big picture, clear round close button, arrows ---------- */
#baguetteBox-overlay { background-color: rgba(10, 16, 20, .94) !important; z-index: 100000 !important; }
#baguetteBox-overlay .full-image figure { width: 100%; }
#baguetteBox-overlay .full-image img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 12px; }
#baguetteBox-overlay #close-button {
  top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .92) !important; opacity: 1; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
#baguetteBox-overlay #close-button svg { width: 22px; height: 22px; stroke: #1b2a30; }
#baguetteBox-overlay #previous-button,
#baguetteBox-overlay #next-button { background: rgba(255, 255, 255, .85) !important; border-radius: 50%; width: 44px; height: 44px; opacity: 1; }
#baguetteBox-overlay #previous-button svg, #baguetteBox-overlay #next-button svg { stroke: #1b2a30; }
#baguetteBox-overlay #previous-button { left: 10px; } #baguetteBox-overlay #next-button { right: 10px; }
#baguetteBox-overlay #close-button svg *,
#baguetteBox-overlay #previous-button svg *,
#baguetteBox-overlay #next-button svg * { stroke: #1b2a30 !important; stroke-width: 2.4px; }


/* ---------- Before/After: 3 per row on the computer (4:3), 2 per row on tablets, squares on phones ---------- */
@media (min-width: 768px) {
  .our_lastworks > .row:has(.ba-slider) {
    display: flex !important; flex-wrap: wrap; justify-content: center;   /* a last, incomplete row is centered */
    gap: 16px; max-width: none; margin-left: 0; margin-right: 0;
  }
  .our_lastworks > .row:has(.ba-slider) > [class*="col-"] {
    flex: 0 0 calc((100% - 16px) / 2); width: calc((100% - 16px) / 2); max-width: none;
  }
  .our_lastworks > .row:has(.ba-slider) .bg-image { height: auto; }
  .our_lastworks > .row:has(.ba-slider) .ba-slider { aspect-ratio: 4 / 3; height: auto !important; }
}
@media (min-width: 992px) {
  .our_lastworks > .row:has(.ba-slider) > [class*="col-"] {
    flex: 0 0 calc((100% - 32px) / 3); width: calc((100% - 32px) / 3);
  }
}
@media (max-width: 767px) {
  .our_lastworks > .row:has(.ba-slider) .ba-slider { aspect-ratio: 1 / 1; }
  /* an odd last card sits centered, same size as the others */
  .our_lastworks > .row:has(.ba-slider) > [class*="col-"]:last-child:nth-child(odd) {
    grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px);
  }
}

/* Before/After: the dividing line starts further left, so the visitor first sees mostly the DIRTY side and has to drag it
   across to reveal the clean one (clean = the part left of the line). Change 30% in both lines to move it. */
.our_lastworks .ba-slider .resize { width: 30%; }
.our_lastworks .ba-slider .handle { left: 30%; }
