/* =====================================================================
   Fineotex America - Home + Products & Services (Nov 2026 content update)
   ---------------------------------------------------------------------
   Loaded only by index.html and products-services.html, after
   fx-industry.css. About and Contact do not load this file.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Home banner: six-stage loop (Engineering, Supply, Chemicals,
      Hauling, Treatment, Disposal) on the same r=210 ring as before.
      Desktop draws in the 620px box (scaled with zoom by main.css);
      mobile/tablet uses the --pw / --icon sizing from mobile.css.
   --------------------------------------------------------------------- */
.hero .process-label { text-align: center; line-height: 1.25; }
/* top stage has a two-line label: put it above the icon so it clears the centre circle */
.hero .fx-n1 .process-label { top: auto; bottom: calc(100% + 10px); }
.hero .main h1 { text-wrap: balance; }

@media (min-width: 992px) {
  .hero .process-item.fx-n1 { left: 250px; top: 58px; }    /*   0deg */
  .hero .process-item.fx-n2 { left: 432px; top: 163px; }   /*  60deg */
  .hero .process-item.fx-n3 { left: 432px; top: 373px; }   /* 120deg */
  .hero .process-item.fx-n4 { left: 250px; top: 478px; }   /* 180deg */
  .hero .process-item.fx-n5 { left: 68px;  top: 373px; }   /* 240deg */
  .hero .process-item.fx-n6 { left: 68px;  top: 163px; }   /* 300deg */
  /* side icons now sit 86px inside the 620px box (was 62px): pull the box out by that much
     so the right-hand icons still line up with the page padding */
  .hero .process-section { margin-right: calc(var(--pz) * -86px); }
}

@media (max-width: 991.98px) {
  .hero .fx-n1 { left: calc(var(--pw) * .5    - var(--icon) / 2 - 22px); top: calc(var(--pw) * .1613 - var(--icon) / 2); }
  .hero .fx-n2 { left: calc(var(--pw) * .7933 - var(--icon) / 2 - 22px); top: calc(var(--pw) * .3306 - var(--icon) / 2); }
  .hero .fx-n3 { left: calc(var(--pw) * .7933 - var(--icon) / 2 - 22px); top: calc(var(--pw) * .6694 - var(--icon) / 2); }
  .hero .fx-n4 { left: calc(var(--pw) * .5    - var(--icon) / 2 - 22px); top: calc(var(--pw) * .8387 - var(--icon) / 2); }
  .hero .fx-n5 { left: calc(var(--pw) * .2067 - var(--icon) / 2 - 22px); top: calc(var(--pw) * .6694 - var(--icon) / 2); }
  .hero .fx-n6 { left: calc(var(--pw) * .2067 - var(--icon) / 2 - 22px); top: calc(var(--pw) * .3306 - var(--icon) / 2); }
  .hero .process-section { padding-bottom: 26px; }
}

/* headline size: scales with the screen so "From treatment to final disposal." stays on one line
   and keeps clear of the diagram (~46px at 1440, ~61px at 1920) */
@media (min-width: 992px) {
  .hero .main h1 { font-size: clamp(36px, 3.2vw, 64px); line-height: 1.04; }
  .hero .lede { max-width: 560px; }
}

/* phones/tablets: the headline sits on the brightest part of the water photo,
   so darken the top of the overlay and lift the accent line off the background */
@media (max-width: 991.98px) {
  .hero .overlay {
    background: linear-gradient(180deg,
      rgba(6, 23, 61, .58) 0,
      rgba(6, 23, 61, .5) 30vh,
      rgba(6, 23, 61, .66) 62vh,
      rgba(6, 23, 61, .9) 92vh,
      #06173D 100vh,
      #06173D 100%);
  }
  .hero .main h1 { font-size: clamp(34px, 9vw, 52px); }
  .hero .main h1 span { color: #B8C1FF; }
  .hero .main h1, .hero .eyebrow, .hero .lede { text-shadow: 0 2px 16px rgba(6, 23, 61, .45); }
}

/* highlighted "last-mile logistics" paragraph under the banner text: lavender rule on the left */
.hero .fx-hero-edge {
  max-width: 540px; margin: 28px 0 0; padding: 4px 0 4px 18px;
  border-left: 3px solid var(--fx-secondary);
  color: rgba(255, 255, 255, .88); font-size: clamp(14px, .95vw, 16px); line-height: 1.6;
}
.hero .fx-hero-edge strong { display: block; margin-bottom: 4px; color: #fff; font-family: var(--pxn-ff-heading); font-size: 1.1em; font-weight: 700; }
.hero .fx-hero-edge + .actions { margin-top: 32px; }
@media (max-width: 991.98px) {
  .hero .fx-hero-edge { max-width: none; margin-top: 22px; padding: 4px 0 4px 16px; text-shadow: 0 1px 10px rgba(6, 23, 61, .4); }
}

/* desktop headline: break only after "disposal." (first line on one line) */
@media (min-width: 1200px) {
  .hero .main h1 { text-wrap: wrap; white-space: nowrap; max-width: none; }
}

/* ---------------------------------------------------------------------
   2. Shared bits
   --------------------------------------------------------------------- */
.fx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.fx-tags li {
  padding: 5px 11px; border-radius: 999px; background: #EEF1F8; border: 1px solid rgba(9, 34, 91, .08);
  color: var(--fx-primary); font-size: 13px; font-weight: 600; line-height: 1.3;
}

.fx-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px;
  color: var(--fx-secondary-dark); font-family: var(--pxn-ff-heading); font-size: 14px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.fx-eyebrow::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--fx-secondary); }

/* ---------------------------------------------------------------------
   3. Home - "What we provide": wide two-line statement, then the theme's
      project cards (.pxn-h1_project_item: white frame, label box on the
      image) in a Swiper carousel: 3 cards in view on desktop, 2 on tablet,
      1 with the next peeking on phones; it moves on to the 4th and loops.
      Image and title both link to Products & Services.
      Carousel is started in index.html (search "fx-cap-carousel").
   --------------------------------------------------------------------- */
.fx-provide_head { position: relative; z-index: 1; max-width: 1680px; margin: 0 auto 64px; padding: 0 40px; text-align: center; }
.fx-provide .fx-eyebrow { margin-bottom: 18px; }
.fx-provide .fx-statement {
  font-size: clamp(22px, 1.95vw, 34px); line-height: 1.32; font-weight: 600; letter-spacing: -.012em;
  text-wrap: balance;
}
.fx-provide .fx-statement span { color: var(--fx-secondary-dark); }
/* theme's dashed arc, recoloured navy; starts below the statement so it only shows in the margin */
.fx-provide .bg_left_shape { top: 300px; max-width: 380px; opacity: .8; pointer-events: none; }

/* carousel: the frame's shadow/hover zoom needs a little room inside the clipped track */
.fx-cap-carousel { overflow: hidden; padding: 4px; margin: -4px; }
.fx-cap-carousel .swiper-slide { height: auto; }
.fx-cap-carousel .pxn-h1_project_item { float: none; display: flex; padding: 0; }
.fx-cap-card .pxn-h1_project_item_inner { display: flex; width: 100%; height: 100%; }
.fx-cap-card .project_img { height: 100%; }
.fx-cap-card .project_img > a { display: block; width: 100%; }
.fx-cap-card .project_img img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s; }
.fx-cap-card:hover .project_img img { transform: scale(1.05); }
.fx-cap-card .project_img img.fx-pos-basin { object-position: 46% 60%; }
.fx-cap-card .project_img img.fx-pos-drums-card { object-position: 76% 50%; }
.fx-cap-card .project_img img.fx-pos-vessels-card { object-position: 62% 45%; }
.fx-cap-card .project_img img.fx-pos-truck-card { object-position: 50% 30%; }
.fx-cap-card .project_img img.fx-pos-pumphall-card { object-position: 58% 50%; }

/* label box: title + description (theme box, a little wider for the extra line) */
.fx-cap-carousel .fx-cap-card .project_content { min-width: 0; width: 100%; max-width: none; min-height: 172px; padding: 15px; }
.fx-cap-card .project_content .project_title { color: var(--fx-primary); font-size: 22px; line-height: 1.22; text-wrap: balance; }
.fx-cap-card .project_content .project_title a:focus-visible { outline: 2px solid var(--fx-secondary-dark); outline-offset: 3px; }
/* whole label box is clickable (title link stretched over it); the photo has its own link */
.fx-cap-card .project_content .project_title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fx-cap-card .project_content .project_desc { margin: 10px 0 0; color: #4B5470; font-size: 15px; line-height: 1.55; }

/* before the carousel script starts, lay the cards out at their final carousel widths
   (otherwise the first card renders full-width for a moment and the page jumps ~1100px) */
.fx-cap-carousel:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 16px; }
.fx-cap-carousel:not(.swiper-initialized) .swiper-slide { flex: 0 0 auto; width: calc((100% - 2px) / 1.12); }
@media (min-width: 768px) {
  .fx-cap-carousel:not(.swiper-initialized) .swiper-wrapper { gap: 20px; }
  .fx-cap-carousel:not(.swiper-initialized) .swiper-slide { width: calc((100% - 20px) / 2); }
}
@media (min-width: 1200px) {
  .fx-cap-carousel:not(.swiper-initialized) .swiper-wrapper { gap: 24px; }
  .fx-cap-carousel:not(.swiper-initialized) .swiper-slide { width: calc((100% - 48px) / 3); }
}

/* label boxes share one height (set by the carousel script in index.html); text stays top-aligned */
.fx-cap-card .project_content { box-sizing: border-box; }

/* dots under the cards */
.fx-cap-carousel_ctrl { display: flex; align-items: center; justify-content: center; margin-top: 40px; }
.fx-cap-carousel_dots.pxn_slider-pagination { position: static; width: auto; }

@media (max-width: 1199.98px) {
  .fx-provide_head { margin-bottom: 48px; padding: 0 32px; }
  .fx-cap-card .project_content .project_title { font-size: 20px; }
}
@media (max-width: 767.98px) {
  .fx-provide_head { margin-bottom: 36px; padding: 0 20px; }
  .fx-provide .fx-statement { font-size: 21px; line-height: 1.38; }
  /* taller photo on phones so more of it shows above the (equal-height) label box */
  .fx-cap-card .project_img img { aspect-ratio: 3 / 4.3; }
  .fx-cap-card .project_content .project_desc { font-size: 14.5px; }
  .fx-cap-carousel_ctrl { margin-top: 28px; }
}

/* ---------------------------------------------------------------------
   4. Home - "What sets us apart" (three photo cards, white section)
   --------------------------------------------------------------------- */
.fx-apart { background: #fff; }
.pxn-h1_offer_box .offer_img .mask_img img.fx-pos-tanks-card { object-position: 40% 55%; }
.pxn-h1_offer_box .offer_img .mask_img img.fx-pos-truck-offer { object-position: 30% 62%; }
.pxn-h1_offer_box .offer_img .mask_img img.fx-pos-robasin-offer { object-position: 50% 62%; }

/* ---------------------------------------------------------------------
   5. Home - "The fleet behind it": five counters on the lake photo
   --------------------------------------------------------------------- */
.fx-fleet .pxn-h2_services_wrap1 { left: 0; right: 0; padding: 0 24px; }
.fx-fleet .pxn-h2_services_wrap1 .section_heading { max-width: 980px; margin: 0 auto; }
.fx-fleet .pxn_counter_2 .title { max-width: 210px; }
@media (min-width: 1200px) {
  .fx-fleet .pxn-h2_counters_wrap { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
  .fx-fleet .pxn_counter_2 { padding: 17px 24px; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .fx-fleet .pxn-h2_counters_wrap { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fx-fleet .pxn-h2_counters_wrap > * { grid-column: span 2; }
  .fx-fleet .pxn-h2_counters_wrap > :nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 767.98px) {
  .fx-fleet .pxn-h2_counters_wrap > :last-child { grid-column: 1 / -1; }
}

/* Fleet cards: large centered title only (replaced the number counters) */
.fx-fleet-card {
  display: flex; align-items: center; justify-content: center; height: 100%; min-height: 150px;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--pxn-color-border-2, rgba(255, 255, 255, 0.2));
  border-radius: 12px; text-align: center; padding: 28px 20px;
}
.fx-fleet-card_title {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0;
  font-family: var(--pxn-ff-heading); font-weight: var(--pxn-fw-bold, 700);
  font-size: 30px; line-height: 1.2; color: #fff;
}
.fx-fleet-card_title span { display: block; margin-top: 10px; font-size: 16px; font-weight: 400; line-height: 1.4; opacity: .85; }
@media (min-width: 1200px) and (max-width: 1499.98px) {
  .fx-fleet-card_title { font-size: 26px; }
}
@media (max-width: 575.98px) {
  .fx-fleet-card { min-height: 110px; padding: 20px 12px; }
  .fx-fleet-card_title { font-size: 21px; }
  .fx-fleet-card_title span { font-size: 13px; }
}

/* ---------------------------------------------------------------------
   6. Home - "Who we serve": six industry cards (fx-circ cards + tags)
   --------------------------------------------------------------------- */
.fx-serve .fx-circ h3 { margin: 0 0 10px; color: var(--fx-primary); font-size: 21px; line-height: 1.25; }
.fx-serve .fx-circ_img img.fx-pos-dc { object-position: 50% 50%; }
.fx-serve .fx-circ_img img.fx-pos-chip { object-position: 55% 45%; }
.fx-serve .fx-circ_img img.fx-pos-lab-card { object-position: 60% 40%; }
.fx-serve .fx-circ_img img.fx-pos-aerial-card { object-position: 60% 55%; }
.fx-head-center { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.fx-head-center h2 { margin: 0; color: var(--fx-primary); font-size: clamp(30px, 3vw, 44px); line-height: 1.15; letter-spacing: -.015em; }
.fx-head-center p { margin: 14px auto 0; color: #4B5470; font-size: 18px; line-height: 1.6; }
@media (max-width: 575.98px) { .fx-head-center { margin-bottom: 32px; } .fx-head-center p { font-size: 16px; } }

/* ---------------------------------------------------------------------
   7. Call-to-action band (Home + Products & Services)
   --------------------------------------------------------------------- */
.fx-cta-section { padding: 96px 0; background: #fff; }
.fx-cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 28px 48px;
  padding: 64px 64px; border-radius: 22px; background: var(--fx-primary-deep);
  box-shadow: 0 40px 80px -48px rgba(9, 34, 91, .7);
}
.fx-cta_bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.fx-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 23, 61, .97) 0%, rgba(6, 23, 61, .93) 45%, rgba(9, 34, 91, .62) 100%);
}
.fx-cta::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--fx-secondary);
}
.fx-cta h2 { margin: 0; max-width: 720px; color: #fff; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.2; letter-spacing: -.01em; }
.fx-cta .pxn-btn-primary { flex: none; }
@media (max-width: 991.98px) {
  .fx-cta-section { padding: 72px 0; }
  .fx-cta { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
  .fx-cta::before { background: linear-gradient(180deg, rgba(6, 23, 61, .95) 0%, rgba(6, 23, 61, .88) 100%); }
}
@media (max-width: 575.98px) {
  .fx-cta-section { padding: 56px 0; }
  .fx-cta { padding: 36px 24px 32px; border-radius: 18px; }
}

/* ---------------------------------------------------------------------
   8. Products & Services
   --------------------------------------------------------------------- */
/* banner: jump links to the four capabilities */
.fx-jump { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.fx-jump a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); color: #fff;
  font-family: var(--pxn-ff-heading); font-size: 15px; font-weight: 600; line-height: 1.2;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .25s, border-color .25s, color .25s;
}
.fx-jump a span {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--fx-secondary); color: var(--fx-primary); font-size: 12px; font-weight: 700;
}
.fx-jump a:hover, .fx-jump a:focus-visible { background: #fff; border-color: #fff; color: var(--fx-primary); }

/* capability heading: "Capability 01" label + title + intro + tags */
.fx-cap-head .fx-kicker { margin-bottom: 14px; }
.fx-cap-head .fx-tags { margin-top: 22px; }
.fx-part--dark .fx-cap-head .fx-tags li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.fx-part--dark .fx-sub-head h2 { margin: 0; color: #fff; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.015em; }

/* lists that follow a capability heading in the same section */
.fx-part_head + .fx-wwd { margin-top: 8px; }

/* "Chemicals by industry": lettered cards with short bullet lists */
.fx-chem .fx-rapid_item ul { margin: 10px 0 0; padding: 0; list-style: none; }
.fx-chem .fx-rapid_item ul li { position: relative; padding-left: 16px; color: #4B5470; font-size: 14.5px; line-height: 1.55; }
.fx-chem .fx-rapid_item ul li + li { margin-top: 5px; }
.fx-chem .fx-rapid_item ul li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--fx-secondary);
}
.fx-chem .fx-rapid_item h3 { margin: 2px 0 6px; color: var(--fx-primary); font-size: 18px; line-height: 1.3; }
.fx-chem .fx-rapid_item--more { background: var(--fx-primary); border-color: var(--fx-primary); }
.fx-chem .fx-rapid_item--more h3 { color: #fff; }
.fx-chem .fx-rapid_item--more p { color: rgba(255, 255, 255, .8); }
.fx-chem .fx-rapid_item--more .fx-rapid_badge { background: var(--fx-secondary); color: var(--fx-primary); }
.fx-chem .fx-rapid_item--more a {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #C9D0FF;
  font-family: var(--pxn-ff-heading); font-weight: 700;
}
.fx-chem .fx-rapid_item--more a:hover { color: #fff; }
.fx-chem .fx-rapid_media .fx-photo img { aspect-ratio: 4 / 4.2; }

/* capability 04 highlight: the four-step chain */
.fx-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.fx-chain li {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  font-family: var(--pxn-ff-heading); font-size: 15px; font-weight: 600;
}
.fx-chain li span {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--fx-secondary); color: var(--fx-primary); font-size: 12px; font-weight: 700;
}
.fx-chain .fx-chain_arrow { padding: 0; background: none; border: 0; color: #B8C1FF; font-size: 14px; }
.fx-chain_note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: #B8C1FF;
  font-family: var(--pxn-ff-heading); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.fx-chain_note::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--fx-secondary); }
.fx-highlight_img img.fx-pos-truck-hl { object-position: 30% 60%; }
@media (max-width: 575.98px) { .fx-chain .fx-chain_arrow { display: none; } }

/* light-section variant of the 3-column lists sits on paper */
.fx-part--paper .fx-wwd_col { background: #fff; }

/* Products & Services: photo crops */
.fx-part_head .fx-photo img.fx-pos-ro-head { object-position: 40% 50%; }
.fx-part_head .fx-photo img.fx-pos-drums-head { object-position: 62% 55%; }
.fx-part_head .fx-photo img.fx-pos-truck-rear-head { object-position: 50% 38%; }
.fx-part_head .fx-photo img.fx-pos-cooling-head { object-position: 50% 70%; }
.fx-hero--tall .fx-hero_poster.fx-pos-ps { object-position: 50% 55%; }

/* ---------------------------------------------------------------------
   9. About - What we do / How we deliver / Who we serve: three .fx-biz
      photo cards (fx-industry.css) under Our story.
   --------------------------------------------------------------------- */
.fx-story_cards { margin-top: 64px; }
.fx-biz img.fx-pos-basin-biz { object-position: 50% 62%; }
.fx-biz img.fx-pos-aerial-biz { object-position: 60% 55%; }
.fx-biz img.fx-pos-valves-biz { object-position: 35% 50%; }
@media (max-width: 991.98px) { .fx-story_cards { margin-top: 48px; } }

/* Our story cards as a Swiper carousel (4 cards, 3 in view on desktop) */
.fx-biz-carousel { overflow: hidden; padding: 8px 4px 40px; margin: -8px -4px -40px; }
.fx-biz-carousel .swiper-slide.fx-biz { height: auto; }
.fx-biz-carousel .fx-biz:hover { transform: translateY(-4px); }
.fx-biz-carousel:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 16px; }
.fx-biz-carousel:not(.swiper-initialized) .swiper-slide { flex: 0 0 auto; width: calc(100% / 1.12); }
@media (min-width: 768px) {
  .fx-biz-carousel:not(.swiper-initialized) .swiper-wrapper { gap: 20px; }
  .fx-biz-carousel:not(.swiper-initialized) .swiper-slide { width: calc((100% - 20px) / 2); }
}
@media (min-width: 1200px) {
  .fx-biz-carousel:not(.swiper-initialized) .swiper-wrapper { gap: 22px; }
  .fx-biz-carousel:not(.swiper-initialized) .swiper-slide { width: calc((100% - 44px) / 3); }
}
