/* ============================================================
   CleanRise - Global Design System
   White + Navy + Emerald | Corporate Australian Premium
   ============================================================ */

/* ---- Google Fonts (preloaded in HTML) ---- */
:root {
  /* Palette */
  --navy: #0A192F;
  --navy-light: #112240;
  --navy-lighter: #233554;
  --emerald: #368005;
  /* Primary brand color */
  --emerald-dark: #064a05;
  /* #077d05 Primary brand color */
  --emerald-light: #077d05;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-400: #94A3B8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;

  /* Typography */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-heading: 'Outfit', system-ui, sans-serif;

  /* Spacing */
  --section-py: 6rem;
  --container: 80rem;
  /* 1280px */

  /* Radius */
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 24px rgba(10, 25, 47, .12);
  --shadow-lg: 0 12px 48px rgba(10, 25, 47, .18);
  --shadow-glow: 0 0 24px rgba(16, 185, 129, .35);

  /* Transitions */
  --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

/* Dark mode overrides */
.dark {
  --white: #020C1B;
  --off-white: #0A192F;
  --slate-100: #112240;
  --slate-200: #233554;
  --slate-600: #94A3B8;
  --slate-700: #CBD5E1;
  --slate-800: #E2E8F0;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--off-white);
  color: var(--slate-800);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---- Typography ---- */
.font-heading {
  font-family: var(--font-heading);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--navy);
}

/* ---- Fluid typography — scales smoothly across ALL screen sizes ---- */
h1 { font-size: clamp(1.75rem, 4.5vw, 4.5rem); }
h2 { font-size: clamp(1.45rem, 3.5vw, 3.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 2.25rem); }
h4 { font-size: clamp(1.05rem, 1.8vw, 1.6rem); }
h5 { font-size: clamp(0.95rem, 1.3vw, 1.25rem); }

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5 {
  color: var(--slate-800);
}

/* ---- Scroll Progress Bar ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-light));
  z-index: 9999;
  transition: width .1s linear;
}

/* ---- Glassmorphism ---- */
.glass {
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .5);
}

.dark .glass {
  background: rgba(17, 34, 64, .75);
  border-color: rgba(255, 255, 255, .06);
}

.glass-dark {
  background: rgba(10, 25, 47, .75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .08);
}

/* ---- Header & Navbar ---- */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  /* Safe area inset for notched phones */
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.top-bar {
  display: none !important;
}

#navbar {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: none;
  padding: 0;
  transition: all var(--transition);
}

#navbar.scrolled,
body:not(.is-home) #navbar {
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
  padding: 0;
}

.dark #navbar {
  background: transparent;
  border-color: rgba(255, 255, 255, .06);
}

.dark #navbar.scrolled,
.dark body:not(.is-home) #navbar {
  background: rgba(255, 255, 255, .98);
  border-color: rgba(15, 23, 42, .08);
}

.nav-shell {
  max-width: 92rem;
  padding-left: .35rem;
  padding-right: .85rem;
  min-height: 10rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand img {
  height: 160px !important;
  width: auto;
  max-width: 520px !important;
  object-fit: contain;
}

.desktop-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  min-width: 0;
}

.nav-link {
  position: relative;
  padding: .35rem 0;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;
  transition: color var(--transition);
}

#navbar.scrolled .nav-link,
body:not(.is-home) #navbar .nav-link,
#navbar.scrolled .dropdown-toggle i,
body:not(.is-home) #navbar .dropdown-toggle i,
.dark #navbar.scrolled .nav-link,
.dark body:not(.is-home) #navbar .nav-link,
.dark #navbar.scrolled .dropdown-toggle i,
.dark body:not(.is-home) #navbar .dropdown-toggle i {
  color: var(--navy);
}

.dark .nav-link {
  color: rgba(255, 255, 255, .8);
}

.nav-link:hover,
.nav-link.active {
  color: var(--emerald) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -.85rem;
  left: 50%;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--emerald);
  transform: translateX(-50%);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ---- Dropdown Menus ---- */
.nav-dropdown {
  position: relative;
  display: inline-block;
  padding-block: .25rem;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #0A192F;
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 1rem;
  padding: .75rem .5rem;
  min-width: 17.5rem;
  box-shadow: 0 20px 45px rgba(10, 25, 47, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

#navbar.scrolled .dropdown-menu,
body:not(.is-home) #navbar .dropdown-menu {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px rgba(10, 25, 47, 0.15);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: .2rem 0;
  padding: .65rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.2s ease;
  text-align: left;
  border-radius: .6rem;
}

#navbar.scrolled .dropdown-menu a,
body:not(.is-home) #navbar .dropdown-menu a {
  color: #1e293b;
}

.dropdown-menu a i {
  font-size: 1.1rem;
  color: var(--emerald);
  flex-shrink: 0;
}

.dropdown-menu a:hover {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399 !important;
  transform: translateX(4px);
}

#navbar.scrolled .dropdown-menu a:hover,
body:not(.is-home) #navbar .dropdown-menu a:hover {
  background: rgba(54, 128, 5, 0.08);
  color: #368005 !important;
}

/* Hover behaviors */
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
  color: var(--emerald);
}

.nav-dropdown:hover .dropdown-toggle::after,
.nav-dropdown.active .dropdown-toggle::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  flex-shrink: 0;
}

.nav-contact-link {
  display: flex !important;
  align-items: center;
  gap: .9rem;
  color: #fff;
  text-decoration: none;
  visibility: visible !important;
}

.nav-contact-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.nav-contact-icon i {
  font-size: 1.05rem;
  display: inline-block !important;
  visibility: visible !important;
}

.nav-contact-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.nav-contact-copy strong {
  color: var(--emerald);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
}

.nav-contact-copy span {
  color: #F3C443;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
}

#navbar.scrolled .nav-contact-link,
body:not(.is-home) #navbar .nav-contact-link,
.dark #navbar.scrolled .nav-contact-link,
.dark body:not(.is-home) #navbar .nav-contact-link {
  color: var(--navy);
}

#navbar.scrolled .nav-contact-icon,
body:not(.is-home) #navbar .nav-contact-icon,
.dark #navbar.scrolled .nav-contact-icon,
.dark body:not(.is-home) #navbar .nav-contact-icon {
  background: rgba(15, 23, 42, .08) !important;
  border-color: rgba(15, 23, 42, .15) !important;
  color: var(--navy) !important;
  display: flex !important;
  visibility: visible !important;
}

#navbar.scrolled .nav-contact-copy strong,
body:not(.is-home) #navbar .nav-contact-copy strong,
.dark #navbar.scrolled .nav-contact-copy strong,
.dark body:not(.is-home) #navbar .nav-contact-copy strong {
  color: var(--emerald);
}

#navbar.scrolled .nav-contact-copy span,
body:not(.is-home) #navbar .nav-contact-copy span,
.dark #navbar.scrolled .nav-contact-copy span,
.dark body:not(.is-home) #navbar .nav-contact-copy span {
  color: #C69214;
}

/* ── Navbar WhatsApp Icon Styling ── */
.nav-contact-icon.nav-wa-icon,
#navbar.scrolled .nav-contact-icon.nav-wa-icon,
body:not(.is-home) #navbar .nav-contact-icon.nav-wa-icon,
.dark #navbar.scrolled .nav-contact-icon.nav-wa-icon,
.dark body:not(.is-home) #navbar .nav-contact-icon.nav-wa-icon {
  width: 3.35rem !important;
  height: 3.35rem !important;
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
}

.nav-contact-icon.nav-wa-icon i {
  font-size: 1.3rem !important;
}

.btn.nav-quote-btn {
  min-width: 12.75rem;
  justify-content: center;
  padding: 1.15rem 2.55rem;
  border-radius: 1.35rem;
  background: #ff8e03;
  color: #fff !important;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(215, 166, 28, .28);
  transition: all var(--transition);
}

.btn.nav-quote-btn:hover {
  background: #ca6f01;
  color: #077d05 !important;
  transform: translateY(-1.5px);
  box-shadow: 0 12px 28px rgba(215, 166, 28, 0.4);
}

@media (max-width: 1220px) {
  .desktop-nav {
    gap: 1rem;
  }

  .nav-link {
    font-size: 16px;
    letter-spacing: 0;
  }

  .nav-contact-copy strong {
    font-size: 17px;
  }

  .nav-contact-copy span {
    font-size: 11.5px;
  }

  .nav-cta-group {
    gap: 1.35rem;
  }

  .btn.nav-quote-btn {
    min-width: 11.25rem;
    padding: .95rem 1.95rem;
    font-size: 20px;
  }
}

/* Theme toggle is hidden in the new nav format */
.nav-action-btn {
  display: none !important;
}

#menuBtn {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: .35rem;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  cursor: pointer;
  display: flex;
}

#menuBtn i {
  font-size: 1.5rem;
}

#menuBtn:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
  transform: scale(1.05);
}

#navbar.scrolled #menuBtn,
body:not(.is-home) #navbar #menuBtn,
.dark #navbar.scrolled #menuBtn,
.dark body:not(.is-home) #navbar #menuBtn {
  color: var(--navy);
  background: rgba(15, 23, 42, .06);
  border-color: rgba(15, 23, 42, .12);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: clamp(.65rem, 1vw, .9rem) clamp(1.25rem, 2vw, 2rem);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: clamp(.85rem, 1.1vw, 1rem);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-emerald {
  background: var(--emerald);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-emerald:hover {
  background: var(--emerald-dark);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(16, 185, 129, .4);
  filter: brightness(1.1);
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.dark .btn-outline {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(8, 16, 30, 0.05);
  border-color: var(--navy);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
}

.dark .btn-outline:hover {
  background: rgba(255, 255, 255, .2);
  border-color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.btn-outline-emerald {
  border: 2px solid var(--emerald);
  color: var(--emerald);
  background: transparent;
}

.btn-outline-emerald:hover {
  background: var(--emerald);
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(8, 16, 30, .2);
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
}

.dark .card {
  background: var(--navy-light);
  border-color: var(--navy-lighter);
}

.card:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* ---- Section Spacing ---- */
section {
  padding-block: var(--section-py);
}

/* ---- Dividers ---- */
.section-label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emerald);
  display: block;
  margin-bottom: .75rem;
}

/* ---- Badge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.badge-emerald {
  background: rgba(16, 185, 129, .15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, .3);
}

/* ---- Marquee / Logo Scroll ---- */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-wrapper.reverse .marquee-track {
  animation-direction: reverse;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-logo {
  flex-shrink: 0;
  width: 9.5rem;
  height: 3.5rem;
  margin-inline: 1.25rem;
  padding: .45rem .85rem;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 1rem;
  opacity: 1;
  filter: grayscale(0);
  transition: all var(--transition);
  object-fit: contain;
}

.marquee-logo:hover {
  transform: scale(1.1);
}

/* Edge fades */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--off-white), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--off-white), transparent);
}

/* ---- Homepage Client Logo Marquee ---- */
.client-logo-section {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: #ffffff;
  border-block: 1px solid #e8ecf0;
}

.client-logo-header {
  max-width: 56rem;
  margin: 0 auto 2.25rem;
  padding-inline: 1.5rem;
  text-align: center;
}

.client-logo-heading {
  color: #4a5568;
  font-size: clamp(.9rem, 1.6vw, 1.1rem);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.5;
}

.client-logo-marquee-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.client-logo-section .marquee-wrapper {
  padding-block: 0.5rem;
  padding-inline: 0.65rem;
  box-sizing: border-box;
}

.client-logo-section .marquee-wrapper::before,
.client-logo-section .marquee-wrapper::after {
  display: none;
}

.client-logo-track {
  animation-duration: 35s;
}

/* Card box — matches style */
.marquee-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(8rem, 12vw, 18rem);
  height: clamp(4rem, 6vw, 8rem);
  aspect-ratio: unset;
  margin-inline: 0.55rem;
  padding: 0.6rem 0.9rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marquee-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* Force all logos to the SAME displayed size and maintain full colors */
.marquee-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: none;
  transition: transform 0.3s ease;
}

.marquee-logo-card:hover img {
  transform: scale(1.05);
}

.marquee-logo-card img.logo-dark-bg {
  filter: invert(1);
}

/* Dark mode */
.dark .client-logo-section {
  background: rgba(10, 25, 47, .98);
  border-color: rgba(255, 255, 255, .06);
}

.dark .client-logo-heading {
  color: rgba(226, 232, 240, .8);
}

.dark .client-logo-section .marquee-wrapper::before {
  background: linear-gradient(to right, rgba(10, 25, 47, .98), transparent) !important;
}

.dark .client-logo-section .marquee-wrapper::after {
  background: linear-gradient(to left, rgba(10, 25, 47, .98), transparent) !important;
}

.dark .marquee-logo-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.dark .marquee-logo-card img {
  filter: grayscale(1) brightness(1.4) opacity(0.65);
}

.dark .marquee-logo-card:hover img {
  filter: grayscale(0) brightness(1.4) opacity(1);
}

/* ---- Value Proposition split layout ---- */
.val-prop-section {
  padding-block: 4rem;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
  overflow-x: hidden;
}

.val-prop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 1025px) {
  .val-prop-grid {
    grid-template-columns: [full-start] 1fr [container-start] minmax(0, 40rem) minmax(0, 40rem) [container-end] 1fr [full-end];
    gap: 0;
  }

  .val-prop-img-col {
    grid-column: full-start / 3;
    position: relative;
    width: 100%;
    height: 520px;
  }

  .val-prop-img-wrap {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 2.5rem 2.5rem 0 !important;
  }

  .val-prop-list-col {
    grid-column: 3 / 4;
    padding-inline-start: 5rem;
    align-self: center;
    max-width: 580px;
  }
}

@media (max-width: 1024px) {
  .val-prop-img-col {
    padding-inline: 1.5rem;
    width: 100%;
    height: 380px;
    margin-inline: auto;
    max-width: 600px;
  }

  .val-prop-img-wrap {
    width: 100% !important;
    height: 100% !important;
    border-radius: 2.5rem !important;
  }

  .val-prop-list-col {
    padding-inline: 1.5rem;
    margin-inline: auto;
    max-width: 600px;
    width: 100%;
    margin-top: 1rem;
  }
}

.dark .val-prop-section {
  background: rgba(10, 25, 47, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* ---- Service Cards ---- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.dark .service-card {
  background: var(--navy-light);
  border-color: var(--navy-lighter);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: var(--emerald);
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, .12);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  margin-bottom: 1rem;
  transition: transform var(--transition);
}

.service-card:hover .service-card-icon {
  transform: scale(1.1);
}

/* ---- Testimonial Carousel ---- */
.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  gap: 1.5rem;
}

.testimonial-card {
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.dark .testimonial-card {
  background: var(--navy-light);
  border-color: var(--navy-lighter);
}

/* ---- FAQ Accordion ---- */
.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: .75rem;
}

.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--navy);
  text-align: left;
  transition: all var(--transition);
}

.dark .faq-btn {
  background: var(--navy-light);
  border-color: var(--navy-lighter);
  color: #fff;
}

.faq-btn:hover,
.faq-btn.open {
  border-color: var(--emerald);
  color: var(--emerald);
}

.faq-btn .faq-icon {
  transition: transform var(--transition);
  font-size: 1.25rem;
  color: var(--emerald);
}

.faq-btn.open .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  background: var(--off-white);
  border: 1px solid var(--slate-200);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 0 1.5rem;
  color: var(--slate-600);
  font-size: .9375rem;
  line-height: 1.7;
}

.dark .faq-body {
  background: var(--navy-lighter);
  border-color: var(--navy-lighter);
  color: var(--slate-400);
}

.faq-body.open {
  max-height: 400px;
  padding: 1.25rem 1.5rem;
}

/* ---- Forms ---- */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--off-white);
  color: var(--slate-800);
  font-size: .9375rem;
  font-family: var(--font-sans);
  transition: all var(--transition);
  outline: none;
}

.dark .form-input,
.dark .form-select,
.dark .form-textarea {
  background: var(--navy-lighter);
  border-color: var(--navy-lighter);
  color: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .15);
}

.form-label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--navy);
}

.dark .form-label {
  color: var(--slate-400);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.field-error {
  display: block;
  margin-top: .4rem;
  color: #dc2626;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.4;
}

.dark .field-error {
  color: #fca5a5;
}

/* ---- Toast ---- */
#toast-container {
  position: fixed;
  top: 5.5rem;
  right: 1.5rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 22rem;
  animation: slideInRight .35s cubic-bezier(.4, 0, .2, 1);
}

.dark .toast {
  background: var(--navy-light);
  border-color: var(--navy-lighter);
  color: #fff;
}

@keyframes slideInRight {
  from {
    transform: translateX(120%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.exit {
  animation: slideOutRight .35s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes slideOutRight {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* ---- Floating Actions ---- */
.left-sticky-quote {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 42;
  width: 3rem;
  height: 15rem;
  border-radius: 0 1.1rem 1.5rem 0;
  background: linear-gradient(180deg, #f59e0b 0%, #f59e0b 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(249, 115, 22, .26);
  border: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.left-sticky-quote:hover {
  transform: translateY(-50%) translateX(.35rem);
  box-shadow: 0 22px 40px rgba(249, 115, 22, .32);
  filter: brightness(1.04);
}

.left-sticky-quote-content {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  transform: rotate(-90deg);
  white-space: nowrap;
  font-size: 1.33rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

.left-sticky-quote-content i {
  font-size: 1rem;
}

.dark .left-sticky-quote {
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 20px 36px rgba(0, 0, 0, .32);
}

.floating-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
}

.fab {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}

.fab:hover {
  transform: scale(1.12);
}

.fab-whatsapp {
  background: #25D366;
  color: #fff;
}

.fab-top {
  background: var(--navy);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Skeleton loaders ---- */
.skeleton {
  background: linear-gradient(90deg, var(--slate-100) 25%, var(--slate-200) 50%, var(--slate-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

/* ---- Trust Badges ---- */
.trust-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255, 255, 255, .85);
  font-size: .875rem;
  font-weight: 500;
}

.trust-badge i {
  color: var(--emerald);
  font-size: 1.25rem;
}

/* ---- Stars ---- */
.stars {
  color: #F59E0B;
  display: flex;
  gap: .1rem;
}

/* ---- Particles container ---- */
#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---- Timeline ---- */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: .9rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--emerald), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: .2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px rgba(16, 185, 129, .5);
  border: 3px solid var(--white);
}

.dark .timeline-dot {
  border-color: var(--navy);
}

/* ---- Scroll-animate helper ---- */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

[data-aos="fade-left"] {
  transform: translateX(32px);
}

[data-aos="fade-right"] {
  transform: translateX(-32px);
}

[data-aos="zoom-in"] {
  transform: scale(.92);
}

[data-aos="fade-left"].aos-animate,
[data-aos="fade-right"].aos-animate,
[data-aos="zoom-in"].aos-animate {
  transform: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  :root {
    --section-py: 4.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 3.5rem;
  }

  .container {
    padding-inline: 1.25rem;
  }

  .left-sticky-quote {
    display: none;
  }

  .nav-shell {
    padding-left: .9rem;
    padding-right: .9rem;
    min-height: 5rem;
  }

  .nav-brand img {
    height: 62px !important;
    max-width: 250px !important;
  }
}

@media (max-width: 480px) {
  :root {
    --section-py: 2.75rem;
  }

  .btn {
    padding: .7rem 1.25rem;
    font-size: .875rem;
  }

  .hide-sm {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .hide-md {
    display: none !important;
  }

  .desktop-nav {
    display: none !important;
  }

  #navPhone,
  .nav-cta-group>.nav-quote-btn,
  .nav-action-btn {
    display: none !important;
  }

  #menuBtn {
    display: flex !important;
  }

  /* Tablet spacing — comfortable breathing room */
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* Mobile navbar improvements - WHITE BACKGROUND */
  #navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  body:not(.is-home) #navbar {
    background: white !important;
  }

  .nav-shell {
    padding: 0.6rem 1.5rem !important;
    min-height: 5rem !important;
    max-width: 100% !important;
  }

  .nav-brand {
    flex-shrink: 0;
  }

  .nav-brand img {
    height: 56px !important;
    width: auto !important;
    max-width: 220px !important;
  }

  #menuBtn {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.5rem !important;
    flex-shrink: 0 !important;
    margin-left: auto;
    color: var(--navy) !important;
    background: rgba(15, 23, 42, 0.06) !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
  }

  /* Dropdown menus hidden on mobile */
  .nav-dropdown {
    display: none !important;
  }

  /* Top bar mobile */
  .top-bar {
    font-size: 0.75rem;
    padding: 0.5rem 0;
  }

  .top-bar .container {
    padding: 0 1rem;
  }

  /* Mobile-friendly hero sections */
  /* Grid: only collapse explicitly flagged grids on tablets */
  .grid-collapse-md {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Mobile Footer Improvements */
  footer {
    padding: 2.5rem 0 1.5rem !important;
  }

  footer .container>div {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  footer h4,
  footer h3 {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
  }

  footer ul {
    margin-bottom: 1.5rem !important;
  }

  footer li {
    margin-bottom: 0.75rem !important;
  }

  footer a {
    font-size: 0.9rem !important;
  }

  footer p {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }
}

/* ---- Mobile sticky CTA ---- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  padding: .875rem 1.25rem;
  padding-bottom: calc(.875rem + env(safe-area-inset-bottom, 0px));
  background: var(--navy);
  border-top: 1px solid var(--navy-lighter);
  gap: .75rem;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
  }

  /* Better mobile typography */
  html {
    font-size: 15px;
  }

  /* h1–h3 handled by global clamp() — only set line-heights here */
  h1 { line-height: 1.15; }
  h2 { line-height: 1.2; }
  h3 { line-height: 1.25; }

  /* Mobile container */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Mobile navbar — compact but still legible */
  .nav-shell {
    padding: 0.55rem 1rem !important;
  }

  .nav-brand img {
    height: 40px !important;
    max-width: 160px !important;
  }

  #menuBtn {
    width: 38px !important;
    height: 38px !important;
    color: var(--navy) !important;
    background: rgba(15, 23, 42, 0.06) !important;
  }

  #menuBtn i {
    font-size: 1.3rem !important;
  }

  /* Mobile menu adjustments */
  #mobile-menu {
    padding: 1rem 1rem 1.25rem;
  }

  .mobile-menu-phone {
    padding: 1rem 1.125rem;
  }

  .mobile-menu-phone .icon-circle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .mobile-menu-phone .phone-details strong {
    font-size: 1.125rem;
  }

  .mobile-menu-phone .phone-details span {
    font-size: 0.75rem;
  }

  /* Mobile sections — driven by CSS variable, no !important wars */
  section {
    padding-block: var(--section-py);
  }

  /* Mobile buttons — opt-in via .btn-full */
  .btn-full {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  /* Mobile forms — prevent iOS auto-zoom */
  input,
  textarea,
  select {
    font-size: 16px !important;
  }

  /* Opt-in column stacking helper (replaces the removed blanket override) */
  .stack-sm {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  /* Mobile images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Top bar mobile adjustments */
  .top-bar {
    padding: 0.45rem 0;
    font-size: 0.7rem;
  }

  .top-bar-offer {
    font-size: 0.7rem !important;
    text-align: center;
  }

  /* Mobile Footer Better Spacing */
  footer {
    padding: 2rem 0 1rem !important;
  }

  footer .container {
    padding: 0 1rem;
  }

  footer>div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  footer h3,
  footer h4 {
    font-size: 1rem !important;
    margin-bottom: 0.875rem !important;
  }

  footer ul li {
    margin-bottom: 0.65rem !important;
  }

  footer a,
  footer p {
    font-size: 0.85rem !important;
  }

  footer .logo img {
    height: 32px !important;
  }
}

/* ---- Miscellaneous ---- */
.emerald-text {
  color: var(--emerald);
}

.navy-text {
  color: var(--navy);
}

.underline-emerald {
  text-decoration: underline;
  text-decoration-color: var(--emerald);
  text-underline-offset: 6px;
}

.hero-gradient {
  background: linear-gradient(135deg, rgba(10, 25, 47, .92) 0%, rgba(10, 25, 47, .7) 60%, rgba(5, 150, 105, .25) 100%);
}

.section-dark {
  background: var(--navy);
}

.dark .section-dark {
  background: #050F1E;
}

.cta-gradient {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, rgba(16, 185, 129, .25) 100%);
}

/* ---- ISO Cert Cards ---- */
.cert-card {
  border: 2px solid rgba(16, 185, 129, .2);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  background: rgba(16, 185, 129, .04);
}

.cert-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-glow);
}

/* ---- Pill nav (mobile menu) ---- */
#mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .15);
  padding: 1.25rem 1.5rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  z-index: 40;
}

.dark #mobile-menu {
  background: white;
  border-color: rgba(15, 23, 42, .08);
}

#mobile-menu.open {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#mobile-menu .nav-quote-btn {
  display: flex !important;
  justify-content: center;
  margin-top: 1rem;
  width: 100%;
}

/* Mobile menu phone number display */
.mobile-menu-phone {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 14px;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-phone:hover,
.mobile-menu-phone:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.mobile-menu-phone .icon-circle {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-menu-phone .icon-circle i {
  font-size: 1.35rem;
  color: white;
}

.mobile-menu-phone .phone-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-menu-phone .phone-details strong {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.mobile-menu-phone .phone-details span {
  font-size: 0.8rem;
  opacity: 0.95;
  font-weight: 500;
  line-height: 1;
}

.mobile-nav-link {
  display: block;
  padding: 0.95rem 0.5rem;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  transition: all 0.2s ease;
  position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: #10b981;
  padding-left: 1rem;
  background: rgba(16, 185, 129, 0.04);
}

.mobile-nav-link:last-of-type {
  border-bottom: none;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 60%;
  background: #10b981;
  border-radius: 0 4px 4px 0;
  transition: width 0.2s ease;
}

.mobile-nav-link:hover::before {
  width: 4px;
}

/* ---- Review Tabs ---- */
.review-tab {
  background: none;
  border: none;
  padding: 1.25rem .5rem;
  font-weight: 500;
  color: var(--slate-600);
  cursor: pointer;
  white-space: nowrap;
  font-size: .95rem;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.review-tab.active {
  border-bottom-color: var(--navy);
  font-weight: 600;
  color: var(--navy);
}

.dark .review-tab.active {
  border-bottom-color: var(--white);
  color: var(--white);
}

/* ---- Top Bar Styles ---- */
.top-bar {
  background: var(--navy);
  color: #fff;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  position: relative;
  z-index: 51;
}

.top-bar .star-row i {
  color: #F59E0B;
}

/* ---- Footer Styles ---- */
.footer-main {
  background: #06101e;
  color: rgba(255, 255, 255, .7);
  padding-block: 3.5rem 1.5rem;
}

.dark .footer-main {
  background: #020C1B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media(max-width:900px) {
  .footer-main {
    padding-block: 3rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem !important;
  }
}

@media(max-width:560px) {
  .footer-main {
    padding-block: 2.5rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .footer-grid>div {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-grid>div:first-child {
    padding-top: 0;
  }

  .footer-grid>div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-grid h4 {
    font-size: 1.15rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 700 !important;
    color: #fff !important;
  }

  .footer-grid ul {
    gap: 1rem !important;
  }

  .footer-grid li {
    margin-bottom: 1rem !important;
  }

  .footer-grid li a,
  .footer-grid p {
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
  }

  .footer-grid img {
    height: 38px !important;
    margin-bottom: 0.5rem !important;
  }

  /* Contact Us section specific styling */
  .footer-grid ul li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  .footer-grid ul li i {
    font-size: 1.2rem !important;
    margin-top: 0.15rem !important;
    flex-shrink: 0 !important;
    color: var(--emerald) !important;
  }

  .footer-grid ul li a {
    display: inline !important;
    line-height: 1.6 !important;
  }

  /* Newsletter form mobile */
  .footer-grid form {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  .footer-grid form input[type="email"] {
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
  }

  .footer-grid form button {
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
  }

  /* Social icons */
  .footer-grid>div:first-child>div[style*="display: flex; gap"] a {
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 1.2rem !important;
  }
}

/* Button Shine & Pulse Effects */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(45deg);
  transition: all 0s;
  animation: shine 3s infinite linear;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  20% {
    transform: translateX(100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.btn-pulse-emerald {
  animation: pulseEmerald 2s infinite;
}

@keyframes pulseEmerald {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.btn-pulse-navy {
  animation: pulseNavy 2s infinite;
}

@keyframes pulseNavy {
  0% {
    box-shadow: 0 0 0 0 rgba(8, 16, 30, 0.2);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(8, 16, 30, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(8, 16, 30, 0);
  }
}

/* =====================================================
   ENHANCED MOBILE RESPONSIVENESS
   ===================================================== */

/* Prevent content from being hidden behind the mobile sticky CTA bar */
/* Only phones (≤480px) need the body padding — tablets have no sticky CTA */
@media (max-width: 480px) {
  body {
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 768px) {
  /* Push floating action buttons above the sticky CTA */
  .floating-actions {
    bottom: 5.75rem;
  }

  /* Toast: full width on small screens */
  #toast-container {
    left: 1rem;
    right: 1rem;
  }

  .toast {
    min-width: unset;
    width: 100%;
    font-size: .85rem;
  }

  /* Utility class: collapse any 2-column form grid on mobile */
  .form-row-2 {
    grid-template-columns: 1fr !important;
  }

  /* Value-prop image: fluid width instead of fixed 380px */
  .val-prop-img-wrap {
    width: 100% !important;
    height: 260px !important;
    max-width: 100% !important;
  }

  /* Hero container: reduce large block padding on mobile */
  .hero-content-wrap {
    padding-block: 5rem 3.5rem !important;
  }

  /* Vision / quote box: tighter padding */
  .vision-box {
    padding: 1.75rem !important;
  }

  /* About testimonials grid: always single column on mobile */
  .about-testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  /* Comparison panels: tighter padding */
  .comparison-panel {
    padding: 1.75rem !important;
  }

  /* FAQ: tighter padding */
  .faq-question {
    padding: 1.1rem 1.25rem;
  }

  .faq-answer {
    padding: 0 1.25rem;
  }

  /* Top-bar offer text: wrap neatly */
  .top-bar-offer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Buttons: full-width on tiny phones for easy tapping */
  .btn {
    width: 100%;
    justify-content: center;
    padding: .7rem 1.25rem;
    font-size: .875rem;
  }

  /* Hero stat cards: compact */
  .hero-stat-card {
    padding: .875rem 1rem;
  }

  /* Hide the inline navbar "Get Free Quote" button – menu is available */
  #navbar .btn-emerald {
    display: none !important;
  }

  /* Top bar: more compact */
  .top-bar {
    padding: .3rem 0;
  }

  .top-bar-offer span {
    font-size: .72rem !important;
  }

  /* Marquee: tighter spacing on tiny screens */
  .marquee-logo {
    margin-inline: 1rem;
    height: 2rem;
  }
}

/* Footer newsletter form: stack vertically on very narrow screens */
@media (max-width: 400px) {
  footer form[onsubmit] {
    flex-direction: column;
  }

  footer form[onsubmit] button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  /* clamp() handles width — just tighten margin on tablets */
  .marquee-logo-card {
    margin-inline: 0.4rem;
  }

  .client-logo-section .marquee-wrapper {
    padding-inline: 0.45rem;
  }
}

@media (max-width: 600px) {
  .client-logo-section {
    padding-block: 2rem;
  }

  .client-logo-heading {
    font-size: 0.95rem;
  }

  /* clamp() handles width — only reduce margin on very small screens */
  .marquee-logo-card {
    margin-inline: 0.3rem;
    border-radius: 0.55rem;
  }

  .client-logo-track {
    animation-duration: 28s;
  }

  .client-logo-section .marquee-wrapper {
    padding-inline: 0.3rem;
  }
}

/* ============================================================
   Premium Success Card Styling
   ============================================================ */
.premium-success-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(10, 25, 47, 0.02) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: successScaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dark .premium-success-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(17, 34, 64, 0.4) 100%);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

@keyframes successScaleUp {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(15px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  border-radius: 50%;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.2);
}

.success-icon-wrapper::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(16, 185, 129, 0.4);
  animation: successRotateDashed 20s linear infinite;
}

@keyframes successRotateDashed {
  to {
    transform: rotate(360deg);
  }
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.dark .success-title {
  color: #fff;
}

.success-description {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 485px;
  margin: 0 auto 2rem;
}

.dark .success-description {
  color: rgba(255, 255, 255, 0.7);
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}

.dark .timeline-steps {
  background: var(--navy-light);
  border-color: var(--navy-lighter);
}

@media (max-width: 600px) {
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--emerald);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.step-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
}

.dark .step-title {
  color: #fff;
}

.step-desc {
  font-size: 0.75rem;
  color: var(--slate-600);
  line-height: 1.4;
  margin-left: 2rem;
}

.dark .step-desc {
  color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   MOBILE FIRST — COMPREHENSIVE ENHANCEMENTS
   ===================================================== */

/* --- Prevent iOS auto-zoom on form inputs --- */
@media (max-width: 768px) {

  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Touch-friendly minimum tap targets */
  .mobile-sticky-cta a,
  .mobile-sticky-cta button {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: #fff !important;
  }

  /* Stat grid: 2-col on tablet/phone */
  .quote-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Value prop CTA row: allow wrapping */
  .value-prop-cta-row {
    flex-wrap: wrap !important;
  }

  /* Testimonial cards: full width in carousel */
  .testimonial-card {
    min-width: min(100%, 320px);
  }

  /* Mobile menu: bigger tap targets */
  .mobile-nav-link {
    padding: 1rem 0;
    font-size: 1rem;
  }

  /* Nav shell: tighter on intermediate screens */
  .nav-shell {
    min-height: 4.5rem;
  }

  /* Card hover: disable expensive transforms on touch */
  .card:hover,
  .service-card:hover {
    transform: none;
  }

  /* Comparison grid: stack on mobile */
  .comparison-grid-2col {
    grid-template-columns: 1fr !important;
  }
}

/* --- Tiny phones (≤480px) --- */
@media (max-width: 480px) {

  /* Stat grid: single column */
  .quote-stats-grid {
    grid-template-columns: 1fr !important;
  }

  /* Value prop CTAs: force vertical stack */
  .value-prop-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .value-prop-cta-row .btn {
    justify-content: center !important;
    text-align: center !important;
  }

  /* Tighter nav on tiny screens */
  .nav-shell {
    min-height: 4rem;
  }

  .nav-brand img {
    height: 48px !important;
    max-width: 180px !important;
  }

  /* Section headings: ensure clamp minimum is safe */
  h1 {
    font-size: clamp(1.65rem, 8vw, 3rem);
  }

  h2 {
    font-size: clamp(1.45rem, 7vw, 2.5rem);
  }

  /* Hero stat cards: more compact */
  .hero-stat-card {
    padding: 0.75rem 0.85rem;
  }

  /* Mobile sticky CTA: slightly taller for comfort */
  .mobile-sticky-cta {
    padding: 0.75rem 1rem;
  }

  /* Toast: tighter */
  #toast-container {
    left: 0.75rem;
    right: 0.75rem;
    top: 4.5rem;
  }

  /* FAQ question: reduce side padding */
  .faq-question,
  .faq-btn {
    padding: 1rem 1.1rem;
    font-size: 0.9rem;
  }
}

/* --- Very small screens (≤400px) --- */
@media (max-width: 400px) {

  /* Ensure no horizontal overflow anywhere */
  body,
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Buttons: compact */
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: normal;
    text-align: center;
  }

  /* Marquee: even smaller logo cards */
  .marquee-logo-card {
    width: 7.5rem !important;
    margin-inline: 0.25rem !important;
  }

  /* Hero stats row: compact gap */
  .hero-stats-row {
    gap: 1rem !important;
    margin-top: 1.5rem !important;
  }

  /* Mobile menu full padding */
  #mobile-menu {
    padding: 0.75rem 1rem 1.25rem;
  }
}

/* --- Override: prevent parallax on mobile (performance) --- */
@media (max-width: 768px) {

  .parallax-bg,
  [style*="background-attachment: fixed"] {
    background-attachment: scroll !important;
  }
}

/* --- Remove card hover lift on touch devices (no hover) --- */
@media (hover: none) {

  .card:hover,
  .service-card:hover,
  .svc-card:hover,
  .cert-card:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }
}

/* ================================================================
   LARGE SCREEN OPTIMIZATIONS
   Breakpoints: 1440px (large laptop/monitor), 1920px (Full HD / TV),
                2560px (2K / QHD), 3840px (4K / UHD)
   Strategy: Scale containers, type, spacing, and grids up
             so content doesn't look tiny/lost on big screens.
   ================================================================ */

/* ---- 1440px: Large Laptop / Cinema Monitor ---- */
/* NOTE: NO html font-size change here — laptop already looks correct.
   We only expand the container and scale the navbar UP (not down). */
@media (min-width: 1440px) {
  :root {
    --container: 90rem;
    /* 1440px — wider content area */
    --section-py: 7rem;
  }

  /* Navbar — keep same proportions as base, just widen the shell */
  .nav-shell {
    max-width: 98rem;
    min-height: 10rem;
    /* same as base — don't shrink */
  }

  .nav-brand img {
    height: 160px !important;
    /* same as base — don't shrink */
    max-width: 520px !important;
  }

  .nav-link {
    font-size: 16px;
    /* unchanged */
  }

  .desktop-nav {
    gap: 1.5rem;
  }

  .nav-contact-copy strong {
    font-size: 19px;
    /* unchanged */
  }

  .nav-contact-copy span {
    font-size: 12.5px;
    /* unchanged */
  }

  .btn.nav-quote-btn {
    min-width: 11.5rem;
    padding: 0.95rem 2rem;
    font-size: 16px;
    /* unchanged */
  }

  /* Dropdown */
  .dropdown-menu {
    min-width: 20rem;
  }

  /* Card grids — allow more columns on wider screen */
  .service-grid,
  .svc-grid {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)) !important;
  }

  /* Footer */
  footer {
    padding-block: 5rem !important;
  }
}

/* ---- 1920px: Full HD Monitor / Smart TV ---- */
@media (min-width: 1920px) {
  :root {
    --container: 116rem;
    /* ~1856px wide content */
    --section-py: 8rem;
  }

  html {
    font-size: 18px;
    /* scale up everything uniformly at Full HD */
  }

  /* Navbar — scale UP with the larger font-size (18px base) */
  .nav-shell {
    max-width: 124rem;
    /* 124 * 18px = 2232px — fits Full HD */
    min-height: 11rem;
    /* 11 * 18px = 198px — matches logo scale */
    padding-left: 1.5rem;
    padding-right: 2rem;
  }

  .nav-brand img {
    height: 185px !important;
    /* BIGGER than base 160px — fits the taller bar */
    max-width: 600px !important;
  }

  .nav-link {
    font-size: 18px;
    letter-spacing: 0.01em;
  }

  .desktop-nav {
    gap: 2.25rem;
  }

  .nav-contact-copy strong {
    font-size: 22px;
  }

  .nav-contact-copy span {
    font-size: 14px;
  }

  .btn.nav-quote-btn {
    min-width: 13.5rem;
    padding: 1.1rem 2.25rem;
    font-size: 18px;
  }

  /* Section headings */
  h1 {
    font-size: clamp(3rem, 4vw, 5.5rem);
  }

  h2 {
    font-size: clamp(2.4rem, 3.2vw, 4rem);
  }

  h3 {
    font-size: clamp(1.6rem, 2.2vw, 2.6rem);
  }

  /* Dropdown */
  .dropdown-menu {
    min-width: 22rem;
    border-radius: 1.5rem;
    padding: 1.25rem 0;
  }

  .dropdown-menu a {
    font-size: 18px;
    padding: 1rem 1.5rem;
  }

  /* Body text */
  p,
  li,
  td,
  th {
    font-size: 1.1rem;
  }

  /* Marquee logos — bigger on large screens */
  .marquee-logo-card {
    width: 18rem !important;
  }

  /* Val-prop grid — wider columns */
  .val-prop-list-col {
    max-width: 700px;
  }

  /* Card grids */
  .service-grid,
  .svc-grid {
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr)) !important;
  }

  /* Footer */
  footer {
    padding-block: 6rem !important;
  }
}

/* ---- 2560px: 2K / QHD Display ---- */
@media (min-width: 2560px) {
  :root {
    --container: 140rem;
    /* 2240px wide content */
    --section-py: 10rem;
  }

  html {
    font-size: 20px;
  }

  /* Navbar */
  .nav-shell {
    max-width: 148rem;
    min-height: 13rem;
    /* 13 * 20px = 260px — proportional to 10rem@16px=160px */
    padding-left: 2rem;
    padding-right: 2.5rem;
  }

  .nav-brand img {
    height: 220px !important;
    /* 160px * (20/16) = 200px — scaled up with font-size */
    max-width: 680px !important;
  }

  .nav-link {
    font-size: 19px;
  }

  .desktop-nav {
    gap: 2.75rem;
  }

  .nav-contact-copy strong {
    font-size: 24px;
  }

  .nav-contact-copy span {
    font-size: 15px;
  }

  .btn.nav-quote-btn {
    min-width: 16rem;
    padding: 1.25rem 2.75rem;
    font-size: 20px;
  }

  /* Headings */
  h1 {
    font-size: clamp(3.5rem, 4.5vw, 7rem);
  }

  h2 {
    font-size: clamp(2.75rem, 3.5vw, 5rem);
  }

  h3 {
    font-size: clamp(1.75rem, 2.5vw, 3rem);
  }

  /* Dropdown */
  .dropdown-menu {
    min-width: 26rem;
    border-radius: 1.75rem;
    padding: 1.5rem 0;
  }

  .dropdown-menu a {
    font-size: 19px;
    padding: 1.1rem 1.75rem;
  }

  /* Body text */
  p,
  li,
  td,
  th {
    font-size: 1.2rem;
    line-height: 1.75;
  }

  /* Marquee */
  .marquee-logo-card {
    width: 22rem !important;
  }

  /* Card grids */
  .service-grid,
  .svc-grid {
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr)) !important;
  }

  /* Footer */
  footer {
    padding-block: 7rem !important;
  }
}

/* ---- 3840px: 4K / UHD (TV) ---- */
@media (min-width: 3840px) {
  :root {
    --container: 200rem;
    --section-py: 14rem;
  }

  html {
    font-size: 26px;
  }

  .nav-shell {
    max-width: 210rem;
    min-height: 16rem;
    /* 16 * 26px = 416px — proportional navbar at 4K */
  }

  .nav-brand img {
    height: 290px !important;
    /* 160px * (26/16) ≈ 260px — scaled up with 4K base font */
    max-width: 950px !important;
  }

  .nav-link {
    font-size: 22px;
  }

  .desktop-nav {
    gap: 3.5rem;
  }

  .btn.nav-quote-btn {
    font-size: 24px;
    padding: 1.5rem 3.5rem;
  }

  h1 {
    font-size: clamp(4rem, 5vw, 9rem);
  }

  h2 {
    font-size: clamp(3rem, 4vw, 6.5rem);
  }

  h3 {
    font-size: clamp(2rem, 3vw, 4rem);
  }

  p,
  li {
    font-size: 1.4rem;
    line-height: 1.8;
  }

  footer {
    padding-block: 9rem !important;
  }
}

/* ================================================================
   ULTRA-LARGE SCREENS
   ================================================================ */

/* ---- 5120px: 90"–100" TV / Cinema display ---- */
@media (min-width: 5120px) {
  :root {
    --container: 320rem;
    --section-py: 20rem;
  }

  html {
    font-size: 34px;
  }

  .nav-shell {
    max-width: 340rem;
    min-height: 22rem;
    padding-left: 3rem;
    padding-right: 3.5rem;
  }

  .nav-brand img {
    height: 380px !important;
    max-width: 1200px !important;
  }

  .nav-link {
    font-size: 26px;
  }

  .desktop-nav {
    gap: 4.5rem;
  }

  .btn.nav-quote-btn {
    font-size: 28px;
    padding: 1.75rem 4rem;
    min-width: 22rem;
  }

  .nav-contact-copy strong {
    font-size: 30px;
  }

  .nav-contact-copy span {
    font-size: 18px;
  }

  h1 { font-size: clamp(5rem, 6vw, 11rem); }
  h2 { font-size: clamp(3.5rem, 4.5vw, 8rem); }
  h3 { font-size: clamp(2.5rem, 3.5vw, 5rem); }

  p, li {
    font-size: 1.6rem;
    line-height: 1.85;
  }

  .dropdown-menu {
    min-width: 32rem;
    border-radius: 2rem;
    padding: 2rem 0;
  }

  .dropdown-menu a {
    font-size: 22px;
    padding: 1.35rem 2rem;
  }

  .marquee-logo-card {
    width: 28rem !important;
    height: 14rem !important;
  }

  .service-grid,
  .svc-grid {
    grid-template-columns: repeat(auto-fit, minmax(34rem, 1fr)) !important;
  }

  footer {
    padding-block: 12rem !important;
  }
}

/* ---- 1280px: Large tablet / small laptop ---- */
/* Smooth transition zone between mobile-collapse (1024px) and large-laptop (1440px) */
@media (min-width: 1280px) and (max-width: 1439px) {
  :root {
    --container: 82rem;
    --section-py: 6.5rem;
  }

  .nav-shell {
    max-width: 94rem;
  }

  .desktop-nav {
    gap: 1.3rem;
  }

  .nav-link {
    font-size: 15px;
  }

  .service-grid,
  .svc-grid {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)) !important;
  }

  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 2.5rem;
  }
}

/* ---- Footer & Footer Logo ---- */
.footer-logo {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer {
  background: #081325;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  max-width: var(--container, 1200px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NOTE: The canonical .footer-grid definition with responsive breakpoints
   is above (lines ~2022+). The block below provides the shared footer
   utility styles only — grid layout is NOT redefined here. */

.footer-grid h4 {
  color: #fff;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
}

.footer-grid ul a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-grid ul a:hover {
  color: var(--emerald, #10b981);
}

.footer-ci {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.84rem;
}

.footer-ci i {
  color: var(--emerald, #10b981);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 480px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ================================================================
   ACCESSIBILITY — Reduced Motion
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-track,
  .client-logo-track {
    animation: none !important;
  }
}

/* ================================================================
   TABLET PORTRAIT (769px – 1024px) — Targeted improvements
   that the mobile-collapse block should NOT have affected
   ================================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Hero grid: 55/45 split rather than 50/50 */
  .hero-inner {
    grid-template-columns: 55% 45%;
    gap: 2rem;
  }

  /* Val-prop: comfortable height on tablet */
  .val-prop-img-col {
    height: 420px !important;
  }

  /* Wider container than phones */
  .container {
    padding-inline: 2rem;
  }

  /* Testimonial cards: 2 visible at a time */
  .testimonial-card {
    min-width: min(50%, 400px);
  }

  /* FAQ: keep comfortable touch targets */
  .faq-question,
  .faq-btn {
    padding: 1.25rem 1.75rem;
  }

  /* Stat cards: 2-col grid instead of collapsing to 1 */
  .quote-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ================================================================
   PRINT STYLES — Clean, ink-saving output
   ================================================================ */
@media print {
  .header-wrapper,
  .mobile-sticky-cta,
  .floating-actions,
  .left-sticky-quote,
  #scroll-progress,
  #toast-container {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
    padding: 0;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  h1, h2, h3, h4, h5 {
    color: #000;
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
  }
}