:root {
  --navy-950: #061426;
  --navy-900: #081a2f;
  --navy-800: #0d2744;
  --navy-700: #153554;
  --khaki-300: #d9ceb0;
  --khaki-400: #c7b98f;
  --gold-300: #e3c37a;
  --gold-400: #c9a253;
  --ivory: #f5f1e8;
  --ivory-2: #ebe4d5;
  --ink: #172033;
  --muted: #6e756f;
  --line: rgba(199, 185, 143, 0.34);
  --line-dark: rgba(6, 20, 38, 0.12);
  --shadow: 0 26px 80px rgba(6, 20, 38, 0.28);
  --max: 1180px;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 4px;
}

.site-shell {
  overflow: clip;
  background:
    radial-gradient(circle at 12% 0%, rgba(227, 195, 122, 0.11), transparent 28rem),
    linear-gradient(180deg, var(--ivory), #f8f4ec 48%, var(--ivory));
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), 1280px);
  margin: 16px auto 0;
  padding: 14px 16px 14px 20px;
  border: 1px solid rgba(217, 206, 176, 0.22);
  background: rgba(6, 20, 38, 0.55);
  color: var(--ivory);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  transition: transform 420ms var(--ease), background 420ms var(--ease), border-color 420ms var(--ease), padding 420ms var(--ease);
}

.site-header.is-scrolled {
  padding-block: 11px;
  background: rgba(6, 20, 38, 0.9);
  border-color: rgba(217, 206, 176, 0.34);
}

.brand {
  display: inline-grid;
  gap: 1px;
  min-width: 178px;
}

.brand-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--khaki-300);
}

.brand-line {
  color: rgba(245, 241, 232, 0.78);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.15;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(245, 241, 232, 0.84);
}

.main-nav a {
  position: relative;
  transition: color 260ms ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--gold-300);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease);
}

.main-nav a:hover {
  color: #fff;
}

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

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(227, 195, 122, 0.75);
  color: var(--gold-300);
  background: rgba(227, 195, 122, 0.08);
}

.nav-cta:hover {
  background: rgba(227, 195, 122, 0.17);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(217, 206, 176, 0.36);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 280ms var(--ease), opacity 280ms var(--ease);
}

.menu-toggle span + span {
  margin-top: 7px;
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.section-dark {
  color: var(--ivory);
  background: var(--navy-950);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 150px 0 88px;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("./assets/hero-architecture-1400.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  opacity: 0.72;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 20, 38, 0.95) 0%, rgba(6, 20, 38, 0.78) 40%, rgba(6, 20, 38, 0.42) 100%),
    radial-gradient(circle at 78% 24%, rgba(227, 195, 122, 0.2), transparent 26rem),
    linear-gradient(180deg, rgba(6, 20, 38, 0.08), rgba(6, 20, 38, 0.92));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
  align-items: end;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow,
.section-kicker,
.panel-label,
.contact-label {
  margin: 0 0 20px;
  color: var(--gold-300);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.dark,
.section-kicker {
  color: var(--navy-700);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: pretty;
}

h1 {
  max-width: 810px;
  margin-bottom: 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(245, 241, 232, 0.82);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.65;
}

.hero-actions,
.section-heading,
.contact-copy,
.about-content {
  text-wrap: pretty;
}

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

.button {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  isolation: isolate;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease), color 320ms var(--ease), background 320ms var(--ease);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  transform: translateX(-102%);
  transition: transform 420ms var(--ease);
}

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

.button:hover::before {
  transform: translateX(0);
}

.button-primary {
  border-color: rgba(227, 195, 122, 0.82);
  background: var(--gold-300);
  color: var(--navy-950);
  box-shadow: 0 16px 36px rgba(201, 162, 83, 0.22);
}

.button-primary::before {
  background: linear-gradient(135deg, var(--khaki-300), var(--gold-400));
}

.button-secondary {
  border-color: rgba(217, 206, 176, 0.42);
  color: var(--ivory);
  background: rgba(245, 241, 232, 0.06);
}

.button-secondary:hover {
  color: var(--navy-950);
  border-color: var(--gold-300);
}

.full {
  width: 100%;
}

.whatsapp-icon {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  fill: currentColor;
}

.whatsapp-link span {
  min-width: 0;
}

.hero-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(217, 206, 176, 0.32);
  background: rgba(6, 20, 38, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.panel-topline {
  width: 58px;
  height: 2px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--gold-300), rgba(227, 195, 122, 0));
}

.metric-list {
  display: grid;
  gap: 22px;
}

.metric-list div {
  padding-bottom: 21px;
  border-bottom: 1px solid rgba(217, 206, 176, 0.2);
}

.metric-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.metric-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--khaki-300);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 0.9;
}

.metric-list span {
  display: block;
  color: rgba(245, 241, 232, 0.72);
  font-size: 15px;
  line-height: 1.45;
}

.section {
  padding: clamp(82px, 9vw, 132px) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(34px, 8vw, 110px);
}

.about-content {
  max-width: 870px;
}

.about-side {
  display: grid;
  align-content: start;
  gap: 24px;
}

.about-photo {
  position: relative;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(199, 185, 143, 0.46);
  background: var(--navy-950);
  box-shadow: 0 22px 52px rgba(6, 20, 38, 0.18);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 8px solid rgba(245, 241, 232, 0.08);
  pointer-events: none;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-content h2,
.section-heading h2,
.contact-copy h2 {
  margin-bottom: 26px;
  color: var(--navy-950);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5.5vw, 74px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.about-content p {
  max-width: 760px;
  margin-bottom: 18px;
  color: #3f4a45;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold-400);
  color: var(--navy-900);
  font-size: 16px;
  font-weight: 800;
  transition: color 260ms ease, border-color 260ms ease;
}

.text-link:hover {
  color: var(--gold-400);
  border-color: var(--navy-900);
}

.section-services {
  background:
    linear-gradient(180deg, rgba(6, 20, 38, 0.04), rgba(6, 20, 38, 0)),
    var(--ivory-2);
}

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

.section-heading p:last-child {
  max-width: 660px;
  color: #4e5a55;
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.service-card {
  min-height: 252px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(245, 241, 232, 0.58);
  transition: background 360ms var(--ease), transform 360ms var(--ease), box-shadow 360ms var(--ease);
}

.service-card:hover {
  z-index: 2;
  background: rgba(255, 252, 245, 0.98);
  box-shadow: 0 24px 54px rgba(6, 20, 38, 0.12);
  transform: translateY(-4px);
}

.service-card span {
  margin-bottom: 36px;
  color: var(--gold-400);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.service-card h3 {
  margin-bottom: 14px;
  color: var(--navy-900);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(27px, 2.7vw, 34px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.service-card p {
  margin-bottom: 0;
  color: #56615c;
  font-size: 16px;
  line-height: 1.65;
}

.service-cta {
  background: var(--navy-900);
  color: var(--ivory);
}

.service-cta:hover {
  background: var(--navy-950);
}

.service-cta h3 {
  color: var(--ivory);
}

.service-cta p {
  margin-bottom: 24px;
  color: rgba(245, 241, 232, 0.76);
}

.service-cta .button {
  margin-top: auto;
}

.section-contact {
  position: relative;
  padding: clamp(84px, 10vw, 136px) 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(227, 195, 122, 0.16), transparent 28rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(36px, 8vw, 90px);
  align-items: center;
}

.contact-copy h2 {
  color: var(--ivory);
}

.contact-copy p:last-child {
  max-width: 640px;
  color: rgba(245, 241, 232, 0.75);
  font-size: 19px;
}

.contact-card {
  padding: 32px;
  border: 1px solid rgba(217, 206, 176, 0.34);
  background: rgba(245, 241, 232, 0.07);
  box-shadow: var(--shadow);
}

.contact-number {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -4px 0 26px;
  color: var(--khaki-300);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

.contact-number .whatsapp-icon {
  width: 0.72em;
  height: 0.72em;
}

.contact-note {
  margin: 22px 0 0;
  color: rgba(245, 241, 232, 0.7);
  font-size: 15px;
  line-height: 1.65;
}

.site-footer {
  padding: 30px 0;
  color: rgba(245, 241, 232, 0.76);
  background: #040d19;
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.footer-brand .brand-mark {
  font-size: 30px;
}

.footer-grid p,
.footer-whatsapp {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--khaki-300);
  font-weight: 700;
  transition: color 260ms ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

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

.delay-1 {
  transition-delay: 110ms;
}

.delay-2 {
  transition-delay: 210ms;
}

@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(217, 206, 176, 0.28);
    background: rgba(6, 20, 38, 0.97);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 280ms var(--ease), transform 280ms var(--ease);
  }

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

  .main-nav a {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(217, 206, 176, 0.14);
    font-size: 16px;
  }

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

  .nav-cta {
    margin-top: 12px;
    border-bottom: 1px solid rgba(227, 195, 122, 0.72) !important;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }

  .section-kicker {
    margin-bottom: 0;
  }

  .about-side {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    align-items: end;
  }

  .about-photo {
    max-width: 220px;
  }

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

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    font-size: 29px;
  }

  .brand-line {
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .hero {
    min-height: auto;
    padding: 128px 0 68px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 20, 38, 0.94), rgba(6, 20, 38, 0.76)),
      radial-gradient(circle at 70% 20%, rgba(227, 195, 122, 0.16), transparent 18rem);
  }

  h1 {
    font-size: clamp(48px, 13vw, 66px);
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions .button,
  .service-cta .button {
    width: 100%;
  }

  .about-side {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 260px;
  }

  .button {
    min-height: 54px;
    width: 100%;
    padding-inline: 18px;
  }

  .hero-panel,
  .contact-card {
    padding: 24px;
  }

  .section {
    padding: 72px 0;
  }

  .about-content h2,
  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .about-content p,
  .section-heading p:last-child,
  .contact-copy p:last-child {
    font-size: 17px;
  }

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

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

  .service-card span {
    margin-bottom: 22px;
  }

  .contact-number {
    font-size: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
