:root {
  --navy-950: #06121f;
  --navy-900: #0a1a2b;
  --navy-800: #11283d;
  --ink: #17202a;
  --muted: #68717a;
  --paper: #f4f1eb;
  --cream: #fbf8f1;
  --gold: #c99b4d;
  --gold-light: #e3bd75;
  --line: rgba(10, 26, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

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

button {
  font: inherit;
}

.shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding-block: 112px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 112px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 21px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 15px;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
  opacity: 0.88;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

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

.nav-links a:hover {
  opacity: 1;
}

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

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 900px;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy-950);
  background-image: url("/images/hero-premium-house.png");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 13, 24, 0.99) 0%, rgba(4, 17, 31, 0.91) 33%, rgba(5, 17, 31, 0.25) 68%, rgba(4, 14, 24, 0.12) 100%),
    linear-gradient(180deg, rgba(4, 13, 22, 0.24), rgba(4, 13, 22, 0.08) 54%, rgba(4, 13, 22, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.hero-content h1 {
  max-width: 780px;
  margin: 0;
  color: #f8f4ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 6.5vw, 102px);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.hero-content h1 span {
  display: block;
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-950);
  box-shadow: 0 12px 28px rgba(4, 11, 19, 0.24);
}

.button-gold:hover {
  background: linear-gradient(135deg, #efd091, #d3a650);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.button-outline:hover {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.07);
}

.wa-mark {
  font-size: 26px;
  line-height: 1;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row span {
  padding: 13px 17px;
  border: 1px solid rgba(227, 189, 117, 0.66);
  border-radius: 3px;
  background: rgba(4, 16, 28, 0.35);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  letter-spacing: 0.025em;
  backdrop-filter: blur(7px);
}

.trust-row span::before {
  margin-right: 10px;
  color: var(--gold-light);
  content: "◇";
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100vw - 1240px) / 2));
  bottom: 42px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  text-align: right;
}

.hero-caption span {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 4.7vw, 70px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.7fr);
  gap: 72px;
  align-items: end;
}

.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  min-height: 390px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  transition:
    background 240ms ease,
    transform 240ms ease;
}

.service-card:hover {
  background: #fff;
  transform: translateY(-5px);
}

.card-number {
  margin: 0 0 64px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.service-card h3 {
  min-height: 58px;
  margin: 0 0 20px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.18;
}

.service-card > p:not(.card-number) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
}

.service-card a span {
  color: var(--gold);
}

.portfolio {
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}

.light-heading h2 {
  color: #f6f1e8;
}

.light-heading > p {
  color: rgba(255, 255, 255, 0.58);
}

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

.project-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--navy-800);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(3, 12, 22, 0.95));
  content: "";
}

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

.project-overlay {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
}

.project-overlay p {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.project-overlay h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.project-overlay span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.light-link {
  color: var(--gold-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.process-grid article {
  position: relative;
  padding: 34px 28px 20px 0;
}

.process-grid article:not(:last-child)::after {
  position: absolute;
  top: 39px;
  right: 20px;
  width: 48px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.process-grid article:not(:last-child)::before {
  position: absolute;
  z-index: 2;
  top: 35px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  content: "";
  transform: rotate(45deg);
}

.process-grid span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.process-grid h3 {
  margin: 36px 0 14px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.process-grid p {
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 100px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  right: -30px;
  bottom: 34px;
  display: grid;
  width: 170px;
  height: 170px;
  place-content: center;
  border: 1px solid rgba(227, 189, 117, 0.62);
  background: var(--navy-950);
  color: #fff;
  text-align: center;
}

.about-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 45px;
  font-weight: 400;
}

.about-badge span {
  margin-top: 5px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-copy h2 {
  margin: 0 0 32px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 4.7vw, 67px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.about-copy > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.about-points {
  display: grid;
  gap: 18px;
  margin-top: 35px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-points div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
}

.about-points strong {
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
}

.about-points span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact {
  background:
    linear-gradient(90deg, rgba(6, 18, 31, 0.97), rgba(6, 18, 31, 0.82)),
    url("/images/hero-premium-house.png") center 62% / cover;
  color: #fff;
}

.contact-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 80px;
}

.contact h2 {
  max-width: 800px;
  margin: 0;
  color: #f8f4ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5.2vw, 78px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.contact p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 15px;
  line-height: 1.8;
}

.contact-button {
  flex: 0 0 auto;
}

footer {
  padding: 55px 0 24px;
  background: #030b13;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

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

.footer-brand img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

.footer-brand div {
  display: grid;
  gap: 7px;
}

.footer-brand strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 30px;
  font-size: 12px;
  font-weight: 700;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
}

.floating-wa {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: flex;
  height: 54px;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: #1f9d55;
  color: #fff;
  box-shadow: 0 10px 28px rgba(5, 17, 27, 0.3);
  font-size: 13px;
  font-weight: 700;
}

.floating-wa span {
  font-size: 24px;
}

.floating-wa em {
  font-style: normal;
}

@media (max-width: 1000px) {
  .site-header {
    height: 94px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .nav-links {
    gap: 23px;
    font-size: 13px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content h1 {
    max-width: 650px;
    font-size: clamp(58px, 8vw, 78px);
  }

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

  .project-card {
    min-height: 430px;
  }

  .about-grid {
    gap: 60px;
  }

  .about-visual img {
    height: 560px;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 36px, 560px);
  }

  .section {
    padding-block: 78px;
  }

  .site-header {
    position: absolute;
    height: 84px;
    padding-inline: 18px;
  }

  .brand {
    position: relative;
    z-index: 32;
    gap: 10px;
    font-size: 14px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .menu-button {
    position: relative;
    z-index: 32;
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(2, 10, 17, 0.42);
  }

  .menu-button span {
    width: 18px;
    height: 1px;
    background: #fff;
  }

  .nav-links {
    position: fixed;
    z-index: 31;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 130px;
    background: rgba(3, 12, 21, 0.98);
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .nav-links a {
    width: min(100% - 48px, 500px);
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
  }

  .hero {
    min-height: 830px;
    align-items: end;
    background-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 13, 24, 0.25), rgba(3, 13, 24, 0.78) 39%, rgba(3, 13, 24, 0.99) 79%),
      linear-gradient(90deg, rgba(3, 13, 24, 0.46), transparent);
  }

  .hero-content {
    padding: 116px 0 58px;
  }

  .hero-content .eyebrow {
    max-width: 310px;
    margin-bottom: 17px;
    font-size: 10px;
  }

  .hero-content h1 {
    font-size: clamp(46px, 14vw, 65px);
    line-height: 0.96;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.65;
  }

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

  .button {
    width: 100%;
    min-height: 56px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 22px;
  }

  .trust-row span {
    padding: 10px 13px;
  }

  .hero-caption {
    display: none;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

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

  .split-heading > p {
    font-size: 14px;
  }

  .service-grid,
  .process-grid,
  .project-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .card-number {
    margin-bottom: 36px;
  }

  .service-card h3 {
    min-height: 0;
  }

  .project-grid {
    gap: 14px;
  }

  .project-card {
    min-height: 430px;
  }

  .process-grid article {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
  }

  .process-grid article:not(:last-child)::after,
  .process-grid article:not(:last-child)::before {
    display: none;
  }

  .process-grid h3 {
    margin-top: 17px;
  }

  .process-grid p {
    max-width: none;
  }

  .about-grid {
    gap: 68px;
  }

  .about-visual img {
    height: 460px;
  }

  .about-badge {
    right: -4px;
    bottom: -32px;
    width: 142px;
    height: 142px;
  }

  .about-points div {
    grid-template-columns: 100px 1fr;
  }

  .contact-inner {
    gap: 34px;
  }

  .footer-grid,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand span {
    max-width: 220px;
    line-height: 1.6;
  }

  .footer-links {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .footer-links a {
    padding-block: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .floating-wa {
    right: 14px;
    bottom: 14px;
    width: 52px;
    justify-content: center;
    padding: 0;
  }

  .floating-wa em {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
