/* ═══════════════════════════════════════════
   REZ SERVICES — SHARED STYLESHEET
   Used by all pages except index.html
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  --black:  #080808;
  --dark:   #0f0f0f;
  --card:   #141414;
  --card2:  #1c1c1c;
  --border: rgba(255,255,255,0.07);
  --white:  #ffffff;
  --off:    #f0f0f0;
  --muted:  #777;
  --accent: #DC2626;
  --accent2:#ef4444;
  --glow:   rgba(220,38,38,0.22);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* ─── LOGO ─── */
.inv-logo { filter: invert(1); }

/* ─── CURSOR ─── */
#cur {
  position: fixed; width: 10px; height: 10px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .15s, height .15s;
  will-change: left,top;
}
#cur-ring {
  position: fixed; width: 38px; height: 38px;
  border: 1.5px solid var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: border-color .3s;
  will-change: left,top;
}
.c-grow #cur  { width: 16px; height: 16px; background: rgba(220,38,38,.55); }
.c-grow #cur-ring { width: 54px; height: 54px; border-color: rgba(220,38,38,.35); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 22px 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,8,8,.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: padding .4s;
}
nav.at-top {
  background: transparent;
  border-color: transparent;
}
nav.scrolled {
  padding: 14px 64px;
  background: rgba(8,8,8,.96);
  border-color: var(--border);
}
.nav-logo { height: 36px; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }

/* standard link */
.nav-links > li > a {
  text-decoration: none; color: rgba(255,255,255,.72);
  font-size: 13px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase;
  transition: color .2s; display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--white); }

/* CTA button */
.nav-cta {
  background: var(--accent) !important; color: var(--black) !important;
  padding: 10px 22px !important; border-radius: 3px; font-weight: 700 !important;
  transition: background .2s, box-shadow .2s, transform .2s !important;
}
.nav-cta:hover {
  background: var(--accent2) !important;
  box-shadow: 0 8px 28px var(--glow) !important;
  transform: translateY(-1px);
}

/* Dropdown */
.has-dropdown { position: relative; }
.nav-chev { font-size: 9px; transition: transform .25s; }
.has-dropdown:hover .nav-chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(10,10,10,.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px; padding: 8px;
  min-width: 248px;
  opacity: 0; visibility: hidden;
  transition: opacity .22s, transform .22s, visibility .22s;
  z-index: 200;
  pointer-events: none;
}
.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
/* Bridge gap so dropdown stays open */
.dropdown::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.dd-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 5px;
  color: rgba(255,255,255,.72); text-decoration: none;
  font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0;
  transition: background .2s, color .2s;
}
.dd-item i { width: 16px; text-align: center; color: var(--accent); font-size: 13px; flex-shrink: 0; }
.dd-item:hover { background: rgba(220,38,38,.09); color: var(--white); }
.dd-divider { height: 1px; background: var(--border); margin: 6px 8px; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--black);
  text-decoration: none; padding: 15px 28px; border-radius: 3px;
  font-weight: 700; font-size: 14px; letter-spacing: .04em;
  transition: background .22s, transform .22s, box-shadow .22s;
  border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 14px 36px var(--glow); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--white); text-decoration: none;
  padding: 15px 28px; border-radius: 3px; font-weight: 600; font-size: 14px;
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color .22s, background .22s;
  cursor: pointer; font-family: 'DM Sans', sans-serif; background: transparent;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.05); }

.btn-call {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); text-decoration: none;
  padding: 15px 28px; border-radius: 3px; font-weight: 700; font-size: 14px;
  border: 1px solid rgba(220,38,38,.3);
  transition: border-color .22s, background .22s, box-shadow .22s;
}
.btn-call:hover { border-color: var(--accent); background: rgba(220,38,38,.08); box-shadow: 0 0 20px rgba(220,38,38,.1); }

/* ─── INNER PAGE HERO ─── */
.inner-hero {
  padding: 148px 64px 80px;
  position: relative; overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
}
.inner-hero-bg {
  position: absolute; inset: 0;
  background-image: url('IMG_5093.jpeg');
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(.48) saturate(1.3);
  transition: filter .4s;
}
.inner-hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,.02) 0%,
    rgba(8,8,8,.12) 30%,
    rgba(8,8,8,.68) 62%,
    rgba(8,8,8,.94) 100%
  );
}
.inner-hero-content { position: relative; z-index: 1; max-width: 760px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted); letter-spacing: .06em;
  margin-bottom: 20px; text-transform: uppercase;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,.3); }
.inner-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 8vw, 110px);
  line-height: .9; letter-spacing: .025em;
  text-shadow: 0 2px 28px rgba(0,0,0,.8), 0 0 80px rgba(0,0,0,.5);
}
.inner-hero h1 .gold { color: var(--accent); }
.inner-hero p {
  margin-top: 18px; font-size: 16px; line-height: 1.75;
  color: rgba(255,255,255,.7); max-width: 520px;
  text-shadow: 0 1px 12px rgba(0,0,0,.9);
}
.inner-hero-btns { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ─── SHARED SECTION ─── */
.sec { padding: 100px 64px; }
.sec-sm { padding: 72px 64px; }
.sec-label {
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
  display: block;
}
.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: .92; letter-spacing: .025em;
}
.gold { color: var(--accent); }

/* ─── SERVICE OVERVIEW GRID ─── */
.overview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.overview-text p { color: rgba(255,255,255,.6); line-height: 1.82; font-size: 15.5px; margin-top: 22px; }
.overview-text p + p { margin-top: 16px; }

.include-list { list-style: none; margin-top: 24px; }
.include-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  font-size: 14.5px; color: var(--off); font-weight: 500;
}
.include-list li:first-child { border-top: 1px solid var(--border); }
.include-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

.include-head {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: .08em; color: var(--off); margin-bottom: 4px;
}

/* ─── WHY REZ CARDS ─── */
.why-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px;
}
.why-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 6px;
  padding: 32px 28px;
  transition: border-color .3s, transform .3s;
}
.why-card:hover { border-color: rgba(220,38,38,.25); transform: translateY(-4px); }
.why-icon {
  width: 52px; height: 52px; border-radius: 8px;
  background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.why-icon i { font-size: 20px; color: var(--accent); }
.why-card h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: .05em; margin-bottom: 8px;
}
.why-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ─── SERVICE CTA BAND ─── */
.svc-cta-band {
  background: var(--dark); padding: 80px 64px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.svc-cta-band h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4vw, 58px); letter-spacing: .025em;
}
.svc-cta-band h2 .gold { color: var(--accent); }
.svc-cta-band p { color: rgba(255,255,255,.5); margin-top: 8px; font-size: 15px; }
.svc-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ─── FOOTER ─── */
footer { background: #050505; padding: 68px 64px 32px; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.footer-logo { height: 32px; display: block; margin-bottom: 18px; }
.footer-desc { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 280px; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--off); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { text-decoration: none; color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; }
.soc {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: 14px;
  transition: border-color .2s, color .2s, background .2s;
}
.soc:hover { border-color: var(--accent); color: var(--accent); background: rgba(220,38,38,.07); }

/* ─── MARQUEE STRIP ─── */
.marquee-bar { background: var(--accent); padding: 12px 0; overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; animation: mq 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.m-item {
  display: inline-flex; align-items: center; gap: 14px; padding: 0 26px;
  font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: .08em; color: var(--black);
}
.m-dot { width: 5px; height: 5px; background: rgba(0,0,0,.35); border-radius: 50%; flex-shrink: 0; }
@keyframes mq { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── FORM STYLES ─── */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--off); margin-bottom: 8px; letter-spacing: .03em;
}
.opt { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--card);
  border: 1px solid var(--border); color: var(--white);
  padding: 14px 16px; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  transition: border-color .2s, box-shadow .2s; outline: none;
  appearance: none;
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(220,38,38,.45);
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.22); }

/* Checkbox grid */
.svc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chk-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--card);
  border: 1px solid var(--border); border-radius: 4px;
  cursor: pointer; transition: border-color .2s, background .2s;
  user-select: none;
}
.chk-item:hover { border-color: rgba(220,38,38,.3); background: rgba(220,38,38,.04); }
.chk-item input[type="checkbox"] { display: none; }
.chk-box {
  width: 18px; height: 18px; min-width: 18px;
  border: 1.5px solid rgba(255,255,255,.25); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.chk-item.active .chk-box { background: var(--accent); border-color: var(--accent); }
.chk-item.active .chk-box::after {
  content: ''; width: 10px; height: 6px;
  border-left: 2px solid var(--black); border-bottom: 2px solid var(--black);
  transform: rotate(-45deg) translateY(-1px); display: block;
}
.chk-item.active { border-color: rgba(220,38,38,.4); background: rgba(220,38,38,.07); }
.chk-label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; }
.chk-label i { color: var(--accent); font-size: 14px; width: 16px; text-align: center; }

.form-actions { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }

/* Form success state */
.form-success {
  display: none; text-align: center; padding: 60px 40px;
  background: var(--card); border: 1px solid rgba(220,38,38,.2);
  border-radius: 8px;
}
.form-success.show { display: block; }
.form-success i { font-size: 48px; color: var(--accent); margin-bottom: 20px; display: block; }
.form-success h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 40px; letter-spacing: .05em; margin-bottom: 12px;
}
.form-success p { color: rgba(255,255,255,.6); font-size: 16px; line-height: 1.7; }

/* ─── REVIEWS GRID ─── */
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rev-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 6px;
  padding: 30px; position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.rev-card::before {
  content: '"'; position: absolute; top: 8px; right: 18px;
  font-size: 100px; line-height: 1; font-family: Georgia, serif;
  color: rgba(220,38,38,.07); pointer-events: none; user-select: none;
}
.rev-card:hover { border-color: rgba(220,38,38,.22); transform: translateY(-3px); box-shadow: 0 12px 44px rgba(0,0,0,.35); }
.rev-stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.rev-text { font-size: 14.5px; color: rgba(255,255,255,.68); line-height: 1.82; margin-bottom: 22px; }
.rev-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 18px; }
.rev-av {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(220,38,38,.12);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 17px; color: var(--accent); flex-shrink: 0;
}
.rev-name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.rev-city { font-size: 12px; color: var(--muted); margin-top: 2px; }
.rev-g { margin-left: auto; font-size: 11px; font-weight: 700; color: #4285F4; }

/* ─── GALLERY GRID ─── */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal-item { overflow: hidden; border-radius: 6px; position: relative; aspect-ratio: 4/3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease, filter .35s; }
.gal-item:hover img { transform: scale(1.06); filter: brightness(.75); }
.gal-placeholder {
  width: 100%; height: 100%;
  background: var(--card); border: 1px dashed rgba(255,255,255,.12);
  border-radius: 6px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: var(--muted); font-size: 13px; text-align: center;
}
.gal-placeholder i { font-size: 28px; color: rgba(220,38,38,.3); }

/* ─── SCROLL REVEAL ─── */
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.rv     { opacity:0; transform:translateY(36px); transition:opacity .72s ease, transform .72s ease; }
.rv-l   { opacity:0; transform:translateX(-38px); transition:opacity .72s ease, transform .72s ease; }
.rv-r   { opacity:0; transform:translateX(38px); transition:opacity .72s ease, transform .72s ease; }
.rv.on, .rv-l.on, .rv-r.on { opacity:1; transform:none; }
.d1{transition-delay:.07s} .d2{transition-delay:.14s} .d3{transition-delay:.21s} .d4{transition-delay:.28s}
.d5{transition-delay:.35s} .d6{transition-delay:.42s} .d7{transition-delay:.49s} .d8{transition-delay:.56s}

/* ─── VISUAL DEPTH & EFFECTS ─── */

/* Enhanced why-card — animated top-line + gradient wash + icon glow */
.why-card { position: relative; overflow: hidden; }

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  z-index: 1;
}
.why-card:hover::before { transform: scaleX(1); }

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(220,38,38,.05) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.why-card:hover::after { opacity: 1; }
.why-card:hover { box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(220,38,38,.08); }

/* Icon glow on card hover */
.why-icon { transition: background .3s, box-shadow .3s, transform .3s; }
.why-card:hover .why-icon {
  background: rgba(220,38,38,.2);
  box-shadow: 0 0 30px rgba(220,38,38,.22);
  transform: scale(1.08);
}

/* Ambient pulsing glow orb in inner-hero bottom-left */
.inner-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(220,38,38,.16) 0%, transparent 62%);
  pointer-events: none;
  animation: ambient-pulse 5s ease-in-out infinite;
}
@keyframes ambient-pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

/* Dot-grid + glow overlay for "Why REZ" black sections via optional class */
.sec-fx {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% -30%, #150001 0%, var(--black) 60%) !important;
  border-top: 1px solid rgba(220,38,38,.15);
}
.sec-fx::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(220,38,38,.18) 0%, transparent 55%),
    radial-gradient(rgba(255,255,255,.030) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
  pointer-events: none;
  z-index: -1;
}

/* Thin gold accent divider between sections */
.sec-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(220,38,38,.35) 20%, rgba(220,38,38,.6) 50%, rgba(220,38,38,.35) 80%, transparent 100%);
  margin: 0;
}
.sec-divider-gold {
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, var(--accent) 30%, var(--accent2) 50%, var(--accent) 70%, transparent 95%);
  opacity: .55;
}

/* Breathing glow on CTA band */
.svc-cta-band { position: relative; overflow: hidden; isolation: isolate; }
.svc-cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 12% 50%, rgba(220,38,38,.14) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 50%, rgba(220,38,38,.10) 0%, transparent 50%);
  animation: cta-breathe 7s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}
@keyframes cta-breathe {
  from { opacity: .35; }
  to   { opacity: 1; }
}

/* Include list item hover indent */
.include-list li {
  transition: color .2s, padding-left .22s, background .2s;
  border-radius: 3px;
}
.include-list li:hover {
  color: var(--white);
  padding-left: 8px;
  background: rgba(220,38,38,.04);
}

/* Ambient glow behind overview text column */
.overview-text { position: relative; }
.overview-text::before {
  content: '';
  position: absolute;
  top: -40px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(ellipse, rgba(220,38,38,.05) 0%, transparent 68%);
  pointer-events: none;
}

/* Subtle glow on why-grid section background */
.why-grid { position: relative; }
.why-grid::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at top, rgba(220,38,38,.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── SERVICE PAGE PHOTO STRIP ─── */
.svc-photo-strip {
  background: var(--dark);
  padding: 0 64px 80px;
}
.svc-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}
.svc-photo-single {
  max-width: 1200px;
  margin: 0 auto;
}
.svc-photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16/9;
  cursor: zoom-in;
}
.svc-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94), filter .4s;
}
.svc-photo:hover img { transform: scale(1.05); filter: brightness(.72); }
.svc-photo-cap {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; padding: 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 52%);
  opacity: 0; transition: opacity .32s;
}
.svc-photo:hover .svc-photo-cap { opacity: 1; }
.svc-photo-cap span {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--off);
}
.svc-photo-single .svc-photo { aspect-ratio: 21/9; }

/* ═══════════════════════════════════════════
   HAMBURGER BUTTON
═══════════════════════════════════════════ */
.ham-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
}
.ham-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .32s cubic-bezier(.25,.46,.45,.94), opacity .22s;
  transform-origin: center;
}
body.nav-open .ham-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .ham-btn span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .ham-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav          { padding: 18px 36px; }
  nav.scrolled { padding: 12px 36px; }
  .inner-hero  { padding: 140px 36px 72px; }
  .sec         { padding: 80px 36px; }
  .sec-sm      { padding: 60px 36px; }
  .svc-cta-band   { padding: 60px 36px; }
  .svc-photo-strip{ padding: 0 36px 72px; }
  footer          { padding: 60px 36px 28px; }
  .policy-body    { padding: 60px 36px; }
  .gallery-page   { padding: 72px 36px 88px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — HAMBURGER NAV (≤900px)
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Footer collapses to 2-column grid */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }

  /* Remove backdrop-filter from nav so position:fixed children (the overlay)
     are not trapped inside the nav bar's containing block */
  nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Show hamburger */
  .ham-btn { display: flex; }

  /* Lock body scroll when nav is open */
  body.nav-open { overflow: hidden; }

  /* Transform .nav-links into a full-screen slide-in overlay */
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8,8,8,.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 88px;
    gap: 0;
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.25,.46,.45,.94);
    z-index: 999;
    overflow-y: auto;
    pointer-events: none;
  }
  body.nav-open .nav-links {
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Nav list items */
  .nav-links > li { border-bottom: 1px solid var(--border); }
  .nav-links > li > a {
    font-size: 16px;
    padding: 20px 28px;
    justify-content: space-between;
    width: 100%;
    color: rgba(255,255,255,.85);
  }
  .nav-links > li:last-child { border-bottom: none; }

  /* CTA button positioned inside overlay */
  .nav-cta {
    display: flex !important;
    margin: 20px 28px 0 !important;
    border-radius: 3px !important;
    padding: 16px 20px !important;
    justify-content: center !important;
    width: calc(100% - 56px) !important;
  }

  /* Mobile Services dropdown → accordion */
  .dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(220,38,38,.05) !important;
    border: none !important;
    border-top: 1px solid var(--border) !important;
    border-radius: 0 !important;
    min-width: unset !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s ease !important;
    padding: 0 !important;
    pointer-events: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .has-dropdown.open .dropdown {
    max-height: 600px;
    pointer-events: auto !important;
  }
  .dropdown::before  { display: none !important; }
  .dd-item { padding: 13px 28px 13px 52px; font-size: 14px; }

  /* Chevron rotates when accordion is open */
  .has-dropdown.open .nav-chev { transform: rotate(180deg) !important; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — PHONE (≤640px)
═══════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Nav padding */
  nav          { padding: 15px 20px; }
  nav.scrolled { padding: 11px 20px; }
  .nav-logo    { height: 28px; }

  /* Hide decorative cursor on touch */
  #cur, #cur-ring { display: none; }
  body { cursor: auto; }

  /* Inner hero */
  .inner-hero { padding: 116px 20px 52px; min-height: 260px; }
  .inner-hero h1 { font-size: clamp(46px, 12vw, 68px); }
  .inner-hero p  { font-size: 15px; margin-top: 14px; }
  .inner-hero-btns { flex-direction: column; gap: 10px; margin-top: 24px; }
  .inner-hero-btns .btn-primary,
  .inner-hero-btns .btn-call { width: 100%; justify-content: center; }

  /* Sections */
  .sec    { padding: 60px 20px; }
  .sec-sm { padding: 44px 20px; }

  /* Section titles */
  .sec-title { font-size: clamp(34px, 10vw, 52px); }

  /* Overview 2-col → 1-col */
  .overview-grid { grid-template-columns: 1fr; gap: 44px; }

  /* Why REZ 3-col → 1-col */
  .why-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .why-card { padding: 26px 22px; }

  /* Service page photo strip */
  .svc-photo-strip  { padding: 0 20px 52px; }
  .svc-photo-pair   { grid-template-columns: 1fr; gap: 10px; }
  .svc-photo        { aspect-ratio: 4/3; }
  .svc-photo-single .svc-photo { aspect-ratio: 4/3; }

  /* CTA band → stack vertically */
  .svc-cta-band {
    padding: 52px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .svc-cta-band h2 { font-size: clamp(30px, 8vw, 44px); }
  .svc-cta-btns { flex-direction: column; width: 100%; }
  .svc-cta-btns .btn-primary,
  .svc-cta-btns .btn-call { width: 100%; justify-content: center; }

  /* Footer */
  footer { padding: 48px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-desc { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }

  /* Reviews 2-col → 1-col */
  .rev-grid { grid-template-columns: 1fr; }
  .rev-card { padding: 24px; }

  /* Gallery */
  .gal-grid   { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-page { padding: 60px 20px 80px; }

  /* Quote form */
  .form-row   { grid-template-columns: 1fr; }
  .svc-checks { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
  .form-actions .btn-primary { width: 100%; justify-content: center; }

  /* Marquee */
  .m-item     { font-size: 15px; padding: 0 18px; }
  .marquee-bar{ padding: 10px 0; }

  /* Privacy policy */
  .policy-body { padding: 48px 20px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — VERY SMALL (≤400px)
═══════════════════════════════════════════ */
@media (max-width: 400px) {
  nav { padding: 13px 16px; }
  .sec { padding: 52px 16px; }
  .inner-hero { padding: 108px 16px 48px; }
  .svc-cta-band { padding: 44px 16px; }
  footer { padding: 44px 16px 20px; }
  .gal-grid { grid-template-columns: 1fr; }
  .gallery-page { padding: 52px 16px 72px; }
}

/* ─── PRIVACY POLICY ─── */
.policy-body {
  max-width: 760px; margin: 0 auto;
  padding: 80px 64px;
}
.policy-body h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: .05em;
  color: var(--accent); margin: 40px 0 14px;
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { color: rgba(255,255,255,.65); line-height: 1.82; font-size: 15px; margin-bottom: 14px; }
.policy-body ul { list-style: none; margin: 12px 0 18px; }
.policy-body ul li {
  color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.7;
  padding: 8px 0 8px 24px; position: relative; border-bottom: 1px solid var(--border);
}
.policy-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.policy-date { font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-bottom: 40px; }
