:root {
  --white: #ffffff;
  --gray-50: #f5f5f5;
  --gray-100: #ececec;
  --gray-500: #767676;
  --gray-900: #222222;
  --blue: #14263d;
  --gold: #b99455;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

img.image-missing {
  opacity: 0;
}

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

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

:focus-visible {
  outline: 3px solid rgba(185, 148, 85, 0.45);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 68px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(20, 38, 61, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-logo,
.footer-logo {
  width: 104px;
  height: auto;
  object-fit: contain;
}

.brand-logo:not([src]),
.brand-logo[src=""] {
  display: none;
}

.brand-fallback {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: #333;
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.language-switcher {
  justify-self: end;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
}

.language-switcher button {
  width: 42px;
  height: 34px;
  color: var(--gray-500);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-switcher button.active {
  color: var(--white);
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  cursor: pointer;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), #2d3134);
}

.hero::after {
  position: absolute;
  right: clamp(18px, 6vw, 86px);
  bottom: clamp(22px, 7vw, 96px);
  width: min(420px, 32vw);
  height: min(420px, 32vw);
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)),
    linear-gradient(45deg, transparent 49%, rgba(185, 148, 85, 0.52) 50%, transparent 51%);
  backdrop-filter: blur(2px);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 28%, rgba(185, 148, 85, 0.24), transparent 30%),
    linear-gradient(90deg, rgba(10, 18, 31, 0.9), rgba(10, 18, 31, 0.48) 56%, rgba(10, 18, 31, 0.28)),
    linear-gradient(0deg, rgba(10, 18, 31, 0.72), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 100px 0 84px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 2.2vw, 1.26rem);
  line-height: 1.65;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-proof div {
  min-height: 104px;
  padding: 20px;
  background: rgba(8, 16, 28, 0.36);
}

.hero-proof strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.28rem, 2.5vw, 2rem);
  line-height: 1;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.btn.primary {
  color: var(--white);
  background: var(--gold);
  box-shadow: 0 14px 32px rgba(185, 148, 85, 0.24);
}

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

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.13);
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 68px);
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card,
.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
}

.service-card {
  min-height: 250px;
  position: relative;
  overflow: hidden;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(185, 148, 85, 0.12), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover {
  border-color: rgba(185, 148, 85, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  color: var(--gold);
  background: rgba(20, 38, 61, 0.96);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(20, 38, 61, 0.18);
}

.service-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3,
.testimonial strong {
  margin: 0;
  color: var(--blue);
  font-size: 1.02rem;
}

.service-card p,
.about-copy p,
.contact-copy p,
.testimonial p {
  color: var(--gray-500);
  line-height: 1.7;
}

.projects-section {
  background: var(--gray-50);
}

.why-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 18, 31, 0.92), rgba(10, 18, 31, 0.78)),
    url("assets/why-bg.webp");
  background-color: var(--blue);
  background-position: center;
  background-size: cover;
}

.why-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(185, 148, 85, 0.22), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 120px);
}

.why-section > * {
  position: relative;
  z-index: 1;
}

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

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.project-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 420ms ease, opacity 180ms ease;
}

.project-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(10, 18, 31, 0.76), transparent 58%);
}

.project-card span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  color: var(--white);
  font-size: 1.28rem;
  font-weight: 800;
  text-align: left;
}

.project-card:hover img {
  transform: scale(1.045);
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
  max-width: 1240px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-body {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.about-body p {
  margin: 0;
}

.about-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.55;
}

.about-list li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(185, 148, 85, 0.14);
}

.about-cta {
  margin-top: 30px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-item {
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.why-item span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.why-item strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
}

.why-item p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  line-height: 1.65;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.testimonial {
  padding: 26px;
}

.contact-section {
  align-items: start;
}

.phone-link {
  display: block;
  margin: 24px 0 14px;
  color: var(--blue);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
}

.contact-links {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.contact-links a {
  width: fit-content;
  color: var(--blue);
  font-weight: 700;
}

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

.whatsapp-inline {
  color: var(--white);
  background: #1f8f4d;
  box-shadow: 0 14px 32px rgba(31, 143, 77, 0.24);
}

.whatsapp-inline:hover {
  background: #187b40;
}

.contact-form,
.quote-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 4vw, 34px);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  outline: 0;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 14px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 148, 85, 0.18);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 68px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--blue);
}

.site-footer a,
.site-footer p {
  margin: 8px 0 0;
}

.site-footer a {
  display: block;
  color: var(--white);
  font-weight: 800;
}

.footer-logo {
  filter: brightness(0) invert(1);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #1f8f4d;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(31, 143, 77, 0.33);
  font-size: 1.5rem;
  font-weight: 900;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal.open,
.lightbox.open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 31, 0.72);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100svh - 36px);
  overflow: auto;
  padding: 30px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin: 0 0 18px;
  color: var(--blue);
}

.modal-close,
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  cursor: pointer;
  background: var(--white);
  border: 0;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox {
  background: rgba(10, 18, 31, 0.9);
}

.lightbox img {
  max-width: min(1100px, calc(100vw - 36px));
  max-height: calc(100svh - 110px);
  object-fit: contain;
  border-radius: 8px;
}

.lightbox p {
  margin: 14px 0 0;
  color: var(--white);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

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

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .language-switcher {
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .service-grid,
  .project-grid,
  .why-grid,
  .testimonial-grid,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-bottom: 72px;
  }

  .hero::after {
    display: none;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-top: 30px;
  }

  .hero-proof div {
    min-height: 82px;
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 70px;
    gap: 10px;
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 82px;
  }

  .brand-fallback {
    display: none;
  }

  .language-switcher button {
    width: 34px;
    height: 31px;
    font-size: 0.74rem;
  }

  .hero {
    min-height: 660px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .project-card,
  .project-card img {
    min-height: 280px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
