:root {
  --ink: #192027;
  --muted: #69737d;
  --line: #dde3e8;
  --paper: #f6f7f4;
  --white: #ffffff;
  --steel: #26313b;
  --accent: #d8a336;
  --accent-dark: #9d711b;
  --green: #2d6f5f;
  --shadow: 0 18px 55px rgba(19, 29, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(25, 32, 39, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.brand-logo {
  width: 118px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
}

.brand-text strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  line-height: 1;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.88;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  color: var(--white);
}

.hero img,
.hero-shade,
.hero-content {
  grid-area: 1 / 1;
}

.hero img {
  width: 100%;
  height: 100%;
  min-height: 94vh;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 18, 24, 0.84), rgba(12, 18, 24, 0.48) 44%, rgba(12, 18, 24, 0.1)),
    linear-gradient(0deg, rgba(12, 18, 24, 0.42), transparent 42%);
}

.hero-content {
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 82px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 20px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

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

.btn.primary {
  color: #161b20;
  background: var(--accent);
}

.btn.primary:hover {
  background: #ebbd54;
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: -54px auto 0;
  position: relative;
  z-index: 3;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip div {
  min-height: 108px;
  padding: 22px;
  background: var(--white);
}

.trust-strip strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.process,
.contact {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.service-card,
.project-grid article {
  min-height: 310px;
  overflow: hidden;
  padding: 0 28px 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.service-card > img,
.project-grid img {
  width: calc(100% + 56px);
  height: 190px;
  margin: 0 -28px 24px;
  object-fit: cover;
  background: #d8dde0;
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-card li::marker {
  color: var(--accent-dark);
}

.service-card p,
.project-grid p,
.feature-copy p,
.contact-copy p,
.process span {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  padding: 86px clamp(18px, 7vw, 92px);
  color: var(--white);
  background: var(--steel);
}

.feature-copy {
  max-width: 520px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.feature-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.feature-list span {
  color: rgba(255, 255, 255, 0.72);
}

.coverage-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  width: min(1180px, calc(100% - 36px));
  margin: 76px auto 0;
  padding: 34px;
  background: var(--white);
  border-left: 6px solid var(--accent);
  box-shadow: var(--shadow);
}

.coverage-band h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 40px);
}

.coverage-band > p {
  align-self: end;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.project-grid article {
  min-height: 360px;
}

.project-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 92px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-rows: 230px;
  gap: 16px;
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  background: var(--steel);
}

.gallery-carousel:nth-child(1) {
  grid-row: span 2;
}

.gallery-carousel:nth-child(3) {
  grid-column: span 1;
}

.carousel-image {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-carousel:hover img {
  filter: brightness(0.82);
  transform: scale(1.04);
}

.gallery-carousel > span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(18, 24, 32, 0.76);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.carousel-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(18, 24, 32, 0.72);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.carousel-controls button:hover {
  background: var(--accent);
  color: var(--ink);
}

.safety-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 92px;
}

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

.safety-grid article {
  min-height: 210px;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(145deg, #1a222b, var(--steel));
  border-top: 4px solid var(--accent);
}

.safety-grid strong {
  display: block;
  margin-bottom: 42px;
  font-size: 22px;
}

.safety-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.ally-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 92px;
}

.ally-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.55fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  padding: clamp(28px, 5vw, 48px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(25, 32, 39, 0.96), rgba(38, 49, 59, 0.92)),
    url("assets/web/serv-alturas.jpg") center / cover;
  border-bottom: 5px solid var(--accent);
  box-shadow: var(--shadow);
}

.ally-card h2 {
  margin-bottom: 14px;
}

.ally-card p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.ally-actions {
  display: grid;
  gap: 18px;
}

.ally-actions span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 18, 24, 0.9);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 24px;
  cursor: pointer;
}

.process {
  padding-top: 20px;
}

.process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process li {
  min-height: 210px;
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 46px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.process strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  padding-bottom: 76px;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px 13px;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(216, 163, 54, 0.35);
  border-color: var(--accent);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.whatsapp-help {
  color: var(--muted);
  font-size: 13px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  animation: whatsapp-pulse 1.65s ease-in-out infinite;
  filter: drop-shadow(0 12px 22px rgba(10, 90, 51, 0.35));
  transition: transform 0.2s ease;
}

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

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bot-float {
  position: fixed;
  right: 22px;
  bottom: 104px;
  z-index: 30;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--steel);
  box-shadow: 0 14px 34px rgba(18, 24, 32, 0.32);
  cursor: pointer;
  animation: bot-pulse 1.8s ease-in-out infinite;
}

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

.bot-icon {
  position: relative;
  display: grid;
  width: 38px;
  height: 34px;
  place-items: end center;
}

.bot-antenna {
  position: absolute;
  top: 0;
  width: 2px;
  height: 9px;
  background: var(--accent);
}

.bot-antenna::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.bot-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 38px;
  height: 26px;
  border: 2px solid var(--accent);
  border-radius: 9px;
  background: #111820;
}

.bot-face span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--white);
}

.quick-bot {
  position: fixed;
  right: 18px;
  bottom: 180px;
  z-index: 31;
  display: none;
  width: min(340px, calc(100vw - 36px));
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(18, 24, 32, 0.24);
}

.quick-bot.is-open {
  display: block;
}

.quick-bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: var(--white);
  background: var(--steel);
}

.quick-bot-header strong,
.quick-bot-header span {
  display: block;
}

.quick-bot-header span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.quick-bot-header button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.quick-bot-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.bot-message,
.bot-response {
  margin: 0;
  color: var(--muted);
}

.bot-response {
  min-height: 48px;
  padding: 12px;
  background: #f1f4f5;
  border-left: 4px solid var(--accent);
}

.bot-options {
  display: grid;
  gap: 8px;
}

.bot-options button {
  padding: 11px 12px;
  border: 1px solid var(--line);
  color: var(--steel);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.bot-options button:hover {
  border-color: var(--accent);
  background: #fff9ed;
}

.bot-whatsapp {
  display: block;
  padding: 14px 16px;
  color: var(--white);
  background: #168c5a;
  font-weight: 900;
  text-align: center;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 12px 22px rgba(10, 90, 51, 0.35));
  }

  50% {
    transform: scale(1.12);
    filter: drop-shadow(0 16px 30px rgba(10, 160, 84, 0.52));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 12px 22px rgba(10, 90, 51, 0.35));
  }
}

@keyframes bot-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 14px 34px rgba(18, 24, 32, 0.32);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 18px 42px rgba(216, 163, 54, 0.38);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 14px 34px rgba(18, 24, 32, 0.32);
  }
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  background: #121820;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 80px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: #192027;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 10px;
  }

  .service-grid,
  .project-grid,
  .gallery-grid,
  .safety-grid,
  .process ol,
  .feature-band,
  .coverage-band,
  .ally-card,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-carousel:nth-child(1) {
    grid-row: span 1;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-logo {
    width: 92px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 10px;
  }

  .hero {
    min-height: 760px;
  }

  .hero img {
    min-height: 760px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 18, 24, 0.9), rgba(12, 18, 24, 0.42)),
      linear-gradient(0deg, rgba(12, 18, 24, 0.54), transparent 48%);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
  }

  h1 {
    font-size: 44px;
  }

  .trust-strip,
  .service-grid,
  .project-grid,
  .gallery-grid,
  .safety-grid,
  .process ol,
  .feature-band,
  .coverage-band,
  .ally-card,
  .contact {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .trust-strip {
    margin-top: 0;
    width: 100%;
  }

  .section,
  .process,
  .contact {
    padding: 68px 0;
  }

  .feature-band {
    padding: 68px 18px;
  }

  .coverage-band {
    width: calc(100% - 36px);
    margin-top: 52px;
    padding: 24px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    width: 62px;
    height: 62px;
  }

  .bot-float {
    right: 15px;
    bottom: 88px;
    width: 58px;
    height: 58px;
  }

  .quick-bot {
    right: 12px;
    bottom: 154px;
  }

  footer {
    flex-direction: column;
  }
}
