:root {
  --fh-service-blue: #063680;
  --fh-service-blue-deep: #031f4d;
  --fh-service-orange: #ff5a00;
  --fh-service-orange-dark: #d94d00;
  --fh-service-ink: #0b0d10;
  --fh-service-muted: #5f6875;
  --fh-service-mist: #eef2f6;
  --fh-service-line: #d8dee8;
  --fh-service-white: #fff;
  --fh-service-display: "Barlow Condensed", sans-serif;
  --fh-service-body: "Montserrat", Arial, sans-serif;
  --fh-service-gutter: clamp(1.25rem, 5vw, 5.5rem);
  --fh-service-max: 1600px;
}

html { scroll-behavior: smooth; }
body.fh-services-page { margin: 0; color: var(--fh-service-ink); background: var(--fh-service-white); font-family: var(--fh-service-body); overflow-x: hidden; }
body.fh-services-page * { box-sizing: border-box; }
body.fh-services-page section[id] { scroll-margin-top: 7rem; }
body.fh-services-page a { text-underline-offset: .22em; }
body.fh-services-page :focus-visible { outline: 3px solid #ffb385; outline-offset: 4px; }
body.fh-services-page main { padding: 0; }

.fh-skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fh-skip:focus { position: fixed; left: 1rem; top: .75rem; z-index: 1100; width: auto; height: auto; padding: .7rem 1rem; clip: auto; color: #fff; background: var(--fh-service-ink); }
.fh-container { width: min(100%, var(--fh-service-max)); margin-inline: auto; padding-inline: var(--fh-service-gutter); }

.fh-services-nav-tools { padding-inline: 1rem; }
.fh-services-login { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-size: .78rem; font-weight: 700; line-height: 1.05; text-decoration: none; }
.fh-services-login i { font-size: 1.25rem; }
.fh-services-login:hover, .fh-services-wishlist:hover { color: #fff; opacity: .82; }
.fh-services-wishlist { display: inline-flex; align-items: center; text-decoration: none; }

.fh-service-hero { position: relative; isolation: isolate; height: 760px; min-height: 760px; display: flex; align-items: stretch; background: var(--fh-service-blue-deep); color: #fff; overflow: hidden; }
.fh-service-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(3,31,77,.99) 0%, rgba(3,31,77,.97) 31%, rgba(3,31,77,.84) 45%, rgba(3,31,77,.38) 59%, rgba(3,31,77,.06) 76%), linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.15)); pointer-events: none; }
.fh-service-hero::after { content: ""; position: absolute; inset: 0 43% 0 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 68%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 68%, transparent); pointer-events: none; }
.fh-hero-copy { position: relative; z-index: 2; width: min(100%, 1120px); height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(4.5rem, 7vw, 7rem) var(--fh-service-gutter); }
.fh-hero-copy h1 { max-width: 820px; margin: 0; color: #fff; font: 800 clamp(5rem, 6.35vw, 7.7rem)/.78 var(--fh-service-display); letter-spacing: -.045em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 8px 34px rgba(0,0,0,.2); }
.fh-hero-copy h1 span { color: var(--fh-service-orange); }
.fh-hero-copy > p:not(.fh-hero-note) { max-width: 650px; margin: 2rem 0 0; color: #f3f6fa; font-size: clamp(1.08rem, 1.55vw, 1.4rem); line-height: 1.55; text-shadow: 0 3px 18px rgba(0,0,0,.25); }
.fh-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.fh-btn { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; padding: 1rem 1.5rem; border: 2px solid transparent; color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease; }
.fh-btn:hover { transform: translateY(-2px); }
.fh-btn-primary { background: var(--fh-service-orange); box-shadow: 0 16px 38px rgba(255,90,0,.2); }
.fh-btn-primary:hover { color: #fff; background: var(--fh-service-orange-dark); }
.fh-btn-ghost { border-color: rgba(255,255,255,.78); background: rgba(3,31,77,.24); }
.fh-btn-ghost:hover { color: var(--fh-service-blue); background: #fff; border-color: #fff; }
.fh-hero-note { max-width: 720px; margin: 2.25rem 0 0; padding-top: 1.35rem; border-top: 1px solid rgba(255,255,255,.3); color: #d6e3f2; font-size: .95rem; letter-spacing: .01em; }
.fh-hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.fh-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.12)); pointer-events: none; }
.fh-hero-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; transform: scale(1.025); transform-origin: center; filter: saturate(.88) contrast(1.04); }
.fh-hero-route { position: absolute; z-index: 1; left: 39.5%; bottom: 8%; width: 47%; height: 3px; background: var(--fh-service-orange); transform: rotate(-67deg); transform-origin: left center; pointer-events: none; box-shadow: 0 0 18px rgba(255,90,0,.16); }
.fh-hero-route::before { content: ""; position: absolute; right: 100%; top: 0; width: 46vw; height: 3px; background: var(--fh-service-orange); }
.fh-hero-route::after, .fh-route-node { position: absolute; top: 50%; width: 15px; height: 15px; border-radius: 50%; background: var(--fh-service-orange); box-shadow: 0 0 0 7px rgba(255,90,0,.18); }
.fh-hero-route::after { content: ""; left: 46%; transform: translate(-50%,-50%); }
.fh-route-node { left: 0; transform: translate(-50%,-50%); }

.fh-capabilities { padding: clamp(5rem, 9vw, 9rem) 0; background: #fff; }
.fh-section-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 2rem 5rem; align-items: end; margin-bottom: clamp(4rem, 7vw, 7rem); }
.fh-overline { grid-column: 1 / -1; margin: 0 0 -.7rem; color: var(--fh-service-blue); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.fh-overline::before { content: ""; display: inline-block; width: 44px; height: 4px; margin-right: 1rem; vertical-align: middle; background: var(--fh-service-orange); }
.fh-section-intro h2, .fh-process h2, .fh-final-cta h2 { margin: 0; color: var(--fh-service-blue); font: 800 clamp(4.2rem, 7.3vw, 8rem)/.8 var(--fh-service-display); letter-spacing: -.035em; text-transform: uppercase; }
.fh-section-intro h2 span, .fh-process h2 span { color: var(--fh-service-orange); }
.fh-section-intro > p:last-child { max-width: 580px; margin: 0; color: var(--fh-service-muted); font-size: 1.02rem; line-height: 1.8; }

.fh-service-list { position: relative; }
.fh-service-list::before { content: ""; position: absolute; z-index: 0; left: calc(50% - 2px); top: 4%; bottom: 4%; width: 4px; background: var(--fh-service-orange); }
.fh-service-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); align-items: center; min-height: 530px; margin-bottom: clamp(2.5rem, 6vw, 6rem); background: #fff; }
.fh-service-row-reverse { grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr); }
.fh-service-row-reverse .fh-service-copy { grid-column: 2; grid-row: 1; }
.fh-service-row-reverse .fh-service-media { grid-column: 1; grid-row: 1; }
.fh-service-copy { position: relative; z-index: 2; padding: clamp(1.8rem, 5vw, 5rem); background: #fff; }
.fh-index { display: flex; align-items: center; gap: .8rem; color: var(--fh-service-orange); font: 800 1rem/1 var(--fh-service-body); }
.fh-index::after { content: ""; width: 62px; height: 3px; background: currentColor; }
.fh-service-copy h3 { margin: 1.15rem 0 1rem; color: var(--fh-service-blue); font: 800 clamp(3.4rem, 5.3vw, 6.4rem)/.79 var(--fh-service-display); letter-spacing: -.025em; text-transform: uppercase; }
.fh-service-copy h3 strong { color: var(--fh-service-orange); font-weight: 800; }
.fh-service-copy p { max-width: 580px; margin: 0 0 1.4rem; color: #252b33; font-size: 1.02rem; line-height: 1.7; }
.fh-service-copy ul { margin: 0 0 1.8rem; padding: 0; list-style: none; }
.fh-service-copy li { position: relative; padding: .55rem 0 .55rem 1.4rem; border-bottom: 1px solid var(--fh-service-line); color: var(--fh-service-muted); font-size: .88rem; line-height: 1.5; }
.fh-service-copy li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; background: var(--fh-service-orange); }
.fh-text-link { display: inline-flex; align-items: center; gap: 1rem; padding: .35rem 0 .55rem; border-bottom: 3px solid var(--fh-service-orange); color: var(--fh-service-blue); font-size: .78rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; text-decoration: none; transition: gap .2s ease, color .2s ease; }
.fh-text-link:hover { gap: 1.35rem; color: var(--fh-service-orange-dark); }
.fh-service-media { position: relative; min-height: 530px; height: 100%; margin: 0; overflow: hidden; background: var(--fh-service-mist); }
.fh-service-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(3,31,77,.08); pointer-events: none; }
.fh-service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.fh-service-row:hover .fh-service-media img { transform: scale(1.025); }
.fh-media-construction img { object-position: center; }
.fh-media-water img { object-position: center; }
.fh-service-media figcaption { position: absolute; right: 0; bottom: 0; padding: 1rem 1.3rem; color: #fff; background: var(--fh-service-blue); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.fh-specialty { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 620px; color: #fff; background: var(--fh-service-blue-deep); }
.fh-specialty-media { overflow: hidden; }
.fh-specialty-media img { width: 100%; height: 100%; object-fit: cover; }
.fh-specialty-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.fh-specialty-copy .fh-overline { color: #fff; }
.fh-specialty-copy h2 { margin: 1.3rem 0 1.5rem; color: #fff; font: 800 clamp(3.2rem, 4.8vw, 5.8rem)/.84 var(--fh-service-display); letter-spacing: -.025em; text-transform: uppercase; }
.fh-specialty-copy > p:not(.fh-overline) { max-width: 700px; color: #dbe4ee; line-height: 1.75; }
.fh-specialty-uses { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.4rem 0 2rem; }
.fh-specialty-uses span { padding: .7rem .85rem; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.fh-specialty .fh-text-link { color: #fff; }

.fh-process { padding: clamp(5rem, 9vw, 9rem) 0 0; background: var(--fh-service-mist); }
.fh-process-head { max-width: 1320px; }
.fh-process-head > p { max-width: 760px; margin: 1.5rem 0 3.5rem; color: var(--fh-service-muted); font-size: 1.05rem; line-height: 1.7; }
.fh-process-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); margin: 0; padding: 0 0 4rem; list-style: none; counter-reset: none; }
.fh-process-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 4px; background: var(--fh-service-orange); }
.fh-process-steps li { position: relative; padding-top: 5.7rem; }
.fh-process-steps li > span { position: absolute; z-index: 1; left: 0; top: 0; width: 70px; height: 70px; display: grid; place-items: center; color: #fff; background: var(--fh-service-orange); font: 800 3rem/1 var(--fh-service-display); }
.fh-process-steps h3 { margin: 0 0 .7rem; color: var(--fh-service-blue); font: 800 clamp(2rem, 3vw, 3.15rem)/.9 var(--fh-service-display); text-transform: uppercase; }
.fh-process-steps p { max-width: 390px; margin: 0; color: var(--fh-service-muted); font-size: .92rem; line-height: 1.7; }
.fh-proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-inline: calc(var(--fh-service-gutter) * -1); }
.fh-proof-strip figure { height: clamp(220px, 24vw, 390px); margin: 0; overflow: hidden; }
.fh-proof-strip img { width: 100%; height: 100%; object-fit: cover; }
.fh-proof-strip figure:first-child img { object-position: center 14%; }

.fh-final-cta { color: #fff; background: var(--fh-service-orange); }
.fh-final-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: center; padding-top: clamp(3.5rem, 6vw, 6rem); padding-bottom: clamp(3.5rem, 6vw, 6rem); }
.fh-final-cta h2 { color: #fff; }
.fh-final-cta h2 span { color: var(--fh-service-blue-deep); }
.fh-final-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.fh-final-actions p { grid-column: 1 / -1; margin: 0 0 .5rem; font-size: 1rem; line-height: 1.65; }
.fh-btn-light { color: var(--fh-service-blue); background: #fff; }
.fh-btn-light:hover { color: var(--fh-service-orange-dark); background: #fff; }
.fh-btn-dark { color: #fff; background: var(--fh-service-blue-deep); }
.fh-btn-dark:hover { color: #fff; background: var(--fh-service-ink); }

.fh-services-footer { color: #fff; background: #06101d; }
.fh-services-footer h3 { margin: 0 0 1rem; color: #fff; font: 800 1.35rem/1 var(--fh-service-display); letter-spacing: .055em; text-transform: uppercase; }
.fh-services-footer .col-6 > a, .fh-services-footer .fh-footer-contact > a { display: flex; align-items: center; width: fit-content; min-height: 30px; margin: .2rem 0; color: #aeb9c8; font-size: .78rem; text-decoration: none; }
.fh-services-footer a:hover { color: #fff; }
.fh-footer-contact p { max-width: 490px; color: #aeb9c8; font-size: .78rem; line-height: 1.65; }
.fh-footer-contact i { width: 1.4rem; color: var(--fh-service-orange); }
.fh-services-footer hr { margin: 2.5rem 0 1.5rem; border-color: rgba(255,255,255,.2); }
.fh-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; color: #8793a3; font-size: .7rem; }


[data-reveal] { opacity: 1; transform: none; }

@media (max-width: 1199px) {
  .fh-hero-copy { padding-inline: 2.5rem; }
  .fh-hero-route { left: 44%; }
  .fh-service-row, .fh-service-row-reverse { grid-template-columns: .9fr 1.1fr; }
  .fh-service-row-reverse { grid-template-columns: 1.1fr .9fr; }
  .fh-service-copy { padding: 2.5rem; }
  .fh-final-grid { grid-template-columns: 1fr; gap: 2rem; }
  .fh-final-actions { max-width: 720px; }
}

@media (max-width: 991px) {
  .fh-services-nav-tools { margin-right: 3.4rem; padding-inline: 0; }
  .fh-services-login span { display: none; }
  .fh-service-hero { height: 680px; min-height: 680px; }
  .fh-service-hero::before { background: linear-gradient(180deg, rgba(3,31,77,.14) 0%, rgba(3,31,77,.42) 38%, rgba(3,31,77,.96) 79%, rgba(3,31,77,.99) 100%); }
  .fh-service-hero::after { inset: 35% 0 0; opacity: .55; -webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000); }
  .fh-hero-copy { justify-content: flex-end; padding: 70px var(--fh-service-gutter) 78px; }
  .fh-hero-video { object-position: 58% center; transform: scale(1.04); }
  .fh-hero-route { display: none; }
  .fh-section-intro { grid-template-columns: 1fr; }
  .fh-overline { grid-column: auto; }
  .fh-service-list::before { left: 28px; top: 0; bottom: 0; }
  .fh-service-row, .fh-service-row-reverse { grid-template-columns: 1fr; min-height: 0; padding-left: 4.5rem; }
  .fh-service-row-reverse .fh-service-copy, .fh-service-row-reverse .fh-service-media { grid-column: auto; grid-row: auto; }
  .fh-service-row-reverse .fh-service-copy { order: 1; }
  .fh-service-row-reverse .fh-service-media { order: 2; }
  .fh-service-copy { padding: 2.5rem 1.5rem; }
  .fh-service-media { min-height: 420px; }
  .fh-specialty { grid-template-columns: 1fr; }
  .fh-specialty-media { min-height: 360px; }
  .fh-process-steps { grid-template-columns: 1fr; gap: 2rem; }
  .fh-process-steps::before { top: 0; bottom: 0; left: 34px; right: auto; width: 4px; height: auto; }
  .fh-process-steps li { min-height: 120px; padding: .6rem 0 1rem 6.3rem; }
  .fh-process-steps li > span { width: 70px; height: 70px; }
  .fh-proof-strip { grid-template-columns: 1fr 1fr; }
  .fh-final-actions { grid-template-columns: 1fr; }
  .fh-final-actions p { grid-column: auto; }
}

@media (min-width: 992px) {
  .fh-services-page .topbar { display: block; }
}

@media (max-width: 575px) {
  :root { --fh-service-gutter: 1.15rem; }
  .fh-hero-copy h1 { font-size: clamp(3.8rem, 17vw, 4.7rem); line-height: .8; }
  .fh-hero-copy > p:not(.fh-hero-note) { margin-top: 1.25rem; font-size: .95rem; }
  .fh-hero-actions { margin-top: 1.35rem; }
  .fh-hero-note { margin-top: 1.3rem; padding-top: 1rem; }
  .fh-hero-actions { display: grid; }
  .fh-btn { width: 100%; }
  .fh-hero-media { min-height: 420px; }
  .fh-section-intro h2, .fh-process h2, .fh-final-cta h2 { font-size: clamp(3.7rem, 18vw, 5.1rem); }
  .fh-service-list::before { left: 11px; }
  .fh-service-row, .fh-service-row-reverse { padding-left: 2rem; }
  .fh-service-copy { padding: 2rem .5rem 2rem .8rem; }
  .fh-service-copy h3 { font-size: 3.8rem; }
  .fh-service-media { min-height: 310px; }
  .fh-specialty-copy { padding-inline: 1.2rem; }
  .fh-specialty-copy h2 { font-size: 3.5rem; }
  .fh-specialty-media { min-height: 250px; }
  .fh-proof-strip { grid-template-columns: 1fr 1fr; margin-inline: -1.15rem; }
  .fh-proof-strip figure { height: 190px; }
  .fh-final-actions { gap: .7rem; }
  .fh-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Accessibility override must neutralize any library animation declarations. */
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .fh-btn, .fh-text-link { border: 2px solid ButtonText; }
}

/* Header is intentionally inherited from index.html shared styles. */
.fh-services-page .nav-fs .nav-link.active{color:#fff;box-shadow:0 -3px 0 #ff5a00 inset;}

/* Public visual sync — index.html / empresas.html */
.fh-services-page .fh-hero-copy h1{font-family:"Barlow Condensed",sans-serif!important;font-weight:800!important;letter-spacing:-.045em!important;}
.fh-services-page .fh-btn{border-radius:12px!important;font-family:"Montserrat",Arial,sans-serif!important;}
.fh-services-page .fh-btn-primary,.fh-services-page .fh-btn-ghost{padding-inline:1.65rem;}
.fh-services-page .fh-service-media,.fh-services-page .fh-process-card,.fh-services-page .fh-proof-card{border-radius:16px;overflow:hidden;}
