/* Revive-A-Deck — site stylesheet */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #FAF9F6;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-anchor: none;
}

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
::selection { background: #C81E1E; color: #fff; }
img { max-width: 100%; }

.page {
  width: 100%;
  overflow-x: clip;
  background: #FAF9F6;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #141414;
  border-bottom: 3px solid #C81E1E;
  overflow-anchor: none;
}

.site-header .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: padding 0.25s ease;
}

.site-header.is-scrolled .inner { padding: 8px 24px; }

.logo-link { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 0; }

.logo-link img {
  height: 92px;
  width: auto;
  display: block;
  transition: height 0.25s ease;
}

.site-header.is-scrolled .logo-link img { height: 46px; }

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

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #e8e6e2;
  font-family: 'Inter', sans-serif;
}
.main-nav a:hover { color: #C81E1E; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.call-btn {
  background: #C81E1E;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.call-btn:hover { background: #a51616; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  color: #fff;
  padding: 0;
  flex-shrink: 0;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #141414;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 8px 24px 20px;
}
.mobile-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #e8e6e2;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav a.mobile-call {
  margin-top: 14px;
  border-bottom: none;
  text-align: center;
  color: #fff;
  padding: 13px 20px;
}
.mobile-nav.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: #141414;
}

.hero-photos {
  position: absolute;
  inset: 0;
  display: flex;
}
.hero-photos div { flex: 1; overflow: hidden; }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,0.62) 8%, rgba(10,10,10,0.32) 45%, rgba(10,10,10,0.05) 100%);
}

.hero-badge {
  position: absolute;
  top: 36px;
  right: 36px;
  width: 130px;
  height: 130px;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.45));
}

.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 24px 90px;
  width: 100%;
}
.hero-content .inner { max-width: 640px; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  max-width: 100%;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #C81E1E; flex-shrink: 0; }
.hero-pill span.label { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; }

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.04;
  color: #fff;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.hero p {
  font-size: 19px;
  line-height: 1.6;
  color: #e2e0dc;
  margin: 0 0 34px;
  max-width: 520px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #C81E1E;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 4px;
  white-space: nowrap;
}
.btn-primary:hover { background: #a51616; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 26px;
  border-radius: 4px;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- Trust bar ---------- */
.trust-bar { background: #fff; border-bottom: 1px solid #ece9e4; }
.trust-bar .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 28px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .chip {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #C81E1E;
}
.trust-item .chip img { width: 30px; height: 30px; object-fit: contain; display: block; }
.trust-item .chip.dark { background: #161513; }
.trust-item .chip.light { background: #fdeceb; }
.trust-item .title { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 16px; color: #161513; }
.trust-item .sub { font-size: 13.5px; color: #726f6a; }

/* ---------- Section headings ---------- */
.section-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #C81E1E;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  color: #161513;
  margin: 0;
  text-transform: uppercase;
}

/* ---------- Services ---------- */
.services {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 24px 80px;
}
.services .heading { max-width: 600px; margin: 0 auto 52px; text-align: center; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #ece9e4;
  border-radius: 10px;
  padding: 32px 26px;
}
.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #161513;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C81E1E;
  margin-bottom: 22px;
}
.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #161513;
  margin: 0 0 10px;
}
.service-card p { font-size: 15px; line-height: 1.55; color: #726f6a; margin: 0; }

/* ---------- Before / After ---------- */
.before-after { background: #141414; padding: 90px 24px; }
.before-after .inner { max-width: 1280px; margin: 0 auto; }
.before-after .heading { max-width: 600px; margin: 0 auto 46px; text-align: center; }
.before-after .heading h2 { color: #fff; margin: 0 0 14px; }
.before-after .heading p { color: #a8a49e; font-size: 16px; margin: 0; }

.ba-slider {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.ba-slider img.ba-after {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-before-wrap {
  position: absolute; inset: 0;
  width: 50%;
  overflow: hidden;
}
.ba-before-wrap img {
  position: absolute; inset: 0;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  transform: translateX(-2px);
}
.ba-handle .knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.ba-tag {
  position: absolute;
  top: 16px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}
.ba-tag.before { left: 16px; background: rgba(20,20,20,0.72); }
.ba-tag.after { right: 16px; background: #C81E1E; }

/* ---------- Gallery ---------- */
.gallery { max-width: 1280px; margin: 0 auto; padding: 90px 24px 80px; }
.gallery .heading { max-width: 600px; margin: 0 auto 48px; text-align: center; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery-grid .cell {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.gallery-grid .cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-grid .span-2 { grid-column: span 2; }
.gallery-grid .row-2 { grid-row: span 2; }

/* ---------- Videos ---------- */
.videos { background: #141414; padding: 90px 24px; }
.videos .heading { max-width: 600px; margin: 0 auto 46px; text-align: center; }
.videos .heading h2 { color: #fff; margin: 0 0 14px; }
.video-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.video-frame {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-frame .play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(198, 40, 40, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  padding-left: 4px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-frame:hover .play-badge { transform: translate(-50%, -50%) scale(1.08); background: #C62828; }

/* ---------- Service area ---------- */
.service-area { background: #FAF9F6; padding: 90px 24px; border-top: 1px solid #ece9e4; }
.service-area .inner { max-width: 900px; margin: 0 auto; text-align: center; }
.service-area p.lede { color: #726f6a; font-size: 16px; margin: 0 0 30px; }
.area-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.area-pills span {
  background: #fff;
  border: 1.5px solid #ece9e4;
  color: #161513;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  padding: 10px 22px;
  border-radius: 100px;
}

/* ---------- Contact / CTA ---------- */
.contact-cta {
  background: #161513;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.contact-cta .accent-wedge {
  position: absolute;
  inset: 0;
  background: #C81E1E;
  clip-path: polygon(0 0, 38% 0, 20% 100%, 0% 100%);
  opacity: 0.9;
}
.contact-cta .inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.contact-cta h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  color: #fff;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.contact-cta p { color: #c9c6c1; font-size: 18px; margin: 0 0 34px; }
.contact-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 44px; }

.btn-primary.lg, .btn-outline.lg { font-size: 20px; padding: 18px 34px; }
.btn-outline.lg { padding: 16px 32px; border-color: rgba(255,255,255,0.4); }
.btn-outline.lg:hover { border-color: #fff; }

.contact-divider { height: 1px; background: rgba(255,255,255,0.12); max-width: 400px; margin: 0 auto 28px; }
.contact-cta .footer-logo { display: flex; align-items: center; justify-content: center; gap: 12px; }
.contact-cta .footer-logo img { height: 54px; }
.contact-cta .copyright { color: #726f6a; font-size: 13.5px; margin: 18px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .call-btn { display: none; }

  .site-header .inner { padding: 12px 20px; }
  .logo-link img { height: 56px; }
  .site-header.is-scrolled .logo-link img { height: 40px; }

  .hero { min-height: 560px; align-items: flex-start; }
  .hero-content { padding: 130px 20px 60px; }
  .hero-badge { width: 76px; height: 76px; top: 14px; right: 20px; }
  .hero h1 { font-size: clamp(30px, 8vw, 44px); }
  .hero p { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas a { justify-content: center; }

  .services, .gallery { padding: 60px 20px 56px; }
  .before-after, .service-area, .contact-cta, .videos { padding: 60px 20px; }
  .video-grid { grid-template-columns: 1fr; gap: 20px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid .span-2 { grid-column: span 2; }

  .contact-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary.lg, .btn-outline.lg { font-size: 17px; padding: 15px 20px; }
}

@media (max-width: 480px) {
  .hero-content { padding-top: 150px; }
  .trust-bar .inner { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 28px 20px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-grid .span-2, .gallery-grid .row-2 { grid-column: span 1; grid-row: span 1; }
}
