:root {
  --green-950: #092a21;
  --green-900: #0f3d2e;
  --green-800: #14513d;
  --green-100: #e7f0ec;
  --silver: #c7d0cb;
  --silver-dark: #7b8781;
  --white: #ffffff;
  --ink: #1e2824;
  --muted: #617069;
  --line: #dce3df;
  --shadow: 0 18px 45px rgba(9, 42, 33, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand img {
  width: 154px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--green-900);
}

.btn-primary:hover {
  background: var(--green-800);
}

.btn-light {
  color: var(--green-950);
  background: var(--white);
  border-color: rgba(255, 255, 255, .45);
}

.btn-outline {
  color: var(--green-950);
  background: transparent;
  border-color: var(--silver);
}

.hero {
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(9, 42, 33, .94) 0%, rgba(9, 42, 33, .78) 42%, rgba(9, 42, 33, .2) 72%),
    url("assets/hero-esquadrias.png") center / cover no-repeat;
  color: var(--white);
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0 70px;
}

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

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

h1 {
  max-width: 790px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: .96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
}

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

.hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, .16);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-item {
  min-height: 112px;
  padding: 28px 24px;
  background: var(--green-100);
}

.trust-item strong {
  display: block;
  color: var(--green-950);
  font-size: 18px;
}

.trust-item span {
  color: var(--muted);
}

.section {
  padding: 86px 0;
}

.section-alt {
  background: #f6f8f7;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head h2 {
  margin-bottom: 12px;
  color: var(--green-950);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

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

.service-card {
  min-height: 292px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--green-900);
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--green-950);
  font-size: 20px;
  line-height: 1.2;
}

.service-card p {
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.about-panel {
  padding: 34px;
  border-left: 6px solid var(--green-900);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-panel p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.check-list svg {
  margin-top: 2px;
  color: var(--green-900);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--green-950);
  object-fit: contain;
}

.slider-card {
  display: flex;
  flex-direction: column;
}

.slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
}

.slider-head h3 {
  margin: 0;
}

.slider-head span {
  flex: 0 0 auto;
  color: var(--silver-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.slider-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #edf3f0, #ffffff);
}

.slide {
  display: none;
  margin: 0;
  position: relative;
  width: 100%;
  height: 100%;
}

.slide.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: 100%;
  padding: 10px;
}

.slide figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(9, 42, 33, .86);
  font-size: 14px;
  font-weight: 800;
}

.slider-card > p {
  max-width: 820px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  color: var(--green-950);
  background: rgba(255, 255, 255, .92);
  cursor: pointer;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-card > p {
  margin: 0;
  padding: 18px 18px 10px;
  color: var(--muted);
}

.slider-dots {
  display: flex;
  gap: 7px;
  padding: 0 18px 18px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--silver);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--green-900);
}

.work-card > div:not(.slider-head):not(.slider-media):not(.slider-dots) {
  padding: 18px;
}

.work-card h3 {
  margin-bottom: 5px;
  color: var(--green-950);
  font-size: 19px;
}

.work-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.seo-copy {
  columns: 2;
  column-gap: 44px;
  color: var(--muted);
}

.contact-band {
  padding: 76px 0;
  color: var(--white);
  background: var(--green-950);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.contact-layout h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.contact-layout p {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .82);
}

.contact-location {
  margin-top: 18px;
  color: rgba(255, 255, 255, .92);
  font-style: normal;
  font-weight: 800;
}

.contact-actions {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, .78);
  background: #061d17;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #1fa855;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}

@media (max-width: 900px) {
  .nav {
    min-height: 88px;
    padding: 10px 0;
    align-items: center;
  }

  .nav-links {
    width: auto;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 720px;
    background:
      linear-gradient(180deg, rgba(9, 42, 33, .93) 0%, rgba(9, 42, 33, .78) 56%, rgba(9, 42, 33, .34) 100%),
      url("assets/hero-esquadrias.png") center / cover no-repeat;
  }

  .trust-row,
  .services-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .seo-copy {
    columns: 1;
  }

  .contact-actions {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 0;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .nav-links .btn {
    min-height: 44px;
    padding: 11px 14px;
  }

  .brand img {
    width: 132px;
  }

  .hero-inner {
    padding: 64px 0 48px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .section {
    padding: 62px 0;
  }

  .slider-media,
  .work-card video {
    aspect-ratio: 4 / 3;
  }

  .service-card,
  .about-panel {
    padding: 22px;
  }
}
