/* ============================================
   M. M. Martins Flooring LLC — Global Styles v2
   Premium Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E0C070;
  --gold-dark: #A8872E;
  --gold-glow: rgba(201,168,76,0.35);
  --dark: #111111;
  --dark-2: #1A1A1A;
  --dark-3: #252525;
  --dark-4: #2E2E2E;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --beige: #F7F2EA;
  --beige-2: #EDE8DC;
  --white: #FFFFFF;
  --text-dark: #0D0D0D;
  --text-body: #374151;
  --border: #E5E0D4;
  --border-subtle: rgba(201,168,76,0.15);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.16);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.22);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.28);
  --radius: 10px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.5s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.22;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.1rem; }
p { line-height: 1.78; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  box-shadow: 0 4px 16px var(--gold-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px var(--gold-glow);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-dark {
  background: var(--dark-2);
  color: var(--white);
  border-color: rgba(255,255,255,0.12);
}
.btn-dark:hover {
  background: var(--dark-3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.btn-lg { padding: 1.1rem 2.6rem; font-size: 1.02rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

/* ---- HEADER / NAV ---- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(17,17,17,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
#site-header.scrolled {
  background: rgba(17,17,17,0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.45);
  border-bottom-color: rgba(201,168,76,0.25);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.logo-wrap img { height: 48px; width: auto; }
.logo-text { line-height: 1.2; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.logo-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  opacity: 0.9;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { left: 0.95rem; right: 0.95rem; }
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.35rem !important;
  box-shadow: 0 4px 16px var(--gold-glow);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%) !important;
  box-shadow: 0 8px 28px var(--gold-glow) !important;
  transform: translateY(-2px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- SECTIONS ---- */
.section { padding: 5.5rem 0; }
.section-beige { background: var(--beige); }
.section-dark { background: var(--dark-2); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.75rem; }
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 1.75rem; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p {
  color: var(--gray);
  max-width: 580px;
  margin: 0.85rem auto 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-subtle);
}
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.6rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { color: var(--gray); font-size: 0.93rem; }

/* ---- GRID ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 8.5rem 0 4.5rem;
  background: linear-gradient(135deg, var(--dark) 0%, #1a1208 60%, #2a1e06 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg') center/cover;
  opacity: 0.08;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 560px; line-height: 1.8; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.82rem;
  color: var(--gold);
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---- FLOATING CONTACT BUTTON ---- */
#float-contact {
  position: fixed;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
#float-contact.hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.35rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.float-phone {
  background: var(--dark-2);
  color: var(--white);
  border: 2px solid var(--gold);
}
.float-phone:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateX(-5px) scale(1.04);
  box-shadow: 0 10px 36px var(--gold-glow);
}
.float-email {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
}
.float-email:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateX(-5px) scale(1.04);
  box-shadow: 0 10px 36px var(--gold-glow);
}

/* ---- FOOTER ---- */
/* Pre-footer CTA strip */
.footer-cta-strip {
  background: linear-gradient(135deg, #0d0b04 0%, #1c1508 50%, #221a08 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.footer-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,.1) 0%, transparent 65%);
}
.footer-cta-strip::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}
.footer-cta-text h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  color: var(--white);
  margin-bottom: 0.4rem;
}
.footer-cta-text p { color: rgba(255,255,255,.55); font-size: 0.95rem; }
.footer-cta-actions { display: flex; gap: 0.85rem; flex-shrink: 0; flex-wrap: wrap; }

.section-brand-card { background: #080808; padding: 3rem 0; text-align: center; border-top: 1px solid rgba(201,168,76,0.1); }
.brand-card-img { max-width: 900px; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); border: 1px solid rgba(201,168,76,0.15); transition: var(--transition); }
.brand-card-img:hover { transform: scale(1.01); border-color: var(--gold); }

/* Main footer */

#site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.6);
  padding: 4.5rem 0 0;
  position: relative;
}
#site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(201,168,76,0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Brand column */
.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.8;
  max-width: 265px;
  color: rgba(255,255,255,0.48);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.footer-rating {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius);
  width: fit-content;
}
.footer-rating .stars { font-size: 0.9rem; letter-spacing: 1px; }
.footer-rating-info { line-height: 1.3; }
.footer-rating-score { font-size: 0.9rem; font-weight: 700; color: var(--white); }
.footer-rating-count { font-size: 0.72rem; color: rgba(255,255,255,0.45); }
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-social-link {
  width: 38px;
  height: 38px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
}
.footer-social-link:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--gold-glow);
}
.footer-social-link svg { width: 18px; height: 18px; fill: currentColor; }


/* Nav columns */
.footer-col h4 {
  color: rgba(255,255,255,0.9);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.48);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.footer-col ul li a::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
  opacity: 0;
  width: 0;
  transition: var(--transition);
  overflow: hidden;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }
.footer-col ul li a:hover::before { opacity: 1; width: 14px; }

/* Contact column */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.footer-contact-item:hover .footer-contact-icon {
  background: rgba(201,168,76,0.2);
  border-color: rgba(201,168,76,0.4);
}
.footer-contact-body { line-height: 1.4; }
.footer-contact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 0.15rem;
}
.footer-contact-value {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  transition: var(--transition);
}
.footer-contact-value:hover { color: var(--gold); }
.footer-contact-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  display: block;
  margin-top: 0.1rem;
}

/* Trust badges */
.footer-trust-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  justify-content: center;
}
.footer-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  transition: var(--transition);
}
.footer-trust-badge:hover {
  border-color: rgba(201,168,76,0.25);
  color: rgba(255,255,255,0.8);
}
.footer-trust-badge .badge-icon { font-size: 0.95rem; }

/* Bottom bar */
.footer-bottom {
  padding: 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}
.footer-bottom a { color: rgba(201,168,76,0.6); transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 1.25rem; }

/* ---- FORMS ---- */
.form-group { margin-bottom: 1.35rem; }
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}
.form-control {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.12);
  background: #fefcf6;
}
.form-control::placeholder { color: #b0aaa0; }
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control { cursor: pointer; }

/* ---- STATS BAR ---- */
.stats-bar {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1208 100%);
  padding: 3rem 0;
  border-top: 2px solid rgba(201,168,76,0.2);
  border-bottom: 2px solid rgba(201,168,76,0.2);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  position: relative;
}
.stat-item {
  color: var(--white);
  padding: 0.5rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: rgba(201,168,76,0.2);
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.55); letter-spacing: 0.03em; }

/* ---- STARS ---- */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }

/* ---- UTILITIES ---- */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }

.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  margin: 1.1rem auto 0;
}
.divider-left { margin: 1.1rem 0 0; }

/* Gold line accent */
.gold-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 0.75rem;
}

/* ---- BADGE ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.badge-gold {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 var(--gold-glow); }
  50% { box-shadow: 0 0 0 10px rgba(201,168,76,0); }
}

.animate-fade-up { animation: fadeInUp 0.7s cubic-bezier(0.4,0,0.2,1) forwards; }
.animate-fade { animation: fadeIn 0.6s ease forwards; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

/* ---- SCROLL REVEAL ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  will-change: opacity, transform;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Staggered children */
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
[data-reveal-group].revealed > *:nth-child(1) { opacity:1; transform:none; transition-delay: 0.05s; }
[data-reveal-group].revealed > *:nth-child(2) { opacity:1; transform:none; transition-delay: 0.15s; }
[data-reveal-group].revealed > *:nth-child(3) { opacity:1; transform:none; transition-delay: 0.25s; }
[data-reveal-group].revealed > *:nth-child(4) { opacity:1; transform:none; transition-delay: 0.35s; }
[data-reveal-group].revealed > *:nth-child(5) { opacity:1; transform:none; transition-delay: 0.45s; }
[data-reveal-group].revealed > *:nth-child(6) { opacity:1; transform:none; transition-delay: 0.55s; }

/* ---- GLASS CARD ---- */
.glass-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}

/* ---- HIGHLIGHT TEXT ---- */
.text-highlight {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal], [data-reveal-group] > * { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta-inner { flex-direction: column; text-align: center; }
  .footer-cta-actions { justify-content: center; }
}
@media (max-width: 768px) {
  .section { padding: 3.75rem 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }
  .nav-links { display: none; flex-direction: column; gap: 0.2rem; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(17,17,17,0.98);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem 1.75rem;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open a { padding: 0.8rem 1rem; width: 100%; border-radius: 8px; }
  .nav-links.open a::after { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .footer-trust-badges { gap: 0.5rem; }
  .footer-trust-badge { font-size: 0.75rem; padding: 0.55rem 0.85rem; }
  .float-btn span.label { display: none; }
  .float-btn { padding: 0.9rem; border-radius: 50%; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
  #float-contact { bottom: 1.5rem; right: 1rem; }
}

/* ---- POPUP CARD ---- */
.popup-card {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1001;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.5rem;
  transform: translateY(120%);
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.6s ease;
  opacity: 0;
}
.popup-card.active {
  transform: translateY(0);
  opacity: 1;
}
.popup-card img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
}
.popup-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 32px;
  height: 32px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 10;
}
.popup-close:hover {
  background: var(--gold);
  color: var(--dark);
  transform: scale(1.1);
}

@media(max-width: 768px) {
  .popup-card {
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
    width: auto;
  }
}

