/* ============ RENOGATE — design system ============ */
:root {
  --ink: #171310;
  --coal: #221c14;
  --cream: #f8f4ea;
  --sand: #ece3cf;
  --brass: #c0963c;
  --brass-soft: #d9b968;
  --muted: #6f6455;
  --line: rgba(23, 19, 16, .12);
  --line-light: rgba(248, 244, 234, .14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow: 0 24px 60px -24px rgba(23, 19, 16, .35);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 104px 0; }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark .section-sub { color: #b9ae99; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 14px 0 0; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--brass);
}
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.06rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--brass-soft), var(--brass)); color: #1c1508; box-shadow: 0 14px 30px -12px rgba(192,150,60,.55); }
.btn-gold:hover { box-shadow: 0 18px 36px -12px rgba(192,150,60,.7); }
.btn-ghost { border-color: rgba(248,244,234,.5); color: var(--cream); }
.btn-ghost:hover { background: rgba(248,244,234,.12); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--coal); }
.btn-sm { padding: 11px 22px; font-size: .9rem; }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.nav-inner { display: flex; align-items: center; gap: 28px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand-name { font-weight: 700; letter-spacing: .24em; font-size: 1.02rem; color: #fff; }
.nav-links { display: flex; gap: 30px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; font-size: .94rem; font-weight: 500; color: rgba(255,255,255,.82); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: var(--brass-soft); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: .94rem; }
.phone-link svg { width: 17px; height: 17px; }
.nav.solid { background: rgba(23,19,16,.92); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.nav.solid .nav-inner { padding: 12px 0; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .3s; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero.jpg") center 65% / cover no-repeat;
  transform: scale(1.06);
  animation: heroSettle 2.4s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes heroSettle { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,12,8,.82) 20%, rgba(15,12,8,.45) 55%, rgba(15,12,8,.25) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 60px; }
.hero .eyebrow { color: var(--brass-soft); }
.hero h1 { font-size: clamp(3rem, 8vw, 5.6rem); margin: 18px 0 20px; text-wrap: balance; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 560px; }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.65); text-decoration: none; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-cue svg { width: 20px; height: 20px; animation: cueBob 2s ease-in-out infinite; }
@keyframes cueBob { 50% { transform: translateY(7px); } }

/* ============ MARQUEE ============ */
.marquee { background: var(--brass); color: #1c1508; overflow: hidden; padding: 15px 0; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 26s linear infinite; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .86rem; }
.marquee-track i { font-style: normal; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 560px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -26px; inset-inline-start: 28px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow);
}
.about-badge img { width: 52px; height: auto; box-shadow: none; border-radius: 0; }
.about-badge strong { display: block; font-size: .98rem; }
.about-badge span { font-size: .82rem; color: var(--muted); }
.about-copy p { margin-top: 18px; color: var(--muted); }
.check-list { list-style: none; margin: 26px 0 34px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-inline-start: 34px; font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brass); color: #1c1508;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: rgba(248,244,234,.045); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 38px 32px;
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.service-card:hover { transform: translateY(-8px); background: rgba(248,244,234,.08); border-color: rgba(217,185,104,.5); }
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; }
.services-grid .service-card:last-child { grid-column: 2 / 4; }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(217,185,104,.22), rgba(192,150,60,.1));
  border: 1px solid rgba(217,185,104,.4); margin-bottom: 24px; color: var(--brass-soft);
}
.service-icon svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-card p { color: #b9ae99; font-size: .97rem; }

/* ============ PROCESS ============ */
.process-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-steps li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; position: relative; transition: transform .3s ease, box-shadow .3s ease;
}
.process-steps li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  font-family: var(--serif); font-size: 2.6rem; color: transparent;
  -webkit-text-stroke: 1.5px var(--brass); display: block; margin-bottom: 14px;
}
.process-steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.process-steps p { color: var(--muted); font-size: .94rem; }

/* ============ GALLERY ============ */
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.filter {
  padding: 10px 24px; border-radius: 999px; border: 1px solid var(--line-light);
  background: transparent; color: var(--cream); font: 600 .9rem var(--sans);
  cursor: pointer; transition: all .25s ease;
}
.filter:hover { border-color: var(--brass-soft); color: var(--brass-soft); }
.filter.active { background: var(--brass); border-color: var(--brass); color: #1c1508; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 3; background: var(--coal); border: 0; padding: 0; width: 100%;
  opacity: 1; transform: scale(1); transition: opacity .45s ease, transform .45s ease;
}
.g-item.hide { opacity: 0; transform: scale(.92); pointer-events: none; position: absolute; visibility: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.g-item:hover img { transform: scale(1.07); }
.g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 44px 20px 18px;
  background: linear-gradient(transparent, rgba(10,8,5,.85));
  color: #fff; font-weight: 600; font-size: .95rem; text-align: start;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
}
.g-item figcaption small { font-weight: 500; color: var(--brass-soft); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.g-zoom {
  position: absolute; top: 14px; inset-inline-end: 14px; width: 38px; height: 38px;
  border-radius: 50%; background: rgba(10,8,5,.55); color: #fff; display: grid;
  place-items: center; font-size: 1.05rem; opacity: 0; transition: opacity .3s ease;
}
.g-item:hover .g-zoom { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,8,5,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { max-width: min(1020px, 90vw); text-align: center; }
.lb-figure img { max-height: 76vh; max-width: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); margin: 0 auto; }
.lb-figure figcaption { margin-top: 16px; color: #fff; display: flex; justify-content: center; gap: 18px; align-items: baseline; }
.lb-figure figcaption span:last-child { color: var(--brass-soft); font-size: .85rem; letter-spacing: .1em; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(248,244,234,.1); border: 1px solid rgba(248,244,234,.25);
  color: #fff; cursor: pointer; transition: background .25s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--brass); border-color: var(--brass); color: #1c1508; }
.lb-close { top: 22px; inset-inline-end: 26px; width: 46px; height: 46px; border-radius: 50%; font-size: 1.05rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; font-size: 1.7rem; line-height: 1; }
.lb-prev { inset-inline-start: 26px; }
.lb-next { inset-inline-end: 26px; }

/* ============ TESTIMONIALS ============ */
.slider { max-width: 780px; margin: 0 auto; overflow: hidden; }
.slides { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.slide { flex: 0 0 100%; text-align: center; padding: 10px 30px; }
.stars { color: var(--brass); font-size: 1.3rem; letter-spacing: .3em; margin-bottom: 22px; }
.slide p { font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.5; }
.slide footer { margin-top: 26px; }
.slide footer strong { display: block; font-size: 1.02rem; }
.slide footer span { color: var(--muted); font-size: .9rem; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; }
.slider-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; font-size: 1.4rem; cursor: pointer; transition: all .25s ease; color: var(--ink);
}
.slider-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.dots { display: flex; gap: 10px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; background: var(--sand); border: 0; cursor: pointer; transition: all .25s ease; }
.dots button.active { background: var(--brass); transform: scale(1.35); }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 20px; text-decoration: none;
  background: rgba(248,244,234,.045); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 22px 24px; transition: all .3s ease;
}
a.contact-card:hover { transform: translateX(6px); border-color: rgba(217,185,104,.5); background: rgba(248,244,234,.08); }
.cc-icon {
  width: 52px; height: 52px; border-radius: 14px; flex: 0 0 52px;
  display: grid; place-items: center; color: var(--brass-soft);
  background: rgba(217,185,104,.12); border: 1px solid rgba(217,185,104,.35);
}
.cc-icon svg { width: 24px; height: 24px; }
.contact-card strong { display: block; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); }
.contact-card em { font-style: normal; font-size: 1.08rem; font-weight: 600; }
.contact-form { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 42px 38px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 24px; }
.contact-form label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 8px; padding: 13px 16px; border-radius: 10px;
  border: 1px solid var(--line); font: 400 .95rem var(--sans); background: #fff; color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--brass); border-color: var(--brass);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { width: 100%; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }

/* ============ FOOTER ============ */
.footer { background: #100d09; color: #b9ae99; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 58px; height: auto; }
.footer-brand strong { display: block; color: #fff; letter-spacing: .2em; font-size: .98rem; }
.footer-brand span { font-size: .85rem; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { text-decoration: none; font-size: .94rem; transition: color .25s; }
.footer-links a:hover { color: var(--brass-soft); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: .94rem; }
.footer-contact a { text-decoration: none; transition: color .25s; }
.footer-contact a:hover { color: var(--brass-soft); }
.footer-bottom { border-top: 1px solid rgba(248,244,234,.1); padding: 22px 0; font-size: .85rem; text-align: center; }

/* ============ FLOATS ============ */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37,211,102,.6);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.to-top {
  position: fixed; bottom: 100px; inset-inline-end: 32px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; font-size: 1.2rem; cursor: pointer;
  opacity: 0; visibility: hidden; transition: all .3s ease; box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--ink); color: #fff; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:last-child { grid-column: 1 / -1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media img { height: 420px; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .phone-link { display: none; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; gap: 0; background: rgba(23,19,16,.97);
    padding: 10px 4%; backdrop-filter: blur(14px);
  }
  .nav-links.open a { padding: 14px 0; border-bottom: 1px solid var(--line-light); }
  .nav-cta { margin-inline-start: 0; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .services-grid, .process-steps, .gallery-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lb-prev { inset-inline-start: 10px; }
  .lb-next { inset-inline-end: 10px; }
  .contact-form { padding: 32px 24px; }
}
