:root {
  --blue: #003366;
  --blue-2: #082f58;
  --blue-3: #061f3d;
  --yellow: #ffd700;
  --gray: #d3d3d3;
  --white: #ffffff;
  --ink: #0a1d31;
  --muted: #637386;
  --surface: #f4f7fa;
  --line: rgba(0, 51, 102, .14);
  --shadow: 0 28px 80px rgba(0, 51, 102, .16);
  --shadow-dark: 0 28px 90px rgba(0, 0, 0, .30);
  --container: 1240px;
  --wide: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); line-height: 1.65; font-weight: 560; }
img { max-width: 100%; display: block; }
.section { position: relative; padding: 118px 0; }
.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
.wide { width: min(calc(100% - 48px), var(--wide)); margin: 0 auto; }
.skip-link {
  position: fixed; left: 16px; top: 10px; z-index: 1000;
  transform: translateY(-130%); background: var(--blue); color: #fff;
  padding: 10px 14px; border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }
.progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0;
  background: var(--yellow); z-index: 999;
}

h1, h2, h3 { margin: 0; color: var(--blue); letter-spacing: -.065em; line-height: .96; }
h1 { font-size: clamp(4.3rem, 8.5vw, 8.9rem); max-width: 880px; }
h2 { font-size: clamp(3rem, 5vw, 5.8rem); max-width: 960px; }
h3 { font-size: 1.2rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .23em;
  line-height: 1.35;
}
.eyebrow::before {
  content: ""; width: 36px; height: 3px; border-radius: 999px; background: var(--yellow);
}
.eyebrow.dark { color: var(--blue); }
.eyebrow.yellow { color: var(--yellow); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 950;
  border: 1px solid rgba(255, 215, 0, .9);
  box-shadow: 0 14px 34px rgba(255, 215, 0, .24);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(255, 215, 0, .34); filter: saturate(1.05); }

.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.22);
  box-shadow: none;
}
.btn-ghost:hover { box-shadow: 0 16px 42px rgba(0,0,0,.18); background: rgba(255,255,255,.13); }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 51, 102, .08);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 16px 44px rgba(0, 51, 102, .10); }
.nav { min-height: 92px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 66px; height: 66px; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 30px; flex: 1; }
.nav-links a { font-size: .95rem; color: #243e58; font-weight: 790; transition: color .18s ease; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { flex: 0 0 auto; }
.menu-toggle { display: none; }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 150px 0 96px;
  background:
    linear-gradient(110deg, #fff 0%, #fff 47%, #f7f9fb 47%, #eef3f7 100%);
  overflow: hidden;
}
.hero-technical-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 51, 102, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 51, 102, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 54%, #000 100%);
  opacity: .82;
}
.hero::after {
  content: "";
  position: absolute; right: -14vw; top: 0; width: 58vw; height: 100%;
  background: linear-gradient(135deg, rgba(0, 51, 102, .10), rgba(255, 255, 255, 0));
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 78px; }
.hero-copy .lead {
  font-size: clamp(1.55rem, 2.4vw, 2.22rem);
  line-height: 1.12;
  color: #203f5b;
  font-weight: 870;
  max-width: 725px;
  margin-top: 34px;
  letter-spacing: -.045em;
}
.hero-copy .sublead { font-size: 1.12rem; max-width: 650px; margin-top: 22px; }
.hero-cta { margin-top: 38px; }
.hero-route {
  position: relative;
  padding: 42px 0 28px 36px;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-route::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 215, 0, .08), transparent 26%),
    linear-gradient(135deg, rgba(0, 51, 102, .06), rgba(255,255,255,0));
  border-radius: 40px;
  border: 1px solid rgba(0, 51, 102, .08);
  opacity: .75;
}
.hero-flow-title {
  position: relative; z-index: 1;
  margin-left: 74px;
  margin-bottom: 26px;
  max-width: 500px;
}
.hero-flow-title::before {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--yellow);
  margin-bottom: 16px;
}
.hero-flow-title h2 {
  color: var(--blue);
  font-size: clamp(2rem, 3.1vw, 3.65rem);
  line-height: .95;
  letter-spacing: -.065em;
  max-width: 470px;
}
.hero-flow-title p {
  margin-top: 12px;
  color: #53677d;
  font-size: .86rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.vertical-route { position: relative; z-index: 1; display: grid; gap: 16px; padding-left: 74px; }
.route-line {
  position: absolute; left: 24px; top: 22px; bottom: 22px; width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--yellow));
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(0, 51, 102, .05);
}
.route-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 16px;
  width: min(100%, 460px);
  padding: 17px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(0, 51, 102, .14);
  box-shadow: 0 18px 52px rgba(0, 51, 102, .10);
  backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.route-item::before {
  content: ""; position: absolute; left: -58px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; border-radius: 50%; background: var(--yellow);
  border: 4px solid #fff; box-shadow: 0 0 0 7px rgba(255, 215, 0, .18);
}
.route-item:nth-of-type(even) { transform: translateX(26px); }
.route-item:hover { transform: translateX(8px); border-color: rgba(255, 215, 0, .9); box-shadow: 0 26px 66px rgba(0, 51, 102, .16); }
.route-item:nth-of-type(even):hover { transform: translateX(34px); }
.route-item span {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--blue); color: var(--yellow); font-weight: 1000; letter-spacing: -.02em;
}
.route-item h3 { font-size: 1.22rem; letter-spacing: -.04em; margin-bottom: 3px; }
.route-item p { font-weight: 790; color: #627185; line-height: 1.25; }
.mini-assurances { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; margin-left: 74px; }
.mini-assurances span {
  border: 1px solid rgba(0, 51, 102, .14); background: #fff; border-radius: 999px;
  padding: 10px 14px; font-weight: 900; color: var(--blue); box-shadow: 0 8px 24px rgba(0, 51, 102, .08);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 28px; height: 44px; border: 2px solid rgba(0, 51, 102, .22); border-radius: 999px; z-index: 2;
}
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); animation: cue 1.55s infinite; }
@keyframes cue { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 17px); opacity: 0; } }

/* SHARED HEADINGS */
.section-heading { max-width: 980px; margin-bottom: 54px; }
.section-heading p { max-width: 760px; margin-top: 18px; font-size: 1.1rem; }
.section-copy h2 { color: #fff; }
.section-copy p { color: rgba(255,255,255,.78); font-size: 1.08rem; margin-top: 20px; max-width: 600px; }

/* PRODUCTS */
.products { background: #fff; }
.product-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  grid-template-areas:
    "pipes flanges fittings"
    "pipes valves valves"
    "package package package";
  grid-auto-rows: minmax(250px, auto);
  gap: 22px;
}
.product-pipes { grid-area: pipes; min-height: 522px; }
.product-flanges { grid-area: flanges; }
.product-fittings { grid-area: fittings; }
.product-valves { grid-area: valves; }
.product-package { grid-area: package; min-height: 250px; }
.product-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: 32px;
  background: linear-gradient(135deg, #0b3159, #041f3b);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 22px 70px rgba(0, 51, 102, .13);
  isolation: isolate;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.product-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(0,31,63,.92), rgba(0,31,63,.42) 45%, rgba(0,31,63,.08));
  transition: background .28s ease;
}
.product-card:hover, .product-card:focus-within {
  transform: translateY(-7px);
  border-color: rgba(255,215,0,.75);
  box-shadow: 0 30px 90px rgba(0, 51, 102, .22);
}
.product-card:hover::after, .product-card:focus-within::after {
  background: linear-gradient(0deg, rgba(0,31,63,.98), rgba(0,31,63,.88));
}
.product-wallpaper {
  position: absolute; inset: 0; z-index: 0;
  opacity: .38;
  transform: scale(1.02);
  transition: opacity .32s ease, transform .32s ease, filter .32s ease;
}
.product-card:hover .product-wallpaper,
.product-card:focus-within .product-wallpaper {
  opacity: .045;
  transform: scale(1.08);
  filter: blur(1px);
}
.product-wallpaper::before, .product-wallpaper::after { content: ""; position: absolute; inset: 0; }
.product-wallpaper::before {
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .42;
}
.pipes {
  background:
    repeating-linear-gradient(0deg, rgba(211,211,211,.72) 0 18px, rgba(255,255,255,.10) 18px 29px, rgba(0,51,102,.24) 29px 45px),
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.65), transparent 16%),
    linear-gradient(135deg,#082f58,#031b34);
}
.flanges {
  background:
    radial-gradient(circle at 72% 34%, transparent 0 12%, rgba(211,211,211,.8) 13% 20%, transparent 21% 31%, rgba(255,255,255,.22) 32% 37%, transparent 38%),
    radial-gradient(circle at 28% 62%, transparent 0 14%, rgba(211,211,211,.65) 15% 24%, transparent 25% 35%),
    linear-gradient(135deg,#06294c,#12395f);
}
.fittings {
  background:
    radial-gradient(ellipse at 64% 34%, rgba(211,211,211,.75), transparent 26%),
    radial-gradient(ellipse at 34% 70%, rgba(255,255,255,.35), transparent 30%),
    conic-gradient(from 45deg at 42% 46%, transparent 0 20%, rgba(211,211,211,.45) 20% 34%, transparent 34% 100%),
    linear-gradient(135deg,#092644,#35506a);
}
.valves {
  background:
    radial-gradient(circle at 46% 38%, transparent 0 12%, rgba(211,211,211,.72) 13% 17%, transparent 18% 24%, rgba(255,255,255,.32) 25% 29%, transparent 30%),
    linear-gradient(90deg, rgba(211,211,211,.35) 0 16%, rgba(255,255,255,.04) 16% 24%, rgba(211,211,211,.52) 24% 47%, rgba(255,255,255,.04) 47% 60%, rgba(211,211,211,.28) 60% 100%),
    linear-gradient(135deg,#06294c,#0b3159);
}
.package {
  background:
    linear-gradient(130deg, rgba(255,215,0,.20), transparent 38%),
    repeating-linear-gradient(90deg, rgba(211,211,211,.48) 0 12px, rgba(0,51,102,.38) 12px 18px, rgba(255,255,255,.18) 18px 34px),
    linear-gradient(135deg,#06294c,#0b3159);
}
.product-content {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 34px;
  transform: translateY(36px);
  transition: transform .28s ease;
}
.product-card:hover .product-content,
.product-card:focus-within .product-content { transform: translateY(0); }
.product-content span { display: inline-block; color: var(--yellow); font-weight: 1000; letter-spacing: .14em; margin-bottom: 13px; }
.product-content h3 { color: #fff; font-size: clamp(1.8rem, 2.6vw, 2.8rem); margin-bottom: 14px; }
.product-content p {
  color: rgba(255,255,255,.82);
  font-weight: 710;
  max-width: 660px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .28s ease, transform .28s ease;
}
.product-card:hover .product-content p,
.product-card:focus-within .product-content p { opacity: 1; transform: translateY(0); }
.product-package .product-content { max-width: 850px; }

/* FLOW LOOP */
.dark-section { background: linear-gradient(135deg, var(--blue), var(--blue-3)); overflow: hidden; }
.dark-section::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px; opacity: .7;
}
.loop-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 72px; }
.statement { display: inline-block; margin-top: 34px !important; color: var(--yellow) !important; font-size: 1.7rem !important; font-weight: 950 !important; letter-spacing: -.04em; }
.gear-system { position: relative; min-height: 650px; }
.gear-system::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 490px; height: 490px;
  transform: translate(-50%, -50%); border: 2px dashed rgba(255,255,255,.24); border-radius: 50%;
}
.gear-system::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 340px; height: 340px;
  transform: translate(-50%, -50%); border: 1px solid rgba(255,215,0,.55); border-radius: 50%; box-shadow: 0 0 0 36px rgba(255,255,255,.03);
}
.gear-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.gear-lines .line { stroke: rgba(255,255,255,.18); stroke-width: 2; stroke-dasharray: 8 10; transition: stroke .22s ease, stroke-width .22s ease, opacity .22s ease; }
.gear-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 240px; height: 240px; border-radius: 50%;
  background: linear-gradient(145deg, #fff, var(--gray)); color: var(--blue);
  display: grid; place-items: center; text-align: center; z-index: 2;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  transition: transform .22s ease, box-shadow .22s ease;
}
.gear-center strong { font-size: 3.8rem; letter-spacing: -.09em; align-self: end; }
.gear-center small { max-width: 150px; align-self: start; margin-top: -10px; font-weight: 900; color: #4b5d70; line-height: 1.15; }
.gear-node {
  position: absolute; width: 210px; min-height: 118px; border-radius: 28px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(10px); display: grid; align-content: center; gap: 7px;
  padding: 20px 22px; box-shadow: var(--shadow-dark); z-index: 3;
  transition: transform .23s ease, border-color .23s ease, background .23s ease, box-shadow .23s ease;
}
.gear-node::before {
  content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 8px rgba(255,215,0,.14);
}
.gear-node span { color: #fff; font-weight: 950; font-size: 1.08rem; }
.gear-node small { color: rgba(255,255,255,.74); font-weight: 760; line-height: 1.35; }
.gear-node:hover { background: rgba(255,255,255,.16); border-color: rgba(255,215,0,.85); box-shadow: 0 30px 100px rgba(0,0,0,.42); }
.gear-system:has(.gear-node:hover) .gear-center { transform: translate(-50%, -50%) scale(1.035); box-shadow: 0 34px 100px rgba(0,0,0,.42), 0 0 0 14px rgba(255,215,0,.06); }
.gear-system:has(.n1:hover) .line-n1,
.gear-system:has(.n2:hover) .line-n2,
.gear-system:has(.n3:hover) .line-n3,
.gear-system:has(.n4:hover) .line-n4,
.gear-system:has(.n5:hover) .line-n5,
.gear-system:has(.n6:hover) .line-n6 { stroke: var(--yellow); stroke-width: 4; opacity: 1; }
.n1 { left: 50%; top: 0; transform: translateX(-50%); }
.n1:hover { transform: translateX(-50%) translateY(-6px); }
.n1::before { left: 50%; bottom: -43px; transform: translateX(-50%); }
.n2 { right: 0; top: 18%; }
.n2:hover { transform: translateY(-6px); }
.n2::before { left: -42px; bottom: 18px; }
.n3 { right: 0; bottom: 18%; }
.n3:hover { transform: translateY(-6px); }
.n3::before { left: -42px; top: 18px; }
.n4 { left: 50%; bottom: 0; transform: translateX(-50%); }
.n4:hover { transform: translateX(-50%) translateY(-6px); }
.n4::before { left: 50%; top: -43px; transform: translateX(-50%); }
.n5 { left: 0; bottom: 18%; }
.n5:hover { transform: translateY(-6px); }
.n5::before { right: -42px; top: 18px; }
.n6 { left: 0; top: 18%; }
.n6:hover { transform: translateY(-6px); }
.n6::before { right: -42px; bottom: 18px; }

/* METHOD */
.method { background: linear-gradient(180deg, #fff, var(--surface)); }
.method-timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.method-timeline::before { content: ""; position: absolute; left: 7%; right: 7%; top: 44px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--yellow)); z-index: 0; }
.method-timeline article {
  position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 26px;
  padding: 26px 20px 24px; box-shadow: 0 18px 46px rgba(0,51,102,.08); margin-inline: 5px;
}
.method-timeline article span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--blue); color: var(--yellow); font-weight: 950; margin-bottom: 22px; }
.method-timeline h3 { font-size: 1.07rem; margin-bottom: 10px; line-height: 1.05; }
.method-timeline p { font-size: .93rem; line-height: 1.55; }
.flow-layer {
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center;
  margin-top: 28px; padding: 22px 26px; border-radius: 26px;
  background: linear-gradient(135deg, var(--blue), #05284d);
  color: #fff; box-shadow: 0 18px 54px rgba(0, 51, 102, .16);
  border: 1px solid rgba(255,215,0,.35);
}
.flow-layer strong { color: var(--yellow); font-weight: 1000; }
.flow-layer span { color: rgba(255,255,255,.82); font-weight: 760; }

/* FILOSOFÍA FLOW — preserved */
.blueprint { background: linear-gradient(135deg, #06294c, var(--blue)); overflow: hidden; }
.blueprint::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .9;
}
.flow-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .86fr 1.14fr; gap: 64px; align-items: center; }
.big-copy { font-size: 1.45rem !important; color: #fff !important; font-weight: 930 !important; letter-spacing: -.04em; }
.carousel-block { position: relative; }
.carousel-window { position: relative; min-height: 410px; border-radius: 34px; overflow: hidden; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow-dark); backdrop-filter: blur(10px); }
.flow-slide { position: absolute; inset: 0; display: grid; align-content: center; padding: 66px 76px; opacity: 0; transform: translateX(18%); transition: .5s ease; }
.flow-slide.active { opacity: 1; transform: translateX(0); }
.flow-slide span { color: var(--yellow); font-weight: 950; letter-spacing: .18em; margin-bottom: 18px; }
.flow-slide h3 { font-size: clamp(2.5rem, 4vw, 4.6rem); color: #fff; letter-spacing: -.07em; }
.flow-slide p { font-size: 1.18rem; color: rgba(255,255,255,.78); max-width: 640px; margin-top: 14px; }
.carousel-control { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.10); color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; transition: .2s; }
.carousel-control:hover { background: var(--yellow); color: var(--blue); border-color: var(--yellow); }
.prev { left: 18px; }
.next { right: 18px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: .22s; }
.carousel-dots button.active { width: 36px; background: var(--yellow); }
.flow-benefits { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flow-benefits li { border-radius: 18px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); padding: 16px; color: #fff; font-weight: 800; }
.flow-benefits strong { color: var(--yellow); }

/* CLIENTES — preserved */
.clients { background: #fff; }
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.client-card { border: 1px solid var(--line); border-radius: 30px; padding: 32px; background: linear-gradient(180deg,#fff,#f8fafc); box-shadow: 0 18px 50px rgba(0,51,102,.08); min-height: 285px; transition: .24s; position: relative; overflow: hidden; }
.client-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--yellow), rgba(255,215,0,0)); }
.client-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255,215,0,.8); }
.client-icon { display: grid; place-items: center; width: 86px; height: 86px; border-radius: 26px; background: var(--blue); color: var(--yellow); font-size: 1.34rem; font-weight: 1000; letter-spacing: -.04em; margin-bottom: 26px; box-shadow: 0 18px 36px rgba(0,51,102,.2); }
.client-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.manifest { margin-top: 38px; border-left: 8px solid var(--yellow); border-radius: 26px; background: var(--blue); color: #fff; font-weight: 1000; letter-spacing: -.045em; line-height: 1.15; font-size: clamp(1.35rem, 2.2vw, 2.05rem); padding: 34px; box-shadow: var(--shadow); }

/* CTA — preserved */
.cta { background: linear-gradient(180deg, var(--surface), #fff); }
.cta-card { position: relative; overflow: hidden; border-radius: 38px; background: linear-gradient(135deg, var(--blue), var(--blue-3)); padding: clamp(36px, 5vw, 66px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px; align-items: center; box-shadow: var(--shadow); }
.cta-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; opacity: .8; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { max-width: 900px; color: #fff; }
.cta-card p { font-size: 1.15rem; margin-top: 18px; max-width: 760px; color: rgba(255,255,255,.78); }
.contact-actions { display: grid; gap: 14px; min-width: 245px; justify-items: stretch; }
.contact-actions .btn { width: 100%; white-space: nowrap; }
.footer { background: #052a52; color: #fff; padding: 58px 0 24px; }
.footer p, .footer a { color: rgba(255,255,255,.72); }
.footer strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr 1fr; gap: 48px; }
.footer nav { display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 38px; padding-top: 18px; color: rgba(255,255,255,.55); font-size: .9rem; }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.gear-system.visible .gear-lines .line { animation: drawLine 1.1s ease forwards; stroke-dasharray: 700; stroke-dashoffset: 700; }
.gear-system.visible .gear-lines .line-n2 { animation-delay: .08s; }
.gear-system.visible .gear-lines .line-n3 { animation-delay: .16s; }
.gear-system.visible .gear-lines .line-n4 { animation-delay: .24s; }
.gear-system.visible .gear-lines .line-n5 { animation-delay: .32s; }
.gear-system.visible .gear-lines .line-n6 { animation-delay: .40s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* RESPONSIVE */
@media (max-width: 1180px) {
  .hero-grid, .loop-grid, .flow-grid { grid-template-columns: 1fr; }
  .hero { background: #fff; }
  .hero-route { min-height: auto; padding: 32px; }
  .product-block {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "pipes flanges"
      "pipes fittings"
      "valves valves"
      "package package";
  }
  .method-timeline { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .method-timeline::before { display: none; }
  .flow-benefits { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .container, .wide { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 78px 0; }
  .nav { min-height: 76px; }
  .brand img { width: 54px; height: 54px; }
  .menu-toggle { display: grid; gap: 5px; background: var(--blue); border: 0; border-radius: 14px; padding: 12px; margin-left: auto; }
  .menu-toggle span { display: block; width: 23px; height: 2px; background: #fff; }
  .nav-links { position: fixed; left: 16px; right: 16px; top: 82px; display: none; flex-direction: column; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 24px; padding: 22px; }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding: 118px 0 82px; }
  h1 { font-size: clamp(3.25rem, 14vw, 5.6rem); }
  h2 { font-size: clamp(2.25rem, 10vw, 4rem); }
  .hero-grid { gap: 46px; }
  .hero-route { padding: 26px 20px; border-radius: 26px; }
  .hero-flow-title { margin-left: 0; margin-bottom: 22px; }
  .hero-flow-title h2 { font-size: clamp(1.9rem, 7vw, 3.1rem); }
  .vertical-route { padding-left: 42px; }
  .route-line { left: 10px; }
  .route-item { grid-template-columns: 50px 1fr; width: auto; }
  .route-item::before { left: -39px; }
  .route-item:nth-of-type(even), .route-item:nth-of-type(even):hover, .route-item:hover { transform: none; }
  .product-block, .client-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-block { grid-template-areas: "pipes" "flanges" "fittings" "valves" "package"; }
  .product-pipes, .product-package { min-height: 340px; }
  .product-content { transform: translateY(0); }
  .product-content p { opacity: 1; transform: none; }
  .product-wallpaper { opacity: .18; }
  .gear-system { min-height: auto; display: grid; gap: 14px; padding-top: 244px; }
  .gear-lines { display: none; }
  .gear-system::before { top: 118px; width: 260px; height: 260px; }
  .gear-system::after { top: 118px; width: 170px; height: 170px; }
  .gear-center { top: 118px; width: 160px; height: 160px; }
  .gear-center strong { font-size: 2.35rem; }
  .gear-center small { max-width: 110px; font-size: .72rem; margin-top: -6px; }
  .gear-node { position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; width: auto; }
  .gear-node::before { display: none; }
  .method-timeline { grid-template-columns: 1fr; }
  .flow-layer { display: grid; }
  .carousel-window { min-height: 365px; }
  .flow-slide { padding: 50px 42px; }
  .flow-benefits { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .contact-actions { min-width: 0; justify-items: start; }
  .contact-actions .btn { width: auto; white-space: normal; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .flow-slide { transition: none; }
}

/* V9 refinements: concentrated Flow section */
.loop .section-copy h2 { max-width: 720px; }
.loop-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 560px;
}
.loop-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}
.loop-benefits span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 7px rgba(255,215,0,.11);
}
.gear-center::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(255,215,0,.45);
  animation: flowPulse 3.6s ease-in-out infinite;
  pointer-events: none;
}
.gear-center strong {
  animation: flowGlow 3.6s ease-in-out infinite;
}
.gear-node:hover span { color: var(--yellow); }
.gear-node:hover small { color: rgba(255,255,255,.90); }
@keyframes flowPulse {
  0%, 100% { transform: scale(.98); opacity: .42; }
  50% { transform: scale(1.08); opacity: .72; }
}
@keyframes flowGlow {
  0%, 100% { text-shadow: none; }
  50% { text-shadow: 0 0 18px rgba(255,215,0,.32); }
}
@media (max-width: 860px) {
  .loop-benefits { grid-template-columns: 1fr; }
}
