:root {
  --bg-ivory: #faf8f5;
  --bg-sand: #f2ede4;
  --bg-white: #ffffff;
  --ink-dark: #1a1917;
  --ink-muted: #5c564e;
  --ink-subtle: #8c8479;
  --copper: #c47a2c;
  --copper-dark: #9e5d1a;
  --copper-soft: rgba(196, 122, 44, 0.12);
  --border-warm: #e5ded2;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 22px 50px -20px rgba(26, 25, 23, 0.18);
  --ease-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-ivory);
  color: var(--ink-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--copper) 0%, #e09f56 100%);
  z-index: 70;
  transition: width 0.08s linear;
}

/* Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease-expo),
    transform 0.75s var(--ease-expo);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="right"] {
  transform: translateX(32px);
}

[data-reveal="scale"] {
  transform: scale(0.95) translateY(18px);
}

[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-warm);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px -15px rgba(26, 25, 23, 0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-warm);
  background: #fff;
  transition: transform 0.35s var(--ease-expo);
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.04);
}

.brand-title {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--ink-dark);
}

.brand-sub {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--copper-dark);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.25s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: width 0.25s var(--ease-expo);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--copper-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink-dark);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s var(--ease-expo), box-shadow 0.25s ease;
}

.nav-cta:hover {
  background: var(--copper-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(158, 93, 26, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-warm);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink-dark);
}

/* Hero */
.hero {
  padding: 58px 0 84px;
  background:
    radial-gradient(circle at 12% 18%, rgba(196, 122, 44, 0.08), transparent 42%),
    var(--bg-ivory);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--copper-dark);
  background: var(--copper-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.7rem, 4.7vw, 4.35rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--ink-dark);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--copper-dark);
  font-weight: 500;
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--ink-muted);
  max-width: 520px;
  margin-bottom: 30px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--copper);
  color: #fff;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s var(--ease-expo), box-shadow 0.25s ease;
}

.btn-primary:hover {
  background: var(--copper-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(158, 93, 26, 0.55);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-dark);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-warm);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease-expo);
}

.btn-outline:hover {
  border-color: var(--copper);
  background: var(--bg-white);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-warm);
}

.stat-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--ink-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.hero-media {
  position: relative;
}

.hero-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-soft);
  background: var(--bg-sand);
  aspect-ratio: 4 / 3;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-expo);
}

.hero-media:hover .hero-frame img {
  transform: scale(1.03);
}

.hero-inset {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 44%;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid var(--bg-ivory);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  animation: gentleFloat 6s ease-in-out infinite;
}

.hero-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(26, 25, 23, 0.82);
  backdrop-filter: blur(10px);
  color: #faf8f5;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

/* Section Headers */
section {
  padding: 84px 0;
}

.section-alt {
  background: var(--bg-sand);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--copper-dark);
  margin-bottom: 8px;
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 2.95rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink-dark);
}

.section-sub {
  max-width: 460px;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-expo), border-color 0.3s ease, box-shadow 0.35s var(--ease-expo);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), #e3a765);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-expo);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--copper);
  box-shadow: var(--shadow-soft);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--copper-soft);
  color: var(--copper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-expo);
}

.service-card:hover .service-icon {
  background: var(--copper);
  color: #fff;
  transform: scale(1.06);
}

.service-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.58;
}

/* Process Strip */
.process-strip {
  background: var(--ink-dark);
  color: #faf8f5;
  padding: 68px 0;
}

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

.process-step {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 24px 22px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-expo), background 0.3s ease;
}

.process-step:hover {
  border-color: var(--copper);
  background: rgba(196, 122, 44, 0.08);
  transform: translateY(-4px);
}

.step-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #e3a765;
  line-height: 1;
  margin-bottom: 10px;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.84rem;
  color: #c9c1b5;
}

/* Portfolio Filter & Gallery */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-warm);
  background: var(--bg-white);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease-expo);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--ink-dark);
  border-color: var(--ink-dark);
  color: #fff;
  transform: translateY(-1px);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-warm);
  background: var(--bg-sand);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: border-color 0.3s ease, box-shadow 0.35s var(--ease-expo);
}

.gallery-item:hover {
  border-color: var(--copper);
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-expo);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 25, 23, 0.86) 100%);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.gallery-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f3d2a2;
  font-weight: 700;
}

.gallery-name {
  font-size: 0.92rem;
  font-weight: 600;
}

.gallery-expand {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-expo);
}

.gallery-item:hover .gallery-expand {
  opacity: 1;
  transform: translateY(0);
}

/* Video Walkthrough */
.walkthrough-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.video-shell {
  border-radius: 26px;
  overflow: hidden;
  border: 2px solid var(--border-warm);
  background: #111;
  box-shadow: var(--shadow-soft);
  max-width: 340px;
  margin: 0 auto;
}

.video-shell video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.plan-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.plan-row {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: border-color 0.25s ease, transform 0.25s var(--ease-expo);
}

.plan-row:hover {
  border-color: var(--copper);
  transform: translateX(4px);
}

.plan-row strong {
  font-size: 0.9rem;
  color: var(--ink-dark);
}

.plan-row span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--copper-dark);
  background: var(--copper-soft);
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-card,
.inquiry-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 12px 35px -24px rgba(26, 25, 23, 0.2);
}

.contact-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--copper-soft);
  color: var(--copper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-subtle);
  font-weight: 700;
}

.contact-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-dark);
  margin-top: 2px;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.form-grid label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-dark);
  margin-bottom: 6px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-warm);
  background: var(--bg-ivory);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink-dark);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: #fff;
}

/* Footer */
.footer {
  background: var(--ink-dark);
  color: #e6dfd4;
  padding: 40px 0 60px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(18, 17, 15, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: contain;
}

.lightbox-caption {
  color: #f3efe8;
  margin-top: 12px;
  font-size: 0.92rem;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(26, 25, 23, 0.78);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: var(--copper);
}

.lb-close {
  top: -16px;
  right: 0;
  transform: none;
}

.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* Floating Call + WhatsApp Hover Widget */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.fab-btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transition: all 0.28s var(--ease-expo);
  overflow: hidden;
}

.fab-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.fab-label {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 700;
  transition: max-width 0.28s var(--ease-expo), opacity 0.2s ease, margin-left 0.25s ease;
}

.fab-btn:hover .fab-label,
.fab-btn:focus-visible .fab-label {
  max-width: 175px;
  opacity: 1;
  margin-left: 10px;
}

.fab-call {
  background: var(--copper-dark);
}

.fab-call:hover {
  background: var(--ink-dark);
}

.fab-whatsapp {
  background: #25d366;
  animation: waPulse 2.8s infinite;
}

.fab-whatsapp:hover {
  background: #1da851;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 10px 32px rgba(37, 211, 102, 0.58); }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid,
  .walkthrough-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-inset {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-ivory);
    border-bottom: 1px solid var(--border-warm);
    padding: 18px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .services-grid,
  .process-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 36px 0 48px;
  }
  section {
    padding: 56px 0;
  }
  .contact-card,
  .inquiry-card {
    padding: 24px;
  }
  .gallery-expand {
    opacity: 1;
    transform: none;
  }
}
