/* ============================================================
   MZ Screed Cape Flooring — style.css
   ============================================================ */

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

/* ── Custom Properties ───────────────────────────────────── */
:root {
  --bg:          #F5F0E8;
  --bg-2:        #EDE7D9;
  --bg-3:        #E5DDCB;
  --bg-dark:     #2A2520;
  --bg-dark-2:   #221E1A;
  --gold:        #A08020;
  --gold-light:  #C8A030;
  --gold-muted:  #C8A96E;
  --brown:       #C47A3A;
  --olive:       #7A7020;
  --charcoal:    #3D3A35;
  --text:        #4A4540;
  --text-muted:  #8A8278;
  --text-light:  #BDB5A6;
  --white:       #F9F5EE;
  --shadow:      rgba(160,128,32,0.12);
  --shadow-md:   rgba(58,48,30,0.18);
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  cubic-bezier(0.34,1.4,0.64,1);
  --max-w:       1200px;
}

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

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

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── Utility ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.eyebrow::before { content: '— '; }
.eyebrow::after  { content: ' —'; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.light { color: var(--white); }

.gold-rule {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 20px 0 28px;
}

.gold-rule.center { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.25s var(--transition), box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
}

.btn-gold:hover { background: linear-gradient(135deg, var(--gold-light), var(--brown)); }

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ── Reveal Animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-left  { transform: translateX(-32px); }
.reveal.reveal-right { transform: translateX(32px); }
.reveal.active {
  opacity: 1;
  transform: translate(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

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

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

@keyframes jiggle {
  0%, 96%, 100%  { transform: rotate(0deg) scale(1); }
  97%            { transform: rotate(-8deg) scale(1.1); }
  98%            { transform: rotate(8deg) scale(1.1); }
  99%            { transform: rotate(-4deg) scale(1.05); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ── Top Bar ─────────────────────────────────────────────── */
#topbar {
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.8rem;
  padding: 8px 0;
  display: none;
}

@media (min-width: 768px) { #topbar { display: block; } }

#topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-contact { display: flex; gap: 20px; align-items: center; }

.topbar-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  transition: color 0.2s;
}

.topbar-contact a:hover { color: var(--gold-light); }

.topbar-social { display: flex; gap: 14px; align-items: center; }

.topbar-social a {
  color: var(--text-light);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.topbar-social a:hover { color: var(--gold-light); }

/* ── Navigation ──────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(160,128,32,0.15);
  transition: box-shadow 0.3s;
}

#nav.scrolled {
  box-shadow: 0 4px 24px var(--shadow-md);
}

#nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo .logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
}

.nav-logo .logo-text .tagline {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 960px) { .nav-links { display: flex; } }

.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-quote-btn {
  display: none;
}

@media (min-width: 640px) { .nav-quote-btn { display: inline-flex; } }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

@media (min-width: 960px) { .hamburger { display: none; } }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: var(--bg);
  z-index: 850;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

#mobile-menu.open { display: flex; }

#mobile-menu a {
  padding: 16px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  border-bottom: 1px solid var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#mobile-menu a:hover { color: var(--gold); }

.mobile-menu-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Hero ────────────────────────────────────────────────── */
#home {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(42,37,32,0.72) 0%, rgba(42,37,32,0.55) 50%, rgba(160,128,32,0.25) 100%),
    linear-gradient(to bottom, rgba(42,37,32,0.4), rgba(42,37,32,0.65));
  background-color: var(--bg-dark);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  animation: heroZoom 25s ease-in-out infinite alternate;
  z-index: -1;
}

/* Grain texture overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-content .eyebrow { color: var(--gold-muted); }

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.2s;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(249,245,238,0.82);
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.5s;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.8s;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(249,245,238,0.5);
  font-size: 1.4rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}

/* Hero gradient overlay for no-image fallback */
#home.no-image .hero-bg {
  background: linear-gradient(135deg, #2A2520 0%, #3D3018 40%, #5A4020 70%, #2A2520 100%);
}

/* ── Stats Bar ───────────────────────────────────────────── */
#stats {
  background: var(--bg-2);
  border-top: 3px solid var(--gold);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

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

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  border-right: 1px solid var(--bg-3);
  text-align: center;
}

.stat-card:last-child { border-right: none; }

.stat-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
  animation: jiggle 30s ease-in-out infinite;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1;
}

.stat-number span { color: var(--gold); }

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── About ───────────────────────────────────────────────── */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

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

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-3);
}

.about-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.about-slide.active { opacity: 1; }

.about-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-dark));
}

/* Placeholder slides */
.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.slide-1 { background: linear-gradient(135deg, #6B5020, #C47A3A); }
.slide-2 { background: linear-gradient(135deg, #4A5020, #8B9030); }
.slide-3 { background: linear-gradient(135deg, #503020, #A06040); }
.slide-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }

.about-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
}

.about-text .eyebrow { margin-bottom: 8px; }

.about-text p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.75;
}

.about-text p strong { color: var(--charcoal); font-weight: 600; }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

@media (max-width: 600px) { .feature-cards { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--bg-3);
  transition: transform 0.3s var(--transition), box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}

.feature-card-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 12px;
  animation: pulse 3s ease-in-out infinite;
}

.feature-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Partners Marquee */
.partners-wrap {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--bg-3);
  overflow: hidden;
}

.partners-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--bg-3);
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.3s, border-color 0.3s;
  min-width: 120px;
}

.partner-logo:hover { color: var(--gold); border-color: var(--gold); }

/* ── Services ─────────────────────────────────────────────── */
#services {
  background: var(--bg-dark);
  padding: 96px 0;
}

#services .section-title { color: var(--white); }
#services .eyebrow { color: var(--gold-muted); }

.services-header {
  text-align: center;
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-dark-2);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-bg { transform: scale(1.08); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,37,32,0.92) 0%, rgba(42,37,32,0.4) 50%, transparent 100%);
  transition: opacity 0.4s;
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.service-card-desc {
  font-size: 0.85rem;
  color: rgba(249,245,238,0.75);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s;
  opacity: 0;
}

.service-card:hover .service-card-desc {
  max-height: 100px;
  opacity: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-top: 10px;
  letter-spacing: 0.06em;
  transition: gap 0.2s;
}

.service-card:hover .service-card-link { gap: 10px; }

/* Service placeholder gradients */
.svc-1 { background: linear-gradient(135deg, #5A4020, #A06030); }
.svc-2 { background: linear-gradient(135deg, #3A4020, #7A9030); }
.svc-3 { background: linear-gradient(135deg, #2A3550, #4A6080); }
.svc-4 { background: linear-gradient(135deg, #502030, #904060); }
.svc-5 { background: linear-gradient(135deg, #303530, #607050); }
.svc-6 { background: linear-gradient(135deg, #402520, #704030); }

/* ── Testimonials ─────────────────────────────────────────── */
#testimonials {
  background: var(--bg-2);
  padding: 80px 0;
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.google-review-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.testimonials-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.testimonials-track:hover { animation-play-state: paused; }

.review-card {
  flex-shrink: 0;
  width: 320px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--bg-3);
  box-shadow: 0 4px 16px var(--shadow);
}

.review-stars { color: #F5A623; font-size: 0.95rem; margin-bottom: 12px; }

.review-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--brown));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--charcoal);
}

.review-platform {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Gallery ──────────────────────────────────────────────── */
#gallery { background: var(--bg); padding: 96px 0; }

.gallery-header {
  text-align: center;
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--bg-3);
}

.gallery-item-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-item-inner { transform: scale(1.07); }

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42,37,32,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(42,37,32,0.5);
}

.gallery-zoom-icon {
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ── Contact ──────────────────────────────────────────────── */
#contact {
  background: var(--bg-dark);
  padding: 96px 0;
}

#contact .section-title { color: var(--white); }
#contact .eyebrow { color: var(--gold-muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

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

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-cards { display: flex; flex-direction: column; gap: 12px; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s;
}

.contact-card:hover {
  transform: translateX(6px);
  border-color: rgba(160,128,32,0.4);
}

.contact-card-icon {
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-card-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 4px;
}

.contact-card-text a,
.contact-card-text span {
  color: rgba(249,245,238,0.8);
  font-size: 0.9rem;
  display: block;
  line-height: 1.5;
}

.contact-card-text a:hover { color: var(--gold-light); }

.map-wrap {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 200px;
  filter: grayscale(0.4) contrast(0.9) brightness(0.85);
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(249,245,238,0.3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(160,128,32,0.08);
}

.form-group select option { background: var(--bg-dark); color: var(--white); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  background: rgba(40,167,69,0.15);
  border: 1px solid rgba(40,167,69,0.4);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: #4dd37e;
  font-weight: 600;
}

.form-alt-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────────── */
#footer {
  background: var(--bg-dark-2);
  padding: 64px 0 32px;
  border-top: 3px solid var(--gold);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 640px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.footer-brand .footer-logo img {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  mix-blend-mode: screen;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--gold-light); }

.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

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

.area-group h6 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 8px;
}

.area-group ul li {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--gold-muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── Quote Modal (3-step) ─────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,30,26,0.88);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90svh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(34,30,26,0.6);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s var(--transition);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--bg-3);
}

.modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  color: var(--text);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover { background: var(--charcoal); color: #fff; }

.modal-steps {
  display: flex;
  align-items: center;
  padding: 20px 28px;
  gap: 0;
  border-bottom: 1px solid var(--bg-3);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.step-item.active .step-dot,
.step-item.done .step-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-item.active .step-label { color: var(--gold); }
.step-item.done .step-label { color: var(--charcoal); }

.step-connector {
  flex: 1;
  height: 1px;
  background: var(--bg-3);
  margin: 0 4px;
}

.modal-body { padding: 28px; }

.step-pane { display: none; }
.step-pane.active { display: block; }

/* Step 2 toggles */
.step2-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--bg-3);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.step2-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.step2-tab.active {
  background: var(--gold);
  color: #fff;
}

.size-rows { display: flex; flex-direction: column; gap: 12px; }

.size-row {
  display: grid;
  grid-template-columns: 1fr 80px 80px 80px;
  gap: 8px;
  align-items: center;
}

.size-row select,
.size-row input {
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--bg-3);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--charcoal);
  outline: none;
  width: 100%;
}

.size-row .sqm-display {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
}

.add-service-btn {
  margin-top: 12px;
  font-size: 0.83rem;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.add-service-btn:hover { color: var(--gold-light); }

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.time-slot {
  padding: 10px;
  text-align: center;
  border: 1px solid var(--bg-3);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.time-slot.selected {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(160,128,32,0.08);
}

/* Step 3 Review */
.review-summary {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--bg-3);
}

.review-ref {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.review-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-3);
  font-size: 0.88rem;
}

.review-row:last-child { border-bottom: none; }
.review-row span:first-child { color: var(--text-muted); }
.review-row span:last-child { color: var(--charcoal); font-weight: 600; }

.submit-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.submit-success .success-icon { font-size: 3rem; color: var(--gold); margin-bottom: 12px; }
.submit-success h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--charcoal); margin-bottom: 8px; }
.submit-success p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-top: 1px solid var(--bg-3);
  gap: 12px;
}

.modal-footer .btn-back {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-footer .btn-back:hover { color: var(--charcoal); }

/* ── Service Detail Modal ─────────────────────────────────── */
#service-modal {
  z-index: 1100;
}

#service-modal .modal-box {
  max-width: 900px;
}

.service-modal-hero {
  position: relative;
  height: 280px;
  background: var(--bg-dark);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.service-modal-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.service-modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,37,32,0.85) 0%, transparent 60%);
}

.service-modal-title {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
}

.service-modal-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
}

.service-modal-body { padding: 32px 28px; }

.service-modal-body p {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 16px;
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.service-gallery-grid .gallery-item { aspect-ratio: 4/3; }

/* ── Lightbox ─────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(34,30,26,0.96);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-placeholder {
  width: min(600px, 90vw);
  height: min(450px, 85vh);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(249,245,238,0.7);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.lightbox-close:hover { color: var(--gold-light); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(42,37,32,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ── Floating UI ──────────────────────────────────────────── */
#whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.25s var(--transition), box-shadow 0.25s;
  animation: pulse 3.5s ease-in-out infinite;
}

#whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
  animation: none;
}

#whatsapp-fab .wa-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#whatsapp-fab:hover .wa-tooltip { opacity: 1; }

#scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.25s var(--transition);
  transform: translateY(8px);
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

#scroll-top:hover { background: var(--gold-light); }

/* ── Cookie Banner ────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: var(--bg-dark);
  border-top: 2px solid var(--gold);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

#cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

#cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 700px;
}

#cookie-banner a { color: var(--gold-muted); text-decoration: underline; }

.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Selection ────────────────────────────────────────────── */
::selection { background: var(--gold); color: #fff; }
