/* ==========================================================================
   TOPS SAFETY CONTROL — Stylesheet
   Design language: industrial / marine safety. Flame-streak motif (from the
   corporate mark) + diagonal "name-plate" cuts stand in for rounded corners.
   Palette: signal red, ink black, steel gray, off-white.
   Type: Oswald (display/condensed), Inter (body), JetBrains Mono (data/codes).
   ========================================================================== */

/* -------------------------------- Tokens -------------------------------- */
:root {
  /* Colors */
  --c-red: #e0111a;
  --c-red-dark: #a10c13;
  --c-red-glow: rgba(224, 17, 26, 0.35);
  --c-black: #0a0a0b;
  --c-ink: #131416;
  --c-charcoal: #1c1e21;
  --c-steel: #8b9099;
  --c-steel-light: #c7cad0;
  --c-white: #ffffff;
  --c-off-white: #f5f4f2;
  --c-line-dark: rgba(255, 255, 255, 0.09);
  --c-line-light: rgba(10, 10, 11, 0.09);

  /* Type */
  --f-display: 'Oswald', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --header-h: 84px;
  --header-h-scrolled: 68px;
  --container-max: 1380px;
  --radius-cut: 14px; /* diagonal notch size */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------- Reset ---------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }
::selection { background: var(--c-red); color: var(--c-white); }

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}

:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 3px;
}

.container-tops {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------ Utility type ------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-red);
  font-weight: 500;
  margin-bottom: 14px;
}
.eyebrow .flame-mark { width: 16px; height: 16px; flex: none; }
.eyebrow .flame-mark path { fill: var(--c-red); }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  color: var(--c-ink);
}
.section-title .accent { color: var(--c-red); }
.section-title--light { color: var(--c-white); }

.section-lead {
  font-family: var(--f-body);
  color: var(--c-steel);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 620px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.section-pad { padding: 108px 0; position: relative; }
.section-pad--tight { padding: 84px 0; position: relative; }

.bg-ink { background: var(--c-black); }
.bg-charcoal { background: var(--c-ink); }
.bg-off { background: var(--c-off-white); }

/* ============================ SIDE DECORATIONS ============================ */
@keyframes decoFloatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(4deg); }
}
@keyframes decoFloatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(18px) rotate(-3deg); }
}
.side-deco {
  position: absolute; top: 8%; z-index: 0;
  width: clamp(90px, 9vw, 150px);
  pointer-events: none;
  opacity: 0.08;
}
.side-deco path { stroke: var(--c-red); fill: none; }
.side-deco--left { left: -34px; animation: decoFloatA 9s ease-in-out infinite; }
.side-deco--right { right: -34px; top: auto; bottom: 6%; animation: decoFloatB 11s ease-in-out infinite; }
.bg-ink .side-deco, .bg-charcoal .side-deco { opacity: 0.14; }
@media (max-width: 991px) {
  .side-deco { display: none; }
}

/* ======================== DECORATIVE ASSET OVERLAYS ========================
   Sourced from a generic light/dark ornament pack. Everything colored
   (blue/green) is desaturated via CSS filter so it reads as steel-gray
   instead of clashing with the red/black/steel palette. Neutral white
   translucent pieces (arrow, mask, line) are used as-is on dark backgrounds.
   All are pointer-events:none and hidden below 991px to keep mobile clean.
   ============================================================================ */

/* Hero — faint doodle line near the sub-copy, barely-there texture */
.hero-line-deco {
  position: absolute;
  right: 4%;
  top: 18%;
  width: clamp(160px, 16vw, 280px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  animation: decoFloatA 12s ease-in-out infinite;
}

/* Hero — small arrow accent pointing toward the primary CTA */
.hero-arrow-deco {
  position: absolute;
  left: 6%;
  bottom: 14%;
  width: clamp(60px, 5vw, 90px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}

/* CTA band — large faint mask shape in the corner, behind the flame SVG */
.cta-mask-deco {
  position: absolute;
  right: -6%;
  top: -20%;
  width: clamp(220px, 22vw, 360px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* About — steel-gray "achievement" mesh behind the stats card */
.achiv-mesh-deco {
  position: absolute;
  right: -12%;
  bottom: -14%;
  width: clamp(220px, 24vw, 340px);
  filter: grayscale(1) contrast(1.05);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

/* Capabilities — steel-gray mesh, top-right corner */
.capabilities-mesh-deco {
  position: absolute;
  right: -8%;
  top: -10%;
  width: clamp(200px, 20vw, 320px);
  filter: grayscale(1);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

/* Footer — world-map watermark (coverage: Nigeria · Ghana · Equatorial Guinea) */
.footer-map-deco {
  position: absolute;
  right: -4%;
  top: 0;
  width: clamp(320px, 34vw, 520px);
  filter: grayscale(1) invert(1);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* Footer — subtle low-poly mesh, bottom-left corner */
.footer-mesh-deco {
  position: absolute;
  left: -6%;
  bottom: -10%;
  width: clamp(200px, 20vw, 300px);
  filter: grayscale(1);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 991px) {
  .hero-line-deco, .hero-arrow-deco, .cta-mask-deco,
  .achiv-mesh-deco, .capabilities-mesh-deco,
  .footer-map-deco, .footer-mesh-deco { display: none; }
}

/* Diagonal-cut nameplate shape — echoes the TOPS badge trapezoid */
.cut-tl {
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--radius-cut) 100%, 0 calc(100% - var(--radius-cut)));
}
.cut-br {
  clip-path: polygon(var(--radius-cut) 0, 100% 0, 100% calc(100% - var(--radius-cut)), calc(100% - var(--radius-cut)) 100%, 0 100%, 0 var(--radius-cut));
}
.cut-both {
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

/* ---------------------------------- Buttons -------------------------------- */
.btn-tops {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s ease;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.btn-tops i, .btn-tops svg { transition: transform 0.35s var(--ease-out); font-size: 0.82rem; }
.btn-tops:hover i, .btn-tops:hover svg { transform: translateX(4px); }

.btn-tops--primary {
  background: var(--c-red);
  color: var(--c-white);
}
.btn-tops--primary:hover {
  background: var(--c-red-dark);
  box-shadow: 0 10px 30px -8px var(--c-red-glow);
  transform: translateY(-2px);
}

.btn-tops--outline {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-tops--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-tops--outline-dark {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid rgba(10, 10, 11, 0.25);
}
.btn-tops--outline-dark:hover {
  background: rgba(10, 10, 11, 0.06);
  transform: translateY(-2px);
}

.btn-tops--sm { padding: 10px 20px; font-size: 0.72rem; }

/* Text link with animated flame-red underline */
.link-flame {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-red);
  font-weight: 500;
  padding-bottom: 3px;
}
.link-flame::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.link-flame:hover::after { transform: scaleX(1); }
.link-flame i { transition: transform 0.3s var(--ease-out); font-size: 0.7rem; }
.link-flame:hover i { transform: translateX(4px); }

/* ================================ PRELOADER ================================ */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--c-black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#preloader .loader-mark { width: 92px; height: 74px; }
#preloader .loader-mark path {
  fill: none;
  stroke: var(--c-red);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: drawFlame 1.4s var(--ease-out) forwards infinite alternate;
}
#preloader .loader-mark path:nth-child(2) { animation-delay: 0.12s; }
#preloader .loader-mark path:nth-child(3) { animation-delay: 0.24s; }
#preloader .loader-mark path:nth-child(4) { animation-delay: 0.36s; }
@keyframes drawFlame { to { stroke-dashoffset: 0; } }


/* ================================= HEADER ================================== */
.site-header {
  position: fixed;
  top: 20px; left: 0; right: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  transition: top 0.45s var(--ease-out);
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(94%, 1080px);
  padding: 5px 22px 5px 14px;
  background: rgba(10, 10, 11, 0.75);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transition: width 0.5s var(--ease-out), padding 0.5s var(--ease-out),
              background 0.5s var(--ease-out), border-radius 0.5s var(--ease-out),
              box-shadow 0.5s var(--ease-out);
}

/* Scrolled state: expands edge-to-edge and sits flush at the top */
.site-header.is-scrolled { top: 0; }
.site-header.is-scrolled .header-shell {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  padding: 5px 32px;
  background: rgba(10, 10, 11, 0.92);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { 
  height: ; width: 100px; transition: height 0.4s var(--ease-out); 
}
.site-header.is-scrolled .brand img { height: auto; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  position: relative;
  font-family: var(--f-display);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding: 10px 15px;
  font-weight: 500;
  transition: color 0.25s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--c-white); }
.main-nav a.is-active::before {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 5px;
  height: 2px;
  background: var(--c-red);
}
.main-nav .has-caret { display: inline-flex; align-items: center; gap: 5px; }
.main-nav .has-caret i { font-size: 0.6rem; transition: transform 0.3s ease; }
.nav-item-drop:hover .has-caret i { transform: rotate(180deg); }

.nav-item-drop { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: rgba(18, 19, 21, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.55);
}
.nav-item-drop:hover .dropdown-panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-panel a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 0.76rem; letter-spacing: 0.02em;
}
.dropdown-panel a:hover { background: rgba(255, 255, 255, 0.06); }
.dropdown-panel a i { color: var(--c-red); width: 16px; }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: none; background: transparent; cursor: pointer;
}
.burger span { height: 2px; width: 100%; background: var(--c-white); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }

/* ============================= MOBILE OFFCANVAS ============================= */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1001;
  background: var(--c-black);
  display: flex; flex-direction: column;
  padding: 26px 26px 40px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav-close { background: none; border: none; color: var(--c-white); font-size: 1.4rem; cursor: pointer; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.03em;
  font-size: 1.3rem; color: var(--c-white); padding: 14px 4px;
  border-bottom: 1px solid var(--c-line-dark);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.mobile-nav-foot .btn-tops { justify-content: center; width: 100%; }
.mobile-nav-social { display: flex; gap: 14px; }
.mobile-nav-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--c-line-dark);
  display: flex; align-items: center; justify-content: center; color: var(--c-white);
}

/* Mobile submenu accordion */
.mobile-nav li.has-submenu {
  display: block;
}

.mobile-nav .mobile-parent-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-nav .submenu-caret {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.mobile-nav li.has-submenu.is-open > .mobile-parent-link .submenu-caret {
  transform: rotate(180deg);
}

.mobile-nav .mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-nav li.has-submenu.is-open > .mobile-submenu {
  max-height: 400px; /* comfortably above tallest submenu's rendered height */
}

.mobile-nav .mobile-submenu li a {
  padding-left: 1.25rem;
  font-size: 0.92em;
  opacity: 0.85;
}

.mobile-nav .mobile-submenu li a i {
  width: 1.1em;
  color: var(--c-red);
}

/* Active state for the off-canvas mobile nav — mirrors .main-nav a.is-active */
.mobile-nav a.is-active,
.mobile-nav li.has-submenu > .mobile-parent-link.is-active {
  color: var(--c-red);
  padding-left: 14px;
  border-left: 3px solid var(--c-red);
  margin-left: -4px;
}

/* Higher specificity than ".mobile-nav .mobile-submenu li a" (which dims
   items to opacity 0.85 and sets its own padding-left) so the active state
   actually wins for links living inside an open accordion submenu. */
.mobile-nav .mobile-submenu li a.is-active {
  color: var(--c-red);
  opacity: 1;
  padding-left: calc(1.25rem + 14px);
  border-left: 3px solid var(--c-red);
}

/* ================================== HERO =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--c-black);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg-photo {
  position: absolute; inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
.hero-bg-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: 
    linear-gradient(90deg, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.85) 35%, rgba(10,10,11,0.3) 55%, rgba(10,10,11,0) 75%), 
    linear-gradient(0deg, rgba(10,10,11,0.1) 0%, rgba(10,10,11,0) 10%);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, black 10%, transparent 75%);
  will-change: transform;
}
.hero-flames {
  position: absolute;
  z-index: 1;
  top: 6%; right: -4%;
  width: 62vw; max-width: 900px;
  opacity: 0.55;
  will-change: transform;
}
.hero-flames path { opacity: 0.9; }
.hero-glow {
  position: absolute; z-index: 1;
  top: -10%; right: 0%;
  width: 55vw; height: 70vh;
  background: radial-gradient(closest-side, rgba(224,17,26,0.22), transparent 70%);
  filter: blur(10px);
  will-change: transform;
}
.hero-content { position: relative; z-index: 2; padding: 60px 0 0; }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.02;
  color: var(--c-white);
  margin: 10px 0 22px;
}
.hero-title .line-1 { display: block; color: var(--c-white); }
.hero-title .line-2 { display: block; color: var(--c-red); }
.hero-sub {
  color: var(--c-steel-light);
  font-size: 1.08rem; line-height: 1.7;
  max-width: 540px; margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-line-dark);
  padding-top: 30px;
}
.hero-trust-item { display: flex; gap: 14px; align-items: flex-start; padding-right: 18px; }
.hero-trust-item i {
  font-size: 1.15rem; color: var(--c-red); margin-top: 3px; flex: none;
}
.hero-trust-item h4 {
  font-size: 0.82rem; color: var(--c-white); text-transform: none;
  font-family: var(--f-body); font-weight: 600; margin-bottom: 3px;
}
.hero-trust-item p {
  font-size: 0.78rem; color: var(--c-steel); margin: 0; line-height: 1.4;
}

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--c-steel); font-family: var(--f-mono); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase; z-index: 2;
}
.scroll-cue .stem { width: 1px; height: 34px; background: linear-gradient(var(--c-red), transparent); position: relative; overflow: hidden; }
.scroll-cue .stem::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--c-white);
  animation: scrollDrip 1.8s var(--ease-soft) infinite;
}
@keyframes scrollDrip { to { top: 100%; } }ç


/* ============================== Section HERO =============================== */

/* ================================ BREADCRUMB ================================ */
.svc-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.04em;
  color: var(--c-steel-light); text-transform: uppercase; margin-bottom: 22px;
}
.svc-breadcrumb a { color: var(--c-steel-light); transition: color 0.25s ease; }
.svc-breadcrumb a:hover { color: var(--c-white); }
.svc-breadcrumb span.sep { color: var(--c-red); }
.svc-breadcrumb span.current { color: var(--c-white); }

/* ================================ SERVICE HERO ================================ */
.service-hero {
  position: relative;
  min-height: 62vh;
  display: flex; align-items: flex-end;
  background: var(--c-black);
  overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 74px;
}
.service-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 42%;
}
.service-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,0.97) 0%, rgba(10,10,11,0.88) 32%, rgba(10,10,11,0.5) 62%, rgba(10,10,11,0.28) 100%),
    linear-gradient(0deg, rgba(10,10,11,0.9) 0%, rgba(10,10,11,0.1) 40%, rgba(10,10,11,0.05) 65%, rgba(10,10,11,0.55) 100%);
}
.service-hero .container-tops { position: relative; z-index: 2; }
.svc-hero-icon {
  width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  background: rgba(224, 17, 26, 0.14); border: 1px solid rgba(224, 17, 26, 0.4);
  margin-bottom: 24px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.svc-hero-icon i { color: var(--c-red); font-size: 1.5rem; }
.service-hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.06; color: var(--c-white);
  max-width: 780px; margin-bottom: 20px;
}
.service-hero-title .accent { color: var(--c-red); }
.service-hero-lead {
  color: var(--c-steel-light); font-size: 1.06rem; line-height: 1.75;
  max-width: 600px; margin-bottom: 34px;
}
.svc-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.svc-hero-tag {
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.05em;
  color: var(--c-steel-light); border: 1px solid var(--c-line-dark);
  padding: 7px 13px; border-radius: 30px; text-transform: uppercase;
}
.svc-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ================================ OVERVIEW ================================ */
.svc-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.svc-overview-copy p { color: var(--c-steel); font-size: 1rem; line-height: 1.8; margin: 0 0 18px; }
.svc-overview-copy p:last-child { margin-bottom: 0; }
.svc-overview-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.svc-overview-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; color: var(--c-ink); line-height: 1.5; }
.svc-overview-list i { color: var(--c-red); font-size: 0.92rem; margin-top: 3px; flex: none; }
.svc-overview-photo { position: relative; overflow: hidden; min-height: 420px; clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
.svc-overview-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.svc-overview-badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  background: var(--c-white); padding: 16px 22px;
  display: flex; align-items: center; gap: 14px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  box-shadow: 0 20px 40px -18px rgba(10,10,11,0.4);
}
.svc-overview-badge i { color: var(--c-red); font-size: 1.4rem; }
.svc-overview-badge strong { display: block; font-family: var(--f-mono); font-size: 1.15rem; color: var(--c-ink); }
.svc-overview-badge span { display: block; font-size: 0.68rem; color: var(--c-steel); text-transform: uppercase; letter-spacing: 0.04em; }

/* ============================== REVEAL ANIM ================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ================================= ABOUT ==================================== */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: center; }
.about-panel { position: relative; padding-bottom: 64px; }

/* Photo panel with floating stats card — see s.png reference */
.about-visual-photo {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}
.about-visual-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.about-visual-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,11,0.5) 0%, rgba(10,10,11,0) 42%);
}

.about-floating-card {
  position: absolute; left: 20px; right: -20px; bottom: -50px; z-index: 2;
  background: var(--c-white);
  display: grid; grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 30px 60px -20px rgba(10, 10, 11, 0.3);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
}
.about-floating-stat { padding: 26px 12px; text-align: center; position: relative; }
.about-floating-stat:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 22%; bottom: 22%; width: 1px; background: var(--c-line-light);
}
.about-floating-stat i { color: var(--c-red); font-size: 1.25rem; margin-bottom: 12px; display: block; }
.about-floating-stat .num {
  font-family: var(--f-mono); font-weight: 600; font-size: 1.5rem; color: var(--c-ink);
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.about-floating-stat .num .suffix { color: var(--c-red); font-size: 1.1rem; }
.about-floating-stat .label {
  font-size: 0.66rem; color: var(--c-steel); letter-spacing: 0.02em; margin-top: 6px;
  line-height: 1.3; text-transform: uppercase;
}
@media (max-width: 767px) {
  .about-floating-card { grid-template-columns: repeat(2, 1fr); right: 0; left: 0; position: static; margin-top: -50px; margin-left: 16px; margin-right: 16px; }
  .about-floating-stat:nth-child(2)::after { display: none; }
  .about-panel { padding-bottom: 20px; }
}

.values-tabs { display: flex; gap: 6px; margin: 34px 0 20px; flex-wrap: wrap; }
.values-tab {
  font-family: var(--f-display); font-size: 0.72rem; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--c-line-light);
  background: transparent; cursor: pointer; color: var(--c-steel); transition: all 0.25s ease;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
}
.values-tab.is-active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.values-panels { position: relative; min-height: 90px; }
.values-panel { display: none; color: var(--c-steel); line-height: 1.7; }
.values-panel.is-active { display: block; }
.value-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.value-pill {
  font-size: 0.78rem; padding: 8px 14px; border-radius: 30px;
  background: var(--c-off-white); color: var(--c-ink); display: inline-flex; align-items: center; gap: 8px;
}
.value-pill i { color: var(--c-red); font-size: 0.75rem; }

/* ================================ SERVICES ================================== */
.service-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line-light);
  padding: 34px 28px 30px;
  height: 100%;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s ease;
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -24px rgba(10,10,11,0.25);
  border-color: transparent;
}
.service-card .idx {
  font-family: var(--f-mono); color: var(--c-line-light); font-size: 2.2rem;
  position: absolute; top: 18px; right: 22px; font-weight: 500;
  -webkit-text-stroke: 1px rgba(10,10,11,0.14); color: transparent;
}
.service-card .icon-wrap {
  width: 56px; height: 56px; background: var(--c-off-white);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  transition: background 0.35s ease;
}
.service-card:hover .icon-wrap { background: var(--c-red); }
.service-card .icon-wrap i { font-size: 1.35rem; color: var(--c-red); transition: color 0.35s ease; }
.service-card:hover .icon-wrap i { color: var(--c-white); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 0.01em; }
.service-card p { color: var(--c-steel); font-size: 0.88rem; line-height: 1.65; margin-bottom: 18px; }
.service-standards { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.service-standards span {
  font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.02em;
  color: var(--c-steel); border: 1px solid var(--c-line-light); padding: 3px 8px; border-radius: 4px;
}

/* ============================ INTEGRATED SOLUTIONS =========================== */
#solutions {
  background: linear-gradient(135deg, #7c0f15 0%, #4b0a0d 100%);
  position: relative;
  overflow: hidden;
}
#solutions .eyebrow { color: var(--c-white); }
#solutions .eyebrow .flame-mark path { fill: var(--c-white); }
#solutions .section-title { color: var(--c-white); }
#solutions .section-lead { color: rgba(255, 255, 255, 0.86); }
#solutions .slider-arrow { border-color: rgba(255, 255, 255, 0.4); color: var(--c-white); }
#solutions .slider-arrow:hover { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }
#solutions .swiper-pagination-bullet { background: rgba(255, 255, 255, 0.5); opacity: 1; }
#solutions .swiper-pagination-bullet-active { background: var(--c-black); }

.solution-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line-light);
  height: 100%;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s ease;
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
}
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -24px rgba(10,10,11,0.25);
  border-color: transparent;
}
.solution-card .solution-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.solution-card .solution-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.solution-card:hover .solution-media img { transform: scale(1.06); }
.solution-card .solution-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0) 45%);
}
.solution-card .idx {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  width: 46px; height: 46px;
  background: var(--c-red); color: var(--c-white);
  font-family: var(--f-mono); font-weight: 600; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%, 0 9px);
}
.solution-card .solution-body { padding: 30px 28px 32px; }
.solution-card h3 { font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 0.01em; }
.solution-card p { color: var(--c-steel); font-size: 0.88rem; line-height: 1.65; margin-bottom: 18px; }

.swiper { padding-bottom: 56px !important; }
.swiper-slide { height: auto; }
.swiper-pagination-bullet { background: var(--c-steel); opacity: 0.4; }
.swiper-pagination-bullet-active { background: var(--c-red); opacity: 1; }
.slider-arrows { display: flex; gap: 10px; }
.slider-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--c-line-light);
  display: flex; align-items: center; justify-content: center; cursor: pointer; background: transparent;
  transition: all 0.3s ease; color: var(--c-ink);
}
.slider-arrow:hover { background: var(--c-red); border-color: var(--c-red); color: var(--c-white); }
.slider-arrow.swiper-button-disabled { opacity: 0.35; pointer-events: none; }
.slider-arrow--light { border-color: var(--c-line-dark); color: var(--c-white); }
.slider-arrow--light:hover { background: var(--c-red); border-color: var(--c-red); }

.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px;
  margin-bottom: 52px; flex-wrap: wrap;
}

/* ================================ TIMELINE =================================== */
.timeline { position: relative; padding-left: 6px; }
.timeline-track {
  position: absolute; left: 26px; top: 6px; bottom: 6px; width: 2px;
  background: var(--c-line-dark);
}
.timeline-track-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: var(--c-red); transition: height 1.6s var(--ease-out);
}
.timeline-item { position: relative; padding: 0 0 46px 66px; }
.timeline-item:last-child { padding-bottom: 6px; }
.timeline-dot {
  position: absolute; left: 17px; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-black); border: 2px solid var(--c-steel);
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.timeline-item.is-visible .timeline-dot {
  border-color: var(--c-red); background: var(--c-red);
  box-shadow: 0 0 0 5px rgba(224,17,26,0.18);
}
.timeline-year {
  font-family: var(--f-mono); color: var(--c-red); font-size: 0.85rem; letter-spacing: 0.03em;
  margin-bottom: 8px; display: block;
}
.timeline-item h4 { font-size: 1.02rem; color: var(--c-white); margin-bottom: 8px; text-transform: none; letter-spacing: 0; }
.timeline-item p { color: var(--c-steel); font-size: 0.88rem; line-height: 1.65; margin: 0; }

/* =============================== CAPABILITIES ================================ */
.cap-card {
  border: 1px solid var(--c-line-light); background: var(--c-white); padding: 32px 26px; height: 100%;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.cap-card:hover { border-color: var(--c-red); transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(10,10,11,0.18); }
.cap-card .cap-num { font-family: var(--f-mono); color: var(--c-red); font-size: 0.78rem; letter-spacing: 0.1em; margin-bottom: 22px; display: block; }
/* Mirrored so directional glyphs (e.g. the truck) face right, matching the logo's flame direction */
.cap-card i { font-size: 1.5rem; color: var(--c-red); margin-bottom: 20px; display: block; transform: scaleX(-1); }
.cap-card h4 { color: var(--c-ink); font-size: 1rem; margin-bottom: 12px; letter-spacing: 0.01em; }
.cap-card p { color: var(--c-steel); font-size: 0.86rem; line-height: 1.65; margin: 0; }

/* ================================ PRODUCTS =================================== */
.section-head-row--center {
  flex-direction: column; align-items: center; text-align: center; margin-bottom: 56px;
}
.eyebrow--center { justify-content: center; }

.product-card-light {
  background: var(--c-white);
  padding: 32px 26px;
  padding-top: 20px;
  height: 100%;
  text-align: left;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px);
}
.product-card-light:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.5); }
.product-card-light__media {
  width: 100%; height: 200px; margin: 0 0 22px; overflow: hidden;
  background: var(--c-off-white);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.product-card-light__media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out);
}
.product-card-light:hover .product-card-light__media img { transform: scale(1.06); }
.product-card-light h4 { color: var(--c-ink); font-size: 1rem; margin-bottom: 8px; }
.product-card-light p { color: var(--c-steel); font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }

@media (max-width: 767px) {
  .product-card-light {
    /* Reducimos el padding para aprovechar el espacio en pantallas pequeñas */
    padding: 16px 12px;
    padding-top: 16px;
    /* Suavizamos un poco el recorte de las esquinas */
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  }

  /* Desactivamos el efecto hover en móviles, ya que no hay ratón y puede interferir al hacer tap */
  .product-card-light:hover {
    transform: none;
    box-shadow: none;
  }

  .product-card-light__media {
    /* Reducimos la altura de la imagen para que no ocupe toda la pantalla al estar en 2 columnas */
    height: 140px; 
    margin: 0 0 16px;
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
  }

  .product-card-light h4 {
    /* Ajustamos el tamaño del título */
    font-size: 0.95rem; 
    margin-bottom: 6px;
  }

  .product-card-light p {
    /* Ajustamos el tamaño del texto descriptivo */
    font-size: 0.8rem; 
    line-height: 1.4;
    margin-bottom: 12px;
  }
}

/* ------------------------------- Partners strip ------------------------------- */
#products.section-pad { padding-bottom: 0; }
.partners-strip { background: var(--c-off-white); margin-top: 90px; padding: 60px 0 70px; }
.partners-strip .eyebrow--center { margin-bottom: 10px; }
.partners-strip-title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--c-ink); text-align: center; margin-bottom: 34px;
}

.product-card {
  background: var(--c-ink); border: 1px solid var(--c-line-dark);
  padding: 30px 24px; text-align: left; height: 100%;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px);
}
.product-card:hover { transform: translateY(-8px); border-color: var(--c-red); }
.product-icon {
  width: 74px; height: 74px; margin: 0 0 22px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(closest-side, rgba(224,17,26,0.16), transparent 75%);
}
.product-icon svg { width: 46px; height: 46px; }
.product-card h4 { color: var(--c-white); font-size: 0.98rem; margin-bottom: 8px; }
.product-card p { color: var(--c-steel); font-size: 0.82rem; line-height: 1.6; margin-bottom: 16px; }

/* ================================= PROJECTS =================================== */
.project-card {
  border: 1px solid var(--c-line-light); padding: 32px; height: 100%; position: relative;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  background: var(--c-white);
}
.project-card:hover { box-shadow: 0 30px 60px -30px rgba(10,10,11,0.25); transform: translateY(-6px); }
.project-period { font-family: var(--f-mono); font-size: 0.72rem; color: var(--c-red); letter-spacing: 0.06em; margin-bottom: 14px; display: block; }
.project-card h4 { font-size: 1.06rem; margin-bottom: 14px; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.project-card p { color: var(--c-steel); font-size: 0.87rem; line-height: 1.65; margin-bottom: 18px; }
.project-clients { display: flex; flex-wrap: wrap; gap: 8px; }
.project-clients span {
  font-size: 0.7rem; padding: 5px 10px; background: var(--c-off-white); color: var(--c-ink);
  border-radius: 4px; font-weight: 500;
}

/* =============================== CERTIFICATIONS =============================== */
.cert-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line-light); border: 1px solid var(--c-line-light); }
.cert-card { background: var(--c-white); padding: 34px 26px; text-align: center; }
.cert-card .cert-badge {
  width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--c-red);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; position: relative;
}
.cert-card .cert-badge i { color: var(--c-red); font-size: 1.3rem; }
.cert-card h5 { font-family: var(--f-mono); font-size: 0.88rem; color: var(--c-ink); text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.cert-card p { color: var(--c-steel); font-size: 0.78rem; margin: 0; line-height: 1.5; }

.qhse-banner {
  display: flex; align-items: center; gap: 40px; padding: 46px; background: var(--c-black); color: var(--c-white);
  margin-top: 1px; flex-wrap: wrap;
}
.qhse-quote { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.4; flex: 1 1 480px; text-transform: none; letter-spacing: 0; }
.qhse-quote span { color: var(--c-red); }
.qhse-sign { font-family: var(--f-mono); font-size: 0.76rem; color: var(--c-steel); flex: none; }

/* ================================= PARTNERS =================================== */
.partners-track-wrap { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.partners-track { display: flex; gap: 70px; width: max-content; animation: scrollPartners 32s linear infinite; }
.partners-track:hover { animation-play-state: paused; }
@keyframes scrollPartners { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partner-logo { 
  display: flex; align-items: center; height: 36px; flex: none; 
  /*opacity: 0.7; transition: opacity 0.3s ease, filter 0.3s ease; */
}
.partner-logo img { height: 100%; width: auto; object-fit: contain; filter: grayscale(0); transition: filter 0.3s ease; }
.partner-logo:hover { opacity: 1; }
/*.partner-logo:hover img { filter: grayscale(1); }*/

/* ============================ CUSTOM SOLUTION CTA ============================ */
.custom-cta-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  border-radius: 28px;
  background: var(--c-ink);
}
.custom-cta-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
}
.custom-cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,11,0.94) 0%, rgba(10,10,11,0.84) 36%, rgba(10,10,11,0.4) 68%, rgba(10,10,11,0.08) 100%);
}
.custom-cta-content { position: relative; z-index: 2; padding: 56px 60px; max-width: 560px; }
.custom-cta-content h3 {
  color: var(--c-white); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.15; margin-bottom: 14px;
}
.custom-cta-content p { color: var(--c-steel-light); font-size: 0.98rem; line-height: 1.7; margin-bottom: 30px; max-width: 420px; text-transform: none; }
@media (max-width: 767px) {
  .custom-cta-content { padding: 40px 26px; }
}

/* ================================== CTA BAND =================================== */
.cta-band {
  position: relative; background: var(--c-red); overflow: hidden;
  padding: 76px 0;
}
.cta-band .hero-flames { opacity: 0.14; top: -30%; }
.cta-band .hero-flames path { fill: var(--c-black); }
.cta-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-content h2 { color: var(--c-white); font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 620px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* =================================== CONTACT ==================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-info-card {
  background: var(--c-black); color: var(--c-white); padding: 44px 36px;  position: relative; overflow: hidden;
}
.contact-info-card .visual-flames { position: absolute; bottom: -15%; left: -15%; width: 60%; opacity: 0.35; transform: scaleX(-1); }
.contact-info-card .visual-flames path { fill: var(--c-red); }
.contact-line { position: relative; display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--c-line-dark); }
.contact-line:first-of-type { padding-top: 0; }
.contact-line i { color: var(--c-red); font-size: 1.05rem; margin-top: 3px; }
.contact-line h5 { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--c-steel); margin-bottom: 5px; text-transform: uppercase; font-family: var(--f-mono); font-weight: 500;}
.contact-line p, .contact-line a { font-size: 0.92rem; color: var(--c-white); line-height: 1.6; }
.contact-social { display: flex; gap: 12px; margin-top: 26px; position: relative; }
.contact-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line-dark);
  display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.contact-social a:hover { background: var(--c-red); border-color: var(--c-red); }

.form-floating-tops { position: relative; margin-bottom: 22px; }
.form-floating-tops input, .form-floating-tops select, .form-floating-tops textarea {
  width: 100%; border: none; border-bottom: 1.5px solid var(--c-line-light);
  background: transparent; padding: 12px 2px 10px; font-size: 0.95rem; font-family: var(--f-body);
  transition: border-color 0.3s ease; color: var(--c-ink);
}
.form-floating-tops textarea { resize: vertical; min-height: 90px; }
.form-floating-tops input:focus, .form-floating-tops select:focus, .form-floating-tops textarea:focus {
  outline: none; border-color: var(--c-red);
}
.form-floating-tops label {
  position: absolute; left: 2px; top: 12px; color: var(--c-steel); font-size: 0.95rem;
  pointer-events: none; transition: all 0.25s ease;
}
.form-floating-tops input:focus ~ label,
.form-floating-tops input:not(:placeholder-shown) ~ label,
.form-floating-tops textarea:focus ~ label,
.form-floating-tops textarea:not(:placeholder-shown) ~ label,
.form-floating-tops select ~ label {
  top: -14px; font-size: 0.7rem; letter-spacing: 0.04em; color: var(--c-red); text-transform: uppercase; font-family: var(--f-mono);
}
.map-embed { border: 1px solid var(--c-line-light); overflow: hidden; margin-top: 30px; height: 220px; filter: grayscale(0.4) contrast(1.05); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.form-toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(30px);
  background: var(--c-black); color: var(--c-white); padding: 16px 26px; border-radius: 8px;
  display: flex; align-items: center; gap: 12px; font-size: 0.88rem; z-index: 2000;
  opacity: 0; visibility: hidden; transition: all 0.4s var(--ease-out);
  border-left: 3px solid var(--c-red);
}
.form-toast.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.form-toast i { color: var(--c-red); }

/* =================================== FOOTER ==================================== */
.site-footer { background: var(--c-black); color: var(--c-steel-light); padding-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--c-line-dark); }
.footer-brand img { height: 44px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.86rem; line-height: 1.7; max-width: 300px; color: var(--c-steel); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line-dark); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.footer-social a:hover { background: var(--c-red); border-color: var(--c-red); color: var(--c-white); }
.footer-col h5 {
  color: var(--c-white); font-size: 0.82rem; letter-spacing: 0.08em; margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.86rem; color: var(--c-steel); transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-col a:hover { color: var(--c-white); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 0.78rem; color: var(--c-steel); margin: 0; }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { font-size: 0.78rem; color: var(--c-steel); }
.footer-bottom-links a:hover { color: var(--c-white); }

/* ============================ FLOATING ACTION BUTTONS ============================ */
.fab-stack {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.fab-totop {
  width: 48px; height: 48px; border-radius: 50%; background: var(--c-white);
  border: 1px solid var(--c-line-light); display: flex; align-items: center; justify-content: center;
  cursor: pointer; position: relative; box-shadow: 0 10px 26px -10px rgba(10,10,11,0.28);
  opacity: 0; transform: translateY(16px) scale(0.8); pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.fab-totop.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab-totop svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.fab-totop svg circle { fill: none; stroke: var(--c-red); stroke-width: 3; stroke-linecap: round; }
.fab-totop i { color: var(--c-ink); font-size: 0.9rem; position: relative; z-index: 2; }

.fab-whatsapp {
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.55); position: relative;
  transition: transform 0.35s var(--ease-out);
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp i { color: var(--c-white); font-size: 1.7rem; }
.fab-whatsapp .ring {
  position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #25d366;
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 0.7; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}
.fab-whatsapp-tip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--c-black); color: var(--c-white); padding: 8px 14px; border-radius: 6px;
  font-size: 0.8rem; white-space: nowrap; opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.fab-whatsapp:hover .fab-whatsapp-tip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* =============================== COOKIE CONSENT =============================== */
.cookie-banner {
  position: fixed; left: 22px; bottom: 22px; z-index: 1500;
  max-width: 360px; width: calc(100% - 44px);
  background: var(--c-white); border: 1px solid var(--c-line-light);
  padding: 22px 22px 20px; box-shadow: 0 24px 60px -20px rgba(10,10,11,0.35);
  transform: translateY(140%); opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner-icon {
  width: 38px; height: 38px; border-radius: 50%; background: var(--c-off-white);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.cookie-banner-icon i { color: var(--c-red); font-size: 1rem; }
.cookie-banner p { font-size: 0.82rem; color: var(--c-steel); line-height: 1.6; margin-bottom: 16px; }
.cookie-banner p a { color: var(--c-ink); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; }
.cookie-banner-actions button {
  font-family: var(--f-display); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 10px 16px; border: none; cursor: pointer; flex: 1;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}
.cookie-accept { background: var(--c-ink); color: var(--c-white); }
.cookie-accept:hover { background: var(--c-red); }
.cookie-decline { background: transparent; color: var(--c-steel); border: 1px solid var(--c-line-light) !important; }
.cookie-decline:hover { border-color: var(--c-ink) !important; color: var(--c-ink); }

/* =================================== MISC =================================== */
.count-up { font-variant-numeric: tabular-nums; }

hr.hair { border: none; border-top: 1px solid var(--c-line-light); margin: 0; }
.text-steel { color: var(--c-steel) !important; }

/* ================================ RESPONSIVE ================================ */
@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
  .main-nav, .header-cta .btn-tops { display: none; }
  .burger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .cert-row { grid-template-columns: repeat(2, 1fr); }
  .section-pad { padding: 78px 0; }
  .qhse-banner { padding: 34px; }
}

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .cta-content { flex-direction: column; align-items: flex-start; }
  .fab-stack { right: 16px; bottom: 16px; }
  .header-shell { padding: 8px 10px 8px 16px; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); }
}

@media (max-width: 575px) {
  .cert-row { grid-template-columns: 1fr; }
  .section-pad { padding: 64px 0; }
  .about-stats { gap: 24px 16px; }
  .hero-actions .btn-tops { width: 100%; justify-content: center; }
}