:root {
  --bg: #0b0906;
  --bg-2: #12100b;
  --ink: #15120c;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-2: rgba(255, 255, 255, 0.1);
  --cream: #f6efe1;
  --paper: #fbf6ec;
  --muted: #bdb3a3;
  --muted-dark: #625946;
  --line: rgba(230, 199, 124, 0.18);
  --line-soft: rgba(20, 16, 8, 0.1);
  --gold: #caa24c;
  --gold-2: #f0d489;
  --gold-3: #8d681b;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cinzel', Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--bg);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 15% 15%, rgba(202, 162, 76, 0.16), transparent 36%),
    radial-gradient(circle at 90% 5%, rgba(202, 162, 76, 0.09), transparent 30%),
    var(--bg);
  background-size: 92px 92px, 92px 92px, 100% 100%, 100% 100%, 100% 100%;
}

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

button,
a {
  font: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--gold);
  color: #171109;
  padding: 10px 14px;
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 7, 5, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  width: 192px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(246, 239, 225, 0.78);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--gold-2);
}

.nav a:hover::after,
.nav a:focus::after {
  transform: scaleX(1);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.nav-cta,
.btn-primary {
  color: #191006;
  background: linear-gradient(135deg, var(--gold-2), var(--gold), var(--gold-3));
  box-shadow: 0 14px 35px rgba(202, 162, 76, 0.22);
}

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

.btn-outline {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-outline:hover {
  border-color: rgba(240, 212, 137, 0.55);
  background: rgba(202, 162, 76, 0.12);
}

.btn-dark {
  color: var(--cream);
  background: var(--ink);
  border-color: rgba(21, 18, 12, 0.4);
}

.btn-outline-light {
  color: var(--ink);
  background: rgba(21, 18, 12, 0.06);
  border-color: rgba(21, 18, 12, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-dark {
  background: #080704;
  color: var(--cream);
}

.section-soft {
  background: var(--paper);
  color: var(--ink);
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

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

.hero-bg {
  background-image: url('assets/projects/hero-exterior.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  opacity: 0.48;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 7, 4, 0.92) 0%, rgba(8, 7, 4, 0.74) 38%, rgba(8, 7, 4, 0.35) 100%),
    radial-gradient(circle at 22% 42%, rgba(202, 162, 76, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(8, 7, 4, 0.95), rgba(8, 7, 4, 0.18) 40%, #080704 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: '';
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1,
.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  margin: 0;
}

.hero h1 {
  max-width: 850px;
  margin-top: 22px;
  font-size: clamp(42px, 7vw, 86px);
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(246, 239, 225, 0.78);
  font-size: clamp(16px, 2vw, 20px);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 1px;
  width: min(100%, 560px);
  margin-top: 58px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 20px;
  background: rgba(10, 8, 4, 0.78);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  display: block;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(246, 239, 225, 0.58);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-strip {
  background: linear-gradient(135deg, #bf8f2d, #f2d688, #9b711f);
  color: #1a1106;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 78px;
  align-items: center;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.strip-grid div {
  padding: 20px 10px;
  border-left: 1px solid rgba(0, 0, 0, 0.16);
}

.strip-grid div:last-child {
  border-right: 1px solid rgba(0, 0, 0, 0.16);
}

.split,
.capabilities-wrap,
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.86fr);
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.02fr);
}

.section-copy h2,
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4.4vw, 58px);
  letter-spacing: -0.035em;
}

.section-copy p,
.section-head p {
  color: var(--muted-dark);
  margin: 20px 0 0;
  font-size: 17px;
}

.section-dark .section-copy p,
.section-dark .section-head p {
  color: rgba(246, 239, 225, 0.7);
}

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

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.feature-list div,
.service-card,
.capability-panel,
.contact-card,
.qr-card {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 60px rgba(26, 18, 7, 0.08);
}

.feature-list div {
  padding: 22px;
  border-radius: 20px;
}

.feature-list span {
  color: var(--gold-3);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.feature-list strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
}

.feature-list p {
  margin-top: 8px;
  font-size: 14px;
}

.about-card,
.why-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #16120a;
}

.about-card::before,
.why-image::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(240, 212, 137, 0.32);
  border-radius: calc(var(--radius) - 10px);
  z-index: 1;
  pointer-events: none;
}

.about-card img,
.why-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-card-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  padding: 20px;
  border: 1px solid rgba(240, 212, 137, 0.26);
  background: rgba(11, 9, 6, 0.78);
  backdrop-filter: blur(14px);
  border-radius: 20px;
}

.about-card-content strong,
.about-card-content span {
  display: block;
}

.about-card-content strong {
  color: var(--gold-2);
}

.about-card-content span {
  color: rgba(246, 239, 225, 0.72);
  margin-top: 4px;
}

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

.service-card {
  padding: 30px;
  border-radius: 24px;
  min-height: 256px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(202, 162, 76, 0.38);
  box-shadow: 0 28px 75px rgba(26, 18, 7, 0.13);
}

.service-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #201508;
  font-weight: 900;
}

.service-card h3 {
  margin: 24px 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
}

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

.capabilities {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.capabilities-wrap {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.capability-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border-color: var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(246, 239, 225, 0.82);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.capability-item span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(202, 162, 76, 0.55);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 18px;
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: -18px 0 30px;
}

.filter-btn {
  border: 1px solid rgba(240, 212, 137, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(246, 239, 225, 0.72);
  border-radius: 999px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: #191006;
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(240, 212, 137, 0.16);
  border-radius: 24px;
  padding: 0;
  color: var(--cream);
  background: #16120a;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

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

.project-card.wide {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.74));
}

.project-card:hover img {
  transform: scale(1.05);
  opacity: 0.88;
}

.project-card span,
.project-card h3 {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
}

.project-card span {
  bottom: 62px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-card h3 {
  bottom: 22px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
}

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

.why {
  background: var(--paper);
  color: var(--ink);
}

.why-image img {
  height: 560px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.check-grid div {
  position: relative;
  padding: 16px 16px 16px 44px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted-dark);
  font-weight: 700;
}

.check-grid div::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 15px;
  color: var(--gold-3);
  font-weight: 900;
}

.contact-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr) minmax(210px, 0.42fr);
  align-items: stretch;
  gap: 22px;
}

.contact-main {
  padding-right: 28px;
}

.contact-main h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.contact-main p {
  color: var(--muted-dark);
  font-size: 17px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-card,
.qr-card {
  border-radius: var(--radius);
  padding: 26px;
}

.contact-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-row span {
  display: block;
  color: var(--gold-3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.contact-row a,
.contact-row p {
  display: block;
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
  word-break: break-word;
}

.qr-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 18px;
}

.qr-card img {
  width: 150px;
  margin: 0 auto;
  padding: 10px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.qr-card strong,
.qr-card span {
  display: block;
}

.qr-card strong {
  color: var(--ink);
  font-family: var(--font-display);
}

.qr-card span {
  color: var(--muted-dark);
  font-size: 13px;
}

.site-footer {
  background: #080704;
  border-top: 1px solid var(--line);
  color: rgba(246, 239, 225, 0.58);
  padding: 26px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 13px;
}

.footer-wrap p {
  margin: 0;
}

.footer-wrap a {
  color: var(--gold-2);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1f9d55;
  color: white;
  box-shadow: 0 14px 38px rgba(31, 157, 85, 0.35);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 56px 20px 30px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(1120px, 100%);
  max-height: 78vh;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.lightbox p {
  color: var(--gold-2);
  margin: 16px 0 0;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 30px;
  cursor: pointer;
}

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

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

@media (max-width: 1040px) {
  .nav {
    gap: 16px;
  }

  .nav-cta {
    display: none;
  }

  .service-grid,
  .contact-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-main {
    grid-column: 1 / -1;
  }

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

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    min-height: 76px;
  }

  .brand {
    width: 160px;
  }

  .nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 84px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(9, 8, 5, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 15px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 7, 4, 0.92), rgba(8, 7, 4, 0.72)),
      radial-gradient(circle at 22% 42%, rgba(202, 162, 76, 0.22), transparent 44%);
  }

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

  .strip-grid div:last-child {
    grid-column: 1 / -1;
  }

  .split,
  .split.reverse,
  .capabilities-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-card img,
  .why-image img {
    height: 420px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 240px;
  }

  .project-card.large,
  .project-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 78px 0;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .feature-list,
  .check-grid,
  .capability-panel,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .about-card img,
  .why-image img {
    height: 340px;
  }

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

  .project-card.large,
  .project-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }
}
