.site-header {
  background-color: #e3e3e3;
  background-image: linear-gradient(rgba(227, 227, 227, 0.52), rgba(227, 227, 227, 0.52)), url("/assets/img/textura.jpg");
  background-size: cover;
  background-position: center;
}

.header-inner {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 171px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  display: block;
  width: 150px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  position: relative;
  color: #637b4b;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 9px 8px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 0;
  height: 2px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #000;
}

.nav a.is-active::after,
.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid #cfcfcf;
  background: #fff;
  padding: 10px 11px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #333;
}

.page-banner {
  background: linear-gradient(90deg, #637b4b 22%, #16200b 87%);
  color: #fff;
  min-height: 65px;
  display: flex;
  align-items: center;
}

.page-banner h1 {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.slide-copy {
  position: relative;
  z-index: 1;
  max-width: 66%;
  padding: 0 0 0 100px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-copy h2 {
  margin: 0 0 3px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 42px;
  line-height: 1.15;
}

.slide-copy p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
}

.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.dot.is-active {
  background: #fff;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 768px;
  background: linear-gradient(180deg, #637b4b 0%, #000 100%);
  color: #fff;
}

.about-copy {
  padding: 5em 3em;
}

.kicker {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.about h1,
.about h2 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 43px;
  line-height: 1.05;
  color: #fff;
}

.about-copy p {
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 1.65;
}

.about-photo {
  min-height: 480px;
  background: url("/assets/img/fachada.jpg") center / cover no-repeat;
}

.band {
  position: relative;
  background: #e3e3e3;
  text-align: left;
  padding: 5em 4em 1em;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/textura.jpg") center / cover no-repeat;
  opacity: 0.48;
  pointer-events: none;
}

.band-inner {
  position: relative;
  width: min(1248px, 100%);
  margin: 0 auto;
}

.band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5em;
  color: #1d1d37;
  text-transform: uppercase;
}

.slash {
  display: block;
  height: 8px;
  margin-top: 10px;
  background-image: repeating-linear-gradient(-62deg, currentColor 0 2px, transparent 2px 8px);
  background-size: 12px 8px;
  background-repeat: repeat-x;
}

.slash.olive { color: #637b4b; width: 214px; }
.slash.white { color: #fff; width: 214px; }
.slash.black { color: #000; width: min(591px, 100%); }
.slash.center { margin-inline: auto; }

.splits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #e3e3e3;
  padding-bottom: 5em;
}

.split-photo {
  min-height: 480px;
  background-position: center;
  background-size: cover;
}

.split-copy {
  background: #637b4b;
  color: #fff;
  padding: 5em 2em;
}

.split-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2em;
  text-transform: uppercase;
  line-height: 1.1;
}

.split-copy p {
  font-family: var(--font);
  font-size: 0.9em;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #637b4b;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 18px;
  line-height: 1.5;
  border: 0;
  transition: transform 0.3s ease-out, background 0.2s, color 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-light {
  background: #fff;
  color: #637b4b;
  font-weight: 600;
}

.btn-light:hover,
.btn-light:focus-visible {
  background: #000;
  color: #fff;
  transform: translateY(-8px);
}

.quality {
  position: relative;
  min-height: 50vh;
  background: url("/assets/img/politica-fundo.jpg") center / cover no-repeat;
  color: #fff;
  padding: 80px 0;
}

.quality::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #02121e;
  opacity: 0.5;
}

.quality-grid {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}

.quality-photo {
  margin-left: -40px;
  box-shadow: 0 0 10px 8px rgba(0, 0, 0, 0.21);
}

.quality-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.quality h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 7px;
  text-transform: uppercase;
  line-height: 1;
}

.quality .sub {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 5.7px;
  text-transform: uppercase;
  line-height: 0.9;
}

.quality p {
  font-family: var(--font);
  font-size: 0.9em;
  line-height: 1.5;
}

.cards-dark {
  background: #414141;
  padding: 6em 4em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.info-card {
  background: #fff;
  color: #434343;
  border-bottom: 2px solid #fff;
  padding: 2em;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.info-card:hover {
  border-bottom-color: #637b4b;
  box-shadow: 0 19px 10px -9px rgba(0, 0, 0, 0.3);
}

.info-card svg {
  width: 33px;
  height: 33px;
  fill: #637b4b;
  margin-bottom: 1em;
}

.info-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3em;
  color: #637b4b;
}

.info-card .slash {
  width: 55px;
  height: 2px;
  margin: 8px 0 14px;
  background: #7a7a7a;
  background-image: none;
}

.info-card p {
  margin: 0 0 1.2em;
  font-size: 1em;
  line-height: 1.6;
}

.clients {
  background: #ececec;
  padding: 70px 0 40px;
  text-align: center;
}

.clients h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: #637b4b;
}

.logo-window {
  width: min(1140px, calc(100% - 48px));
  margin: 28px auto 0;
  overflow: hidden;
}

.logo-track {
  display: flex;
  gap: 40px;
  transition: transform 0.5s ease;
}

.logo-item {
  flex: 0 0 calc((100% - 80px) / 3);
  background: #fff;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.logo-item img {
  max-height: 78px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}

.logo-dots .dot {
  background: #c5c5c5;
}

.logo-dots .dot.is-active {
  background: #333;
}

.contact-band {
  background: linear-gradient(180deg, #637b4b 0%, #16200b 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px 48px;
}

.contact-band .brand {
  width: 150px;
  height: auto;
  margin: 0 auto 18px;
}

.contact-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.08em;
}

.contact-grid {
  width: min(1140px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 28px;
  text-align: center;
}

.contact-card {
  background: #fff;
  color: #000;
  min-height: 220px;
  padding: 36px 22px 28px;
}

.contact-card:hover h3,
.contact-card:hover p {
  color: #637b4b;
}

.bubble {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #637b4b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bubble svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.contact-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
}

.contact-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.35;
}

.contact-card .company {
  margin-top: 8px;
  font-size: 15px;
  color: #637b4b;
}

.map-wrap {
  width: min(1312px, calc(100% - 48px));
  margin: 36px auto 0;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 332px;
  border: 0;
}

.legal {
  background: #fff;
  text-align: center;
  padding: 16px 16px 18px;
  font-family: var(--font-display);
  color: #637b4b;
  font-size: 16px;
}

.prose {
  width: min(1120px, calc(100% - 80px));
  margin: 36px auto 10px;
  color: #4e4e4e;
  font-size: 16px;
  line-height: 1.7;
}

.prose p { margin: 0 0 1em; }

.petrini-panel {
  width: min(1140px, calc(100% - 80px));
  margin: 48px auto 56px;
  padding: 4.5em 2em 3em;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(99, 123, 75, 0.82) 0%, rgba(0, 0, 0, 0.88) 42%, #000 100%),
    url("/assets/img/textura.jpg") center / cover;
}

.petrini-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.petrini-copy {
  padding: 0 1.5em 0 2em;
}

.petrini-copy .slash {
  margin-bottom: 18px;
}

.petrini-copy p,
.petrini-goals p {
  margin: 0 0 0.85em;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
}

.petrini-top img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.petrini-goals {
  padding: 1.6em 2em 0;
}

.petrini-goals h2 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.feature {
  width: min(1120px, calc(100% - 80px));
  margin: 28px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}

.feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.feature-copy {
  background: #637b4b;
  color: #fff;
  padding: 48px 36px;
}

.feature-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.04em;
}

.feature-copy p {
  line-height: 1.6;
  font-size: 16px;
}

.quote {
  width: min(1120px, calc(100% - 80px));
  margin: 36px auto 8px;
  text-align: center;
}

.quote h2 {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.45;
  color: #111;
}

.quote p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.values {
  width: min(1120px, calc(100% - 80px));
  margin: 28px auto 20px;
  background: #414141;
  padding: 48px 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value {
  background: #fff;
  padding: 28px 22px 24px;
  text-align: left;
}

.value svg {
  width: 34px;
  height: 34px;
  fill: #637b4b;
}

.value h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  color: #637b4b;
  font-size: 1.3em;
  letter-spacing: 0.04em;
}

.value .slash {
  width: 55px;
  height: 2px;
  margin: 8px 0 12px;
  background: #7a7a7a;
  background-image: none;
}

.value p,
.value li {
  color: #434343;
  line-height: 1.55;
  font-size: 15px;
}

.value ul {
  margin: 0;
  padding-left: 18px;
}

.iso-wrap {
  text-align: center;
  padding: 18px 0 36px;
}

.gallery {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery a:hover img,
.gallery a:focus-visible img {
  transform: scale(1.04);
}

.gallery a:hover::after,
.gallery a:focus-visible::after {
  opacity: 1;
}

.contact-cols {
  width: min(1120px, calc(100% - 80px));
  margin: 40px auto 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.soft-card {
  background: #ececec;
  padding: 28px 24px 32px;
  min-height: 180px;
}

.soft-card svg {
  width: 28px;
  height: 28px;
  fill: #637b4b;
}

.soft-card h2 {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: #637b4b;
}

.soft-card .slash {
  width: 48px;
  height: 2px;
  margin: 8px 0 14px;
  background: #7a7a7a;
  background-image: none;
}

.soft-card p {
  margin: 0;
  color: #555;
  line-height: 1.5;
}

.page-map {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto 10px;
}

.page-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
}

.lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

.lightbox .lb-close { top: 12px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; }
.lightbox .lb-next { right: 12px; top: 50%; }

body.lightbox-open { overflow: hidden; }

[data-reveal] {
  opacity: 0;
}

[data-reveal="up"].is-in {
  animation: fadeInUp 0.8s ease both;
}

[data-reveal="left"].is-in {
  animation: fadeInLeft 0.8s ease both;
}

[data-reveal="fade"].is-in {
  animation: fadeIn 1s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 40px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-40px, 0, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.quality-photo:hover img {
  animation: bob 1.5s ease-in-out infinite alternate;
}

@keyframes bob {
  from { transform: translateY(-4px); }
  to { transform: translateY(-8px); }
}

@media (max-width: 1024px) {
  .splits { grid-template-columns: 1fr 1fr; }
  .cards-dark,
  .values,
  .contact-cols { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .band { padding: 3em 2em 1em; }
  .cards-dark { padding: 2em; }
}

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    min-height: 0;
    padding: 16px 0 12px;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 8px 0 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 16px; }
  .hero { height: 300px; }
  .slide-copy {
    max-width: 93%;
    padding: 10px 10px 10px 50px;
  }
  .slide-copy h2 { font-size: 26px; }
  .slide-copy p { font-size: 16px; }
  .about,
  .petrini-top,
  .feature,
  .quality-grid,
  .contact-grid,
  .cards-dark,
  .values,
  .contact-cols,
  .splits,
  .gallery {
    grid-template-columns: 1fr;
  }
  .about-copy,
  .split-copy,
  .feature-copy { padding: 2em 1.4em; }
  .petrini-panel { padding: 2em 1.2em; }
  .petrini-copy,
  .petrini-goals { padding-left: 0; padding-right: 0; }
  .petrini-top img { height: 240px; }
  .about h1, .about h2 { font-size: 25px; text-align: center; }
  .kicker, .about-copy .slash { text-align: center; margin-inline: auto; }
  .about-copy { text-align: center; }
  .band h2 { font-size: 25px; }
  .quality { padding: 1em; }
  .quality-photo { margin-left: 0; }
  .quality h2 { font-size: 20px; letter-spacing: 2px; }
  .prose, .petrini-panel, .feature, .quote, .values, .contact-cols {
    width: min(100% - 32px, 1120px);
  }
  .logo-item { flex-basis: 100%; }
  .map-wrap iframe, .page-map iframe { height: 240px; }
}
