/* ==========================================================================
   Prince Engineering Service — main stylesheet
   Built on Bootstrap 5.3. Brand colours taken from the logo (#1979BD / #747474)
   and the original chiller hero artwork (plant-room navy).
   ========================================================================== */

:root {
  --pe-blue: #1979bd;          /* logo blue */
  --pe-blue-600: #135f96;
  --pe-blue-050: #eaf4fb;      /* frost */
  --pe-navy: #0d1b2a;          /* plant room */
  --pe-navy-800: #13263a;
  --pe-steel: #5b6875;         /* muted text, close to logo grey */
  --pe-line: #d9e3ec;
  --pe-ink: #14202c;
  --pe-amber: #f5a524;         /* 24/7 breakdown signal */
  --pe-amber-600: #d98c0b;
  --pe-white: #ffffff;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius: 10px;
  --header-h: 84px;

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--pe-ink);
  --bs-link-color: var(--pe-blue);
  --bs-link-color-rgb: 25, 121, 189;
  --bs-link-hover-color: var(--pe-blue-600);
  --bs-primary: var(--pe-blue);
  --bs-primary-rgb: 25, 121, 189;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { overflow-x: clip; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--pe-ink); background: var(--pe-white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; letter-spacing: -0.005em; color: inherit; }
.h3, h3 { font-size: 1.75rem; }
p { margin-bottom: 1.1rem; }
img { max-width: 100%; height: auto; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
address { font-style: normal; }
::selection { background: var(--pe-blue); color: #fff; }
:focus-visible { outline: 3px solid var(--pe-amber); outline-offset: 2px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--pe-amber); color: var(--pe-navy); padding: .6rem 1rem; font-weight: 600; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-ice { background: var(--pe-blue-050); }
.section-navy { background: var(--pe-navy); color: #dbe6f0; }
.section-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1rem; }
.section-navy .section-title { color: #fff; }
.text-muted-2 { color: var(--pe-steel); }
.section-navy .text-muted-2 { color: #9fb3c6; }

/* Blueprint grid texture used on navy panels */
.blueprint { position: relative; isolation: isolate; }
.blueprint::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: .01em; border-radius: var(--radius-sm); padding: .7rem 1.4rem; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn-lg { font-size: 1.3rem; padding: .85rem 1.7rem; }
.btn-brand { background: var(--pe-blue); color: #fff; border: 1px solid var(--pe-blue); }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--pe-blue-600); border-color: var(--pe-blue-600); color: #fff; }
.btn-amber { background: var(--pe-amber); color: var(--pe-navy); border: 1px solid var(--pe-amber); }
.btn-amber:hover, .btn-amber:focus-visible { background: var(--pe-amber-600); border-color: var(--pe-amber-600); color: var(--pe-navy); }
.btn-outline-light { border-color: rgba(255,255,255,.55); }
.btn-outline-brand { border: 1px solid var(--pe-blue); color: var(--pe-blue); background: transparent; }
.btn-outline-brand:hover { background: var(--pe-blue); color: #fff; }
.btn-call { width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; background: var(--pe-amber); color: var(--pe-navy); border-radius: 50%; }

.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

.badge-247 { display: inline-flex; align-items: center; gap: .3rem; background: var(--pe-amber); color: var(--pe-navy); font-family: var(--font-head); font-weight: 700; font-size: .95rem; padding: .1rem .55rem; border-radius: 3px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--pe-navy); color: #b8c7d6; font-size: .9rem; padding: .45rem 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--pe-amber); }
.topbar .list-inline-item:not(:last-child) { margin-right: 1.5rem; }
.topbar i { margin-right: .25rem; }
.topbar-sep { display: inline-block; width: 1px; height: .9em; background: #3b5168; margin: 0 .9rem; vertical-align: -1px; }

/* ---------- Header / navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
@media (min-width: 992px) { .site-header { background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); } }
.site-header.is-scrolled { border-bottom-color: var(--pe-line); box-shadow: 0 6px 24px -12px rgba(13,27,42,.25); }
.site-header .navbar { min-height: var(--header-h); padding: .35rem 0; }
.navbar-brand img { height: 58px; width: auto; transition: height .25s; }
.site-header.is-scrolled .navbar-brand img { height: 48px; }

.navbar .nav-link { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--pe-ink); padding: .5rem .85rem !important; position: relative; }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .nav-link.show { color: var(--pe-blue); }
@media (min-width: 992px) {
  .navbar .nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; background: var(--pe-blue); transform: scaleX(0); transform-origin: left; transition: transform .25s; border: 0; margin: 0; }
  .navbar .nav-link.dropdown-toggle::after { display: block; vertical-align: 0; }
  .navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
  .navbar .dropdown-toggle { padding-right: 1.7rem !important; }
  .navbar .dropdown-toggle::before { content: "\F282"; font-family: "bootstrap-icons"; font-size: .75rem; position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); transition: transform .2s; }
  .navbar .dropdown-toggle.show::before { transform: translateY(-50%) rotate(180deg); }
}

.toggler-bar { display: block; width: 24px; height: 2px; background: var(--pe-navy); margin: 5px 0; border-radius: 2px; }
.navbar-toggler { border: 0; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }

/* Mega menu */
.mega-menu { border: 0; border-top: 3px solid var(--pe-blue); border-radius: 0; padding: 1.75rem 0 1.5rem; margin-top: 0 !important; box-shadow: 0 24px 40px -20px rgba(13,27,42,.35); }
@media (min-width: 992px) {
  .dropdown-mega .mega-menu { left: 0; right: 0; width: 100%; }
  .dropdown-mega .mega-menu.show { animation: megaIn .22s ease-out; }
}
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--pe-steel); margin-bottom: .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--pe-line); }
.mega-list .dropdown-item { display: flex; align-items: center; gap: .65rem; padding: .5rem .25rem; font-weight: 500; color: var(--pe-ink); border-radius: var(--radius-sm); white-space: normal; }
.mega-list .dropdown-item i { color: var(--pe-blue); font-size: 1.1rem; width: 1.3rem; text-align: center; }
.mega-list .dropdown-item:hover, .mega-list .dropdown-item.active { background: var(--pe-blue-050); color: var(--pe-blue-600); }

/* Offcanvas (mobile) */
@media (max-width: 991.98px) {
  .offcanvas { max-width: 86vw; }
  .offcanvas-body { display: flex; flex-direction: column; }
  .navbar .nav-link { font-size: 1.35rem; border-bottom: 1px solid var(--pe-line); }
  .mega-menu { box-shadow: none; border-top: 0; padding: .5rem 0 1rem; background: var(--pe-blue-050); }
  .mega-title { margin-top: .75rem; }
  .offcanvas-contact { margin-top: auto; padding-top: 1.5rem; display: grid; gap: .6rem; }
  .offcanvas-contact a { text-decoration: none; color: var(--pe-ink); font-weight: 500; }
  .offcanvas-contact i { color: var(--pe-blue); margin-right: .4rem; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--pe-navy); color: #fff; overflow: hidden; }
.hero-swiper { height: min(88vh, 820px); min-height: 560px; }
.hero-slide { position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7s ease-out; }
.swiper-slide-active .hero-bg { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,27,42,.94) 0%, rgba(13,27,42,.78) 42%, rgba(13,27,42,.25) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; color: #b9d7ee; font-weight: 500; margin-bottom: 1.25rem; }
.hero-kicker::before { content: ""; width: 36px; height: 2px; background: var(--pe-amber); }
.hero-title { font-size: clamp(3rem, 8.5vw, 6.6rem); line-height: .92; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -.015em; }
.hero-text { font-size: 1.2rem; color: #d1deea; max-width: 34em; margin-bottom: 2rem; }
.hero-slide .hero-anim { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.swiper-slide-active .hero-anim { opacity: 1; transform: none; }
.swiper-slide-active .hero-anim:nth-child(2) { transition-delay: .15s; }
.swiper-slide-active .hero-anim:nth-child(3) { transition-delay: .3s; }
.swiper-slide-active .hero-anim:nth-child(4) { transition-delay: .45s; }

.hero-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 2rem; }
.hero-controls .container { display: flex; align-items: center; gap: 1rem; }
.hero-pagination.swiper-pagination { position: static; width: auto; display: flex; gap: .5rem; }
.hero-pagination .swiper-pagination-bullet { width: 42px; height: 3px; border-radius: 0; background: rgba(255,255,255,.35); opacity: 1; margin: 0 !important; transition: background .3s; }
.hero-pagination .swiper-pagination-bullet-active { background: var(--pe-amber); }
.hero-nav { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 50%; transition: background .2s, border-color .2s; }
.hero-nav:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* Readout strip beneath hero */
.readout { background: var(--pe-navy-800); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.readout .col { padding: 1.6rem 1rem; border-right: 1px solid rgba(255,255,255,.08); }
.readout .col:last-child { border-right: 0; }
.readout-value { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: #fff; }
.readout-value small { font-size: .5em; color: var(--pe-amber); margin-left: .15rem; }
.readout-label { color: #9fb3c6; font-size: .95rem; margin: .35rem 0 0; }
@media (max-width: 767.98px) {
  .readout .col { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .readout .col:nth-child(2n) { border-right: 0; }
}

@media (max-width: 767.98px) {
  .hero-swiper { height: auto; min-height: 640px; }
  .hero-slide { align-items: flex-start; padding: 4rem 0 6.5rem; }
  .hero-slide::after { background: linear-gradient(180deg, rgba(13,27,42,.88), rgba(13,27,42,.8)); }
  .hero-controls { bottom: 1.5rem; }
  .hero-nav { display: none; }
  .navbar-brand img { height: 48px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem); background: var(--pe-navy); overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; animation: heroZoom 14s ease-out both; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(13,27,42,.95) 10%, rgba(13,27,42,.7) 60%, rgba(25,121,189,.35) 100%); }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.page-hero-title { font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: .95; margin: 0; max-width: 16ch; }
.page-hero-sub { color: #c4d4e3; font-size: 1.2rem; margin: 1rem 0 0; max-width: 40em; }
.breadcrumb { --bs-breadcrumb-divider-color: #7f98ae; --bs-breadcrumb-item-active-color: #c4d4e3; margin-bottom: 1.25rem; font-size: .95rem; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--pe-amber); }

/* ---------- Home: service strip ---------- */
.quick-strip { position: relative; z-index: 3; }
.quick-strip .quick-link { display: flex; gap: .9rem; align-items: center; padding: 1.4rem 1.2rem; background: #fff; text-decoration: none; color: var(--pe-ink); border-right: 1px solid var(--pe-line); height: 100%; transition: background .2s; }
.quick-strip .col:last-child .quick-link { border-right: 0; }
.quick-strip .quick-link:hover { background: var(--pe-blue-050); }
.quick-link i { font-size: 1.7rem; color: var(--pe-blue); }
.quick-link strong { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.1; display: block; }
.quick-link span { color: var(--pe-steel); font-size: .92rem; }
.quick-strip-inner { box-shadow: 0 20px 40px -24px rgba(13,27,42,.45); border-radius: var(--radius-sm); overflow: hidden; margin-top: -1px; border: 1px solid var(--pe-line); }
@media (max-width: 991.98px) { .quick-strip .col { flex: 0 0 50%; } .quick-strip .quick-link { border-bottom: 1px solid var(--pe-line); } }

/* ---------- Welcome / about split ---------- */
.split-media { position: relative; }
.split-media .img-main { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .img-inset { position: absolute; width: 46%; right: -1rem; bottom: -2.5rem; border: 6px solid #fff; border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; box-shadow: 0 20px 40px -20px rgba(13,27,42,.5); }
.since-tag { position: absolute; left: -1rem; top: 1.5rem; background: var(--pe-blue); color: #fff; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-family: var(--font-head); line-height: 1; }
.since-tag b { display: block; font-size: 2.4rem; }
@media (max-width: 575.98px) { .split-media .img-inset { right: .5rem; } .since-tag { left: .5rem; } }

.promise-list { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.promise-list li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; }
.promise-list i { color: var(--pe-blue); font-size: 1.35rem; line-height: 1.2; }
@media (max-width: 479.98px) { .promise-list { grid-template-columns: 1fr; } }

/* ---------- Service index (home + others) ---------- */
.svc-group + .svc-group { margin-top: 3.5rem; }
.svc-group-title { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; color: var(--pe-steel); margin-bottom: 1.25rem; display: flex; align-items: center; gap: .8rem; }
.svc-group-title::after { content: ""; flex: 1; height: 1px; background: var(--pe-line); }
.section-navy .svc-group-title { color: #9fb3c6; }
.section-navy .svc-group-title::after { background: rgba(255,255,255,.12); }

.svc-tile { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--pe-ink); background: #fff; border: 1px solid var(--pe-line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
.svc-tile:hover { border-color: var(--pe-blue); transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(13,27,42,.55); color: var(--pe-ink); }
.svc-tile-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--pe-blue-050); }
.svc-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-tile:hover .svc-tile-img img { transform: scale(1.06); }
.svc-tile-body { padding: 1.2rem 1.3rem 1.4rem; display: block; }
.svc-tile-title { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; line-height: 1.1; }
.svc-tile-title::after { content: "\F138"; font-family: "bootstrap-icons"; font-size: 1.1rem; color: var(--pe-blue); transition: transform .25s; }
.svc-tile:hover .svc-tile-title::after { transform: translateX(4px); }
.svc-tile-text { display: block; color: var(--pe-steel); font-size: .98rem; margin-top: .4rem; }

/* compact row variant (navy section) */
.svc-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.12); text-decoration: none; color: #fff; height: 100%; }
.svc-row i { font-size: 1.6rem; color: var(--pe-amber); line-height: 1; margin-top: .2rem; }
.svc-row strong { font-family: var(--font-head); font-size: 1.45rem; display: block; line-height: 1.1; }
.svc-row span { color: #9fb3c6; font-size: .98rem; }
.svc-row:hover strong { color: #8fd0ff; }

/* ---------- Process (genuine sequence: workshop overhaul) ---------- */
.process { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.process li { position: relative; padding: 2.25rem 1.4rem 1.5rem 0; border-top: 2px solid rgba(255,255,255,.15); }
.process li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -1.05rem; left: 0; background: var(--pe-navy); padding-right: .75rem; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--pe-amber); }
.process li strong { font-family: var(--font-head); font-size: 1.4rem; color: #fff; display: block; margin-bottom: .35rem; line-height: 1.1; }
.process li span { color: #a9bccd; font-size: .98rem; }
@media (max-width: 991.98px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; } }
@media (max-width: 575.98px) { .process { grid-template-columns: 1fr; } }

/* ---------- Brands marquee ---------- */
.brands-band { background: var(--pe-blue); color: #fff; padding: 1.1rem 0; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; padding: 0 1.6rem; white-space: nowrap; display: flex; align-items: center; gap: 1.6rem; }
.marquee li::after { content: ""; width: 7px; height: 7px; background: rgba(255,255,255,.5); transform: rotate(45deg); margin-left: 1.6rem; }
.brands-band:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Projects ---------- */
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; aspect-ratio: 4/3; background: var(--pe-navy); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; opacity: .9; }
.project-card:hover img { transform: scale(1.06); opacity: 1; }
.project-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1.1rem; background: linear-gradient(transparent, rgba(13,27,42,.92)); color: #fff; }
.project-card figcaption strong { font-family: var(--font-head); font-size: 1.5rem; display: block; line-height: 1.1; }
.project-card figcaption span { color: #c4d4e3; font-size: .95rem; }
.projects-swiper { padding-bottom: 3rem; }
.projects-swiper .swiper-pagination-bullet-active { background: var(--pe-blue); }

/* ---------- Clients ---------- */
.section.clients { padding-top: clamp(2.5rem, 5vw, 4rem); }
.clients-swiper .swiper-slide { display: grid; place-items: center; height: 110px; border: 1px solid var(--pe-line); border-radius: var(--radius-sm); background: #fff; }
.clients-swiper img { max-height: 70px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.clients-swiper .swiper-slide:hover img { filter: none; opacity: 1; }
.clients-swiper .swiper-wrapper { transition-timing-function: linear; }

/* ---------- Director / team ---------- */
.director { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.director img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.director-role { color: var(--pe-blue); font-weight: 600; margin-bottom: 1.25rem; }
.director blockquote { font-size: 1.12rem; border-left: 3px solid var(--pe-amber); padding-left: 1.25rem; margin: 0; color: var(--pe-steel); }
@media (max-width: 767.98px) { .director { grid-template-columns: 1fr; } }

/* ---------- Service detail ---------- */
.prose { max-width: 70ch; }
.lead-text { font-size: 1.3rem; line-height: 1.55; color: var(--pe-ink); font-weight: 500; }
.prose p { color: #334252; }
.feature-figure { margin: 2.25rem 0; }
.feature-figure img { border-radius: var(--radius); width: 100%; max-height: 460px; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.5rem; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 500; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: -.05rem; color: #fff; background: var(--pe-blue); width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center; font-size: .95rem; }
@media (max-width: 575.98px) { .check-list { grid-template-columns: 1fr; } }

.brand-chips li { border: 1px solid var(--pe-line); padding: .3rem .8rem; border-radius: 99px; font-weight: 500; font-size: .95rem; background: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.gallery-item { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--pe-blue-050); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13,27,42,.45); color: #fff; font-size: 1.4rem; opacity: 0; transition: opacity .25s; }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; }
@media (max-width: 575.98px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sidebar-sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
.side-nav { border: 1px solid var(--pe-line); border-radius: var(--radius); overflow: hidden; }
.side-nav-title { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin: 0; padding: 1rem 1.25rem; background: var(--pe-blue-050); }
.side-nav a { display: flex; align-items: center; gap: .7rem; padding: .85rem 1.25rem; border-top: 1px solid var(--pe-line); text-decoration: none; color: var(--pe-ink); font-weight: 500; transition: background .2s, color .2s, padding .2s; }
.side-nav a i { color: var(--pe-blue); }
.side-nav a:hover { background: var(--pe-blue-050); padding-left: 1.5rem; }
.side-nav a.active { background: var(--pe-blue); color: #fff; }
.side-nav a.active i { color: #fff; }

.call-card { background: var(--pe-navy); color: #c4d4e3; padding: 1.6rem; border-radius: var(--radius); position: relative; overflow: hidden; }
.call-card::before { content: "\F5B4"; font-family: "bootstrap-icons"; position: absolute; right: -1rem; bottom: -2rem; font-size: 9rem; color: rgba(255,255,255,.04); }
.call-card-title { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: #fff; margin: .8rem 0 .4rem; line-height: 1.1; }

/* Applications grid */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: var(--pe-line); border: 1px solid var(--pe-line); border-radius: var(--radius); overflow: hidden; }
.app-grid > div { background: #fff; padding: 1.3rem 1.25rem; display: flex; gap: .85rem; }
.app-grid i { font-size: 1.5rem; color: var(--pe-blue); }
.app-grid strong { font-family: var(--font-head); font-size: 1.3rem; display: block; line-height: 1.1; }
.app-grid span { color: var(--pe-steel); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--pe-line); border-radius: var(--radius); padding: 2rem; height: 100%; }
.quote-card blockquote { font-size: 1.12rem; margin-bottom: 1.25rem; }
.quote-card .who { font-weight: 600; }
.quote-card .who span { display: block; color: var(--pe-steel); font-weight: 400; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-info { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--pe-line); border-radius: var(--radius); background: #fff; }
.contact-item i { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 50%; background: var(--pe-blue-050); color: var(--pe-blue); font-size: 1.3rem; }
.contact-item h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.contact-item p, .contact-item address { margin: 0; color: var(--pe-steel); }
.contact-item a { color: var(--pe-ink); text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: var(--pe-blue); }

.form-panel { background: #fff; border: 1px solid var(--pe-line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 30px 60px -40px rgba(13,27,42,.45); }
.form-label { font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.form-control, .form-select { border-radius: var(--radius-sm); border-color: #c9d6e2; padding: .7rem .9rem; font-size: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--pe-blue); box-shadow: 0 0 0 .2rem rgba(25,121,189,.2); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; border-radius: var(--radius-sm); padding: .85rem 1rem; margin-top: 1rem; font-weight: 500; }
.form-status.is-success { display: block; background: #e7f6ec; color: #17633a; }
.form-status.is-error { display: block; background: #fdecec; color: #9b1c1c; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--pe-line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: saturate(.85); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--pe-blue) url("../images/hero/blue-pipes.jpg") center/cover; position: relative; isolation: isolate; color: #e6f1fa; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(19,95,150,.97) 30%, rgba(25,121,189,.82)); }
.cta-title { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: .75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pe-navy); color: #9fb3c6; padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: .98rem; }
.site-footer a { color: #d4e1ec; text-decoration: none; }
.site-footer a:hover { color: var(--pe-amber); }
.footer-logo { height: 56px; width: auto; }
.footer-title { font-size: 1.35rem; color: #fff; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .45rem; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .75rem; }
.footer-contact i { color: var(--pe-amber); }
.socials a { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.footer-bottom { margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; font-size: .9rem; }
.footer-bottom .list-inline-item:not(:last-child) { margin-right: 1.1rem; }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; right: 1.1rem; z-index: 1020; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; border: 0; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .2s, opacity .3s; }
.fab:hover { transform: translateY(-3px); }
.fab-whatsapp { bottom: 1.1rem; background: #25d366; color: #fff; }
.fab-whatsapp:hover { color: #fff; }
.fab-top { bottom: 5rem; background: var(--pe-navy); color: #fff; width: 44px; height: 44px; font-size: 1.1rem; right: 1.5rem; opacity: 0; pointer-events: none; }
.fab-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- 404 ---------- */
.notfound-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 20vw, 12rem); line-height: .85; color: var(--pe-blue); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-bg { transform: none !important; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden] { display: none; }
}
