﻿:root {
  --navy: #07111b;
  --navy-deep: #040b12;
  --navy-2: #0d1b2b;
  --blue: #1f8cf0;
  --cyan: #20c3e6;
  --white: #ffffff;
  --paper: #f3f7fb;
  --ink: #101b29;
  --muted: #607084;
  --line: rgba(255,255,255,.14);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 12%, rgba(31,140,240,.16), transparent 28%),
    radial-gradient(circle at 86% 24%, rgba(32,195,230,.12), transparent 24%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(4, 11, 18, .94);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: rgba(255,255,255,.68);
  font-weight: 700;
}

.main-nav a:hover { color: var(--white); }

.header-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #1768db);
  font-weight: 900;
  white-space: nowrap;
  min-width: 220px;
  box-shadow: 0 16px 36px rgba(31,140,240,.26);
  transition: transform .22s ease, box-shadow .22s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(31,140,240,.34);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero,
.page-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 128px clamp(18px, 7.2vw, 112px) 64px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero {
  background:
    linear-gradient(90deg, rgba(4,11,18,.94), rgba(4,11,18,.78) 48%, rgba(4,11,18,.58)),
    linear-gradient(180deg, rgba(4,11,18,.2), rgba(4,11,18,.88)),
    url("portfolio/img_9863.jpg") center/cover no-repeat;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(7,17,27,.94), rgba(7,17,27,.82) 48%, rgba(7,17,27,.62)),
    url("portfolio/equipe-macovolt-obra.jpg") center/cover no-repeat;
}

.page-hero.services-hero {
  background:
    linear-gradient(90deg, rgba(7,17,27,.95), rgba(7,17,27,.84) 50%, rgba(7,17,27,.58)),
    url("portfolio/img_0717.jpg") center/cover no-repeat;
}

.page-hero.projects-hero {
  background:
    linear-gradient(90deg, rgba(7,17,27,.95), rgba(7,17,27,.82) 48%, rgba(7,17,27,.54)),
    url("portfolio/img_0708.jpg") center/cover no-repeat;
}

.page-hero.about-hero {
  background:
    linear-gradient(90deg, rgba(7,17,27,.95), rgba(7,17,27,.82) 48%, rgba(7,17,27,.58)),
    url("portfolio/img_0672.jpg") center/cover no-repeat;
}

.page-hero.contact-hero {
  background:
    linear-gradient(90deg, rgba(7,17,27,.95), rgba(7,17,27,.82) 48%, rgba(7,17,27,.58)),
    url("portfolio/img_9918.jpg") center/cover no-repeat;
}

.page-hero { min-height: 64vh; }

.hero::before { display: none; }

.hero .hero-content::after { display: none; }

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border: 2px solid rgba(31,140,240,.32);
  transform: rotate(18deg);
  animation: floatFrame 7s ease-in-out infinite;
}

.hero-content,
.page-hero > div {
  width: 100%;
  max-width: 820px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9ed5ff;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .8px;
}

.hero .eyebrow {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(31,140,240,.18);
  border-radius: 999px;
  background: rgba(31,140,240,.06);
  box-shadow: inset 0 0 20px rgba(31,140,240,.08), 0 14px 30px rgba(0,0,0,.22);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px var(--blue);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  margin: 30px 0 24px;
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: .98;
  max-width: 780px;
}

h1 span { color: var(--blue); }

.page-hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  max-width: 860px;
}

.hero p,
.page-hero p {
  max-width: 660px;
  color: rgba(255,255,255,.62);
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.5;
}

.hero p strong {
  color: #fff;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
  align-items: center;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.btn:hover { transform: translateY(-3px); }
.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #26a7ff, #147ee9);
  box-shadow: 0 0 0 1px rgba(32,195,230,.24), 0 18px 42px rgba(31,140,240,.26), 0 0 30px rgba(35,218,185,.2);
}
.btn.ghost {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 72px;
  color: rgba(255,255,255,.62);
  font-weight: 800;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.trust-row span::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 1px solid rgba(31,140,240,.8);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(31,140,240,.18);
}

.scroll-cue {
  display: none;
}

.scroll-cue::after {
  content: "↓";
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.project-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 900;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.project-tabs a:hover {
  transform: translateY(-3px);
  background: rgba(31,140,240,.22);
  border-color: rgba(32,195,230,.55);
}

.section {
  padding: 88px clamp(18px, 6vw, 86px);
}

.section.light { background: var(--paper); }
.section.dark { background: var(--navy); color: #fff; }

.section-heading {
  width: min(860px, 100%);
  margin-bottom: 34px;
}

.section h2,
.cta-band h2 {
  margin: 12px 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.06;
}

.section-heading p,
.text-block p,
.cta-band p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.dark .section-heading p,
.dark .text-block p,
.dark .feature-card p,
.dark .check-list p {
  color: rgba(255,255,255,.7);
}

.feature-grid,
.portfolio-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid.three,
.portfolio-grid.large {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.portfolio-card,
.stat {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 26px;
  background: #fff;
  border: 1px solid #dce6f2;
  box-shadow: 0 16px 34px rgba(15,38,63,.07);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.feature-card:hover,
.portfolio-card:hover,
.stat:hover,
.service-item:hover,
.showcase-card:hover,
.photo-card:hover,
.video-card:hover,
.contact-info:hover,
.contact-form:hover {
  transform: translateY(-5px);
  border-color: rgba(31,140,240,.42);
  box-shadow: 0 22px 48px rgba(15,38,63,.12);
}

.dark .feature-card,
.dark .stat {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.service-highlight-grid {
  gap: 20px;
}

.service-highlight {
  position: relative;
  min-height: 318px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(31,140,240,.18);
  background: #07111b;
  box-shadow: 0 20px 52px rgba(15,38,63,.12);
  isolation: isolate;
}

.service-highlight::before,
.service-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform .55s ease, opacity .35s ease;
}

.service-highlight::before {
  background:
    linear-gradient(180deg, rgba(7,17,27,.12), rgba(7,17,27,.94) 72%),
    var(--card-image) center/cover no-repeat;
  opacity: .86;
}

.service-highlight::after {
  inset: auto 24px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 24px rgba(32,195,230,.42);
}

.service-highlight:hover::before {
  transform: scale(1.06);
  opacity: .72;
}

.service-highlight.solar { --card-image: url("portfolio/img_0708.jpg"); }
.service-highlight.electrical { --card-image: url("portfolio/img_0717.jpg"); }
.service-highlight.hydraulic { --card-image: url("portfolio/img_9918.jpg"); }
.service-highlight.automation { --card-image: url("portfolio/img_0674.jpg"); }

.feature-card-top {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.feature-code,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  font-weight: 900;
}

.feature-code {
  color: #9ed5ff;
  font-size: 13px;
  letter-spacing: .8px;
}

.feature-icon {
  min-width: 76px;
  padding: 0 15px;
  color: #04101b;
  background: linear-gradient(135deg, #9ed5ff, #24b9f1);
  box-shadow: 0 12px 28px rgba(31,140,240,.24);
  font-size: 12px;
}

.service-highlight h3 {
  position: relative;
  margin-bottom: 14px;
  color: #fff;
  font-size: 26px;
  line-height: 1.08;
}

.service-highlight p {
  position: relative;
  color: rgba(255,255,255,.78);
  font-size: 17px;
}

.portfolio-card {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7,17,27,.12), rgba(7,17,27,.58) 48%, rgba(7,17,27,.96)),
    url("portfolio/equipe-macovolt-canteiro.jpg") center/cover no-repeat,
    linear-gradient(135deg, #111c28, #06101a);
  border: 0;
  overflow: hidden;
  box-shadow: 0 24px 58px rgba(10,24,38,.14);
}

.portfolio-card.lighting {
  background:
    linear-gradient(180deg, rgba(7,17,27,.08), rgba(7,17,27,.5) 48%, rgba(7,17,27,.96)),
    url("portfolio/img_0708.jpg") center/cover no-repeat,
    linear-gradient(135deg, #111c28, #06101a);
}

.portfolio-card.electrical {
  background:
    linear-gradient(180deg, rgba(7,17,27,.08), rgba(7,17,27,.5) 48%, rgba(7,17,27,.96)),
    url("portfolio/img_0717.jpg") center/cover no-repeat,
    linear-gradient(135deg, #111c28, #06101a);
}

.portfolio-card.hydraulic {
  background:
    linear-gradient(180deg, rgba(7,17,27,.08), rgba(7,17,27,.5) 48%, rgba(7,17,27,.96)),
    url("portfolio/img_9918.jpg") center/cover no-repeat,
    linear-gradient(135deg, #111c28, #06101a);
}

.portfolio-card.finish {
  background:
    linear-gradient(180deg, rgba(7,17,27,.08), rgba(7,17,27,.5) 48%, rgba(7,17,27,.96)),
    url("portfolio/img_0674.jpg") center/cover no-repeat,
    linear-gradient(135deg, #111c28, #06101a);
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.12), transparent);
  transform: translateX(-100%);
  transition: transform .6s ease;
}

.portfolio-card:hover::after {
  transform: translateX(100%);
}

.portfolio-card span {
  color: #9ed5ff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .8px;
}

.portfolio-card strong {
  margin-top: 10px;
  font-size: 23px;
  line-height: 1.16;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.showcase-card,
.photo-card,
.video-card {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce6f2;
  box-shadow: 0 16px 34px rgba(15,38,63,.07);
}

.showcase-card img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.showcase-card figcaption,
.photo-card figcaption {
  padding: 14px 16px;
  color: #24364a;
  font-weight: 900;
}

.video-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.video-card video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: #07111b;
}

.video-card div {
  padding: 22px;
}

.video-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.video-card h3 {
  margin: 8px 0 10px;
  font-size: 26px;
}

.video-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.video-section {
  position: relative;
  overflow: hidden;
}

.video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(32,195,230,.16), transparent 28%),
    linear-gradient(135deg, rgba(31,140,240,.08), transparent 46%);
  pointer-events: none;
}

.video-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 70px rgba(0,0,0,.18);
}

.video-feature video,
.video-feature iframe {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 6px;
  background: #06101a;
  border: 0;
}

.video-feature div {
  padding: 18px;
}

.video-feature span {
  color: #9ed5ff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.video-feature h3 {
  margin: 12px 0;
  font-size: clamp(28px, 4vw, 42px);
}

.video-feature p {
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}

.youtube-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  align-items: stretch;
}

.youtube-rail a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  color: #dff5ff;
  background:
    linear-gradient(135deg, rgba(31,140,240,.18), rgba(32,195,230,.1)),
    rgba(255,255,255,.06);
  border: 1px solid rgba(158,213,255,.22);
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  white-space: normal;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.youtube-rail a:hover {
  transform: translateY(-3px);
  border-color: rgba(32,195,230,.55);
  background:
    linear-gradient(135deg, rgba(31,140,240,.3), rgba(32,195,230,.16)),
    rgba(255,255,255,.09);
  box-shadow: 0 16px 30px rgba(31,140,240,.14), inset 0 1px 0 rgba(255,255,255,.12);
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.photo-card {
  min-height: 310px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(7,17,27,.04), rgba(7,17,27,.12) 36%, rgba(7,17,27,.86)),
    var(--photo-image, linear-gradient(135deg, #dce6f2, #07111b)) center / cover no-repeat;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-115%);
  transition: transform .62s ease;
}

.photo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31,140,240,.45);
  box-shadow: 0 24px 54px rgba(15,38,63,.16);
}

.photo-card:hover::before {
  transform: translateX(115%);
}

.photo-card figcaption {
  position: relative;
  z-index: 1;
  width: 100%;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(7,17,27,.95) 22%);
}

.photo-card.garden { --photo-image: url("portfolio/img_0708.jpg"); }
.photo-card.facade { --photo-image: url("portfolio/img_9863.jpg"); }
.photo-card.execution { --photo-image: url("portfolio/img_9862.jpg"); }
.photo-card.chapel { --photo-image: url("portfolio/img_0243.jpg"); }
.photo-card.electrical-panel { --photo-image: url("portfolio/img_0717.jpg"); }
.photo-card.hydraulic-pump { --photo-image: url("portfolio/img_9918.jpg"); }
.photo-card.pressurization { --photo-image: url("portfolio/img_9917.jpg"); }
.photo-card.interior-finish { --photo-image: url("portfolio/img_0674.jpg"); }
.photo-card.decorative { --photo-image: url("portfolio/img_0672.jpg"); }
.photo-card.garden-detail { --photo-image: url("portfolio/img_0709.jpg"); }
.photo-card.automation-panel { --photo-image: url("portfolio/img_9920.jpg"); }
.photo-card.technical-panel { --photo-image: url("portfolio/img_0323.jpg"); }

.quality-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.quality-flow span {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
  font-weight: 900;
  text-align: center;
  transition: transform .24s ease, border-color .24s ease, color .24s ease, box-shadow .24s ease;
}

.quality-flow span:hover {
  transform: translateY(-4px);
  color: #fff;
  border-color: rgba(32,195,230,.48);
  box-shadow: 0 20px 50px rgba(0,0,0,.2), inset 0 0 0 1px rgba(32,195,230,.08);
}

.portfolio-download {
  margin-top: 26px;
}

.portfolio-download-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 88px clamp(18px, 6vw, 86px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31,140,240,.16), transparent 38%),
    linear-gradient(160deg, #06101a, #0b263d 58%, #06101a);
}

.portfolio-download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .22;
}

.portfolio-download-panel > * {
  position: relative;
  z-index: 1;
}

.portfolio-download-copy h2 {
  max-width: 820px;
  margin: 14px 0 16px;
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.04;
}

.portfolio-download-copy p {
  max-width: 680px;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.62;
}

.download-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.download-facts span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #dff5ff;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 900;
}

.portfolio-preview {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7,17,27,.18), rgba(7,17,27,.96)),
    url("portfolio/equipe-macovolt-canteiro.jpg") center/cover no-repeat;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.feature-card::before,
.stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: .72;
}

.feature-card::after,
.stat::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -120px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(31,140,240,.16);
  transform: rotate(18deg);
  pointer-events: none;
}

.portfolio-preview:hover {
  transform: translateY(-5px);
  border-color: rgba(32,195,230,.48);
  box-shadow: 0 34px 82px rgba(0,0,0,.36);
}

.portfolio-preview::after {
  content: "";
  position: absolute;
  right: -84px;
  top: -84px;
  width: 190px;
  height: 190px;
  border: 2px solid rgba(32,195,230,.34);
  transform: rotate(18deg);
}

.portfolio-preview img {
  position: absolute;
  top: 26px;
  left: 26px;
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.portfolio-preview span {
  color: #9ed5ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.portfolio-preview strong {
  display: block;
  max-width: 360px;
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.08;
}

.portfolio-preview small {
  display: inline-flex;
  width: max-content;
  margin-top: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #04101b;
  background: linear-gradient(135deg, #9ed5ff, #20c3e6);
  font-weight: 900;
}

.project-download-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 30px;
  padding: 26px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  text-align: center;
  flex-wrap: wrap;
}

.project-download-card span {
  display: block;
  color: #9ed5ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.project-download-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 26px;
}

.project-download-card p {
  max-width: 680px;
  margin: 8px 0 0;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}

.project-download-card .btn {
  min-width: 280px;
}

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.section.dark.split {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31,140,240,.08), transparent 34%),
    linear-gradient(180deg, #07111b, #050d15);
}

.section.dark.split::after {
  content: "";
  position: absolute;
  right: clamp(-220px, -10vw, -80px);
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 2px solid rgba(31,140,240,.36);
  transform: rotate(18deg);
  pointer-events: none;
  opacity: .72;
}

.section.dark.split > * {
  position: relative;
  z-index: 1;
}

.check-list {
  counter-reset: checkItem;
  display: grid;
  gap: 14px;
}

.check-list p {
  counter-increment: checkItem;
  position: relative;
  margin: 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px 18px 72px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(31,140,240,.12), transparent 42%),
    rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.76);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(31,140,240,.03);
  transition: transform .24s ease, border-color .24s ease, background .24s ease, color .24s ease, box-shadow .24s ease;
}

.check-list p::before {
  content: counter(checkItem, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #9ed5ff;
  background: rgba(31,140,240,.12);
  border: 1px solid rgba(31,140,240,.42);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(31,140,240,.14);
}

.check-list p::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  transform: scaleY(.38);
  transform-origin: center;
  opacity: .72;
  transition: transform .24s ease, opacity .24s ease;
}

.check-list p:hover {
  transform: translateX(8px);
  color: #fff;
  border-color: rgba(31,140,240,.46);
  background:
    linear-gradient(90deg, rgba(31,140,240,.22), transparent 56%),
    rgba(255,255,255,.075);
  box-shadow: 0 18px 46px rgba(0,0,0,.2), inset 0 0 0 1px rgba(32,195,230,.06);
}

.check-list p:hover::after {
  transform: scaleY(1);
  opacity: 1;
}

.service-list {
  display: grid;
  gap: 16px;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(360px, .96fr) minmax(420px, 1.04fr);
  gap: clamp(34px, 4.6vw, 58px);
  align-items: stretch;
  padding-bottom: 42px;
}

.service-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7,17,27,.18), rgba(7,17,27,.88)),
    linear-gradient(135deg, #111c28, #06101a);
  box-shadow: 0 24px 60px rgba(15,38,63,.16);
}

.service-hero-card.intro-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,17,27,.12), rgba(7,17,27,.86)),
    url("portfolio/img_9863.jpg") center / cover no-repeat,
    linear-gradient(135deg, #26323e, #07111b);
  transition: transform .6s ease, opacity .24s ease;
}

.service-hero-card.intro-photo:hover::before {
  transform: scale(1.04);
  opacity: .9;
}

.service-hero-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: rgba(7,17,27,.78);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}

.service-hero-card span,
.service-visual-card span,
.service-process span {
  display: block;
  color: #9ed5ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-hero-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.2;
}

.service-copy h2 {
  margin: 12px 0;
  max-width: 660px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.12;
}

.service-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.service-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.service-proof-grid div {
  min-height: 154px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dce6f2;
  box-shadow: 0 16px 34px rgba(15,38,63,.07);
}

.service-proof-grid strong {
  display: block;
  color: var(--blue);
  font-size: 26px;
}

.service-proof-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.35;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-visual-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 8px;
  background: #07111b;
  border: 1px solid #dce6f2;
  box-shadow: 0 16px 34px rgba(15,38,63,.07);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.service-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,17,27,.1), rgba(7,17,27,.88)),
    var(--service-image, linear-gradient(135deg, #283542, #07111b)) center / cover no-repeat,
    linear-gradient(135deg, #283542, #07111b);
  opacity: .9;
  transition: transform .6s ease, opacity .24s ease, filter .24s ease;
}

.service-visual-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31,140,240,.42);
  box-shadow: 0 22px 48px rgba(15,38,63,.12);
}

.service-visual-card:hover::before {
  transform: scale(1.05);
  opacity: .72;
  filter: saturate(1.08) contrast(1.04);
}

.service-visual-card.solar { --service-image: url("portfolio/img_0708.jpg"); }
.service-visual-card.electrical { --service-image: url("portfolio/img_0717.jpg"); }
.service-visual-card.hydraulic { --service-image: url("portfolio/img_9918.jpg"); }
.service-visual-card.automation { --service-image: url("portfolio/img_0674.jpg"); }
.service-visual-card.project { --service-image: url("portfolio/img_9920.jpg"); }
.service-visual-card.residential { --service-image: url("portfolio/img_9862.jpg"); }

.service-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(158,213,255,.12), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(31,140,240,.18), transparent 28%);
  opacity: .65;
  pointer-events: none;
}

.service-visual-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 26px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(7,17,27,.96) 34%);
  z-index: 1;
}

.service-visual-card h3 {
  margin: 10px 0;
  font-size: 28px;
}

.service-visual-card p {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.52;
}

.service-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-process div {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.service-process div::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(31,140,240,.38);
  transform: rotate(18deg);
  opacity: .42;
  transition: transform .34s ease, opacity .24s ease;
}

.service-process div:hover {
  transform: translateY(-6px);
  border-color: rgba(32,195,230,.48);
  background:
    linear-gradient(135deg, rgba(31,140,240,.14), transparent 52%),
    rgba(255,255,255,.075);
  box-shadow: 0 26px 62px rgba(0,0,0,.22);
}

.service-process div:hover::before {
  transform: translate(-10px, -8px) rotate(18deg);
  opacity: .9;
}

.service-process strong {
  display: block;
  margin: 12px 0 8px;
  color: #fff;
  font-size: 24px;
}

.service-process p {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

.service-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dce6f2;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.service-item span {
  color: var(--blue);
  font-size: 42px;
  font-weight: 900;
}

.service-item h2 { margin: 0 0 8px; font-size: 30px; }
.service-item p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.55; }

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 58px;
  line-height: .95;
}

.stat span {
  display: block;
  margin-top: 12px;
  font-weight: 900;
}

.text-block {
  color: var(--muted);
}

.about-position {
  grid-template-columns: .85fr 1.05fr .9fr;
  align-items: stretch;
  background:
    radial-gradient(circle at 88% 18%, rgba(31,140,240,.13), transparent 28%),
    var(--paper);
}

.about-photo {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7,17,27,.08), rgba(7,17,27,.9)),
    url("portfolio/equipe-macovolt-canteiro.jpg") center / cover no-repeat,
    linear-gradient(135deg, #111c28, #06101a);
  box-shadow: 0 24px 60px rgba(15,38,63,.14);
}

.about-photo::after,
.about-stats::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(31,140,240,.28);
  transform: rotate(18deg);
  pointer-events: none;
}

.about-photo span {
  color: #9ed5ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-photo strong {
  display: block;
  max-width: 360px;
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.12;
}

.about-stats {
  position: relative;
  overflow: hidden;
}

.about-stats .section-heading {
  max-width: 980px;
}

.about-stats .stat {
  position: relative;
  overflow: hidden;
}

.about-stats .stat::after {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: .7;
}

.about-stats .stat strong {
  font-size: clamp(34px, 3.6vw, 54px);
}

.contact-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding-bottom: 42px;
}

.contact-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 520px;
  box-shadow: 0 24px 60px rgba(15,38,63,.16);
}

.contact-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform .6s ease;
}

.contact-image:hover img {
  transform: scale(1.04);
}

.contact-image div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: rgba(7,17,27,.78);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}

.contact-image span,
.quick-contact-grid span,
.contact-card-stack span,
.map-card span {
  display: block;
  color: #9ed5ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-image strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.2;
}

.contact-highlights h2 {
  margin: 12px 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.04;
}

.contact-highlights p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.quick-contact-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.quick-contact-grid a,
.contact-card-stack div,
.contact-card-stack a {
  display: block;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dce6f2;
  box-shadow: 0 16px 34px rgba(15,38,63,.07);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.quick-contact-grid a:hover,
.contact-card-stack div:hover,
.contact-card-stack a:hover,
.map-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31,140,240,.42);
  box-shadow: 0 22px 48px rgba(15,38,63,.12);
}

.quick-contact-grid strong,
.contact-card-stack strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 20px;
}

.contact-card-stack {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.contact-card-stack small,
.map-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.contact-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 30px;
  align-items: start;
}

.contact-info,
.contact-form {
  background: #fff;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 16px 34px rgba(15,38,63,.07);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.contact-info h2 { margin-top: 0; font-size: 34px; }
.contact-info a,
.contact-info span {
  display: block;
  margin: 12px 0;
  color: var(--ink);
  font-weight: 700;
}

.refined-contact .contact-info p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.social-row a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--blue);
  border: 1px solid #c7e3ff;
  background: #eef7ff;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #24364a;
  font-weight: 800;
}

.refined-contact label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd8e7;
  border-radius: 6px;
  padding: 14px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea { resize: vertical; }

.location-section {
  position: relative;
  overflow: hidden;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: stretch;
}

.map-embed {
  overflow: hidden;
  min-height: 420px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(.1) contrast(1.05);
}

.map-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31,140,240,.86), rgba(32,195,230,.38)),
    linear-gradient(45deg, rgba(255,255,255,.07) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.07) 75%, transparent 75%, transparent);
  background-size: auto, 34px 34px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  transition: transform .24s ease, box-shadow .24s ease;
}

.map-card strong {
  display: block;
  margin: 10px 0 4px;
  font-size: 30px;
  line-height: 1.12;
}

.map-card small {
  color: rgba(255,255,255,.78);
}

.map-card em {
  display: block;
  margin-top: 20px;
  color: rgba(255,255,255,.7);
  font-style: normal;
  line-height: 1.45;
}

.location-photo {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
}

.location-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: saturate(1.04);
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 64px clamp(18px, 6vw, 86px);
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(31,140,240,.2), transparent 38%),
    radial-gradient(circle at 82% 50%, rgba(32,195,230,.18), transparent 28%),
    linear-gradient(135deg, #081421, #0b2d51);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cta-band::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 84%, transparent);
  opacity: .28;
}

.cta-band::after {
  right: clamp(260px, 26vw, 520px);
  bottom: -170px;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(32,195,230,.24);
  transform: rotate(18deg);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .btn {
  min-width: 260px;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(158,213,255,.2), 0 22px 58px rgba(31,140,240,.34);
}

.cta-band p {
  color: rgba(255,255,255,.72);
  margin: 0;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .04em;
}

.cta-band h2 {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.72);
  background:
    linear-gradient(90deg, rgba(31,140,240,.06), transparent 38%),
    #07111b;
  padding: 56px clamp(22px, 5vw, 72px) 24px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,140,240,.55), transparent);
}

.site-footer p {
  margin: 0;
  line-height: 1.45;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(210px, .95fr) minmax(190px, .85fr) minmax(220px, .9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.footer-inner > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 98px;
  height: auto;
  margin: 0 0 22px;
}

.site-footer h3 {
  color: #fff;
  margin: 2px 0 24px;
  font-size: 22px;
  line-height: 1.1;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 0 0 13px;
  line-height: 1.35;
}

.site-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 22px;
  font-size: 20px;
  line-height: 1.15;
}

.site-footer p {
  max-width: 330px;
  color: rgba(255,255,255,.66);
}

.site-footer a:hover {
  color: #fff;
}

.clean-footer {
  max-width: 1180px;
  margin: 0 auto;
}

.clean-footer > div {
  min-height: 180px;
  padding: 6px 0;
}

.social-icons {
  display: grid;
  gap: 12px;
}

.social-icons a {
  width: 156px;
  min-height: 44px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(32,195,230,.45);
  background: rgba(31,140,240,.14);
}

.social-icons svg {
  width: 22px;
  height: 22px;
  justify-self: center;
  fill: none;
  stroke: #9ed5ff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icons span {
  margin: 0;
  text-align: left;
}

.social-icons a:nth-child(2) svg,
.social-icons a:nth-child(3) svg {
  fill: #9ed5ff;
  stroke: none;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 42px;
  padding-top: 20px;
  font-size: 14px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom a {
  color: #fff;
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 18px 40px rgba(28,156,84,.28);
  transition: transform .22s ease, box-shadow .22s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 46px rgba(28,156,84,.34);
}

.floating-whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .65s ease, transform .65s ease;
  animation: none;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: .72; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatFrame {
  0%, 100% { transform: translateY(0) rotate(18deg); }
  50% { transform: translateY(-18px) rotate(18deg); }
}

@keyframes youtubeRail {
  0% { transform: translateX(0); }
  100% { transform: translateX(-60px); }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 20px;
    background: rgba(7,17,27,.99);
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .header-cta { display: none; }
  .feature-grid,
  .feature-grid.three,
  .portfolio-grid,
  .portfolio-grid.large,
  .service-card-grid,
  .service-process,
  .service-proof-grid,
  .stats-grid,
  .showcase-grid,
  .video-feature,
  .photo-gallery,
  .quality-flow,
  .footer-inner,
  .services-intro,
  .contact-visual,
  .contact-section,
  .location-grid,
  .split,
  .portfolio-download-panel {
    grid-template-columns: 1fr 1fr;
  }
  .hero,
  .page-hero {
    min-height: auto;
    padding-top: 118px;
  }
  h1,
  .page-hero h1 {
    font-size: clamp(42px, 8vw, 68px);
  }
  .services-intro {
    align-items: start;
  }
  .service-copy h2 {
    font-size: clamp(30px, 4.2vw, 38px);
  }
  .youtube-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-proof-grid {
    grid-template-columns: 1fr;
  }
  .service-proof-grid div {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header { height: 70px; padding: 0 16px; }
  .brand img { width: 62px; height: 62px; }
  .main-nav { top: 70px; }
  .hero, .page-hero { padding: 96px 18px 46px; }
  h1, .page-hero h1 {
    font-size: clamp(36px, 10.5vw, 42px);
    line-height: 1.03;
    margin: 20px 0 18px;
  }
  .hero-content,
  .page-hero > div {
    width: min(100%, 340px);
    max-width: 100%;
  }
  .page-hero h1,
  .page-hero p {
    max-width: 340px;
  }
  .hero p,
  .page-hero p {
    font-size: 17px;
    color: rgba(255,255,255,.82);
    max-width: 100%;
  }
  .hero::before,
  .hero::after,
  .page-hero::after,
  .scroll-cue {
    display: none;
  }
  .hero .eyebrow {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .section { padding: 56px 18px; }
  .section h2,
  .cta-band h2,
  .service-copy h2,
  .contact-highlights h2 {
    font-size: clamp(28px, 8.8vw, 36px);
    line-height: 1.08;
  }
  .feature-grid,
  .feature-grid.three,
  .portfolio-grid,
  .portfolio-grid.large,
  .service-card-grid,
  .service-process,
  .service-proof-grid,
  .stats-grid,
  .showcase-grid,
  .video-feature,
  .photo-gallery,
  .quality-flow,
  .footer-inner,
  .services-intro,
  .contact-visual,
  .contact-section,
  .location-grid,
  .split,
  .portfolio-download-panel,
  .service-item {
    grid-template-columns: 1fr;
  }
  .project-tabs a { width: 100%; justify-content: center; }
  .youtube-rail {
    grid-template-columns: 1fr;
  }
  .youtube-rail a {
    min-height: 52px;
  }
  .service-hero-card { min-height: 340px; }
  .service-hero-card div {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .contact-image,
  .contact-image img { min-height: 360px; }
  .video-feature video,
  .video-feature iframe,
  .location-photo img { height: 300px; }
  .cta-band { align-items: center; flex-direction: column; }
  .project-download-card {
    align-items: center;
    flex-direction: column;
  }
  .portfolio-preview {
    min-height: 360px;
  }
  .footer-bottom { flex-direction: column; }
  .footer-bottom { padding-right: 0; padding-bottom: 72px; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .trust-row {
    gap: 16px 20px;
    margin-top: 34px;
  }
  .project-tabs {
    gap: 10px;
    width: 100%;
  }
  .service-visual-card { min-height: 360px; }
  .floating-whatsapp {
    width: 56px;
    height: 56px;
    right: 14px;
    bottom: 14px;
  }
}


