:root {
  --bg: #101010;
  --bg-soft: #171717;
  --white: #f6f6f6;
  --light: #efefef;
  --text: #b4bac2;
  --brand: #ffb400;
  --green: #22c55e;
  --radius: 16px;
  --container: min(1140px, 92vw);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--light);
  color: #111;
  line-height: 1.45;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

#servicios .container {
  width: min(1232px, 92vw);
}

.section {
  padding: 5.5rem 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  background: var(--bg);
  color: var(--white);
}

h1,
h2,
h3,
h4 {
  font-family: "Barlow", sans-serif;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.85rem);
  letter-spacing: -0.04em;
  margin: 1rem 0 2rem;
}

h2 span,
h1 span {
  color: var(--brand);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 800;
  padding: 0.55rem 0.95rem;
  background: rgba(255, 180, 0, 0.2);
  color: #1f1f1f;
}

.section-dark .eyebrow {
  color: var(--brand);
  border: 1px solid rgba(255, 180, 0, 0.3);
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: 10px;
  min-height: 48px;
  padding: 0 1.3rem;
  transition: 0.25s ease;
}

.btn-primary {
  color: #161616;
  background: var(--brand);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #f8f8f8;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-whatsapp {
  background: var(--green);
  color: #fff;
}

.full {
  width: 100%;
}

.quote-form .full {
  margin-top: 0.65rem;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.topbar.scrolled {
  background: #101010;
  backdrop-filter: none;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-family: "Barlow", sans-serif;
}

.logo-image {
  width: 132px;
  height: auto;
  display: block;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #111;
  background: var(--brand);
  border-radius: 10px;
  font-size: 1.2rem;
}

.logo strong {
  color: #fff;
}

.logo-text {
  color: var(--brand);
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: #d8d8d8;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
}

.nav a:not(.btn) {
  opacity: 0.88;
  font-size: 0.95rem;
}

.nav a:not(.btn):hover {
  color: #fff;
  opacity: 1;
}

.nav-button {
  min-height: 42px;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  font-family: "Barlow", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  min-width: auto;
  transition: background-color 0.2s ease;
}

.nav-button:hover {
  transform: none;
  background: #f4c33f;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-brochure {
  background: var(--green);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-brochure:hover {
  transform: none;
  background: #1ea851;
  border-color: rgba(0, 0, 0, 0.12);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("Imagenes/hero1.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.72) 52%, rgba(0, 0, 0, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4.3rem;
  max-width: 80rem;
  padding-inline: 1rem;
  transform: translateY(50px);
}

.hero h1 {
  color: #fff;
  letter-spacing: -0.03em;
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  line-height: 1.1;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
}
.hero p {
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 42rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 2.5rem;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-height: 56px;
  padding: 0 2rem;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.4rem;
}

.hero-stats {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 32rem;
  width: 100%;
  margin-inline: auto;
}

.hero-stats h3 {
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  color: var(--brand);
}

.hero-stats p {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.explore {
  margin-top: 6.9rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #b7b7b7;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
}

.explore i {
  font-size: 1.3rem;
  animation: explore-bounce 1.6s ease-in-out infinite;
}

@keyframes explore-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(9px);
    opacity: 1;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
}

.about-grid img {
  border-radius: 18px;
  object-fit: cover;
  width: 100%;
  height: 250px;
}

.about-main {
  grid-row: span 2;
  height: 516px !important;
}

.stat-cards {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-cards article {
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  background: #111;
  color: #fff;
}

.stat-cards h3 {
  color: var(--brand);
  font-size: 2.8rem;
}

.stat-cards p {
  margin-top: 0.15rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  opacity: 0.8;
}

.stat-flag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-flag-img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
  margin-bottom: 0.35rem;
}

.services-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1232px;
  margin: 0 auto;
}

.services-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
  max-width: 1232px;
  margin-left: auto;
  margin-right: auto;
}

.services-mobile-carousel {
  display: none;
}

.service-card {
  height: 272px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.service-wide {
  height: 256px;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 16, 16, 0.95) 0%, rgba(16, 16, 16, 0.4) 45%, rgba(16, 16, 16, 0) 100%);
}

.hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 180, 0, 0);
  transition: background-color 0.3s ease;
}

.service-card .content {
  display: block;
}

.icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: var(--brand);
  color: #191919;
  z-index: 2;
}

.service-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem 1.15rem 1.15rem;
  z-index: 2;
}

.service-card h3 {
  font-size: 1.7rem;
  line-height: 1.05;
  color: #fff;
  font-weight: 900;
  transition: color 0.2s ease;
}

.service-card p {
  color: rgba(255, 255, 255, 0.65);
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  line-height: 1.35;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.65rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card:hover .hover-overlay {
  background: rgba(255, 180, 0, 0.1);
}

.service-card:hover h3 {
  color: var(--brand);
}

.service-card:hover .service-cta {
  opacity: 1;
}

.service-card:hover .service-text {
  transform: translateY(-2px);
}

.service-card:hover .service-text {
  transform: translateY(-2px);
}

#servicios .eyebrow {
  display: table;
  margin: 0 auto;
  background: rgba(255, 180, 0, 0.15);
  border: 1px solid rgba(255, 180, 0, 0.3);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  padding: 0.5rem 1rem;
}

#servicios h2 {
  text-align: center;
  margin-bottom: 3.2rem;
  font-size: clamp(2.3rem, 5vw, 3.75rem);
  line-height: 1.1;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-tabs {
  background: #dcdcdf;
  border-radius: 999px;
  padding: 0.3rem;
  display: flex;
  gap: 0.3rem;
}

.tab {
  border: none;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 1rem;
  font-weight: 700;
  color: #78808b;
  cursor: pointer;
  background: transparent;
}

.tab.active {
  background: var(--brand);
  color: #101010;
}

.projects-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.project-card {
  min-height: 250px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transform: translateY(26px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card .overlay {
  transition: opacity 0.45s ease;
}

.project-card h3 {
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.95rem;
  color: #fff;
  z-index: 1;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

.badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 800;
  color: #111;
  background: var(--brand);
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  transition: transform 0.35s ease;
}

.project-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card:hover .overlay {
  opacity: 0.92;
}

.project-card:hover .badge {
  transform: translateY(-2px);
}

.project-card.anim-in {
  animation: projectFilterIn 0.65s ease both;
}

.projects-more-action {
  margin-top: 1.7rem;
  display: flex;
  justify-content: center;
}

.projects-more-action .btn {
  min-width: 220px;
}

@keyframes projectFilterIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.benefits-grid article {
  background: #ececef;
  border: none;
  border-radius: 1rem;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 1.25rem;
  row-gap: 0.25rem;
  align-items: start;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.benefits-grid i {
  width: 54px;
  height: 54px;
  border-radius: 0.75rem;
  background: var(--brand);
  color: #101010;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  grid-row: span 2;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.benefits-grid h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #121212;
  font-weight: 900;
}

.benefits-grid p {
  color: #767d86;
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0;
}

.benefits-grid article:hover {
  transform: translateY(-4px);
}

.benefits-grid article:hover i {
  background: #101010;
  color: var(--brand);
}

.benefits-section {
  background: #ffb400;
  color: #111;
  padding: 5rem 0 7rem;
}

.benefits-section .container {
  max-width: 1150px;
}

.benefits-section .eyebrow {
  display: table;
  margin: 0 auto;
  color: #171717;
  background: rgba(173, 114, 0, 0.25);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.5rem 1rem;
}

.benefits-section h2 {
  text-align: center;
  color: #101010;
  max-width: 780px;
  margin: 1.25rem auto 3.5rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  font-weight: 900;
}

.benefits-section h2 span {
  color: #101010;
  text-decoration: underline;
  text-decoration-color: rgba(16, 16, 16, 0.3);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

#beneficios .cta-banner {
  display: none;
}

.cta-lower {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-lower-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cta-lower-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.cta-lower-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 180, 0, 0.9);
}

.cta-lower-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #111;
}

.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 16, 16, 0.12);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 1.5rem;
}

.cta-lower-content h2 {
  margin: 1.25rem 0 0.9rem;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.05;
  color: #111;
}

.cta-lower-content p {
  font-size: 1.15rem;
  color: rgba(16, 16, 16, 0.78);
}

.cta-lower-content p strong {
  color: #111;
}

.cta-lower-actions {
  margin-top: 1.35rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-dark:hover {
  background: #222;
}

.benefits-grid article:nth-child(1) {
  transition-delay: 0ms;
}

.benefits-grid article:nth-child(2) {
  transition-delay: 80ms;
}

.benefits-grid article:nth-child(3) {
  transition-delay: 160ms;
}

.benefits-grid article:nth-child(4) {
  transition-delay: 240ms;
}

.benefits-grid article:nth-child(5) {
  transition-delay: 320ms;
}

.benefits-grid article:nth-child(6) {
  transition-delay: 400ms;
}

.cta-banner {
  margin-top: 1.3rem;
  position: relative;
  min-height: 340px;
  border-radius: 18px;
  overflow: hidden;
}

.cta-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner .content {
  position: absolute;
  inset: auto 2rem 2rem;
  z-index: 1;
}

.cta-banner h3 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.cta-banner p {
  margin: 0.6rem 0 1rem;
  color: #e4e7ec;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1rem;
}

.contact-left > p {
  max-width: 560px;
  color: #717b87;
  margin-top: -0.7rem;
}

.contact-photo {
  margin-top: 1.2rem;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.contact-photo img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.contact-photo .inline {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
}

.contact-cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-cards article {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #f4f4f6;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  min-height: 72px;
}

.contact-cards i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand);
  color: #111;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  font-size: 0.95rem;
  line-height: 1;
}

.contact-cards .email-icon {
  font-size: 0.9rem;
}

.contact-cards div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact-cards p {
  color: #9aa2ac;
  font-size: 0.88rem;
  line-height: 1.1;
  font-weight: 400;
}

.contact-value {
  font-family: "Inter", sans-serif;
  color: #101010;
  font-size: 0.875rem;
  line-height: 1.15;
  font-weight: 500;
}

@media (max-width: 640px) {
  .contact-cards {
    gap: 0.75rem;
  }

  .contact-cards article {
    padding: 0.9rem 1rem;
    min-height: 68px;
  }

  .contact-cards p {
    font-size: 0.82rem;
  }

  .contact-cards strong {
    font-size: 0.96rem;
  }
}

.quote-form {
  background: #111;
  color: #f7f7f7;
  border-radius: 16px;
  padding: 1.35rem;
}

.quote-form h3 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.quote-form h3 span {
  color: var(--brand);
}

.quote-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #99a2ad;
  font-weight: 700;
  margin-top: 0.7rem;
}

.message-label {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.field-row {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-form input,
.quote-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
  background: #1d1d1d;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font-family: inherit;
}

.quote-form textarea {
  resize: vertical;
  min-height: 98px;
}

.contact-right iframe {
  margin-top: 0.85rem;
  width: 100%;
  height: 190px;
  border: none;
  border-radius: 16px;
}

.footer {
  padding: 4rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 1rem;
}

.footer-grid article p,
.footer-grid article a {
  color: #b0b8c1;
  margin-top: 0.68rem;
  display: block;
}

.footer-grid h4 {
  color: #fff;
  letter-spacing: 0.05em;
}

.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #252525;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.socials a i {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-0.5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1rem;
  color: #76808b;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-link {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.82rem !important;
  color: #aab3bb !important;
  font-size: 0.96rem;
  font-weight: 500;
}

.footer-link::before {
  content: ">";
  color: var(--brand);
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-1px);
}

.footer-contact-item {
  display: flex !important;
  align-items: center;
  gap: 0.78rem;
  margin-top: 1rem !important;
  color: #aab3bb !important;
  font-size: 0.96rem;
}

.footer-contact-item i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2b240f;
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  font-size: 0.95rem;
}

.footer-whatsapp {
  margin-top: 1rem !important;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  width: fit-content;
  gap: 0.55rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  white-space: nowrap;
  line-height: 1;
}

.footer-whatsapp i {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  display: block;
  transform: translateY(-1px);
}

.footer-grid article:first-child p {
  max-width: 19rem;
  line-height: 1.55;
}

.footer-grid h4 {
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.footer-grid article:nth-child(2),
.footer-grid article:nth-child(3) {
  padding-top: 0.4rem;
}

.footer-grid article:nth-child(2) a:hover,
.footer-grid article:nth-child(3) p:hover {
  color: #fff !important;
}

.footer-grid article:nth-child(3) p {
  margin-top: 0.95rem !important;
}

.footer-grid article:nth-child(3) p:first-of-type {
  margin-top: 0.82rem !important;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 22;
  font-size: 1.7rem;
  color: #fff;
  background: var(--green);
  box-shadow: var(--shadow);
}

.project-card.is-hidden {
  display: none;
}

@media (max-width: 1040px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #141414;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 4vw 1.2rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav.open {
    display: flex;
  }

  .nav-button {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: block;
  }

  .logo-image {
    width: 118px;
  }

  .services-grid,
  .projects-grid,
  .benefits-grid,
  .contact-grid,
  .footer-grid,
  .about-grid,
  .field-row,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .stat-cards article {
    padding: 1rem 0.85rem;
  }

  .stat-cards h3 {
    font-size: 2rem;
  }

  .stat-cards p {
    font-size: 0.78rem;
    line-height: 1.15;
    margin-top: 0.1rem;
  }

  .services-top-grid,
  .services-bottom-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: none;
  }

  .services-bottom-grid {
    margin-top: 1rem;
  }

  .service-wide,
  .about-main {
    grid-column: auto;
    grid-row: auto;
    height: 250px !important;
  }

  .service-card,
  .service-wide {
    min-height: 256px;
  }

  .hero p {
    font-size: 1.12rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 19rem;
  }

  .section {
    padding: 4.4rem 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .cta-banner .content {
    inset: auto 1rem 1rem;
  }
}

@media (max-width: 640px) {
  h2 {
    font-size: clamp(1.9rem, 8.8vw, 2.45rem);
    margin-bottom: 1.4rem;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    transform: translateY(1px);
  }

  .hero h1 {
    font-size: clamp(2rem, 10.2vw, 2.8rem);
  }

  .hero-stats h3 {
    font-size: 1.75rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1.75rem;
    max-width: 100%;
  }

  .hero-stats p {
    font-size: 0.72rem;
    line-height: 1.15;
    margin-top: 0.15rem;
  }

  .explore {
    margin-top: 2.4rem;
  }

  .explore i {
    font-size: 1.1rem;
  }

  .service-card {
    min-height: 236px;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }

  .project-card {
    min-height: 210px;
  }

  .project-card h3 {
    font-size: 1.05rem;
  }

  .services-top-grid,
  .services-bottom-grid {
    display: none;
  }

  .services-mobile-carousel {
    display: block;
    position: relative;
    margin-top: 0.5rem;
  }

  .services-mobile-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 1rem;
  }

  .services-mobile-viewport::-webkit-scrollbar {
    display: none;
  }

  .services-mobile-track {
    display: flex;
    gap: 0.9rem;
    width: max-content;
  }

  .services-mobile-track .service-card {
    flex: 0 0 82vw;
    max-width: 390px;
    height: 250px;
    scroll-snap-align: center;
  }

  .services-mobile-track .service-wide {
    height: 250px;
  }

  .services-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(16, 16, 16, 0.92);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  }

  .services-arrow i {
    font-size: 1.5rem;
    line-height: 1;
  }

  .services-prev {
    left: 0.2rem;
  }

  .services-next {
    right: 0.2rem;
  }

  .services-mobile-carousel .service-text {
    padding: 1rem 1rem 1rem;
  }

  .services-mobile-carousel .icon {
    top: 0.9rem;
    left: 0.9rem;
    width: 36px;
    height: 36px;
  }

  .services-mobile-carousel .service-card h3 {
    font-size: 1.45rem;
  }

  .services-mobile-carousel .service-card p {
    font-size: 0.84rem;
  }

  .services-mobile-carousel .service-cta {
    margin-top: 0.55rem;
  }

  .socials a {
    width: 38px;
    height: 38px;
  }

  .benefits-section {
    padding: 4.2rem 0 5rem;
  }

  .benefits-section h2 {
    margin-bottom: 2.2rem;
    font-size: 2.25rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .benefits-grid article {
    padding: 1.15rem;
    grid-template-columns: 48px 1fr;
    column-gap: 0.85rem;
  }

  .benefits-grid i {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .cta-lower {
    min-height: 460px;
  }

  .cta-lower-content h2 {
    font-size: 2.55rem;
  }

  .cta-lower-content p {
    font-size: 1rem;
  }
}

@media (min-width: 641px) {
  .hero-actions .btn {
    width: auto;
    max-width: none;
  }
}

@media (min-width: 641px) and (max-width: 1120px) {
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
