/* =============================================
   NAV
============================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,246,240,0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.10);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-bottom-color: rgba(201,168,76,0.18);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
.nav-logo::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  margin-right: 10px;
  vertical-align: middle;
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--fg);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 6px;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.nav-links a.nav-active { color: var(--navy); font-weight: 600; }
.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.nav-links a.nav-phone.nav-active { color: #ffffff; }
.nav-links a.nav-phone.nav-active::after { display: none; }
.nav-links a.nav-phone {
  font-size: 1.05rem; font-weight: 700;
  padding: 14px 32px;
  background: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: 100px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(30,58,95,0.25);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.nav-links a.nav-phone:hover {
  background: var(--navy-light);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(30,58,95,0.35);
  transform: translateY(-1px);
}
.nav-links a.nav-phone:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; padding: 4px 0; background: none; border: none; cursor: pointer;
}
.nav-burger span {
  display: block; height: 2px; background: var(--fg); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile overlay menu */
.nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: var(--dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: #fff;
  padding: 12px 24px;
  transition: color 0.2s;
}
.nav-overlay a:hover { color: var(--gold-light); }
.nav-overlay .overlay-phone {
  margin-top: 24px;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-light);
  border: 1.5px solid rgba(212,191,122,0.5);
  border-radius: 100px;
  padding: 14px 32px;
}
.nav-overlay-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; cursor: pointer;
  color: var(--dark-muted); font-size: 2rem; line-height: 1;
}

/* =============================================
   BUTTONS
============================================= */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--navy); color: #fff;
  font-size: 0.9rem; font-weight: 600;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(30,58,95,0.25); }
.btn-primary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--fg);
  font-size: 0.9rem; font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.7);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.65);
  border-color: rgba(30,58,95,0.25);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,0.8);
  transform: translateY(-2px);
}
.btn-ghost:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px;
  border: 1.5px solid rgba(255,255,255,0.5); color: #fff;
  font-size: 0.9rem; font-weight: 600;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost-white:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.15); }
.btn-ghost-white:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* =============================================
   SERVICES — 2x2 Overlay Card Grid
============================================= */
.services-section {
  padding: 80px 0 72px;
  background: var(--warm-cream);
}

.svc-overlay-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr auto;
  gap: 16px;
}

/* Overlay card — photo with gradient text area */
.svc-overlay-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

/* Hero card — large, spans 2 rows */
.svc-overlay-card:first-child {
  grid-row: 1 / 3;
  height: 100%;
  min-height: 500px;
}

/* Full-width horizontal card */
.svc-overlay-card:last-child {
  grid-column: 1 / -1;
  height: 260px;
}

.svc-overlay-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

/* Dark gradient overlay */
.svc-overlay-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(10,5,0,0.75));
  transition: background 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.svc-overlay-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.svc-overlay-card:hover::after {
  background: linear-gradient(transparent 20%, rgba(10,5,0,0.65));
}

/* Text content sitting above overlay */
.svc-overlay-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px;
  z-index: 2;
  color: #fff;
}

/* Badge at top of card */
.svc-overlay-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-block;
  padding: 4px 13px;
  background: var(--gold);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.svc-overlay-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 8px;
  color: #fff;
}

.svc-overlay-body p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  margin-bottom: 14px;
}

.svc-overlay-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.svc-overlay-card:hover .svc-overlay-link {
  color: #fff;
}

/* Stretched link — make entire service card clickable */
a.svc-overlay-link {
  text-decoration: none;
}
a.svc-overlay-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* =============================================
   PROCESS — "Four Steps" Typographic
============================================= */
.process-section {
  background: var(--surface);
  padding: 88px 0 96px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
  max-width: 960px;
  margin: 0 auto;
}
.process-grid::before { display: none; }

.process-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 20px;
  text-align: left;
  padding: 0 0 48px 0;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  position: relative;
}
.process-card::before { display: none; }
.process-card:nth-child(3),
.process-card:nth-child(4) {
  border-bottom: none;
  padding-bottom: 0;
}
.process-card:hover {
  background: none;
  transform: none;
  box-shadow: none;
}

.process-card-icon {
  grid-row: 1 / 3;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background: none;
  margin: 0;
  padding-top: 2px;
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--gold);
  line-height: 1;
  align-self: start;
  transition: color 0.3s;
  display: block;
}
.process-card:hover .process-card-icon {
  color: var(--navy);
  transform: none;
}
.process-card-icon svg { display: none; }
.process-card-number { display: none; }

.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--fg);
  align-self: end;
}
.process-card p {
  grid-column: 2;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: none;
  margin: 0;
}

/* =============================================
   TESTIMONIAL — Dark + Background Image
============================================= */
.testimonial-section {
  position: relative;
  padding: 100px 0;
  background: url('../images/chrome/door-04.png') center/cover no-repeat;
  overflow: hidden;
}
.testimonial-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(24,48,82,0.82) 40%, rgba(36,28,22,0.74));
}
.testimonial-inner {
  position: relative; z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}
.testimonial-slide {
  display: none;
  animation: testimonialFade 0.6s ease;
}
.testimonial-slide.active {
  display: block;
}
@keyframes testimonialFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}
.testimonial-dot:hover {
  background: rgba(255,255,255,0.5);
}
.testimonial-dot.active:hover {
  background: var(--gold);
}
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.55;
  line-height: 0.6;
  margin-bottom: 32px;
  display: block;
  user-select: none;
}
.testimonial-stars {
  font-size: 1.2rem; color: #facc15;
  letter-spacing: 5px;
  margin-bottom: 28px;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 32px;
  font-style: italic;
}
.testimonial-author {
  font-size: 0.9rem;
  color: var(--dark-muted);
}
.testimonial-author::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
  opacity: 0.6;
}
.testimonial-author strong {
  color: #fff; font-weight: 600;
}

/* =============================================
   CTA — Full Bleed Dark + Request Form
============================================= */
.cta-section {
  background: var(--dark) url('../images/gold/door-03.png') center/cover no-repeat fixed;
  padding: 88px 40px 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    rgba(10,10,10,0.80),
    radial-gradient(ellipse at 50% 50%, rgba(30,58,95,0.18) 0%, transparent 65%),
    radial-gradient(ellipse at 50% 80%, rgba(201,168,76,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}
.cta-section p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* Request form */
.request-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.request-form-row {
  display: flex;
  gap: 12px;
}
.request-form input {
  flex: 1;
  min-width: 0;
  padding: 15px 24px;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 100px;
  color: var(--fg);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  outline: none;
}
.request-form input::placeholder {
  color: rgba(80,80,80,0.55);
}
.request-form input:focus {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30,58,95,0.12);
}
.request-form-submit {
  padding: 16px 32px;
  background: var(--navy);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
  letter-spacing: 0.02em;
}
.request-form-submit:hover {
  background: var(--navy-light);
  box-shadow: 0 6px 24px rgba(30,58,95,0.35);
  transform: translateY(-2px);
}
.request-form-submit:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.request-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.cta-phone-alt {
  margin-top: 28px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
}
.cta-phone-alt a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.cta-phone-alt a:hover {
  color: #fff;
}

/* Form success state */
.request-form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.request-form-success.visible {
  display: block;
  animation: formFadeIn 0.5s ease;
}
@keyframes formFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.request-form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.request-form-success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.request-form-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 10px;
}
.request-form-success p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: var(--surface);
  border-top: none;
  padding: 64px 0 36px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--navy), var(--gold), var(--navy));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 400;
  margin-bottom: 14px;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand-name::before {
  content: '';
  display: inline-block;
  width: 18px; height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 2px;
  flex-shrink: 0;
}
.footer-brand p {
  font-size: 0.875rem; color: var(--muted); line-height: 1.65;
}
.footer-col h4 {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: 0.875rem; color: var(--muted); transition: color 0.2s;
}
.footer-col a:hover { color: var(--fg); }
.footer-contact-line {
  margin-bottom: 10px; font-size: 0.875rem; color: var(--muted);
}
.footer-contact-line a { color: var(--muted); transition: color 0.2s; }
.footer-contact-line a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--fg); }

/* =============================================
   MOBILE BAR
============================================= */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  padding: 12px 16px;
  background: rgba(250,246,240,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  gap: 10px;
}
.mobile-bar a {
  text-align: center; padding: 14px;
  font-size: 0.875rem; font-weight: 600;
  border-radius: 100px;
}
.mb-call { flex: 0 0 auto; padding: 14px 20px; border: 1.5px solid var(--fg); color: var(--fg); }
.mb-quote { flex: 1; background: var(--navy); color: #fff; }

/* =============================================
   SCROLL TO TOP
============================================= */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 12px rgba(30,58,95,0.3);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
.scroll-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--navy-light);
  box-shadow: 0 4px 18px rgba(30,58,95,0.4);
}
.scroll-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
