:root {
  --orange: #ff5a14;
  --orange-dark: #e64b0b;
  --black: #171717;
  --dark: #1f1f1f;
  --footer: #302823;
  --gray: #747474;
  --line: #e9e9e9;
  --light: #f5f5f5;
  --white: #ffffff;
  --container: 1110px;
  --font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gray);
  background: var(--white);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 30px)); margin: 0 auto; }

.top-black {
  height: 28px;
  color: #d7d7d7;
  background: #111;
  font-size: 10px;
}
.top-black-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  height: 28px;
  gap: 16px;
}
.top-black span:nth-child(2) { text-align: center; }
.top-black span:nth-child(3) { text-align: right; }

.top-white {
  height: 72px;
  background: var(--white);
}
.top-white-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  height: 72px;
  gap: 22px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 31px;
  color: var(--white);
  background: var(--orange);
  font-size: 20px;
  font-weight: 900;
}
.logo strong {
  display: block;
  color: var(--black);
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
}
.logo em {
  display: block;
  color: var(--orange);
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}
.quick-box {
  min-width: 142px;
  padding: 9px 16px;
  color: var(--white);
  background: var(--black);
  text-align: center;
  border-bottom: 3px solid var(--orange);
}
.quick-box span {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
}
.quick-box strong {
  display: block;
  color: var(--white);
  font-size: 10px;
  text-transform: uppercase;
}
.social-icons {
  display: flex;
  gap: 6px;
}
.social-icons span {
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
}
.social-icons span:last-child { background: var(--orange); border-color: var(--orange); }

.orange-nav {
  position: sticky;
  top: 0;
  z-index: 99;
  height: 45px;
  background: transparent;
}
.orange-nav.is-stuck {
  position: fixed;
  left: 0;
  right: 0;
}
.nav-spacer {
  display: none;
  height: 45px;
}
body.nav-is-fixed .nav-spacer { display: block; }
.orange-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 45px;
  color: var(--white);
  background: var(--orange);
  transform: translateY(0);
}
.nav-links { display: flex; align-items: center; height: 45px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 45px;
  padding: 0 16px;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,.16);
}
.nav-links a:hover { background: var(--orange-dark); }
.nav-quote {
  display: inline-flex;
  align-items: center;
  height: 45px;
  padding: 0 22px;
  background: var(--orange-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.menu-button { display: none; }

.hero {
  position: relative;
  height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  margin-top: -1px;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
}
.hero-center {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 30px));
  text-align: center;
  transform: translateY(-16px);
}
.hero-seven {
  width: 44px;
  height: 56px;
  margin: 0 auto 12px;
  color: var(--white);
  border-bottom: 2px solid var(--orange);
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
}
.hero-center p {
  margin: 0 0 6px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-center h1 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 43px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-center span {
  display: block;
  color: #e9e9e9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.hero-center a,
.orange-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 22px;
  padding: 0 22px;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.floating-counters {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 690px;
  margin-top: -45px;
}
.floating-counters article {
  min-height: 90px;
  padding: 19px 24px;
  color: var(--white);
  background: #050505;
  border-bottom: 3px solid var(--orange);
}
.floating-counters h2 {
  margin: 0 0 5px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.1;
}
.floating-counters p { margin: 0; color: #d8d8d8; font-size: 12px; }

.white-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px;
  padding: 52px 0 44px;
  text-align: center;
}
.mini-icon {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 18px;
  border: 4px solid var(--orange);
  border-radius: 50%;
}
.white-features h3 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: 13px;
  text-transform: uppercase;
}
.white-features p { margin: 0; font-size: 12px; }

.about {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 54px;
  align-items: center;
  padding: 32px 0 76px;
}
.tiny,
.section-heading p,
.dark-title p {
  margin: 0;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.about h2,
.section-heading h2,
.dark-title h2 {
  margin: 2px 0 22px;
  color: var(--black);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}
.about-copy p:not(.tiny) { max-width: 560px; margin: 0 0 14px; }
.about-visual {
  position: relative;
  min-height: 270px;
}
.about-visual img {
  position: relative;
  z-index: 2;
  width: 250px;
  height: 270px;
  object-fit: cover;
  margin-left: auto;
}
.orange-triangle {
  position: absolute;
  right: 42px;
  bottom: 0;
  width: 250px;
  height: 220px;
  background: var(--orange);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
}

.dark-services {
  padding: 76px 0 82px;
  color: #a8a8a8;
  background: var(--black);
}
.dark-title { margin-bottom: 42px; }
.dark-title h2,
.section-heading.dark h2 { color: var(--white); }
.service-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 86px;
  text-align: center;
}
.service-icons span {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 16px;
  border: 4px solid var(--orange);
  transform: rotate(45deg);
}
.service-icons h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
}
.service-icons p { margin: 0; font-size: 12px; }

.project-section { padding: 78px 0 82px; background: #f6f6f6; }
.section-heading { margin-bottom: 36px; }
.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-cards article {
  background: var(--white);
  border: 1px solid var(--line);
}
.project-cards img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.project-cards h3 {
  margin: 18px 18px 4px;
  color: var(--black);
  font-size: 14px;
  text-transform: uppercase;
}
.project-cards p {
  margin: 0 18px 22px;
  font-size: 12px;
}

.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 128px;
}
.split-left {
  display: grid;
  align-content: center;
  justify-items: end;
  padding-right: 70px;
  color: var(--white);
  background: var(--orange);
}
.split-left p { margin: 0 0 12px; color: var(--white); font-size: 17px; font-weight: 900; }
.split-left a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 20px;
  color: var(--orange);
  background: var(--white);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.split-right {
  padding: 30px 70px;
  color: #cfcfcf;
  background: linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.78)), url("public/assets/work-ductos-varios.jpeg") center/cover;
}
.split-right h2 { margin: 0 0 8px; color: var(--orange); font-size: 25px; }
.split-right p { margin: 0; font-size: 12px; }

.testimonial {
  padding: 72px 0;
  background: var(--white);
}
.testimonial-box {
  position: relative;
  max-width: 760px;
  min-height: 126px;
  margin: 0 auto;
  padding: 32px 52px 30px 110px;
  background: #f6f6f6;
}
.quote-icon {
  position: absolute;
  left: 38px;
  top: 40px;
  width: 44px;
  height: 44px;
  border: 8px solid var(--white);
  border-radius: 50%;
  background: var(--orange);
}
.testimonial-box p { margin: 0 0 12px; }
.testimonial-box strong { color: var(--black); text-transform: uppercase; }

.team-partner {
  padding: 70px 0 82px;
  color: #bdbdbd;
  background: var(--black);
}
.team-partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.team-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.team-cards article {
  background: var(--orange);
}
.team-cards img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.team-cards div { padding: 16px; color: var(--white); }
.team-cards h3 { margin: 0 0 4px; color: var(--white); font-size: 14px; text-transform: uppercase; }
.team-cards span { font-size: 11px; text-transform: uppercase; }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.partner-grid span {
  display: grid;
  place-items: center;
  min-height: 76px;
  color: var(--white);
  background: #333;
  font-weight: 900;
  text-transform: uppercase;
}

.blog {
  padding: 76px 0 84px;
  background: var(--white);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.blog-grid article {
  position: relative;
  min-height: 330px;
  background: #f6f6f6;
}
.blog-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-grid article > div {
  width: 78%;
  margin: -58px auto 0;
  position: relative;
  z-index: 2;
  padding: 22px;
  color: var(--white);
  background: var(--orange);
}
.blog-grid span { font-size: 11px; font-weight: 900; text-transform: uppercase; }
.blog-grid h3 { margin: 8px 0 18px; color: var(--white); font-size: 16px; line-height: 1.25; text-transform: uppercase; }
.blog-grid a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 18px;
  color: var(--orange);
  background: var(--white);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer {
  padding: 62px 0 54px;
  color: #cfcfcf;
  background: var(--footer);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .75fr .85fr 1fr;
  gap: 34px;
}
.footer h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
}
.footer p,
.footer a { display: block; margin: 0 0 9px; font-size: 12px; }
.footer img { width: 150px; height: 76px; object-fit: cover; margin-top: 18px; }
.footer input,
.footer textarea {
  width: 100%;
  min-height: 34px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 0;
  background: var(--white);
}
.footer textarea { min-height: 82px; resize: vertical; }
.footer button {
  min-height: 34px;
  padding: 0 22px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
}
.footer-bottom {
  padding: 18px;
  color: #999;
  background: #f2f2f2;
  text-align: center;
  font-size: 12px;
}

main section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease, transform 480ms ease;
}
main section.hero,
main section.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .top-black-grid,
  .top-white-grid,
  .about,
  .service-icons,
  .project-cards,
  .team-partner-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-black { height: auto; }
  .top-black-grid { height: auto; padding: 8px 0; gap: 3px; }
  .top-black span,
  .top-black span:nth-child(2),
  .top-black span:nth-child(3) { text-align: left; }
  .top-white { height: auto; }
  .top-white-grid { height: auto; padding: 16px 0; }
  .social-icons { display: none; }
  .orange-nav-inner { grid-template-columns: auto 1fr; }
  .menu-button {
    display: inline-flex;
    height: 45px;
    align-items: center;
    padding: 0 18px;
    color: var(--white);
    background: transparent;
    border: 0;
    font-weight: 900;
    text-transform: uppercase;
  }
  .nav-links {
    position: absolute;
    inset: 45px 15px auto 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--orange);
  }
  body.menu-open .nav-links { display: flex; }
  .nav-links a { border-top: 1px solid rgba(255,255,255,.16); }
  .nav-quote { justify-self: end; }
  .floating-counters,
  .white-features,
  .team-cards,
  .partner-grid {
    grid-template-columns: 1fr;
  }
  .about-visual img { margin: 0 auto; }
  .orange-triangle { right: 50%; transform: translateX(50%); }
}

@media (max-width: 560px) {
  .hero { height: 430px; }
  .hero-center h1 { font-size: 31px; }
  .floating-counters { margin-top: 0; width: 100%; gap: 0; }
  .floating-counters article { border-bottom-width: 1px; }
  .white-features,
  .about,
  .dark-services,
  .project-section,
  .testimonial,
  .team-partner,
  .blog,
  .footer {
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .split-cta { grid-template-columns: 1fr; }
  .split-left { justify-items: start; padding: 28px 24px; }
  .split-right { padding: 28px 24px; }
  .testimonial-box { padding: 28px; }
  .quote-icon { position: static; margin-bottom: 18px; }
  .quick-box { width: 100%; }
  .nav-quote { display: none; }
}

/* Scale and interaction pass */
:root { --container: 1170px; }
body { font-size: 16px; line-height: 1.7; }
.container { width: min(var(--container), calc(100% - 40px)); }

.top-black { height: 34px; font-size: 12px; }
.top-black-grid { height: 34px; }
.top-white { height: 88px; }
.top-white-grid { height: 88px; }
.logo-mark { width: 34px; height: 40px; font-size: 25px; }
.logo strong { font-size: 22px; }
.logo em { font-size: 10px; }
.quick-box { min-width: 178px; padding: 12px 18px; }
.quick-box span { font-size: 15px; }
.quick-box strong { font-size: 12px; }
.social-icons span { width: 34px; height: 34px; }

.orange-nav,
.orange-nav-inner,
.nav-spacer,
.nav-links,
.nav-links a,
.nav-quote { height: 56px; }
.nav-links a { padding: 0 21px; font-size: 13px; }
.nav-quote { padding: 0 28px; font-size: 13px; }

.hero { height: 610px; }
.hero > img { animation: heroImageDrift 16s ease-in-out infinite alternate; }
.hero-center { width: min(820px, calc(100% - 36px)); }
.hero-seven { width: 58px; height: 70px; margin-bottom: 18px; font-size: 60px; }
.hero-center p { font-size: 15px; }
.hero-center h1 { font-size: 66px; }
.hero-center span { font-size: 15px; }
.hero-center a,
.orange-btn { min-height: 44px; margin-top: 30px; padding: 0 32px; font-size: 13px; }

.floating-counters { max-width: 820px; margin-top: -58px; }
.floating-counters article { min-height: 118px; padding: 27px 32px; }
.floating-counters h2 { font-size: 24px; }
.floating-counters p { font-size: 14px; }

.white-features { gap: 64px; padding: 76px 0 66px; }
.mini-icon,
.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  color: var(--orange);
  background: #fff4ee;
  border: 2px solid rgba(255, 90, 20, .22);
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(255, 90, 20, .13);
  font-family: "Segoe UI Symbol", Arial, sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}
.mini-icon::before,
.service-icon::before { content: "*"; }
.icon-engineering::before,
.icon-hvac::before { content: "✦"; }
.icon-chiller::before,
.icon-frio::before { content: "❄"; }
.icon-pharma::before { content: "+"; }
.icon-ductos::before { content: "⇄"; }
.icon-panel::before { content: "⚡"; }
.icon-tools::before { content: "⚒"; }
.white-features h3 { font-size: 16px; }
.white-features p { font-size: 14px; }

.about { grid-template-columns: 1fr 430px; gap: 74px; padding: 46px 0 104px; }
.tiny,
.section-heading p,
.dark-title p { font-size: 13px; }
.about h2,
.section-heading h2,
.dark-title h2 { font-size: 40px; }
.about-copy p:not(.tiny) { max-width: 650px; margin-bottom: 18px; }
.about-visual { min-height: 360px; }
.about-visual img { width: 330px; height: 360px; transition: transform 700ms ease, filter 700ms ease; }
.about-visual:hover img { transform: translateY(-8px) scale(1.03); filter: saturate(1.08); }
.orange-triangle { width: 330px; height: 292px; }

.dark-services { padding: 104px 0 110px; }
.dark-title { margin-bottom: 58px; }
.service-icons { gap: 64px 96px; }
.service-icons .service-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  color: var(--white);
  background: rgba(255, 90, 20, .15);
  border-color: rgba(255, 90, 20, .42);
  border-radius: 8px;
  transform: rotate(45deg);
}
.service-icons .service-icon::before { transform: rotate(-45deg); }
.service-icons h3 { font-size: 15px; }
.service-icons p { font-size: 14px; }

.project-section { padding: 104px 0 112px; }
.section-heading { margin-bottom: 48px; }
.project-cards { gap: 30px; }
.project-cards article,
.team-cards article,
.blog-grid article { overflow: hidden; transition: transform 320ms ease, box-shadow 320ms ease; }
.project-cards article:hover,
.blog-grid article:hover { transform: translateY(-8px); box-shadow: 0 22px 46px rgba(0, 0, 0, .13); }
.project-cards img { height: 238px; transition: transform 700ms ease, filter 700ms ease; }
.project-cards article:hover img,
.team-cards article:hover img,
.blog-grid article:hover img { transform: scale(1.08); filter: saturate(1.1) contrast(1.04); }
.project-cards h3 { margin: 24px 24px 6px; font-size: 18px; }
.project-cards p { margin: 0 24px 30px; font-size: 14px; }

.split-cta { min-height: 170px; }
.split-left { padding-right: 92px; }
.split-left p { margin-bottom: 16px; font-size: 24px; }
.split-left a { min-height: 40px; padding: 0 28px; font-size: 13px; }
.split-right { padding: 44px 92px; }
.split-right h2 { font-size: 34px; }
.split-right p { font-size: 15px; }

.testimonial { padding: 96px 0; }
.testimonial-box { max-width: 860px; min-height: 150px; padding: 42px 64px 40px 132px; }
.quote-icon { left: 46px; top: 48px; width: 56px; height: 56px; }

.team-partner { padding: 98px 0 112px; }
.team-partner-grid { gap: 76px; }
.team-cards { gap: 26px; }
.team-cards img { height: 288px; transition: transform 700ms ease, filter 700ms ease; }
.team-cards div { padding: 22px; }
.team-cards h3 { font-size: 18px; }
.team-cards span { font-size: 13px; }
.partner-grid span { min-height: 94px; }

.blog { padding: 104px 0 112px; }
.blog-grid { gap: 46px; }
.blog-grid article { min-height: 410px; }
.blog-grid img { height: 292px; transition: transform 700ms ease, filter 700ms ease; }
.blog-grid article > div { padding: 28px; }
.blog-grid span { font-size: 13px; }
.blog-grid h3 { font-size: 20px; }
.blog-grid a { min-height: 38px; padding: 0 24px; font-size: 13px; }

.footer { padding: 82px 0 72px; }
.footer-grid { gap: 46px; }
.footer h2 { font-size: 18px; }
.footer p,
.footer a { font-size: 14px; }
.footer img { width: 190px; height: 96px; margin-top: 22px; }
.footer-whatsapp a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 10px;
  padding: 0 24px;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(255, 90, 20, .24);
  font-weight: 900;
  text-transform: uppercase;
}

main section.is-visible img { animation: imageLift 760ms ease both; }

@keyframes heroImageDrift {
  from { transform: scale(1); }
  to { transform: scale(1.08) translate3d(-1.5%, -1.5%, 0); }
}

@keyframes imageLift {
  from { opacity: .72; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero > img,
  main section.is-visible img {
    animation: none;
  }
}

@media (max-width: 920px) {
  .orange-nav,
  .orange-nav-inner,
  .nav-spacer,
  .nav-links,
  .nav-links a,
  .nav-quote,
  .menu-button { height: 54px; }
  .nav-links { inset: 54px 20px auto 20px; }
  .about { grid-template-columns: 1fr; }
  .about-visual img { margin: 0 auto; }
  .hero { height: 560px; }
  .hero-center h1 { font-size: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .hero { height: 500px; }
  .hero-center h1 { font-size: 36px; }
  .floating-counters { margin-top: 0; }
  .floating-counters article { min-height: 104px; }
  .about h2,
  .section-heading h2,
  .dark-title h2 { font-size: 31px; }
  .about-visual { min-height: 310px; }
  .about-visual img { width: 280px; height: 310px; }
  .orange-triangle { width: 280px; height: 250px; }
  .split-left,
  .split-right { padding: 34px 24px; }
  .testimonial-box { padding: 30px; }
  .quote-icon { position: static; margin-bottom: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Requested layout refinements */
.orange-nav,
.orange-nav-inner,
.nav-spacer,
.nav-links,
.nav-links a,
.nav-quote { height: 66px; }
.nav-links a {
  padding: 0 25px;
  font-size: 14px;
}
.nav-quote {
  padding: 0 34px;
  font-size: 14px;
}

.floating-counters {
  max-width: 940px;
  gap: 20px;
  margin-top: -74px;
}
.floating-counters article {
  position: relative;
  isolation: isolate;
  min-height: 158px;
  overflow: hidden;
  padding: 42px 36px 34px;
  background-image: linear-gradient(rgba(0, 0, 0, .68), rgba(0, 0, 0, .68)), var(--card-bg);
  background-position: center;
  background-size: cover;
  border-bottom-width: 5px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, .2);
  transition: transform 320ms ease, box-shadow 320ms ease;
}
.floating-counters article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 90, 20, .24), transparent 58%);
}
.floating-counters article:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 58px rgba(0, 0, 0, .26);
}
.floating-counters h2 { font-size: 30px; }
.floating-counters p { font-size: 16px; }

.dark-services {
  position: relative;
  isolation: isolate;
  background: transparent;
  overflow: hidden;
}
.dark-services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(0, 0, 0, .82), rgba(0, 0, 0, .82)), url("public/assets/work-ductos-varios.jpeg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
.dark-services::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0, rgba(255, 90, 20, .18), transparent 38%);
}

.project-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.project-controls {
  display: flex;
  gap: 8px;
}
.project-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.project-controls button:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}
.project-slider {
  overflow: hidden;
}
.project-cards {
  display: flex;
  grid-template-columns: none;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 0 8px;
}
.project-cards::-webkit-scrollbar { display: none; }
.project-card {
  flex: 0 0 calc((100% - 60px) / 3);
  scroll-snap-align: start;
}

@media (max-width: 920px) {
  .orange-nav,
  .orange-nav-inner,
  .nav-spacer,
  .nav-links,
  .nav-links a,
  .nav-quote,
  .menu-button { height: 60px; }
  .nav-links { inset: 60px 20px auto 20px; }
  .floating-counters {
    max-width: min(var(--container), calc(100% - 40px));
    margin-top: -38px;
  }
  .project-card { flex-basis: calc((100% - 30px) / 2); }
  .dark-services::before { background-attachment: scroll; }
}

@media (max-width: 560px) {
  .orange-nav,
  .orange-nav-inner,
  .nav-spacer,
  .nav-links,
  .nav-links a,
  .nav-quote,
  .menu-button { height: 58px; }
  .nav-links { inset: 58px 14px auto 14px; }
  .floating-counters {
    margin-top: 0;
    gap: 14px;
  }
  .floating-counters article {
    min-height: 140px;
    padding: 34px 28px 30px;
  }
  .project-heading {
    align-items: start;
    flex-direction: column;
  }
  .project-card { flex-basis: 88%; }
}

/* Final visual polish */
.social-icons {
  align-items: center;
  gap: 8px;
}
.social-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.social-facebook::before { content: "f"; }
.social-instagram::before { content: "◎"; font-size: 18px; }
.social-youtube,
.social-icons span.social-youtube {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}
.social-youtube::before { content: "▶"; font-size: 13px; transform: translateX(1px); }

.hero { height: 700px; }

.dark-services {
  min-height: 760px;
  padding-top: 132px;
  padding-bottom: 138px;
}
.dark-services::before {
  background-position: center calc(50% + var(--services-bg-y, 0px));
  transition: background-position 120ms linear;
}
.service-icons {
  align-items: start;
}
.service-icons .service-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  padding: 0;
  transform: rotate(45deg);
  transform-origin: center;
}
.service-icons .service-icon::before {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transform: rotate(-45deg);
  transform-origin: center;
  line-height: 1;
  text-align: center;
}
.service-icons h3 {
  margin-top: 0;
}

.split-cta {
  min-height: 220px;
}
.split-left {
  padding-top: 54px;
  padding-bottom: 54px;
}
.split-right {
  display: grid;
  align-content: center;
}

.team-partner-grid {
  align-items: start;
}
.team-partner-grid > div {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.team-partner .section-heading {
  min-height: 112px;
  margin-bottom: 34px;
}
.team-cards,
.partner-grid {
  margin-top: 0;
}
.partner-grid {
  align-content: start;
}

@media (max-width: 920px) {
  .social-icons { display: flex; }
  .hero { height: 640px; }
  .dark-services {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 112px;
  }
  .team-partner .section-heading {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .social-icons { display: none; }
  .hero { height: 560px; }
  .split-cta { min-height: 260px; }
}

/* Font Awesome icon pass */
.social-icon::before,
.mini-icon::before,
.service-icon::before {
  content: none !important;
}
.social-icon i,
.mini-icon i,
.service-icon i {
  display: block;
  line-height: 1;
}
.social-icon i {
  font-size: 17px;
}
.social-youtube i {
  font-size: 18px;
}
.mini-icon i {
  font-size: 24px;
}
.service-icons .service-icon i {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 26px;
  transform: rotate(-45deg);
  transform-origin: center;
}
.service-icons .service-icon .fa-fan {
  animation: fanSpin 9s linear infinite;
}

@keyframes fanSpin {
  from { transform: rotate(-45deg); }
  to { transform: rotate(315deg); }
}

@media (prefers-reduced-motion: reduce) {
  .service-icons .service-icon .fa-fan {
    animation: none;
  }
}

/* Mobile header correction */
@media (max-width: 760px) {
  .top-black {
    display: none;
  }

  .top-white {
    height: auto;
    border-bottom: 1px solid var(--line);
  }

  .top-white-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo socials"
      "call call";
    align-items: center;
    height: auto;
    gap: 10px 12px;
    padding: 12px 0;
  }

  .logo {
    grid-area: logo;
    min-width: 0;
    gap: 8px;
  }

  .logo-mark {
    width: 30px;
    height: 36px;
    font-size: 22px;
    flex: 0 0 auto;
  }

  .logo strong {
    font-size: 18px;
    white-space: nowrap;
  }

  .logo em {
    font-size: 9px;
    white-space: nowrap;
  }

  .social-icons {
    grid-area: socials;
    display: flex;
    justify-content: end;
    gap: 6px;
  }

  .social-icon,
  .social-icons span {
    width: 32px;
    height: 32px;
  }

  .quick-box {
    grid-area: call;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
    gap: 10px;
    border-bottom-width: 2px;
  }

  .quick-box span,
  .quick-box strong {
    line-height: 1;
  }

  .quick-box span {
    font-size: 15px;
  }

  .quick-box strong {
    font-size: 11px;
  }

  .orange-nav,
  .orange-nav-inner,
  .nav-spacer,
  .menu-button {
    height: 56px;
  }

  .orange-nav-inner {
    grid-template-columns: 1fr;
  }

  .menu-button {
    justify-content: center;
    width: 100%;
    padding: 0;
    font-size: 13px;
  }

  .nav-quote {
    display: none;
  }

  .nav-links {
    inset: 56px 14px auto 14px;
    z-index: 110;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
  }

  .nav-links a {
    height: 48px;
    justify-content: center;
    padding: 0 16px;
  }
}

@media (max-width: 390px) {
  .top-white-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "socials"
      "call";
  }

  .logo,
  .social-icons {
    justify-content: center;
  }

  .quick-box {
    flex-direction: column;
    gap: 4px;
  }
}

/* Joint palette social icon alignment */
.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon,
.social-icons span.social-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(23, 23, 23, .12);
  line-height: 0;
  box-shadow: 0 8px 20px rgba(23, 23, 23, .06);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-icon i {
  display: grid;
  place-items: center;
  width: 1em;
  height: 1em;
  color: currentColor;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.social-facebook,
.social-instagram {
  color: var(--black);
}

.social-youtube,
.social-icons span.social-youtube {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.social-icon:hover {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
  transform: translateY(-2px);
}

.social-youtube:hover,
.social-icons span.social-youtube:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

@media (max-width: 760px) {
  .social-icons {
    gap: 7px;
  }

  .social-icon,
  .social-icons span.social-icon {
    width: 34px;
    height: 34px;
  }

  .social-icon i {
    font-size: 15px;
  }
}
