:root {
  --ink: #07182f;
  --ink-2: #0d274d;
  --ink-soft: #17365f;
  --gold: #c8a96a;
  --gold-bright: #e5c979;
  --paper: #f7f3ea;
  --mist: #eef3f8;
  --white: #ffffff;
  --muted: #64748b;
  --line: rgba(7, 24, 47, 0.12);
  --shadow-soft: 0 22px 70px rgba(7, 24, 47, 0.14);
  --shadow-card: 0 16px 45px rgba(7, 24, 47, 0.1);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  min-width: 0;
}

.premium-home {
  background: var(--ink);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 24, 47, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.nav-frame {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-link img {
  width: 138px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

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

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  opacity: 0.92;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(82vw, 340px);
  z-index: 90;
  transform: translateX(105%);
  transition: transform 280ms ease;
  padding: 96px 30px 30px;
  color: var(--white);
  background: rgba(7, 24, 47, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.24);
}

.mobile-panel.is-open {
  transform: translateX(0);
}

.mobile-panel a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.mobile-panel a.is-active {
  color: var(--gold-bright);
}

.mobile-panel .button {
  margin-top: 24px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: normal;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #081a31;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 14px 35px rgba(200, 169, 106, 0.28);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(200, 169, 106, 0.36);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 35px rgba(7, 24, 47, 0.18);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(7, 24, 47, 0.08);
  box-shadow: var(--shadow-card);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 5000ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 47, 0.95) 0%, rgba(7, 24, 47, 0.76) 45%, rgba(7, 24, 47, 0.28) 100%),
    linear-gradient(0deg, rgba(7, 24, 47, 0.78) 0%, rgba(7, 24, 47, 0.12) 48%, rgba(7, 24, 47, 0.32) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 150px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.58fr);
  gap: 44px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--gold-bright);
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  max-width: 760px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.proof-item {
  padding: 22px;
  background: rgba(7, 24, 47, 0.3);
}

.proof-item strong {
  display: block;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.consult-card {
  align-self: end;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.consult-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.consult-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 18px;
}

.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}

.hero-dot {
  width: 28px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.34);
}

.hero-dot.is-active {
  background: var(--gold-bright);
}

.section {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  background: var(--white);
}

.section-muted {
  background: var(--mist);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

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

.section-intro.center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-dark .section-title {
  color: var(--white);
}

.section-text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.section-dark .section-text {
  color: rgba(255, 255, 255, 0.72);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 560px;
}

.image-stack img {
  position: absolute;
  width: 68%;
  height: 430px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.image-stack img:first-child {
  left: 0;
  top: 0;
}

.image-stack img:last-child {
  right: 0;
  bottom: 0;
  border: 10px solid var(--white);
}

.quality-panel {
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.quality-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.quality-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
}

.quality-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(200, 169, 106, 0.45);
  background: rgba(200, 169, 106, 0.09);
}

.quality-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.quality-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.service-card {
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #0b1f3a;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 450ms ease, opacity 450ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 24, 47, 0.94), rgba(7, 24, 47, 0.2));
}

.service-card:hover img {
  transform: scale(1.05);
  opacity: 0.86;
}

.service-card-content {
  position: relative;
  z-index: 1;
  padding: 26px;
}

.service-card i {
  color: var(--gold-bright);
  font-size: 28px;
}

.service-card h3 {
  margin: 16px 0 10px;
  font-size: 22px;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.process-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.process-step {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.process-step span {
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 800;
}

.process-step h3 {
  margin: 14px 0 8px;
  color: var(--white);
  font-size: 18px;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.7;
}

.project-tools {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 42px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.project-filter {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.project-filter.is-active {
  color: var(--white);
  background: var(--ink);
}

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

.project-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(7, 24, 47, 0.16);
}

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

.is-hidden {
  display: none !important;
}

.project-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

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

.project-status {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(7, 24, 47, 0.88);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-body {
  padding: 20px;
}

.project-body small {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-body h3 {
  margin: 9px 0 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.project-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}

.testimonial-feature {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.testimonial-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

.testimonial-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 24, 47, 0.9), rgba(7, 24, 47, 0.25));
}

.testimonial-feature-content {
  position: absolute;
  z-index: 1;
  left: 30px;
  right: 30px;
  bottom: 30px;
}

.testimonial-feature-content strong {
  display: block;
  color: var(--gold-bright);
  font-size: 44px;
}

.testimonial-feature-content span {
  color: rgba(255, 255, 255, 0.76);
}

.testimonial-list {
  display: grid;
  gap: 16px;
}

.quote-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.quote-card p {
  margin: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
}

.quote-card strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
}

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

.cta-section {
  padding: 84px 0;
  color: var(--white);
  background: var(--ink);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 44px;
  background: linear-gradient(135deg, rgba(7, 24, 47, 0.96), rgba(13, 39, 77, 0.92));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/blueprint.png") right center / contain no-repeat;
  opacity: 0.12;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.cta-panel p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.contact-card {
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  color: #334155;
}

.contact-item i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(200, 169, 106, 0.1);
}

.map-frame {
  min-height: 460px;
  overflow: hidden;
  background: #dbe4ef;
  box-shadow: var(--shadow-card);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.site-footer-bg {
  position: absolute;
  inset: 0;
}

.site-footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.site-footer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 47, 0.78);
}

.footer-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 74px 0;
}

.footer-logo {
  width: 150px;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-row a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.footer-contact {
  text-align: right;
}

.footer-contact strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 22px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-actions {
  position: fixed;
  right: 20px;
  top: 50%;
  z-index: 70;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.float-action,
.back-to-top {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, opacity 180ms ease;
}

.float-action:hover,
.back-to-top:hover {
  transform: translateY(-2px);
}

.float-phone {
  background: var(--ink-2);
}

.float-whatsapp {
  background: #22a65a;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 70;
  cursor: pointer;
  background: var(--gold);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.estimate-page {
  min-height: 100vh;
  color: var(--white);
  background: var(--ink);
}

.detail-page {
  color: var(--ink);
  background: var(--white);
}

.detail-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 47, 0.94), rgba(7, 24, 47, 0.58), rgba(7, 24, 47, 0.18));
}

.detail-hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 70px;
}

.detail-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
}

.detail-hero p {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
}

.detail-copy p {
  color: #475569;
  line-height: 1.9;
}

.spec-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow-card);
}

.spec-item {
  padding: 22px;
  background: var(--white);
}

.spec-item span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-item strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 42px;
}

.detail-gallery img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.detail-gallery img:first-child {
  grid-row: span 2;
  height: 738px;
}

.project-showcase-section {
  background: var(--paper);
}

.project-gallery-section {
  background: var(--mist);
}

.project-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.project-section-heading .section-title {
  margin-bottom: 0;
}

.project-section-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.project-media,
.project-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-card);
}

.project-media {
  height: 336px;
}

.project-media-large {
  grid-row: span 2;
  height: 690px;
}

.project-media img,
.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, opacity 520ms ease;
}

.project-media:hover img,
.project-shot:hover img {
  transform: scale(1.035);
  opacity: 0.94;
}

.project-media figcaption,
.project-shot figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 8px 12px;
  color: var(--white);
  background: rgba(7, 24, 47, 0.76);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

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

.project-shot-tall {
  grid-row: span 2;
}

.project-shot-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow-card);
}

.stat-card {
  padding: 28px;
  background: var(--white);
}

.stat-card strong {
  display: block;
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

.content-split.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.premium-image {
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.premium-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

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

.feature-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.section-dark .feature-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.feature-card i,
.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--gold);
  border: 1px solid rgba(200, 169, 106, 0.42);
  background: rgba(200, 169, 106, 0.1);
  font-size: 22px;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
}

.section-dark .feature-card h3 {
  color: var(--white);
}

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

.section-dark .feature-card p {
  color: rgba(255, 255, 255, 0.68);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: steps;
}

.timeline-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.timeline-card::before {
  counter-increment: steps;
  content: "0" counter(steps);
  display: block;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.timeline-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
}

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

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.comparison-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.comparison-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 24, 47, 0.78), rgba(7, 24, 47, 0.08));
}

.comparison-card span {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 22px;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--gold-bright);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.leader-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.leader-card img {
  width: 220px;
  height: 260px;
  object-fit: cover;
}

.leader-card small,
.team-card small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.leader-card h3 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: 25px;
}

.leader-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.team-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.team-card h3 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.portfolio-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(7, 24, 47, 0.16);
}

.portfolio-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.portfolio-card-body {
  padding: 24px;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.portfolio-meta span {
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(200, 169, 106, 0.13);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 22px;
}

.portfolio-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.inline-link {
  color: var(--ink);
  font-weight: 800;
}

.inline-link i {
  margin-left: 6px;
}

.section-bridge {
  position: relative;
}

.section-bridge::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: min(420px, 45vw);
  height: 34px;
  transform: translateX(-50%);
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 2;
}

.profile-note {
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  box-shadow: var(--shadow-card);
}

.profile-note h3 {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 22px;
}

.profile-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.goal-list {
  display: grid;
  gap: 18px;
}

.goal-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.goal-item .feature-icon {
  margin: 0;
}

.goal-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
}

.goal-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.scope-list li {
  list-style: none;
  padding: 18px 18px 18px 52px;
  position: relative;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 12px 34px rgba(7, 24, 47, 0.07);
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
}

.founder-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.founder-card img {
  width: 340px;
  height: 420px;
  object-fit: cover;
}

.founder-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
}

.founder-card p {
  color: var(--muted);
  line-height: 1.85;
}

.project-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.project-list li {
  list-style: none;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(7, 24, 47, 0.07);
}

.project-list strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.project-list span {
  color: var(--muted);
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.contact-mini {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.contact-mini small {
  color: var(--gold-bright);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-mini strong,
.contact-mini a {
  display: block;
  margin-top: 8px;
  color: var(--white);
}

.estimate-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.estimate-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.estimate-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 47, 0.95), rgba(7, 24, 47, 0.82));
}

.estimate-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 96px 20px 50px;
  overflow-x: hidden;
}

.estimate-card {
  width: min(920px, 100%);
  max-width: 100%;
  min-width: 0;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.estimate-logo {
  width: 132px;
  margin: 0 auto 26px;
}

.estimate-heading {
  min-width: 0;
  text-align: center;
}

.estimate-heading h1 {
  max-width: 100%;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  overflow-wrap: break-word;
}

.estimate-heading p {
  max-width: 620px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  overflow-wrap: break-word;
}

.estimate-form {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  min-width: 0;
}

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

.input-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid rgba(200, 169, 106, 0.38);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.input-box:focus-within {
  border-color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.1);
}

.input-box i {
  color: var(--gold-bright);
}

.input-box input,
.input-box select,
.input-box textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.input-box input::placeholder,
.input-box textarea::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

.input-box select option {
  color: var(--white);
  background: var(--ink);
}

.textarea-box {
  align-items: flex-start;
}

.upload-box {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed rgba(200, 169, 106, 0.48);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.upload-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.upload-box small {
  color: rgba(255, 255, 255, 0.48);
}

.upload-box input {
  width: 100%;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.78);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  text-align: center;
}

.back-link {
  position: fixed;
  left: 24px;
  top: 24px;
  z-index: 20;
}

@media (max-width: 1040px) {
  .site-nav,
  .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .trust-grid,
  .testimonial-wrap,
  .contact-grid,
  .cta-panel,
  .footer-content,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .consult-card {
    max-width: 520px;
  }

  .service-grid,
  .project-grid,
  .feature-grid,
  .portfolio-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .content-split,
  .content-split.reverse,
  .leader-grid,
  .project-section-heading,
  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-media-large {
    height: 520px;
  }

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

  .leader-card {
    grid-template-columns: 180px 1fr;
  }

  .leader-card img {
    width: 180px;
  }

  .detail-gallery,
  .detail-gallery img:first-child {
    grid-template-columns: 1fr;
  }

  .detail-gallery img,
  .detail-gallery img:first-child {
    height: 320px;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 28px, var(--max));
  }

  .nav-frame {
    gap: 14px;
    min-height: 76px;
  }

  .nav-actions {
    gap: 8px;
  }

  .brand-link img {
    width: 116px;
  }

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

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .proof-strip {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .section {
    padding: 72px 0;
  }

  .image-stack {
    min-height: 430px;
  }

  .image-stack img {
    width: 78%;
    height: 300px;
  }

  .quality-panel,
  .cta-panel,
  .contact-card,
  .estimate-card {
    padding: 26px;
  }

  .estimate-shell {
    display: block;
    align-items: start;
    padding: 88px 14px 34px;
  }

  .estimate-card {
    width: calc(100vw - 28px);
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 18px;
  }

  .estimate-logo {
    width: 112px;
    margin-bottom: 18px;
  }

  .estimate-heading h1 {
    max-width: min(100%, 310px);
    margin-inline: auto;
    font-size: clamp(28px, 8vw, 34px);
  }

  .estimate-heading p {
    width: min(100%, 326px);
    max-width: 100%;
    font-size: 14px;
  }

  .estimate-form {
    width: min(100%, 326px);
    margin-inline: auto;
    gap: 14px;
    margin-top: 24px;
  }

  .input-box {
    gap: 10px;
    padding: 12px 13px;
  }

  .textarea-box textarea {
    min-height: 140px;
  }

  .upload-box {
    padding: 18px 14px;
  }

  .service-grid,
  .project-grid,
  .process-band,
  .form-grid,
  .feature-grid,
  .portfolio-grid,
  .team-grid,
  .timeline-grid,
  .comparison-grid,
  .stat-grid,
  .scope-list,
  .contact-mini-grid,
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-section-heading {
    gap: 18px;
    margin-bottom: 24px;
  }

  .project-media,
  .project-media-large,
  .project-shot,
  .project-shot-wide,
  .project-shot-tall,
  .project-shot-feature {
    grid-column: auto;
    grid-row: auto;
    height: 280px;
  }

  .premium-image img {
    height: 360px;
  }

  .leader-card {
    grid-template-columns: 1fr;
  }

  .leader-card img {
    width: 100%;
    height: 360px;
  }

  .founder-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .founder-card img {
    width: 100%;
    height: 380px;
  }

  .goal-item {
    grid-template-columns: 1fr;
  }

  .project-tools {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .floating-actions {
    right: 14px;
    top: auto;
    bottom: 86px;
    transform: none;
  }

  .float-action,
  .back-to-top {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 520px) {
  .nav-actions > .button {
    display: none;
  }

  .mobile-panel {
    width: min(88vw, 320px);
    padding: 88px 24px 28px;
  }
}

@media (max-width: 420px) {
  .site-shell {
    width: min(100% - 22px, var(--max));
  }

  .brand-link img {
    width: 104px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .estimate-shell {
    padding: 82px 10px 28px;
  }

  .estimate-card {
    width: calc(100vw - 20px);
    padding: 20px 14px;
  }

  .estimate-heading h1 {
    max-width: min(100%, 280px);
    font-size: clamp(26px, 7.6vw, 31px);
  }

  .estimate-heading p,
  .estimate-form {
    width: min(100%, calc(100vw - 52px));
  }

  .estimate-card .button {
    width: 100%;
    padding-inline: 14px;
  }
}
