/* ==========================================================================
   APEXITY LTD — Plumbing, Heating & Construction
   Brand stylesheet (Bootstrap 5 override + custom components)
   ========================================================================== */

:root {
  --navy: #0a2540;
  --navy-dark: #071a30;
  --blue: #1e6fe0;
  --blue-light: #3b8bf5;
  --ink: #10233b;
  --muted: #5b6b7f;
  --line: #e6ebf2;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #0a2540 0%, #123b6b 45%, #1e6fe0 100%);
  --gradient-btn: linear-gradient(135deg, #1e6fe0 0%, #0a2540 100%);
  --shadow-sm: 0 6px 18px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 14px 40px rgba(10, 37, 64, 0.14);
  --radius: 14px;
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

a { text-decoration: none; transition: all .25s ease; }
p { color: var(--muted); }
section { position: relative; }

.text-blue { color: var(--blue) !important; }
.text-navy { color: var(--navy) !important; }
.bg-navy { background: var(--navy) !important; }
.bg-soft { background: var(--bg-soft) !important; }
.bg-gradient-brand { background: var(--gradient) !important; }

/* ---------- Buttons ---------- */
.btn { border-radius: 50px; font-weight: 600; padding: .72rem 1.9rem; transition: all .35s cubic-bezier(.2,.7,.3,1); position: relative; overflow: hidden; }
.btn-brand {
  background: linear-gradient(135deg, #2e7be4 0%, #1e6fe0 55%, #0a2540 140%);
  color: #fff;
  border: none;
  box-shadow: 0 10px 26px rgba(30, 111, 224, 0.38);
}
.btn-brand::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-brand:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(30, 111, 224, 0.5); }
.btn-brand:hover::after { left: 130%; }
.btn-outline-light-brand { border: 2px solid rgba(255,255,255,.65); color: #fff; backdrop-filter: blur(4px); }
.btn-outline-light-brand:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn-outline-brand { border: 2px solid var(--blue); color: var(--blue); }
.btn-outline-brand:hover { background: var(--blue); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(30,111,224,.3); }

/* ---------- Section titles ---------- */
.section-pad { padding: 90px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .7rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--gradient-btn); border-radius: 2px;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: #7db8ff; }
.eyebrow.light::before { background: linear-gradient(90deg,#5aa6ff,#9cc9ff); }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.divider { width: 64px; height: 4px; background: var(--gradient-btn); border-radius: 4px; }

/* ---------- Navbar ---------- */
.navbar { transition: all .35s ease; padding: .85rem 0; }
.navbar-brand img { height: 72px; width: auto; transition: all .3s ease; }
.navbar .nav-link {
  font-weight: 600;
  color: var(--navy) !important;
  margin: 0 .35rem;
  position: relative;
}
.navbar .nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--blue); transition: width .3s ease;
}
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { width: 100%; }
.navbar .nav-link.active { color: var(--blue) !important; }
.navbar.scrolled { background: #fff !important; box-shadow: var(--shadow-sm); padding: .5rem 0; }
.navbar.scrolled .navbar-brand img { height: 58px; }
.topbar { background: var(--navy); color: #cdd8e6; font-size: .85rem; }
.topbar a { color: #cdd8e6; }
.topbar a:hover { color: #fff; }

/* =================================================================
   HERO — split-panel: solid navy left content + image mosaic right
   ================================================================= */
.hero {
  background: linear-gradient(150deg, #060f1e 0%, #0a2540 55%, #0c2f5e 100%);
  padding: 155px 0 90px;
  position: relative;
  overflow: hidden;
}
/* subtle dot-grid overlay */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .5;
}
/* blue glow accent */
.hero::after {
  content: ''; position: absolute; top: -180px; right: 35%; z-index: 0;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,111,224,.22), transparent 68%);
}
.hero .container { position: relative; z-index: 2; }

/* ---- Left content ---- */
.hero-content { color: #fff; }
.hero-content .badge-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  padding: .5rem 1.2rem; border-radius: 50px; font-size: .8rem; color: #d8eaff;
  backdrop-filter: blur(8px); font-weight: 500; margin-bottom: 1.5rem;
}
.hero-content .badge-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #45d483; flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(69,212,131,.22); animation: dot-pulse 2s ease infinite;
}
@keyframes dot-pulse {
  0%,100%{ box-shadow: 0 0 0 4px rgba(69,212,131,.22); }
  50%  { box-shadow: 0 0 0 8px rgba(69,212,131,.08); }
}
.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.09; font-weight: 800;
  color: #fff; letter-spacing: -.025em; margin-bottom: 1.2rem;
}
.hero-title .accent {
  background: linear-gradient(105deg, #5eaaff 0%, #a8d1ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-content .lead {
  color: #b5ccdf; font-size: 1.1rem; line-height: 1.8;
  max-width: 500px; margin-bottom: 2rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: .75rem; }
.trust-item .t-ico {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center; color: #5eaaff; flex-shrink: 0; font-size: .9rem;
}
.trust-item .t-text strong { display: block; color: #fff; font-size: .88rem; line-height: 1.25; }
.trust-item .t-text span { font-size: .78rem; color: #96b4cb; }

/* ---- Right image mosaic ---- */
.hero-mosaic { position: relative; height: 540px; }
.hero-mosaic .m-img {
  position: absolute; object-fit: cover; border-radius: 16px;
  border: 3px solid rgba(255,255,255,.12);
}
.hero-mosaic .m-main {
  top: 0; left: 0; width: 63%; height: 318px;
  border-radius: 20px; box-shadow: 0 28px 55px rgba(0,0,0,.55);
}
.hero-mosaic .m-side  { top: 0;    right: 0; width: 34%; height: 150px; box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.hero-mosaic .m-side2 { top: 165px; right: 0; width: 34%; height: 150px; box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.hero-mosaic .m-bot   { bottom: 0; left: 0;  width: 47%; height: 208px; box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.hero-mosaic .m-bot2  { bottom: 0; right: 0; width: 50%; height: 208px; box-shadow: 0 16px 36px rgba(0,0,0,.45); }

/* experience badge over mosaic */
.exp-badge {
  position: absolute; bottom: 218px; left: 65%; transform: translateX(-50%);
  width: 118px; height: 118px; border-radius: 50%; z-index: 4; text-align: center;
  background: linear-gradient(135deg, #1e6fe0 0%, #071a30 100%);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: 0 0 0 7px rgba(30,111,224,.28), 0 0 0 14px rgba(30,111,224,.1), 0 20px 48px rgba(0,0,0,.55);
}
.exp-badge::before {
  content: ''; position: absolute; inset: -11px; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.35);
  animation: exp-spin 14s linear infinite;
}
@keyframes exp-spin { to { transform: rotate(360deg); } }
.exp-badge .n    { font-size: 2.2rem; font-weight: 900; line-height: 1; display: block; letter-spacing: -.02em; }
.exp-badge .exp-sep { width: 30px; height: 1px; background: rgba(255,255,255,.3); display: block; }
.exp-badge small { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #9cc9ff; }

/* ---- White feature bar below hero ---- */
.hero-feature-bar {
  background: #fff;
  border-top: 4px solid var(--blue);
  box-shadow: 0 6px 28px rgba(10,37,64,.1);
  position: relative; z-index: 10;
}
.hero-feat {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem 2rem; border-right: 1px solid var(--line);
}
.hero-feat:last-child { border-right: none; }
.hero-feat .f-ico {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px;
  background: rgba(30,111,224,.09); color: var(--blue);
  display: grid; place-items: center; font-size: 1.3rem;
}
.hero-feat h6 { color: var(--navy); font-size: .98rem; margin: 0 0 3px; font-weight: 700; }
.hero-feat span { color: var(--muted); font-size: .84rem; }

/* =================================================================
   PAGE HERO — inner pages with real background images
   ================================================================= */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 160px 0 80px;
}
.page-hero .ph-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.page-hero:hover .ph-bg { transform: scale(1.06); }
.page-hero .ph-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(4,12,30,.95) 0%,
    rgba(10,37,64,.88) 45%,
    rgba(10,44,90,.78) 100%);
}
.page-hero .ph-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .5;
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero .ph-line { width: 58px; height: 4px; background: var(--gradient-btn); border-radius: 4px; margin-bottom: .8rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin-bottom: .4rem; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: #8bafd4; margin: 0; }
.page-hero .breadcrumb a { color: #b8cfea; }
.page-hero .breadcrumb .active { color: #fff; }

/* ---------- Stats ---------- */
.stats-wrap {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-md);
  padding: 2rem 1rem; border: 1px solid var(--line);
}
.stat-card { text-align: center; padding: 1rem; position: relative; }
.stat-card + .stat-card::before {
  content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: var(--line);
}
.stat-card .num { font-size: 2.7rem; font-weight: 800; line-height: 1;
  background: var(--gradient-btn); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card .label { font-size: .95rem; color: var(--muted); margin-top: .5rem; font-weight: 500; }
@media (max-width: 767px){ .stat-card + .stat-card::before { display: none; } }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.3rem 1.9rem;
  height: 100%;
  transition: all .4s cubic-bezier(.2,.7,.3,1);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: linear-gradient(160deg, rgba(30,111,224,.06), rgba(10,37,64,.02));
  transition: opacity .4s ease;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: rgba(30,111,224,.25); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service-icon {
  width: 68px; height: 68px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.65rem; color: #fff;
  background: var(--gradient-btn); margin-bottom: 1.3rem;
  box-shadow: 0 10px 24px rgba(30,111,224,.35);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.service-card h4 { font-size: 1.22rem; margin-bottom: .6rem; }

/* ---------- Feature / why-us ---------- */
.feature-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.6rem; }
.feature-item .ico {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(30,111,224,.1); color: var(--blue);
  display: grid; place-items: center; font-size: 1.2rem;
}
.feature-item h5 { font-size: 1.05rem; margin-bottom: .2rem; }

/* ---------- Image blocks ---------- */
.img-cover { border-radius: 18px; box-shadow: var(--shadow-md); object-fit: cover; width: 100%; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.img-cover:hover { transform: scale(1.02); }
.img-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--gradient-btn); color: #fff; padding: 1.3rem 1.7rem;
  border-radius: 18px; box-shadow: 0 18px 40px rgba(30,111,224,.4);
}
.img-badge .big { font-size: 2.1rem; font-weight: 800; line-height: 1; }

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .5s ease; display: block; }
.gallery-item .g-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(10,37,64,.62); opacity: 0; transition: opacity .35s ease;
}
.gallery-item .g-overlay i { color: #fff; font-size: 1.8rem; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .g-overlay { opacity: 1; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff; border-radius: 18px; padding: 2.2rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); height: 100%;
  position: relative; transition: all .35s ease;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 6px; right: 22px;
  font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: rgba(30,111,224,.12);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-card .stars { color: #ffc542; margin-bottom: .8rem; }
.testimonial-card .who { font-weight: 700; color: var(--navy); }
.testimonial-card .who-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--gradient-btn);
  color: #fff; display: grid; place-items: center; font-weight: 700; margin-right: .8rem;
}

/* ---------- CTA strip ---------- */
/* ---------- CTA duo ---------- */
.cta-duo {
  display: flex; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,37,64,.15);
}
.cta-duo-left {
  flex: 1; background: #fff; padding: 3.2rem 3.4rem;
}
.cta-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #e8f1ff; color: var(--blue);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .38em 1.1em; border-radius: 50px; margin-bottom: 1.2rem;
}
.cta-duo-left h2 { color: var(--navy); font-size: 2.1rem; font-weight: 800; margin-bottom: .9rem; line-height: 1.2; }
.cta-duo-left p { color: var(--text-light); margin-bottom: 0; max-width: 480px; }
.btn-outline-navy {
  border: 2px solid var(--navy); color: var(--navy); background: transparent;
  font-weight: 700; padding: .68rem 1.6rem; border-radius: 50px; transition: all .25s;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.cta-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.cta-checks li { font-size: .85rem; color: var(--text-light); font-weight: 500; display: flex; align-items: center; gap: .45rem; }
.cta-checks li i { color: var(--blue); font-size: .7rem; }
.cta-duo-right {
  width: 300px; min-width: 260px; background: var(--navy-dark);
  padding: 3.2rem 2.4rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.cta-ico {
  width: 70px; height: 70px; background: rgba(255,255,255,.07);
  border: 2px solid rgba(255,255,255,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #9cc9ff; margin-bottom: 1.2rem;
}
.cta-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #9cc9ff; margin-bottom: .4rem; }
.cta-phone {
  display: block; font-size: 1.55rem; font-weight: 800; color: #fff;
  text-decoration: none; line-height: 1.2; margin-bottom: .8rem;
}
.cta-phone:hover { color: #9cc9ff; }
.cta-divider { width: 40px; height: 2px; background: rgba(255,255,255,.12); margin: .8rem auto; }
.cta-hours { font-size: .82rem; color: rgba(255,255,255,.5); margin: .25rem 0; }

/* ---------- Process steps (theme-inspired) ---------- */
.process-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.process-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 90% 0%, rgba(46,123,228,.28), transparent 60%);
}
.process-band .container { position: relative; z-index: 2; }
.process-band h2 { color: #fff; }
.process-step {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 2.2rem 1.6rem; height: 100%; position: relative;
  transition: all .4s cubic-bezier(.2,.7,.3,1);
}
.process-step:hover { background: rgba(46,123,228,.16); border-color: rgba(90,166,255,.4); transform: translateY(-8px); }
.process-step .step-no {
  position: absolute; top: 18px; right: 22px; font-size: 2.6rem; font-weight: 800;
  color: rgba(255,255,255,.08); line-height: 1;
}
.process-step .p-ico {
  width: 66px; height: 66px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; color: #fff; background: var(--gradient-btn); margin-bottom: 1.2rem;
  box-shadow: 0 10px 24px rgba(30,111,224,.4);
}
.process-step h5 { color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }
.process-step p { color: #a9c1dd; margin: 0; }

/* ---------- About play button ---------- */
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 78px; height: 78px; border-radius: 50%; background: #fff; color: var(--blue);
  display: grid; place-items: center; font-size: 1.4rem; z-index: 3;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.play-btn::before, .play-btn::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.7);
  animation: pulseRing 2.4s ease-out infinite;
}
.play-btn::after { animation-delay: 1.2s; }
@keyframes pulseRing { 0%{ transform: scale(1); opacity: .8; } 100%{ transform: scale(1.7); opacity: 0; } }

/* ---------- Achievements band ---------- */
.achieve-band { background: var(--gradient); color: #fff; }
.achieve-item { text-align: center; padding: 1rem; }
.achieve-item .ico { font-size: 2rem; color: #9cc9ff; margin-bottom: .5rem; }
.achieve-item .num { font-size: 2.6rem; font-weight: 800; line-height: 1; color: #fff; }
.achieve-item .label { color: #c3d5ea; margin-top: .4rem; }

/* ---------- Newsletter ---------- */
.newsletter-band {
  background: linear-gradient(135deg,#2e7be4,#0a2540); border-radius: 20px; padding: 2.6rem 2.8rem; color: #fff;
  position: relative; overflow: hidden;
}
.newsletter-band::before {
  content: '\f0e0'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
  font-size: 9rem; color: rgba(255,255,255,.08);
}
.newsletter-band h3 { color: #fff; }
.news-input-wrap {
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border-radius: 50px; padding: .4rem .4rem .4rem 1.4rem;
}
.news-input-wrap i { color: #aaa; font-size: .9rem; flex-shrink: 0; }
.news-input-wrap input {
  flex: 1; min-width: 0; border: none; outline: none;
  background: transparent; font-size: .93rem; color: #333;
  font-family: var(--font);
}
.news-input-wrap input::placeholder { color: #b0b0b0; }
.news-input-wrap .btn { flex-shrink: 0; border-radius: 50px; height: 46px; padding: 0 1.4rem; white-space: nowrap; }

/* ---------- Contact ---------- */
.contact-info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; height: 100%; transition: all .3s ease;
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.contact-info-card .ico {
  width: 54px; height: 54px; border-radius: 14px; background: var(--gradient-btn);
  color: #fff; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1rem;
}
.form-control, .form-select {
  border-radius: 10px; border: 1px solid var(--line); padding: .8rem 1rem;
}
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .2rem rgba(30,111,224,.15); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: #b7c6d8; padding-top: 70px; }
.footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; }
.footer a { color: #b7c6d8; }
.footer a:hover { color: var(--blue-light); padding-left: 4px; }
.footer .logo-foot { height: 72px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: .6rem; }
.footer .social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: inline-grid; place-items: center; margin-right: .5rem; color: #fff;
}
.footer .social a:hover { background: var(--blue); padding-left: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; margin-top: 50px; font-size: .88rem; }

/* ---------- Floating WhatsApp ---------- */
#whatsappBtn {
  position: fixed; bottom: 84px; right: 24px; width: 52px; height: 52px;
  border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem; z-index: 999; text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
#whatsappBtn:hover { transform: scale(1.12); box-shadow: 0 10px 28px rgba(37,211,102,.6); color: #fff; animation: none; }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.35); }
  50%      { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 10px rgba(37,211,102,0); }
}

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed; bottom: 25px; right: 25px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--gradient-btn); color: #fff; border: none;
  display: none; place-items: center; z-index: 999; box-shadow: var(--shadow-md);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: all .8s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-button:not(.collapsed) { background: rgba(30,111,224,.07); color: var(--navy); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--line); }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1199px) {
  .hero-mosaic .m-main  { height: 270px; width: 62%; }
  .hero-mosaic .m-side  { height: 128px; width: 35%; }
  .hero-mosaic .m-side2 { height: 128px; width: 35%; top: 142px; }
  .hero-mosaic .m-bot   { height: 188px; }
  .hero-mosaic .m-bot2  { height: 188px; }
  .hero-mosaic { height: 476px; }
  .exp-badge { bottom: 198px; }
}

@media (max-width: 991px) {
  /* Navbar */
  .navbar-collapse {
    background: #fff; padding: 1rem 1.2rem;
    border-radius: 14px; box-shadow: var(--shadow-md); margin-top: .6rem;
  }
  .navbar-brand img { height: 58px; }

  /* Hero */
  .hero { padding: 130px 0 70px; }
  .hero-mosaic { display: none; }

  /* Feature bar */
  .hero-feat { padding: 1.2rem 1.4rem; }
  .hero-feat + .hero-feat { border-right: none; border-top: 1px solid var(--line); }

  /* Page heroes */
  .page-hero { padding: 140px 0 65px; }

  /* Stats */
  .stat-card + .stat-card::before { display: none; }
  .stats-wrap { border-radius: 14px; }

  /* Sections */
  .section-pad { padding: 72px 0; }

  /* Images */
  .img-badge { bottom: -12px; left: -10px; padding: .9rem 1.2rem; }
  .img-badge .big { font-size: 1.6rem; }

  /* CTA & newsletter */
  .cta-duo-left { padding: 2.4rem 2.2rem; }
  .cta-duo-right { width: 260px; min-width: 220px; padding: 2.4rem 1.8rem; }
  .newsletter-band { padding: 2.2rem 1.8rem; }
}

@media (max-width: 767px) {
  /* Hero */
  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: 2.1rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
  .hero-trust { gap: 1rem; }

  /* Feature bar */
  .hero-feat { flex-direction: row; padding: 1.1rem 1rem; }
  .hero-feat + .hero-feat { border-top: 1px solid var(--line); border-right: none; }

  /* Page hero */
  .page-hero { padding: 125px 0 56px; }
  .page-hero h1 { font-size: 1.9rem; }

  /* General */
  .section-pad { padding: 58px 0; }
  .section-title { font-size: 1.75rem; }

  /* Cards */
  .service-card { padding: 1.7rem 1.4rem; }
  .testimonial-card { padding: 1.6rem; }
  .process-step { padding: 1.6rem 1.3rem; }

  /* Gallery */
  .gallery-item img { height: 215px; }

  /* CTA */
  .cta-duo { flex-direction: column; }
  .cta-duo-left { padding: 2.2rem 1.8rem; }
  .cta-duo-right { width: 100%; min-width: unset; padding: 2.2rem 1.8rem; }

  /* Newsletter */
  .newsletter-band { padding: 2rem 1.4rem; }
  .newsletter-band::before { display: none; }

  /* Footer */
  .footer { padding-top: 56px; }
  .footer-bottom .container { flex-direction: column; gap: .3rem; }
  .footer .logo-foot { height: 58px; }

  /* Process band */
  .process-band h2 { font-size: 1.7rem; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.8rem; }
  .hero-content .lead { font-size: .98rem; }
  .navbar-brand img { height: 50px; }
  .btn-lg { padding: .65rem 1.5rem; font-size: .95rem; }
  .page-hero h1 { font-size: 1.75rem; }
  .gallery-item img { height: 185px; }
}
