:root {
  --blue: #1f7fe5;
  --blue-dark: #0d3668;
  --blue-soft: #eaf4ff;
  --red: #ef3f28;
  --red-soft: #fff0ed;
  --text: #172033;
  --muted: #647084;
  --line: #e6ebf2;
  --bg: #f7f9fc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 45, 83, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(230, 235, 242, 0.9);
  backdrop-filter: blur(16px);
}

.navbar {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 800;
  color: #263247;
}

.nav-menu a:not(.whatsapp-btn) {
  transition: color .2s ease;
}

.nav-menu a:not(.whatsapp-btn):hover { color: var(--blue); }

.nav-bordered {
  border: 1px solid var(--line);
  padding: 15px 24px;
  border-radius: 12px;
  background: var(--white);
}

.whatsapp-btn {
  background: #20c768;
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(32, 199, 104, 0.22);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--blue-dark);
  margin: 6px 0;
}

.hero {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  padding: 82px 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(31, 127, 229, .15), transparent 34%),
    radial-gradient(circle at 20% 86%, rgba(239, 63, 40, .10), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 64px;
  align-items: center;
}

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow span {
  width: 54px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: .98;
  letter-spacing: -4px;
  font-weight: 950;
  color: var(--blue-dark);
}

.hero h1 strong {
  display: block;
  color: var(--blue);
}

.hero p {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 20px 40px rgba(31, 127, 229, .24);
}

.btn-primary:hover { background: var(--blue-dark); }

.btn-secondary {
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid rgba(239, 63, 40, .18);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.hero-stats div {
  padding: 20px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.hero-stats strong {
  display: block;
  font-size: 28px;
  color: var(--blue-dark);
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.hero-visual { position: relative; }

.visual-card {
  position: relative;
  min-height: 560px;
  border-radius: 38px;
  background:
    linear-gradient(140deg, rgba(255,255,255,.95), rgba(255,255,255,.65)),
    radial-gradient(circle at 70% 30%, rgba(31, 127, 229, .22), transparent 38%);
  border: 1px solid rgba(230, 235, 242, .9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 28px;
  border: 2px dashed rgba(31, 127, 229, .18);
}

.visual-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 4;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 1px;
}

.product-illustration {
  position: absolute;
  inset: 0;
}

.pipe {
  position: absolute;
  border-radius: 999px;
  opacity: .18;
}

.pipe-blue {
  width: 390px;
  height: 390px;
  border: 46px solid var(--blue);
  right: -110px;
  top: 60px;
}

.pipe-red {
  width: 280px;
  height: 280px;
  border: 34px solid var(--red);
  left: -80px;
  bottom: 40px;
}

.main-unit {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 310px;
  border: 22px solid var(--blue);
  border-radius: 72px 72px 42px 42px;
  background: linear-gradient(180deg, #ffffff, #dbeeff);
  box-shadow: 0 38px 70px rgba(31, 127, 229, .18);
}

.main-unit span {
  position: absolute;
  left: 50%;
  top: 86px;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  background: var(--blue-dark);
  border-radius: 50%;
  opacity: .86;
}

.main-unit i {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 130px;
  height: 26px;
  background: var(--red);
  border-radius: 999px;
}

.gauge {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 14px solid var(--blue);
  background: white;
  box-shadow: 0 20px 45px rgba(13,54,104,.14);
}

.gauge::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 5px;
  background: var(--red);
  left: 26px;
  top: 42px;
  transform: rotate(-28deg);
  transform-origin: right center;
  border-radius: 999px;
}

.gauge-one { right: 88px; top: 135px; }
.gauge-two { left: 86px; top: 250px; transform: scale(.82); }

.valve {
  position: absolute;
  width: 116px;
  height: 116px;
  border: 18px solid var(--red);
  border-radius: 28px;
  transform: rotate(45deg);
  opacity: .82;
}

.valve-one { right: 90px; bottom: 116px; }
.valve-two { left: 100px; bottom: 130px; border-color: var(--blue); }

.visual-note {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.visual-note b { color: var(--blue-dark); font-size: 18px; }
.visual-note span { color: var(--muted); font-weight: 700; }

.section { padding: 96px 0; }

.section-kicker { margin-bottom: 14px; }

.section h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 600;
}

.split-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
}

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.check-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 800;
}

.products, .process { background: var(--bg); }

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

.section-head h2 { max-width: 760px; }
.section-head.compact { display: block; max-width: 760px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  min-height: 250px;
  padding: 30px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(24,45,83,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card span {
  color: var(--red);
  font-weight: 950;
  letter-spacing: 2px;
}

.product-card h3, .service-item h3 {
  margin: 28px 0 12px;
  color: var(--blue-dark);
  font-size: 25px;
}

.product-card p, .service-item p { margin: 0; font-size: 16px; }

.product-card.featured {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.product-card.featured h3,
.product-card.featured p,
.product-card.featured span { color: white; }

.cta-card {
  background: var(--red-soft);
  border-color: rgba(239,63,40,.18);
}

.cta-card a {
  display: inline-flex;
  margin-top: 26px;
  font-weight: 950;
  color: var(--red);
}

.service-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.service-item {
  padding: 32px 0;
  border-top: 2px solid var(--line);
}

.service-item b {
  color: var(--blue);
  font-size: 20px;
}

.process-box {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
  align-items: center;
  padding: 54px;
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps div {
  padding: 24px;
  border-radius: 22px;
  background: var(--bg);
}

.steps strong {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: white;
  background: var(--red);
  margin-bottom: 16px;
}

.steps span {
  color: var(--blue-dark);
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 70px;
  align-items: start;
}

.contact-copy p { margin-bottom: 32px; }

.contact-whatsapp {
  display: inline-flex;
  padding: 16px 24px;
  border-radius: 12px;
  color: white;
  background: #20c768;
  font-weight: 950;
}

.contact-form {
  padding: 34px;
  border-radius: 30px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(31,127,229,.45);
  box-shadow: 0 0 0 4px rgba(31,127,229,.10);
}

.contact-form button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 17px 24px;
  color: white;
  background: var(--blue);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.contact-form small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.brand-strip-section {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand-strip-heading {
  min-width: 320px;
  height: 86px;
  padding-left: 60px;
  padding-right: 35px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  position: relative;
  z-index: 2;
  box-shadow: 18px 0 35px rgba(15, 23, 42, 0.06);
}

.brand-strip-heading span {
  width: 48px;
  height: 2px;
  background: #1976d2;
  display: inline-block;
}

.brand-strip-heading p {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 6px;
  color: #1457a8;
}

.brand-slider {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.brand-slider::before,
.brand-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.brand-slider::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.brand-slider::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.brand-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: brandScroll 28s linear infinite;
}


.brand-item {
  width: 190px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
}

.brand-item img {
  max-width: 135px;
  max-height: 46px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: 0.25s ease;
}

.brand-item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}

.brand-slider:hover .brand-track {
  animation-play-state: paused;
}


/* ============================= */
/* HERO MINI GALLERY */
/* ============================= */

.hero-gallery-card {
  position: relative;
  background: #ffffff;
  border-radius: 34px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 28px;
}

.hero-gallery-main img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: 26px;
  transition: opacity 0.25s ease;
}

.hero-gallery-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #f0442e;
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}

.hero-gallery-caption {
  padding: 20px 8px 8px;
}

.hero-gallery-caption h4 {
  margin: 0 0 8px;
  color: #0b2f5b;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
}

.hero-gallery-caption p {
  margin: 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.7;
}

/* ============================= */
/* HERO GALLERY DOTS */
/* ============================= */

.hero-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  min-height: 520px;
}

.hero-gallery-main img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
  border-radius: 24px;
}

.hero-gallery-card {
  position: relative;
  background: #ffffff;
  border-radius: 36px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 22px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: 0.25s ease;
}

.hero-dot:hover {
  background: #94a3b8;
  transform: scale(1.15);
}

.hero-dot.active {
  width: 34px;
  border-radius: 999px;
  background: #1976d2;
}

@media (max-width: 991px) {
  .hero-gallery-main {
    min-height: 360px;
    border-radius: 24px;
  }

  .hero-gallery-main img {
    max-height: 360px;
    border-radius: 22px;
  }

  .hero-gallery-caption h4 {
    font-size: 22px;
  }
}

@keyframes brandScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 992px) {
  .brand-strip-section {
    display: block;
  }

  .brand-strip-heading {
    width: 100%;
    min-width: unset;
    height: 74px;
    padding-left: 24px;
    box-shadow: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .brand-strip-heading p {
    font-size: 13px;
    letter-spacing: 4px;
  }

  .brand-item {
    width: 155px;
    height: 74px;
    padding: 0 20px;
  }

  .brand-item img {
    max-width: 115px;
    max-height: 40px;
  }
}

/* ============================= */
/* GLOBAL FOOTER - FINAL FIX */
/* ============================= */

.site-footer {
  padding: 90px 0 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 15%, rgba(45, 132, 222, 0.22), transparent 30%),
    linear-gradient(135deg, #08294f 0%, #0b376b 55%, #124f8c 100%);
}

.site-footer .row {
  display: grid !important;
  grid-template-columns: 1.35fr 0.65fr 0.95fr 1fr;
  gap: 72px;
  align-items: start;
}

.site-footer [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
}

.footer-logo {
  text-decoration: none;
}

.footer-brand-logo {
  width: auto;
  height: 72px;
  display: block;
  margin-bottom: 28px;
}

.footer-text {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.65;
}

.footer-title {
  margin: 0 0 26px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0;
  padding: 0;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
  line-height: 1.45;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 18px 30px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  background: #22c55e;
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.22);
  transition: 0.2s ease;
}

.footer-whatsapp:hover {
  color: #ffffff;
  background: #16a34a;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
}

@media (max-width: 1199px) {
  .site-footer .row {
    grid-template-columns: 1fr 1fr;
    gap: 46px;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 60px 0 26px;
  }

  .site-footer .row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand-logo {
    height: 54px;
    margin-bottom: 18px;
  }

  .footer-text {
    font-size: 16px;
  }

  .footer-title {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-links a,
  .footer-links span {
    font-size: 16px;
  }

  .footer-whatsapp {
    margin-top: 18px;
    padding: 15px 22px;
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 42px;
    padding-top: 22px;
  }

  .footer-bottom p {
    font-size: 14px;
  }
}


.hero-gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 32px;
}

.hero-gallery-main img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  border-radius: 28px;
  transition: opacity 0.25s ease;
}

@media (max-width: 991px) {
  .hero-gallery-main {
    min-height: 360px;
    border-radius: 26px;
  }

  .hero-gallery-main img {
    max-height: 360px;
    border-radius: 22px;
  }
}



@media (max-width: 992px) {
  .menu-toggle { display: block; }
  .nav-menu {
    position: absolute;
    left: 21px;
    right: 21px;
    top: 92px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 14px; }
  .nav-bordered, .whatsapp-btn { text-align: center; margin-top: 8px; }
  .hero-grid, .split-grid, .process-box, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .hero-visual { order: -1; }
  .visual-card { min-height: 430px; }
  .card-grid, .service-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .navbar { height: 78px; }
  .brand-logo { height: 46px; }
  .nav-menu { top: 78px; }
  .hero h1 { letter-spacing: -2px; }
  .hero p { font-size: 17px; }
  .hero-stats, .card-grid, .service-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .process-box, .contact-form { padding: 26px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
