:root {
  --bg: #f4efe8;
  --paper: #faf6ef;
  --ink: #171512;
  --ink-soft: #3a342c;
  --muted: #6b6258;
  --line: #d9cebb;
  --accent: #a9c426;
  --accent-deep: #6f8e10;
  --green: #25d366;
  --heading: "Fraunces", serif;
  --body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.65;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--heading);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 400;
}
h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 400;
}
.label {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 32px;
  position: relative;
  padding-left: 40px;
}
.label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--accent-deep);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 239, 232, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 40px;
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--paper);
  white-space: nowrap;
}
.nav.scrolled .nav-logo {
  color: var(--ink);
}
.nav-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.nav-logo em {
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(250, 246, 239, 0.88);
  transition: 0.2s;
}
.nav.scrolled .nav-links a {
  color: var(--ink-soft);
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-cta {
  border: 1px solid rgba(250, 246, 239, 0.45);
  padding: 10px 18px;
}
.nav.scrolled .nav-cta {
  border-color: var(--ink);
}
.nav-cta:hover {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}

.hero {
  position: relative;
  min-height: 100vh;
  color: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 40px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: slowZoom 18s ease-in-out infinite alternate;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(23, 21, 18, 0.55), rgba(23, 21, 18, 0.88)),
    linear-gradient(to right, rgba(23, 21, 18, 0.55), rgba(23, 21, 18, 0.1));
}
@keyframes slowZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.15);
  }
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-label:before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.hero h1 {
  color: var(--paper);
  margin-bottom: 38px;
  max-width: 820px;
}
.hero h1 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}
.hero-sub {
  font-size: 1.08rem;
  max-width: 560px;
  color: rgba(250, 246, 239, 0.86);
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(250, 246, 239, 0.45);
}
.btn-ghost:hover {
  background: rgba(250, 246, 239, 0.12);
  border-color: var(--paper);
  transform: translateY(-2px);
}
.hero-side {
  border-left: 1px solid rgba(250, 246, 239, 0.22);
  padding-left: 36px;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item .k {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(250, 246, 239, 0.62);
  font-weight: 700;
}
.hero-meta-item .v {
  font-family: var(--heading);
  font-size: 1.15rem;
  color: var(--paper);
}
.section {
  padding: 130px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-head {
  max-width: 780px;
  margin-bottom: 70px;
}
.section-head p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 30px;
  max-width: 650px;
}
.intro {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}
.intro-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--line);
  overflow: hidden;
}
.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s ease;
}
.intro-visual:hover img {
  transform: scale(1.05);
}
.intro-stamp {
  position: absolute;
  top: 42px;
  left: 120px;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 24px;
  z-index: 3;
}
.intro-stamp .num {
  font-family: var(--heading);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.intro-stamp .lbl {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.8);
  line-height: 1.4;
}
.intro-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 26px;
  color: var(--ink-soft);
}
.intro-text p:first-of-type {
  font-family: var(--heading);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  margin-top: 38px;
}
.services {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.service-item {
  padding: 44px 40px 44px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: start;
  gap: 30px;
  transition: 0.3s ease;
}
.service-item:nth-child(even) {
  padding-left: 40px;
  padding-right: 0;
}
.service-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.service-item:hover {
  background: var(--bg);
}
.svc-num {
  font-family: var(--heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  padding-top: 6px;
}
.service-item h3 {
  font-size: 1.65rem;
  margin-bottom: 16px;
}
.service-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}
.arrow {
  font-size: 1.4rem;
  color: var(--muted);
  transition: 0.3s;
}
.service-item:hover .arrow {
  color: var(--accent);
  transform: translateX(6px);
}
.gallery {
  background: var(--ink);
  color: var(--paper);
}
.gallery h2 {
  color: var(--paper);
}
.gallery .label {
  color: var(--accent);
}
.gallery .label:before {
  background: var(--accent);
}
.gallery-intro {
  color: rgba(250, 246, 239, 0.72);
  font-size: 1.05rem;
  max-width: 650px;
  margin-top: 26px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #000;
  aspect-ratio: 4/5;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.8s ease;
  opacity: 0.9;
}
.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 1;
}
.process {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: 0.3s;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.step-num {
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 24px;
}
.process-step h4 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.process-step p {
  color: var(--muted);
  font-size: 0.94rem;
}
.cta-band {
  background: var(--accent);
  color: #fff;
  padding: 110px 40px;
  text-align: center;
}
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
}
.cta-band h2 {
  color: #fff;
}
.cta-band h2 em {
  color: var(--ink);
}
.cta-band p {
  margin: 30px 0 42px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}
.btn-wa {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-wa:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
}
.contact {
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}
.info-list {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.info-row .k {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 700;
}
.info-row .v {
  font-family: var(--heading);
  font-size: 1.15rem;
  color: var(--ink);
}
.small {
  display: block;
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 3px;
}
.contact-form {
  background: var(--bg);
  padding: 48px;
  border: 1px solid var(--line);
}
.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.contact-form > p {
  color: var(--muted);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 700;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.submit-btn {
  width: 100%;
  background: var(--ink);
  color: #fff;
  padding: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  transition: 0.3s;
}
.submit-btn:hover {
  background: var(--accent-deep);
}
.quote-alert {
  padding: 16px 18px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 600;
}
.quote-alert.success {
  border-color: #25d366;
  color: #14783a;
}
.quote-alert.error {
  border-color: #dc2626;
  color: #b91c1c;
}
.field-error {
  font-size: 0.8rem;
  color: #b91c1c;
  margin-top: -6px;
  display: none;
}
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 40px 40px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-brand h4 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 14px;
}
.footer-brand h4 em {
  color: var(--accent);
}
.footer-brand p {
  color: rgba(250, 246, 239, 0.65);
  max-width: 440px;
}
.footer-col h5 {
  font-family: var(--body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-col a,
.footer-col span {
  display: block;
  color: rgba(250, 246, 239, 0.75);
  font-size: 0.95rem;
  padding: 4px 0;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: 1280px;
  margin: 60px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(250, 246, 239, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(250, 246, 239, 0.5);
}
.fab-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99999;
}
.fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(23, 21, 18, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(23, 21, 18, 0.35);
}
.fab svg {
  display: block;
  width: 26px;
  height: 26px;
}
.fab-call {
  background: var(--accent);
}
.fab-call:hover {
  background: var(--accent-deep);
}
.fab-wa {
  background: #25d366;
}
.fab-wa:hover {
  background: #1ebe5d;
}
@media (max-width: 1024px) {
  .hero-inner,
  .intro-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-side {
    border-left: none;
    border-top: 1px solid rgba(250, 246, 239, 0.22);
    padding-left: 0;
    padding-top: 28px;
  }
  .service-list {
    grid-template-columns: 1fr;
  }
  .service-item {
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .nav {
    padding: 14px 18px;
  }
  .nav.scrolled {
    padding: 10px 18px;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .nav-logo {
    font-size: 1.1rem;
  }
  .nav-logo em {
    display: none;
  }
  .hero {
    padding: 120px 24px 60px;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }
  .section {
    padding: 90px 24px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 30px 24px;
  }
  .info-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .footer {
    padding: 60px 24px 30px;
  }
  .fab-container {
    right: 16px;
    bottom: 16px;
  }
  .fab {
    width: 54px;
    height: 54px;
  }
  .fab svg {
    width: 24px;
    height: 24px;
  }
}

/* PROJECT GALLERY CPT + FULL VIEW LIGHTBOX */
.gallery-item {
  display: block;
  cursor: zoom-in;
  color: var(--paper);
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  font-family: var(--heading);
  font-size: 1.05rem;
  line-height: 1.25;
  color: #fff;
  transform: translateY(8px);
  opacity: 0;
  transition: 0.3s ease;
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}
.gallery-empty {
  margin-top: 44px;
  padding: 36px;
  background: rgba(250, 246, 239, 0.06);
  border: 1px solid rgba(250, 246, 239, 0.14);
  max-width: 760px;
}
.gallery-empty h3 {
  color: var(--paper);
  margin-bottom: 10px;
}
.gallery-empty p {
  color: rgba(250, 246, 239, 0.72);
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(12, 11, 10, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  color: #fff;
}
.gallery-lightbox.is-open {
  display: flex;
}
.gallery-lightbox-frame {
  margin: 0;
  max-width: min(1120px, 92vw);
  max-height: 88vh;
  text-align: center;
}
.gallery-lightbox-frame img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.55);
}
.gallery-lightbox-frame figcaption {
  margin-top: 16px;
  font-family: var(--heading);
  font-size: 1.25rem;
  color: rgba(250, 246, 239, 0.9);
}
.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s ease;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.gallery-lightbox-close {
  top: 22px;
  right: 22px;
}
.gallery-lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.gallery-lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
body.gallery-lightbox-open {
  overflow: hidden;
}
@media (max-width: 640px) {
  .gallery-caption {
    opacity: 1;
    transform: none;
    padding: 14px;
    font-size: 0.95rem;
  }
  .gallery-lightbox {
    padding: 18px;
  }
  .gallery-lightbox-close {
    top: 12px;
    right: 12px;
  }
  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 28px;
    top: auto;
    bottom: 18px;
    transform: none;
  }
  .gallery-lightbox-prev {
    left: 18px;
  }
  .gallery-lightbox-next {
    right: 18px;
  }
  .gallery-lightbox-frame img {
    max-height: 74vh;
  }
  .gallery-lightbox-frame figcaption {
    font-size: 1rem;
    padding: 0 56px;
  }
}

/* CUSTOMIZER LOGO SUPPORT */
.nav-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.footer-logo .nav-logo-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}
.footer-logo h4 {
  margin-bottom: 0;
}
