:root {
  --carbon: #111111;
  --carbon-soft: #1b1b1b;
  --off-white: #f4f1eb;
  --cement: #8b8b84;
  --cement-light: #d8d4cc;
  --gold: #c4a45d;
  --blue: #10233f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(12, 12, 12, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--carbon);
  background: var(--off-white);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header.scrolled,
.site-header.nav-active {
  padding-block: 14px;
  color: var(--carbon);
  background: rgba(244, 241, 235, 0.88);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(196, 164, 93, 0.65);
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a {
  opacity: 0.86;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.site-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.nav-cta {
  border: 1px solid rgba(196, 164, 93, 0.62);
  padding: 10px 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(196, 164, 93, 0.4);
  padding: 3px;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  cursor: pointer;
  opacity: 0.62;
  transition: background 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.lang-switch button:hover {
  opacity: 1;
}

.lang-switch button.active {
  background: var(--gold);
  color: #1a1a1a;
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(196, 164, 93, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: currentColor;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.25s ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 128px clamp(20px, 6vw, 84px) 36px;
  align-items: end;
  color: var(--white);
}

.hero-media,
.hero-overlay,
.cta-media {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2200&q=85") center / cover;
  transform: translateY(var(--parallax, 0));
  scale: 1.05;
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 28%, rgba(196, 164, 93, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0.48) 48%, rgba(10, 10, 10, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 1020px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(2.75rem, 5.8vw, 5.15rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.25rem);
}

h3 {
  font-size: 1.16rem;
}

.hero-copy {
  max-width: 740px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.hero-actions,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 24px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.button-primary {
  background: var(--gold);
  color: var(--carbon);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.button-dark {
  width: 100%;
  background: var(--carbon);
  color: var(--white);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 6vw, 84px);
  bottom: 36px;
  z-index: 3;
  width: min(350px, calc(100% - 40px));
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  font-size: 1.05rem;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 84px);
}

.intro-section {
  background: var(--off-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: end;
}

.intro-grid p,
.section-heading p {
  color: #55534e;
  font-size: 1.04rem;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 42px;
}

.services {
  background: #fbfaf7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--cement-light);
  border: 1px solid var(--cement-light);
}

.service-card {
  min-height: 360px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  z-index: 1;
  transform: translateY(-8px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(196, 164, 93, 0.5);
  color: var(--blue);
  font-size: 1.6rem;
}

.service-card p {
  color: #5f5d57;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #31302e;
  font-size: 0.93rem;
}

.service-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--gold);
}

.why {
  color: var(--white);
  background: var(--carbon);
}

.why .section-heading p,
.why .section-heading h2 {
  color: var(--white);
}

.why-inner {
  background:
    linear-gradient(rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.9)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1900&q=82") center / cover fixed;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.18);
}

.stat {
  min-height: 170px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.advantages-grid span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.projects {
  background: var(--off-white);
}

.filter-bar button {
  border: 1px solid var(--cement-light);
  padding: 12px 18px;
  background: transparent;
  color: var(--carbon);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease;
}

.filter-bar button.active,
.filter-bar button:hover {
  background: var(--carbon);
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 310px;
  gap: 18px;
  margin-top: 34px;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--carbon);
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.13);
}

.project-card.tall {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: scale 0.55s ease, opacity 0.55s ease;
}

.project-card:hover img {
  scale: 1.07;
  opacity: 0.62;
}

.project-card div {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  color: var(--white);
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.project-card:hover div {
  transform: translateY(0);
}

.project-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.testimonials {
  background: #fbfaf7;
}

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

blockquote {
  margin: 0;
  border: 1px solid var(--cement-light);
  padding: 32px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.06);
  color: #3d3b37;
  font-size: 1.02rem;
}

cite {
  display: block;
  margin-top: 24px;
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
}

.cta-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(28px, 7vw, 90px);
  overflow: hidden;
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 84px);
  color: var(--white);
  background: var(--carbon);
}

.cta-media {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.54)),
    url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1900&q=82") center / cover;
}

.cta-content,
.contact-form {
  position: relative;
  z-index: 1;
}

.cta-content {
  align-self: center;
}

.cta-content h2 {
  max-width: 850px;
  margin-bottom: 30px;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 26px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--carbon);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.footer {
  padding: 58px clamp(20px, 6vw, 84px) 28px;
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 1fr;
  gap: 34px;
}

.footer h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
}

.footer a {
  display: block;
  margin-bottom: 9px;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--gold);
}

.footer-brand {
  color: var(--white);
  margin-bottom: 18px;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.map iframe {
  width: 100%;
  min-height: 190px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  font-size: 0.86rem;
}

.legal a {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #21c063;
  color: #062414;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card.hidden {
  display: none;
}

@media (max-width: 1180px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 30;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 22px;
    background: rgba(244, 241, 235, 0.97);
    color: var(--carbon);
    font-size: 1.35rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav .lang-switch {
    font-size: 0.9rem;
    margin-top: 6px;
  }

  .site-header.nav-active .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.nav-active .nav-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    min-height: 820px;
    padding-top: 138px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .intro-grid,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
  }

  .project-card.tall {
    grid-row: span 1;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: auto;
    padding: 112px 18px 34px;
    align-items: start;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.72) 48%, rgba(10, 10, 10, 0.88)),
      linear-gradient(90deg, rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.32));
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.7rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.15rem, 11vw, 3.2rem);
    line-height: 1.02;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    width: 100%;
    margin-top: 22px;
    padding: 18px;
  }

  .hero-panel strong {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .services-grid,
  .stats-grid,
  .advantages-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-auto-rows: 310px;
  }

  .contact-form {
    padding: 18px;
  }

  .legal {
    display: grid;
    justify-content: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero-media {
    transform: none;
  }
}
