:root {
  --navy: #07111f;
  --navy2: #0b1b2e;
  --gold: #c8a24a;
  --gold2: #e0bd63;
  --white: #ffffff;
  --light: #f7f7f5;
  --muted: #6b7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--navy);
}

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

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7%;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7,17,31,.08);
  transition: .3s ease;
}

.navbar.scrolled {
  padding: 12px 7%;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: -.3px;
}

.brand span {
  display: block;
  color: #566070;
  font-size: 13px;
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

nav a {
  color: rgba(7,17,31,.82);
  transition: .25s;
}

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

.nav-cta {
  border: 1px solid var(--gold);
  padding: 13px 20px;
  color: var(--gold);
}

.menu-btn {
  display: none;
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(200,162,74,.55);
  padding: 8px 13px;
  font-size: 24px;
}

/* ===== HERO CLEAN FINAL ===== */

.hero {
  min-height: calc(100vh - 70px);
  position: relative;
  display: flex;
  align-items: center;
  padding: 110px 7% 150px;
  overflow: hidden;
  background: #111;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(12,12,12,.96) 0%,
      rgba(22,22,22,.90) 32%,
      rgba(42,42,42,.74) 58%,
      rgba(70,70,70,.58) 100%
    ),
    url('/assets/hero-bg.jpg');
  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;
  filter: brightness(.48) contrast(.85) saturate(.55);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(10,10,10,.55), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 680px;
}

.eyebrow,
.section-tag {
  color: var(--gold2);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12px;
  font-weight: 900;
}

.hero h1 {
  font-size: clamp(42px, 4.8vw, 70px);
  line-height: .95;
  letter-spacing: -2.5px;
  color: #fff;
  margin: 20px 0 26px;
  text-shadow: 0 12px 40px rgba(0,0,0,.34);
}

.hero p {
  color: rgba(255,255,255,.86);
  font-size: 19px;
  line-height: 1.75;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  transition: .3s ease;
}

.btn.gold {
  background: var(--gold);
  color: #111;
  box-shadow: 0 18px 40px rgba(200,162,74,.24);
}

.btn.gold:hover {
  background: var(--gold2);
  transform: translateY(-3px);
}

.outline-light {
  border: 1px solid rgba(255,255,255,.65);
  color: #fff;
  background: rgba(7,17,31,.12);
}

.outline-light:hover {
  border-color: var(--gold2);
  color: var(--gold2);
  transform: translateY(-3px);
}

.hero-person {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: 78px;
  max-height: 50vh;
  max-width: 30vw;
  object-fit: contain;
  filter: drop-shadow(0 30px 45px rgba(0,0,0,.40));
  opacity: .98;
}

.hero-bottom {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 7%;
  background: rgba(20,20,20,.82);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.hero-bottom div {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
  row-gap: 7px;
  border-left: 1px solid rgba(255,255,255,.15);
  padding-left: 24px;
}

.hero-bottom div:first-child {
  border-left: none;
  padding-left: 0;
}

.hero-bottom .icon {
  grid-row: span 2;
  color: var(--gold2);
  font-size: 28px;
  line-height: 1;
}

.hero-bottom strong {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-size: 13px;
}

.hero-bottom p {
  color: rgba(255,255,255,.65);
  font-size: 13px;
  line-height: 1.55;
}

/* ===== MAIN SECTIONS ===== */

.intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  padding: 95px 7%;
  background: var(--white);
  color: var(--navy);
}

.intro h2,
.section-header h2,
.split h2,
.cta h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-top: 14px;
}

.intro p {
  font-size: 18px;
  line-height: 1.75;
  color: #47505c;
}

.services,
.projects {
  padding: 100px 7%;
  background: #10151c;
  color: var(--white);
}

.section-header {
  max-width: 780px;
  margin-bottom: 48px;
}

.service-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card,
.why-grid div {
  min-height: 260px;
  padding: 34px;
  background: linear-gradient(180deg, #1b222c, #111820);
  border: 1px solid rgba(255,255,255,.08);
  transition: .35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before,
.why-grid div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,162,74,.20), transparent 45%);
  opacity: 0;
  transition: .35s;
}

.service-card:hover,
.why-grid div:hover {
  transform: translateY(-8px);
  border-color: rgba(200,162,74,.55);
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
}

.service-card:hover::before,
.why-grid div:hover::before { opacity: 1; }

.service-card h3,
.why-grid h3 {
  position: relative;
  font-size: 24px;
  margin-bottom: 18px;
}

.service-card p,
.why-grid p {
  position: relative;
  color: #b8c0cc;
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.split.dark {
  background: var(--navy);
  color: var(--white);
}

.split.light {
  background: var(--light);
  color: var(--navy);
}

.split-content {
  padding: 100px 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-content p {
  margin: 24px 0;
  line-height: 1.7;
  color: inherit;
  opacity: .78;
  font-size: 17px;
}

.split-content ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.split-content li {
  padding-left: 24px;
  position: relative;
  color: inherit;
  opacity: .88;
}

.split-content li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 7px;
}

.split-image {
  background-size: cover;
  background-position: center;
  filter: grayscale(35%);
  transition: .5s ease;
}

.split-image:hover {
  filter: grayscale(0%);
  transform: scale(1.015);
}

.commercial-img {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80");
}

.residential-img {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80");
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  min-height: 430px;
  padding: 30px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: .35s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,17,31,.9), rgba(7,17,31,.15));
  z-index: -1;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card span {
  color: var(--gold2);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}

.project-card h3 {
  font-size: 30px;
  margin-top: 8px;
}

.project-one {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1400&q=80");
}

.project-two {
  background-image: url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1400&q=80");
}

.project-three {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1400&q=80");
}

.why {
  padding: 100px 7%;
  background: var(--white);
  color: var(--navy);
}

.why-grid div {
  background: #f5f5f2;
  color: var(--navy);
  border: 1px solid rgba(7,17,31,.08);
}

.why-grid strong {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
}

.cta {
  padding: 110px 7%;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(7,17,31,.88), rgba(7,17,31,.94)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.cta p {
  color: #b8c0cc;
  max-width: 650px;
  margin: 20px auto 34px;
  font-size: 18px;
  line-height: 1.7;
}

footer {
  padding: 34px 7%;
  background: #050b13;
  display: flex;
  justify-content: space-between;
  color: #b8c0cc;
  border-top: 1px solid rgba(255,255,255,.08);
}

footer strong {
  color: var(--gold2);
}

/* ===== QUOTE MODAL ===== */

.modal-open {
  overflow: hidden;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 17, 31, .72);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.quote-modal.open {
  display: flex;
}

.quote-box {
  position: relative;
  width: min(820px, 100%);
  background: #ffffff;
  color: var(--navy);
  padding: 42px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  border-top: 5px solid var(--gold);
}

.quote-box h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  margin: 12px 0;
}

.quote-intro {
  color: #5d6672;
  line-height: 1.6;
  margin-bottom: 24px;
}

.quote-close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: none;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
  color: var(--navy);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-box input,
.quote-box select,
.quote-box textarea {
  width: 100%;
  border: 1px solid rgba(7,17,31,.16);
  padding: 15px 14px;
  font-size: 15px;
  outline: none;
  background: #f7f7f5;
}

.quote-box textarea {
  min-height: 130px;
  margin: 14px 0;
  resize: vertical;
}

.quote-box input:focus,
.quote-box select:focus,
.quote-box textarea:focus {
  border-color: var(--gold);
  background: #fff;
}

.form-status {
  margin-top: 14px;
  color: #47505c;
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
  .hero-person {
    opacity: .92;
    right: 2%;
    max-width: 36vw;
    max-height: 46vh;
  }

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

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  nav {
    position: absolute;
    top: 84px;
    left: 7%;
    right: 7%;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(200,162,74,.25);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    gap: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
  }

  nav.open {
    display: flex;
  }

  nav a {
    color: var(--navy);
  }

  .hero {
    min-height: auto;
    padding: 125px 7% 330px;
  }

  .hero-person {
    display: none;
  }

  .hero h1 {
    font-size: 54px;
    letter-spacing: -2px;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-bottom div {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-left: 0;
    padding-top: 18px;
  }

  .hero-bottom div:first-child {
    border-top: none;
    padding-top: 0;
  }

  .intro,
  .split,
  .service-grid,
  .project-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .split-image {
    min-height: 360px;
  }

  footer {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .quote-box {
    padding: 32px 22px;
    max-height: 90vh;
    overflow-y: auto;
  }

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

@media (max-width: 560px) {
  .navbar {
    padding: 14px 5%;
  }

  .brand span {
    display: none;
  }

  .brand strong {
    font-size: 17px;
  }

  .logo {
    height: 48px;
  }

  .hero {
    padding: 115px 5% 390px;
  }

  .hero h1 {
    font-size: 40px;
    letter-spacing: -1.4px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .intro,
  .services,
  .projects,
  .why,
  .cta {
    padding-left: 5%;
    padding-right: 5%;
  }

  .split-content {
    padding: 70px 8%;
  }
}

/* ===== LIGHT CORPORATE HERO ===== */

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(
      90deg,
      rgba(245,245,245,.82) 0%,
      rgba(235,235,235,.70) 28%,
      rgba(210,210,210,.46) 58%,
      rgba(180,180,180,.20) 100%
    ),
    url('/assets/hero-bg.jpg');

  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;

  filter: brightness(.78) contrast(.88) saturate(.55);
}

.hero h1 {
  color: #111827 !important;
  text-shadow: none !important;
}

.hero p {
  color: rgba(17,24,39,.82) !important;
}

.outline-light {
  border: 1px solid rgba(17,24,39,.18) !important;
  color: #111827 !important;
  background: rgba(255,255,255,.34) !important;
}

.hero-shade {
  background: none !important;
}


/* ===== LUIS PHOTO ENHANCEMENT ===== */

.hero-person {
  filter:
    saturate(1.22)
    contrast(1.08)
    brightness(1.08)
    drop-shadow(0 30px 45px rgba(0,0,0,.34)) !important;

  animation: personEnter .9s ease-out both;
}

@keyframes personEnter {
  from {
    opacity: 0;
    transform: translateX(35px) scale(.98);
  }

  to {
    opacity: .98;
    transform: translateX(0) scale(1);
  }
}


/* ===== NAVY TEXT PATCH ===== */

.hero h1 {
  color: #0b1b2e !important;
  text-shadow: none !important;
}

.hero p {
  color: rgba(11,27,46,.82) !important;
}


/* ===== HERO BOTTOM NAVY BAR ===== */

.hero-bottom {
  background: #0b1b2e !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}


/* ===== HERO BOTTOM TEXT FIX ===== */

.hero-bottom strong {
  color: #ffffff !important;
}

.hero-bottom p {
  color: rgba(255,255,255,.72) !important;
}


/* ===== LIGHTER CORPORATE NAVY ===== */

.hero h1 {
  color: #16324f !important;
}

.hero p {
  color: rgba(22,50,79,.82) !important;
}

.navbar nav a {
  color: #16324f !important;
}

.brand strong {
  color: #16324f !important;
}


/* ===== FIX HERO BOTTOM TEXT ===== */

.hero-bottom strong,
.hero-bottom p {
  color: #ffffff !important;
}

.hero-bottom p {
  opacity: .72;
}

