:root {
  --bg: #f6f0e7;
  --surface: rgba(255, 248, 239, 0.72);
  --text: #18130f;
  --muted: #69594c;
  --line: rgba(94, 68, 42, 0.18);
  --brand: #9c6b32;
  --brand-deep: #73461e;
  --gold: #d6b06c;
  --shadow: 0 22px 65px rgba(29, 18, 10, 0.16);
  --shadow-soft: 0 16px 40px rgba(20, 12, 7, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --nav-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 176, 108, 0.14), transparent 28%),
    linear-gradient(180deg, #f7f1e9 0%, #f0e5d7 100%);
}

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

img,
.project-card img,
.image-frame img {
  width: 100%;
}

a {
  text-decoration: none;
}

.site-shell {
  overflow: hidden;
}

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

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-tag,
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(214, 176, 108, 0.35);
  border-radius: 999px;
  color: var(--brand-deep);
  background: rgba(255, 248, 239, 0.5);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.navbar-brand strong {
  font-family: "Playfair Display", serif;
}

h1,
h2 {
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.3rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.btn {
  border-radius: 999px;
  padding: 0.92rem 1.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-brand {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 14px 28px rgba(115, 70, 30, 0.32);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  box-shadow: 0 18px 34px rgba(115, 70, 30, 0.38);
}

.navbar {
  padding: 12px 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled,
.navbar.menu-open {
  background: rgba(18, 13, 9, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 45px rgba(17, 12, 8, 0.22);
  padding: 8px 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-logo-img {
  width: clamp(235px, 20vw, 315px);
  height: 78px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.34));
}

.logo-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(214, 176, 108, 0.9), rgba(115, 70, 30, 0.95));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(214, 176, 108, 0.22);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-size: 1.1rem;
  font-weight: 700;
}

.logo-text small {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav-link {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 500;
  padding: 0.7rem 0.95rem !important;
}

.navbar.scrolled .nav-link,
.navbar.menu-open .nav-link {
  color: rgba(255, 248, 239, 0.78);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active,
.navbar.menu-open .nav-link:hover,
.navbar.menu-open .nav-link.active {
  color: var(--gold);
}

.navbar-toggler {
  padding: 0.45rem 0.65rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.navbar.scrolled .navbar-toggler-icon,
.navbar.menu-open .navbar-toggler-icon {
  filter: invert(1);
}

.hero-section,
.hero-slide,
.hero-content {
  min-height: 100vh;
}

.page-hero {
  position: relative;
  padding: 180px 0 110px;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(17, 12, 8, 0.86), rgba(17, 12, 8, 0.42));
}

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

.page-hero-copy {
  max-width: 780px;
  padding: 34px;
  border-radius: var(--radius-lg);
}

.page-hero-copy h1,
.page-hero-copy p,
.page-hero-copy .eyebrow {
  color: #fff;
}

.page-hero-copy .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.page-hero-copy p {
  max-width: 620px;
  opacity: 0.9;
}

.hero-slide {
  position: relative;
  background-position: center;
  background-size: cover;
}

.hero-content {
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
}

.glass-panel {
  background: rgba(255, 248, 239, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-copy {
  padding: 34px;
  border-radius: var(--radius-lg);
  max-width: 690px;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy p {
  color: #fff;
}

.hero-copy .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-copy p {
  max-width: 580px;
  margin-top: 18px;
  opacity: 0.86;
}

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

.hero-side-stack {
  display: grid;
  gap: 18px;
}

.mini-stat,
.service-panel {
  border-radius: var(--radius-md);
  padding: 24px;
  color: #fff;
}

.stat-number {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-label,
.service-panel li {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.service-panel h3 {
  color: #fff;
  margin-bottom: 16px;
}

.service-panel ul {
  display: grid;
  gap: 10px;
}

.service-panel i {
  width: 22px;
  color: var(--gold);
}

.carousel-control-next,
.carousel-control-prev {
  width: 5.5%;
}

.carousel-indicators {
  bottom: 30px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.about-section {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.85), rgba(247, 239, 228, 0.95));
}

.proof-strip {
  position: relative;
  margin-top: -54px;
  z-index: 4;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: rgba(23, 15, 9, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.proof-grid div {
  padding: 24px;
  background: rgba(255, 248, 239, 0.08);
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.image-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  z-index: 1;
}

.image-frame img {
  min-height: 520px;
  object-fit: cover;
}

.about-points {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.about-point {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.72);
  box-shadow: var(--shadow-soft);
}

.about-point i {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(214, 176, 108, 0.16);
  color: var(--brand-deep);
  font-size: 1.2rem;
}

.services-section {
  background:
    radial-gradient(circle at top right, rgba(156, 107, 50, 0.08), transparent 24%),
    linear-gradient(180deg, #f3e8d8 0%, #f9f4ed 100%);
}

.service-card,
.feature-card,
.contact-form-wrap,
.contact-card {
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.78);
  box-shadow: var(--shadow-soft);
}

.service-card,
.feature-card {
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.feature-card:hover,
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.service-icon,
.feature-card i {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(214, 176, 108, 0.22), rgba(156, 107, 50, 0.12));
  color: var(--brand-deep);
  font-size: 1.6rem;
}

.portfolio-section {
  background: linear-gradient(180deg, #fbf7f0 0%, #f0e3d2 100%);
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
  min-height: 360px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.project-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(17, 12, 8, 0.88));
  color: #fff;
}

.project-overlay h3,
.project-overlay p {
  color: #fff;
}

.portfolio-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.portfolio-controls .btn {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  border-color: rgba(115, 70, 30, 0.26);
  color: var(--brand-deep);
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.btn-filter {
  background: rgba(255, 250, 244, 0.8);
  border: 1px solid var(--line);
  color: var(--brand-deep);
  box-shadow: var(--shadow-soft);
}

.btn-filter.active,
.btn-filter:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
}

.portfolio-item {
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease;
}

.portfolio-hidden {
  display: none;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

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

.process-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 244, 0.78);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.process-card span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  font-weight: 800;
}

.process-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(214, 176, 108, 0.14);
}

.metric-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.78);
  box-shadow: var(--shadow-soft);
}

.metric-card strong {
  display: block;
  font-size: 1.9rem;
  color: var(--brand-deep);
}

.cta-strip {
  padding: 36px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(32, 22, 13, 0.94), rgba(115, 70, 30, 0.88));
  box-shadow: var(--shadow);
}

.cta-strip h2,
.cta-strip p {
  color: #fff;
}

.why-section {
  background:
    radial-gradient(circle at bottom left, rgba(214, 176, 108, 0.14), transparent 25%),
    linear-gradient(180deg, #f2e7d8 0%, #f9f5ef 100%);
}

.contact-section {
  background: linear-gradient(180deg, #f9f4ed 0%, #ece0cf 100%);
}

.contact-card {
  padding: 34px;
  background: rgba(29, 20, 12, 0.76);
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-card h2,
.contact-card p,
.contact-card .section-tag,
.contact-card .contact-item span,
.contact-card .contact-item p,
.contact-card .contact-item a {
  color: #fff;
}

.contact-card .section-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-details {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.contact-item i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

.contact-item span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.contact-form-wrap {
  padding: 30px;
}

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

.form-response {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 500;
}

.form-response-success {
  display: block;
  color: #1c3a23;
  background: rgba(150, 197, 161, 0.26);
  border-color: rgba(52, 114, 65, 0.25);
}

.form-response-error {
  display: block;
  color: #5d2116;
  background: rgba(227, 160, 141, 0.2);
  border-color: rgba(168, 74, 52, 0.22);
}

.contact-form .form-label {
  font-weight: 600;
  margin-bottom: 10px;
}

.form-control,
.form-select {
  border-radius: 16px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(94, 68, 42, 0.18);
  background-color: rgba(255, 251, 245, 0.88);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(156, 107, 50, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(156, 107, 50, 0.14);
}

.map-wrap {
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-soft);
}

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

.site-footer {
  padding: 38px 0 24px;
  background: #120d09;
  color: rgba(255, 255, 255, 0.76);
}

.footer-brand {
  color: #fff;
}

.footer-logo-img {
  width: min(315px, 100%);
  height: 78px;
  object-position: center;
}

.footer-copy {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.68);
  max-width: 460px;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.footer-links a,
.social-links a {
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.social-links {
  justify-content: flex-start;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.52);
}

.lightbox-content {
  background: rgba(17, 12, 8, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
}

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

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

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(18, 13, 9, 0.94);
    backdrop-filter: blur(16px);
  }

  .brand-logo-img {
    width: 220px;
    height: 62px;
  }

  .hero-content {
    padding-top: 120px;
  }

  .hero-copy,
  .contact-card,
  .contact-form-wrap {
    padding: 28px;
  }

  .carousel-control-next,
  .carousel-control-prev {
    display: none;
  }

  .image-frame img {
    min-height: 420px;
  }

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

@media (max-width: 767.98px) {
  .section-pad {
    padding: 88px 0;
  }

  .hero-slide,
  .hero-section,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding-bottom: 100px;
  }

  .hero-copy {
    padding: 24px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .mini-stat,
  .service-panel {
    padding: 20px;
  }

  .contact-form-wrap,
  .contact-card,
  .service-card,
  .feature-card {
    border-radius: 24px;
  }

  .project-card,
  .project-card img {
    min-height: 300px;
    height: 300px;
  }

  .contact-form-actions .btn {
    width: 100%;
  }

  .page-hero {
    padding: 150px 0 90px;
  }

  .page-hero-copy,
  .cta-strip {
    padding: 24px;
  }

  .project-metrics {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: 0;
    padding-top: 24px;
    background: #120d09;
  }

  .footer-links,
  .social-links {
    justify-content: flex-start;
  }
}

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

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

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