/* ============================================================
   Golden Goose Construction — Design System v2
   Light / Editorial / Photo-Heavy / Reference-Matched
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #D4A824;
  --gold-light: #F5EAC8;
  --gold-dark: #B89020;
  --gold-bg: #FDF9F0;
  --navy: #0B1C26;
  --navy-light: #132A38;
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --gray-50: #F8F8F6;
  --gray-100: #F0F0EE;
  --gray-200: #E0E0DE;
  --gray-300: #C8C8C6;
  --gray-400: #8A8A88;
  --gray-500: #6A6A68;
  --gray-600: #4A4A48;
  --gray-700: #2A2A28;
  --gray-800: #1A1A18;
  --text: #1A1A18;
  --text-light: #4A4A48;
  --text-muted: #8A8A88;
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.15; color: var(--gray-800); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1rem; }

.section-label {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 560px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-dark { background: var(--gray-800); color: var(--white); border-color: var(--gray-800); }
.btn-dark:hover { background: var(--navy); border-color: var(--navy); }

.btn-outline { background: transparent; color: var(--gray-800); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--gray-800); background: var(--gray-50); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: var(--white); color: var(--gray-800); }

.btn-ghost { background: transparent; color: var(--gold); border: none; padding: 0; font-weight: 600; }
.btn-ghost:hover { color: var(--gold-dark); }
.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(3px); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* --- SVG Icons --- */
.icon-sm { width: 20px; height: 20px; }
.icon-md { width: 24px; height: 24px; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 1px 0 var(--gray-200); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gray-800);
  letter-spacing: -0.01em;
}
.nav-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo .logo-mark svg { width: 20px; height: 20px; fill: var(--white); }

.nav-links { display: none; gap: 2.25rem; align-items: center; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--gray-500);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gray-800); }
.nav-links .nav-earn {
  color: var(--gold-dark); font-weight: 700;
  background: rgba(212,168,36,0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  border: 1px solid rgba(212,168,36,0.2);
  transition: all var(--transition);
}
.nav-links .nav-earn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.nav-links .nav-earn::after { display: none; }

.nav-right { display: none; align-items: center; gap: 1.25rem; }
.nav-phone { font-size: 0.88rem; font-weight: 600; color: var(--gray-800); display: flex; align-items: center; gap: 0.35rem; }

.mobile-toggle {
  display: flex; flex-direction: column; gap: 5px; background: none; padding: 4px;
}
.mobile-toggle span { width: 22px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: all var(--transition); }

.mobile-menu {
  display: none;
  position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--white); padding: 1.5rem; z-index: 999;
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 1rem 0; font-size: 1.05rem; font-weight: 500;
  border-bottom: 1px solid var(--gray-100); color: var(--gray-800);
}
.mobile-menu .mobile-earn { color: var(--gold); font-weight: 700; }
.mobile-menu .btn { margin-top: 1.5rem; text-align: center; }

@media (min-width: 768px) {
  .mobile-toggle { display: none; }
  .nav-links { display: flex; }
  .nav-right { display: flex; }
}

/* --- Hero --- */
.hero {
  padding: 140px 0 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 { margin-bottom: 1.25rem; }
.hero-text h1 .accent { color: var(--gold); }
.hero-text .hero-sub {
  font-size: 1.1rem; color: var(--text-light); line-height: 1.7;
  max-width: 480px; margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }

.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 0.75rem;
  align-items: end;
}
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 3/4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo:nth-child(2) { aspect-ratio: 4/5; }

.hero-scroll-hint {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  margin: 3rem auto 0;
  color: var(--gray-400);
  animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (min-width: 768px) {
  .hero { padding: 160px 0 100px; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* --- Affiliate Banner (inline, persistent) --- */
.affiliate-strip {
  background: var(--gray-800);
  padding: 0.9rem 0;
}
.affiliate-strip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; flex-wrap: wrap; text-align: center;
}
.affiliate-strip-inner p {
  font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.7);
}
.affiliate-strip-inner a {
  font-size: 0.85rem; font-weight: 700; color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(212,168,36,0.12);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(212,168,36,0.25);
  transition: all var(--transition);
}
.affiliate-strip-inner a:hover { background: var(--gold); color: var(--gray-800); }

/* --- Services --- */
.services { padding: 5rem 0; }
.services-header { margin-bottom: 3rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  padding: 2rem;
  border-bottom: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  transition: background var(--transition);
  position: relative;
}
.service-card:hover { background: var(--gray-50); }

.service-card .service-icon {
  width: 44px; height: 44px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.service-card .service-icon svg { width: 100%; height: 100%; }

.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; margin-bottom: 1rem; }

.service-link {
  font-size: 0.85rem; font-weight: 600; color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.service-link:hover { color: var(--gold-dark); }

@media (max-width: 639px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; }
}
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

/* --- About / Trust --- */
.about { padding: 5rem 0; }

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4/3;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-content .section-label { margin-bottom: 0.75rem; }
.about-content h2 { margin-bottom: 1.25rem; }
.about-content .lead {
  font-size: 1.05rem; font-weight: 500; color: var(--text);
  line-height: 1.7; margin-bottom: 1.25rem;
}
.about-content p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.7; }

.about-features { margin-top: 1.5rem; }
.about-features li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--gray-100);
}
.about-features li .check-icon {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--gold);
}

.about-cta { margin-top: 2rem; }

@media (min-width: 768px) {
  .about-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* --- Photo Divider --- */
.photo-divider {
  height: 360px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.photo-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,28,38,0.7), rgba(11,28,38,0.3));
}
.photo-divider-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}
.photo-divider-content .container { width: 100%; max-width: 1200px; margin: 0 auto; }
.photo-divider-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.pd-stat .pd-number {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.pd-stat .pd-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}
@media (min-width: 768px) { .photo-divider-stats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .photo-divider { background-attachment: scroll; height: 300px; } }

/* --- Recent Works / Gallery --- */
.works { padding: 5rem 0; background: var(--off-white); }
.works-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 16/10;
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.work-card:hover img { transform: scale(1.03); }

.work-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 2rem 1.5rem 1.5rem;
  color: var(--white);
}
.work-card-overlay h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.25rem; }
.work-card-overlay p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; }
.work-card-overlay .view-link {
  font-size: 0.82rem; font-weight: 600; color: var(--gold-light);
  display: inline-flex; align-items: center; gap: 0.3rem;
}

@media (min-width: 768px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }

/* --- Process --- */
.process { padding: 5rem 0; }
.process-steps {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  margin-top: 2.5rem;
}
.step { text-align: center; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: var(--gray-800);
  margin: 0 auto 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--text-light); max-width: 260px; margin: 0 auto; line-height: 1.6; }

@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(3, 1fr); } }

/* --- Testimonials --- */
.testimonials { padding: 5rem 0; background: var(--off-white); }
.testimonials-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; line-height: 1.7; color: var(--text); margin-bottom: 1.25rem; }
.testimonial-author { font-weight: 700; font-size: 0.88rem; color: var(--gray-800); }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

/* --- FAQ --- */
.faq { padding: 5rem 0; }
.faq-list { margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; background: none; display: flex; justify-content: space-between;
  align-items: center; padding: 1.25rem 0; font-size: 0.95rem; font-weight: 600;
  text-align: left; color: var(--gray-800); gap: 1rem;
}
.faq-question .arrow {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 2px solid var(--gray-300); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--gray-400); transition: all var(--transition);
}
.faq-item.open .faq-question .arrow { background: var(--gold); border-color: var(--gold); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding-bottom: 1.25rem; font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* --- Contact --- */
.contact { padding: 5rem 0; background: var(--gray-800); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .section-subtitle { color: rgba(255,255,255,0.5); }

.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; margin-top: 2.5rem;
}

.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ci-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(212,168,36,0.1); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold);
}
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item h4 { color: var(--white); font-size: 0.88rem; margin-bottom: 0.1rem; }
.contact-item p { color: rgba(255,255,255,0.5); font-size: 0.88rem; }

.contact-form {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.35rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-family: inherit; font-size: 0.92rem;
  color: var(--text); transition: border-color var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,36,0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-consent { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 1.25rem; }
.form-consent input[type="checkbox"] { margin-top: 0.25rem; accent-color: var(--gold); }
.form-consent label { font-size: 0.78rem; color: var(--gray-500); }

@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* --- Affiliate CTA Block --- */
.earn-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--navy) 100%);
  text-align: center;
  color: var(--white);
}
.earn-cta h2 { color: var(--white); margin-bottom: 0.5rem; }
.earn-cta .section-label { color: var(--gold); }
.earn-cta .lead { font-size: 1.05rem; color: rgba(255,255,255,0.6); max-width: 540px; margin: 0 auto 1.5rem; line-height: 1.7; }

.earn-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.earn-num .amount { font-size: 2rem; font-weight: 800; color: var(--gold); }
.earn-num .desc { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 0.15rem; }

/* --- Footer --- */
.footer { background: var(--gray-800); color: rgba(255,255,255,0.5); padding: 4rem 0 2rem; }

.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 300px; }
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .nav-logo .logo-mark { background: var(--gold); }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }

.footer-col h4 { color: var(--white); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col a { display: block; padding: 0.3rem 0; font-size: 0.85rem; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem; font-size: 0.78rem;
}
.footer-legal a { color: rgba(255,255,255,0.3); margin-left: 1.5rem; }
.footer-legal a:hover { color: var(--gold); }

@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* --- Floating Earn Banner --- */
.floating-earn {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 998;
  background: var(--gray-800);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  border: 1px solid rgba(212,168,36,0.3);
}
.floating-earn .earn-badge {
  background: var(--gold);
  color: var(--gray-800);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
}
.floating-earn.visible { opacity: 1; transform: translateY(0); pointer-events: auto; animation: floatPulse 3s ease 1s 1; }
.floating-earn:hover { background: var(--gold); color: var(--gray-800); border-color: var(--gold); }
.floating-earn:hover .earn-badge { background: var(--gray-800); color: var(--gold); }
.floating-earn .close-float {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; cursor: pointer; margin-left: 0.25rem;
  transition: background var(--transition);
}
.floating-earn .close-float:hover { background: rgba(255,255,255,0.25); }

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-4px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(-2px); }
}

/* --- Sticky Mobile CTA --- */
.mobile-cta {
  display: flex;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--white);
  padding: 0.6rem 0.75rem;
  gap: 0.6rem;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}
.mobile-cta a {
  flex: 1; text-align: center; padding: 0.7rem; border-radius: 50px;
  font-weight: 700; font-size: 0.82rem;
}
.mobile-cta .mc-call { background: var(--gray-800); color: var(--white); }
.mobile-cta .mc-quote { background: var(--gold); color: var(--white); }
.mobile-cta .mc-earn { background: var(--gold); color: var(--white); }

@media (min-width: 768px) {
  .mobile-cta { display: none; }
}
@media (max-width: 767px) {
  .footer { padding-bottom: 5rem; }
  .floating-earn { bottom: 5rem; }
}

/* --- Quote Landing Page --- */
.quote-hero {
  padding: 140px 0 60px;
  background: var(--white);
  text-align: center;
}
.quote-hero-content { max-width: 680px; margin: 0 auto; }
.quote-hero h1 { margin-bottom: 1rem; }
.quote-hero h1 .accent { color: var(--gold); }
.quote-hero .hero-sub {
  font-size: 1.1rem; color: var(--text-light); max-width: 560px;
  margin: 0 auto 2rem; line-height: 1.7;
}
.quote-trust-row {
  display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap;
}
.qt-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600; color: var(--text-light);
}
.qt-badge svg { color: var(--gold); }

/* Roofle Widget Container */
.roofle-section { padding: 0 0 4rem; }
.roofle-container {
  min-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.roofle-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; color: var(--text-muted); font-size: 0.9rem;
  background: var(--gray-50); border-radius: var(--radius-lg);
  z-index: 0;
}
.roofle-spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid var(--gray-200); border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Quote form section */
.quote-form-section { padding: 4rem 0; background: var(--off-white); }
.quote-contact-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm); max-width: 700px; margin: 0 auto;
}

/* Quote social proof */
.quote-proof { padding: 4rem 0; background: var(--white); }

/* --- Earn Page --- */
.earn-hero {
  padding: 140px 0 60px;
  background: var(--white);
  text-align: center;
}
.earn-hero h1 { margin-bottom: 1rem; }
.earn-hero h1 .accent { color: var(--gold); }
.earn-hero .hero-sub { font-size: 1.1rem; color: var(--text-light); max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }

.earn-section { padding: 4.5rem 0; }
.earn-section.alt { background: var(--off-white); }

.earn-steps {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem;
}
.earn-step {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
}
.earn-step .num {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold);
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.earn-step h3 { margin-bottom: 0.5rem; }
.earn-step p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

@media (min-width: 768px) { .earn-steps { grid-template-columns: repeat(4, 1fr); } }

/* --- Earnings Calculator --- */
.calculator {
  background: var(--gray-800); border-radius: var(--radius-xl);
  padding: 3rem 2rem; text-align: center; margin-top: 2.5rem;
}
.calculator h3 { color: var(--white); margin-bottom: 0.25rem; }
.calculator .calc-sub { color: rgba(255,255,255,0.5); font-size: 0.88rem; margin-bottom: 2rem; }

.calc-slider-wrap { max-width: 400px; margin: 0 auto 2rem; }
.calc-slider-label { display: flex; justify-content: space-between; color: rgba(255,255,255,0.5); font-size: 0.8rem; margin-bottom: 0.5rem; }
.calc-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 3px; background: rgba(255,255,255,0.15);
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); cursor: pointer;
  border: 3px solid var(--white);
}

.calc-result {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.calc-result .label { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.calc-payout { font-size: 3rem; font-weight: 800; color: var(--gold); line-height: 1; }
.calc-contract { color: rgba(255,255,255,0.3); font-size: 0.85rem; }

.calc-examples {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.calc-ex .calc-ex-amount { font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.calc-ex .calc-ex-desc { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 0.1rem; }

/* --- Kit Section --- */
.kit-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem;
}
.kit-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 2rem;
}
.kit-card .kit-icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 1rem; }
.kit-card .kit-icon svg { width: 100%; height: 100%; }
.kit-card h3 { margin-bottom: 0.5rem; }
.kit-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

@media (min-width: 768px) { .kit-grid { grid-template-columns: repeat(3, 1fr); } }

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* --- Animations --- */
.animate-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* Body padding for mobile CTA */
@media (max-width: 767px) { body { padding-bottom: 60px; } }

/* --- Admin Panel --- */
.admin-gate {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem; background: var(--gray-50);
}
.gate-card {
  background: var(--white); border-radius: var(--radius-xl); padding: 2.5rem 2rem;
  max-width: 400px; width: 100%; box-shadow: var(--shadow-lg); text-align: center;
}
.gate-card .logo-top {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 800; font-size: 0.95rem; color: var(--gray-800); margin-bottom: 2rem;
}
.gate-error { color: #c0392b; font-size: 0.85rem; margin-top: 1rem; }

.admin-topbar {
  background: var(--gray-800); padding: 0.75rem 0;
  position: sticky; top: 0; z-index: 100;
}
.admin-topbar .nav-logo span:not(.logo-mark) { color: var(--white); }

.admin-tabs {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  padding: 0; position: sticky; top: 52px; z-index: 99;
}
.admin-tabs .container { display: flex; gap: 0; }
.admin-tab {
  padding: 1rem 1.5rem; font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted); background: none; border: none;
  border-bottom: 2px solid transparent; transition: all var(--transition);
}
.admin-tab:hover { color: var(--text); }
.admin-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.admin-content { padding: 2rem 0 4rem; }

.admin-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.admin-section-header h2 { margin: 0; font-size: 1.35rem; }

.admin-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem;
}
.admin-card h2 { margin-bottom: 0.25rem; }
.admin-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.admin-notice {
  background: #FEF9E7; border-bottom: 1px solid #F0E68C;
  padding: 0.75rem 1.5rem; font-size: 0.85rem; color: var(--gray-700);
}
.admin-notice code { background: rgba(0,0,0,0.05); padding: 0.15rem 0.4rem; border-radius: 3px; font-size: 0.82rem; }

/* Admin tables */
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%; border-collapse: collapse; font-size: 0.88rem;
}
.admin-table th {
  text-align: left; padding: 0.75rem 1rem;
  font-weight: 600; color: var(--text-muted); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
}
.admin-table td {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.admin-table code { background: var(--gray-50); padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.82rem; }
.table-empty { text-align: center; color: var(--text-muted); padding: 2rem 1rem !important; }
.table-actions { display: flex; gap: 0.5rem; white-space: nowrap; }

.status-badge {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; text-transform: capitalize;
}
.status-active { background: #E8F5E9; color: #2E7D32; }
.status-inactive { background: var(--gray-100); color: var(--text-muted); }
.status-new { background: #E3F2FD; color: #1565C0; }
.status-contacted { background: #FFF3E0; color: #E65100; }
.status-quoted { background: #F3E5F5; color: #7B1FA2; }
.status-closed-won { background: #E8F5E9; color: #2E7D32; }
.status-closed-lost { background: #FFEBEE; color: #C62828; }

.filter-select {
  padding: 0.5rem 1rem; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-family: inherit; font-size: 0.85rem;
  background: var(--white); color: var(--text);
}

/* QR Preview Grid */
.qr-preview-card { margin-top: 2rem; }
.qr-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
@media (min-width: 768px) { .qr-grid { grid-template-columns: repeat(4, 1fr); } }

.qr-card-item {
  text-align: center; background: var(--gray-50);
  border-radius: var(--radius-lg); padding: 1.5rem 1rem;
}
.qr-code-display { margin-bottom: 0.75rem; }
.qr-code-display svg { width: 100%; max-width: 160px; height: auto; margin: 0 auto; display: block; }
.qr-card-item h4 { font-size: 0.88rem; margin-bottom: 0.25rem; text-transform: capitalize; }
.qr-card-item .qr-url {
  font-size: 0.65rem; color: var(--text-muted);
  word-break: break-all; margin-bottom: 0.75rem; line-height: 1.4;
}
.qr-actions { display: flex; gap: 0.35rem; justify-content: center; flex-wrap: wrap; }
.qr-actions .btn { font-size: 0.75rem; padding: 0.35rem 0.75rem; }

/* Admin Modal */
.admin-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.admin-modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
}
.admin-modal-content {
  position: relative; background: var(--white); border-radius: var(--radius-xl);
  padding: 2.5rem; max-width: 600px; width: 90%; max-height: 80vh;
  overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; font-size: 1.5rem; color: var(--text-muted);
  width: 32px; height: 32px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%;
}
.modal-close:hover { background: var(--gray-100); }

/* Roofle z-index fix for mobile */
@media (max-width: 767px) {
  .roofle-container { z-index: 1; }
}
