/* Solarnex · identidade do cliente: escuro + âmbar solar + Inter */
:root {
  --bg: #07090d;
  --bg-soft: #10141c;
  --bg-raised: #141925;
  --text: #f8fafc;
  --muted: #a7b0bd;
  --dim: #6f7a89;
  --solar: #ffad14;
  --solar-2: #ffd166;
  --solar-ink: #161000;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .04);
  --radius: 14px;
  --radius-sm: 10px;
  --paper: #f6f3ec;
  --paper-card: #ffffff;
  --ink: #07090d;
  --ink-muted: #4b5361;
  --amber-dark: #9a5700;
  --line-dark: rgba(7, 9, 13, .1);
  --wa: #25d366;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(255, 173, 20, .10), transparent 60%),
    radial-gradient(800px 600px at 0% 0%, rgba(40, 56, 82, .45), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

address {
  font-style: normal;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--solar);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--solar);
  color: var(--solar-ink);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Tipografia ---------- */
h1,
h2,
h3 {
  color: var(--text);
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--solar) 10%, var(--solar-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -.03em;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -.02em;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--solar-2);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .76rem;
  letter-spacing: .14em;
  margin-bottom: 18px;
}

.eyebrow {
  padding: 8px 14px;
  border: 1px solid rgba(255, 173, 20, .25);
  border-radius: 8px;
  background: rgba(255, 173, 20, .06);
  letter-spacing: .1em;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--solar);
  box-shadow: 0 0 0 0 rgba(255, 173, 20, .6);
  animation: pulse 2.4s infinite;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .98rem;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--solar);
  color: var(--solar-ink);
  box-shadow: 0 10px 30px -8px rgba(255, 173, 20, .55);
}

.btn-primary:hover {
  background: var(--solar-2);
  box-shadow: 0 14px 36px -8px rgba(255, 173, 20, .7);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
}

.btn-ghost:hover {
  border-color: rgba(255, 173, 20, .5);
  background: rgba(255, 173, 20, .06);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: .9rem;
}

.btn-sm .ico {
  width: 18px;
  height: 18px;
}

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}

.header.scrolled {
  background: rgba(7, 9, 13, .94);
  border-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: clamp(210px, 21vw, 290px);
  max-width: 100%;
  height: auto;
  transition: transform .3s var(--ease);
}

.logo:hover img {
  transform: scale(1.03);
}

.nav {
  display: flex;
  gap: 6px;
  white-space: nowrap;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .93rem;
  transition: color .2s, background .2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  place-content: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* deixa espaço para a faixa âmbar aparecer no primeiro ecrã */
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(36px, 4.5vw, 60px);
}

/* Foto da obra como fundo: ocupa da zona do meio para a direita */
.hero-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 34%;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 60%;
}

/* Degradê: sólido atrás do texto, abre do meio para a direita */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(7, 9, 13, .7) 0%, transparent 22%, transparent 82%, rgba(7, 9, 13, .45) 100%),
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 34%, rgba(7, 9, 13, .82) 46%, rgba(7, 9, 13, .35) 66%, rgba(7, 9, 13, .06) 100%);
}

.hero-copy {
  max-width: 600px;
}

.lead {
  max-width: 560px;
  margin: 24px 0 34px;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: .94rem;
  text-decoration: none;
}

.rating strong {
  color: var(--text);
}

.rating:hover span:last-child {
  color: var(--text);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--solar);
}

.stars svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linejoin: round;
}

/* ---------- Fundos das secções ---------- */
.band-amber {
  background: var(--solar);
  color: var(--solar-ink);
}

.trust {
  display: flex;
}

.trust li {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 14px;
  color: var(--solar-ink);
  font-weight: 700;
  font-size: .92rem;
  text-align: center;
  white-space: nowrap;
}

.trust li + li {
  border-left: 1px solid rgba(22, 16, 0, .16);
}

.trust .ico {
  color: var(--solar-ink);
}

.section.bg-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 12vw, 168px) 0;
}

.bg-photo-media,
.bg-photo-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bg-photo-media {
  z-index: -2;
}

.bg-photo-media img {
  object-fit: cover;
  object-position: center;
}

.bg-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(7, 9, 13, .92) 0%, rgba(7, 9, 13, .78) 50%, rgba(7, 9, 13, .55) 100%);
}

.bg-photo .big-text {
  color: #e6eaf0;
}

.bg-graphite {
  background: var(--bg-soft);
}

.bg-dark {
  background: var(--bg);
}

.bg-light {
  background: var(--paper);
  color: var(--ink);
}

.bg-light h2,
.bg-light h3 {
  color: var(--ink);
}

.bg-light p {
  color: var(--ink-muted);
}

.bg-light .section-tag {
  color: var(--amber-dark);
}

.bg-light .btn-ghost {
  color: var(--ink);
  border-color: rgba(7, 9, 13, .2);
  background: transparent;
}

.bg-light .btn-ghost:hover {
  border-color: var(--amber-dark);
  background: rgba(255, 173, 20, .12);
}

.bg-amber {
  background: var(--solar);
}

/* ---------- Secções ---------- */
.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 4vw, 52px);
}

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section#contacto {
  padding: clamp(32px, 3.5vw, 40px) 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.big-text {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.7;
  color: #c5ccd6;
}

/* Soluções */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: var(--paper-card);
  box-shadow: 0 1px 2px rgba(7, 9, 13, .04), 0 12px 32px -18px rgba(7, 9, 13, .25);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 0% 0%, rgba(255, 173, 20, .12), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--solar);
  box-shadow: 0 1px 2px rgba(7, 9, 13, .04), 0 22px 40px -20px rgba(7, 9, 13, .35);
}

.card .card-icon {
  background: rgba(255, 173, 20, .16);
  border-color: rgba(255, 173, 20, .4);
  color: var(--amber-dark);
}

.card .card-number {
  color: #9aa1ab;
}

.card .card-link {
  color: var(--amber-dark);
}

.card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.card-icon,
.step-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(255, 173, 20, .1);
  border: 1px solid rgba(255, 173, 20, .25);
  color: var(--solar);
}

.card-icon svg,
.step-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-number,
.step-number {
  color: var(--dim);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card p {
  flex: 1;
}

.card-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--solar);
  font-weight: 700;
  text-decoration: none;
}

.card-link .ico {
  width: 18px;
  height: 18px;
  transition: transform .25s var(--ease);
}

.card-link:hover .ico {
  transform: translateX(4px);
}

/* Como trabalhamos */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
}

.step h3 {
  margin: 24px 0 8px;
}

.step p {
  font-size: .96rem;
}

/* Obras */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* Fotos: cantos retos e sempre na proporção original (3:4) */
.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #e7e2d7;
  aspect-ratio: 3 / 4;
}

.g-big {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.g-item:hover img {
  transform: scale(1.05);
}

.g-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(7, 9, 13, .9) 0%, rgba(7, 9, 13, .55) 55%, transparent 100%);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  color: #e5e8ec;
  font-weight: 600;
  font-size: .94rem;
}

/* Opiniões */
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 4vw, 52px);
}

.score {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 14px;
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  text-decoration: none;
  transition: border-color .25s;
}

.score:hover {
  border-color: rgba(255, 173, 20, .5);
}

.score strong {
  grid-row: span 2;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -.04em;
}

.score-label {
  color: var(--muted);
  font-size: .88rem;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
}

.review blockquote {
  flex: 1;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text);
}

.review figcaption {
  display: flex;
  flex-direction: column;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.review figcaption span {
  color: var(--dim);
  font-size: .86rem;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--solar);
  font-weight: 700;
  text-decoration: none;
}

.link-more:hover .ico {
  transform: translateX(4px);
}

.link-more .ico {
  transition: transform .25s var(--ease);
}

/* Contacto */
.contact {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-radius: var(--radius);
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(255, 173, 20, .12), transparent 70%),
    var(--bg);
  box-shadow: 0 30px 70px -30px rgba(22, 16, 0, .55);
  overflow: hidden;
}

.contact-info {
  padding: clamp(26px, 3.4vw, 44px);
}

.contact-info .section-tag {
  margin-bottom: 12px;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
}

.contact-info > p {
  margin: 12px 0 22px;
  max-width: 480px;
  font-size: .95rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  font-size: .94rem;
}

.contact-list li {
  display: flex;
  gap: 14px;
}

.contact-list .ico {
  margin-top: 2px;
  color: var(--solar);
}

.contact-list div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-list .label {
  color: var(--dim);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-list a,
.contact-list address,
.contact-list span:not(.label) {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--solar-2);
}

.contact-list .muted {
  color: var(--muted);
  font-weight: 500;
}

.contact-list .inline-link {
  color: var(--solar);
  font-size: .92rem;
  margin-top: 4px;
}

.contact-map {
  position: relative;
  min-height: 360px;
  border-left: 1px solid var(--line);
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.35) contrast(1.05);
}

/* ---------- Rodapé ---------- */
.footer {
  background: #040507;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 56px 0 40px;
}

.footer-brand img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

.footer-slogan {
  display: block;
  margin: 10px 0 16px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-brand p {
  max-width: 320px;
  font-size: .94rem;
}

.footer h3 {
  margin-bottom: 14px;
  color: var(--dim);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .94rem;
}

.footer-grid a,
.footer-grid address,
.footer-grid span {
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-grid a:hover {
  color: var(--solar-2);
}

.footer-bottom {
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  color: var(--dim);
  font-size: .86rem;
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, .6), 0 0 0 6px rgba(37, 211, 102, .15);
  transition: transform .25s var(--ease);
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Animações ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js .reveal.show {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(255, 173, 20, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 173, 20, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsivo ---------- */
/* Ecrãs baixos (portáteis): hero mais compacto para a faixa caber no primeiro ecrã */
@media (min-width: 901px) and (max-height: 760px) {
  .hero {
    padding: calc(var(--header-h) + 16px) 0 28px;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
  }

  .lead {
    margin: 14px 0 22px;
  }

  .rating {
    margin-top: 16px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: calc(100vh - 96px);
    min-height: calc(100svh - 96px);
  }

  .trust li {
    flex: 1 1 0;
    white-space: normal;
  }
}

@media (max-width: 1080px) {
  .nav a {
    padding: 8px 10px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }


  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Entre 901 e 1080 px o botão do topo fica só com o ícone, para o logo e o menu caberem numa linha */
@media (min-width: 901px) and (max-width: 1080px) {
  .header-actions .btn-sm span {
    display: none;
  }

  .header-actions .btn-sm {
    width: 44px;
    padding: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .header {
    background: rgba(7, 9, 13, .82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--line);
  }

  .logo img {
    width: 250px;
  }

  .menu-btn {
    display: grid;
  }

  .nav {
    position: absolute;
    top: calc(var(--header-h) + 8px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: #0c0f15;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-bg {
    left: 0;
  }

  .hero::before {
    background:
      linear-gradient(to bottom, rgba(7, 9, 13, .7) 0%, transparent 22%),
      linear-gradient(90deg, rgba(7, 9, 13, .95) 0%, rgba(7, 9, 13, .85) 55%, rgba(7, 9, 13, .55) 100%);
  }


  .cards,
  .reviews {
    grid-template-columns: 1fr;
  }

  .card-top {
    margin-bottom: 28px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-map {
    min-height: 320px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
  }

  .hero-bg img {
    object-position: 50% 70%;
  }

  .hero::before {
    background: linear-gradient(to bottom, rgba(7, 9, 13, .82) 0%, rgba(7, 9, 13, .86) 45%, rgba(7, 9, 13, .94) 100%);
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-actions .btn-sm span {
    display: none;
  }

  .logo img {
    width: 200px;
  }

  .header-actions .btn-sm {
    width: 44px;
    padding: 0;
  }

  .eyebrow {
    padding: 0;
    border: 0;
    background: none;
    font-size: .7rem;
    letter-spacing: .08em;
  }

  .contact-info {
    padding: 28px 22px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }


  .trust li {
    padding: 16px 10px;
    font-size: .84rem;
    flex-direction: column;
    gap: 6px;
    white-space: normal;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .gallery {
    gap: 8px;
  }

  .g-item figcaption {
    padding: 30px 12px 10px;
    font-size: .82rem;
  }

  .section-head-row .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}
