/* ==========================================================================
   PVC FURNITURE — HIGHLY ANIMATED LUXURY DESIGN SYSTEM (Markovskaia Style)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  /* Markovskaia Aesthetic Colors */
  --bg-primary: #f5f5f5;
  --bg-secondary: #e8e8e8;
  --bg-card: #ffffff;
  --bg-dark: #1a1a1a;

  --text-primary: #1a1a1a;
  --text-secondary: #4e4e4e;
  --text-muted: #888888;
  --text-inverse: #f5f5f5;

  --accent-gold: #C09A65;
  --accent-whatsapp: #25D366;
  --accent-whatsapp-dark: #128C7E;

  --border-subtle: #dcdcdc;
  --border-dark: #2a2a2a;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Animation ease */
  --ease-editorial: cubic-bezier(0.25, 1, 0.5, 1);
  --header-height: 90px;
}

/* ==========================================================================
   LIGHTING THEMES (Global Ambience)
   ========================================================================== */
:root[data-theme="warm"] {
  --bg-primary: #fdf5e6;
  /* Old Lace / Warm Tint */
  --bg-secondary: #faebd7;
  /* Antique White */
  --bg-card: #fffaf0;
  /* Floral White */
  --text-primary: #3d2b1f;
  /* Dark warm brown */
  --text-secondary: #5c4033;
  --text-muted: #8b7355;
  --border-subtle: rgba(139, 69, 19, 0.15);
}

:root[data-theme="cool"] {
  --bg-primary: #f0f8ff;
  /* Alice Blue / Cool Tint */
  --bg-secondary: #e6e6fa;
  /* Lavender web */
  --bg-card: #ffffff;
  --text-primary: #001f3f;
  /* Dark Navy */
  --text-secondary: #1a365d;
  --text-muted: #4a5568;
  --border-subtle: rgba(0, 31, 63, 0.15);
}

/* ==========================================================================
   RESET & BASE (Lenis Smooth Scroll)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
  /* Force custom cursor everywhere */
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* Custom Cursor */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, transform 0.1s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

#custom-cursor.hover {
  width: 60px;
  height: 60px;
  background-color: rgba(26, 26, 26, 0.1);
  border: 1px solid var(--text-primary);
}

#custom-cursor.view-project {
  width: 100px;
  height: 100px;
  background-color: var(--text-primary);
}

/* Page Loader Overlay */
#page-loader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-brand {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--text-primary);
  opacity: 0;
  /* Animated by GSAP */
}

/* Typography */
h1,
h2,
h3,
h4,
.font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Utilities for GSAP SplitType */
.line {
  overflow: hidden;
  padding-bottom: 0.1em;
}

.word {
  overflow: hidden;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
  color: #ffffff;
}

.site-header.scrolled {
  background: rgba(245, 245, 245, 0.9);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

:root[data-theme="warm"] .site-header.scrolled {
  background: rgba(253, 245, 230, 0.9);
}

:root[data-theme="cool"] .site-header.scrolled {
  background: rgba(240, 248, 255, 0.9);
}

/* Hanging Lights */
.hanging-light {
  position: absolute;
  top: 100%;
  /* Hang from the lower border of the header */
  width: 40px;
  height: 80px;
  z-index: 1001;
  cursor: pointer;
  transform-origin: top center;
}

.hanging-light.left-light {
  left: 5%;
  animation: swing 4s ease-in-out infinite alternate;
}

.hanging-light.right-light {
  right: 5%;
  animation: swing 3.5s ease-in-out infinite alternate-reverse;
}

@keyframes swing {
  0% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(-10deg);
  }
}

.hanging-light .wire {
  width: 2px;
  height: 25px;
  /* Shorter rope */
  background: #ffffff;
  margin: 0 auto;
  transition: background 0.4s ease;
}

.site-header.scrolled .hanging-light .wire {
  background: var(--text-primary);
}

.hanging-light .bulb-svg {
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transform: rotate(180deg);
  /* Hang bulb upside down */
  transition: fill 0.4s ease, color 0.4s ease;
  color: #ffffff;
  /* outline color */
  fill: rgba(255, 255, 255, 0.1);
  /* inner color */
}

.site-header.scrolled .hanging-light .bulb-svg {
  color: var(--text-primary);
  fill: var(--bg-card);
}

.hanging-light .glow {
  position: absolute;
  bottom: 15px;
  /* Adjust glow position relative to shorter bulb */
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, var(--light-glow, rgba(255, 255, 255, 0.8)) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.4s ease;
  pointer-events: none;
}

.hanging-light:hover .glow {
  opacity: 1;
  transform: translateX(-50%) scale(1.4);
}

/* Fast Circular Ripple Effect */
.water-ripple {
  position: fixed;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 99999;
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo-main {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.brand-logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  display: block;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.4s ease;
}

.site-header.scrolled .brand-logo-sub {
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  transition: color 0.4s ease;
}

.site-header.scrolled .nav-link {
  color: var(--text-secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color: var(--text-primary);
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  background: #ffffff;
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: background 0.3s ease, color 0.3s ease;
}

.site-header.scrolled .btn-whatsapp-header {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-whatsapp-header:hover,
.site-header.scrolled .btn-whatsapp-header:hover {
  background: var(--accent-whatsapp);
  color: #ffffff;
}

.whatsapp-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-whatsapp);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   PAGE HERO (Generic for all pages)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  text-align: left;
}

.hero-bg-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  padding-top: calc(var(--header-height) + 2rem);
  text-align: left;
  width: 100%;
}

.hero-content h1,
.hero-content h2,
.hero-content h3 {
  color: #ffffff;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-align: left !important;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
  text-align: left !important;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   HOME PAGE SPECIFICS
   ========================================================================== */

.ticker-strip {
  background: var(--text-primary);
  color: var(--text-inverse);
  padding: 1.5rem 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: marquee 20s linear infinite;
  min-width: 200%;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.offset-card {
  margin-top: 5rem;
}

/* ==========================================================================
   ABOUT PAGE SPECIFICS
   ========================================================================== */
.about-statement {
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  line-height: 1.6;
  max-width: 900px;
  margin: 5rem auto;
  text-align: center;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-style: italic;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--text-primary);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Material Comparison Matrix */
.comparison-section {
  padding: 6rem 0;
}

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

.compare-col {
  padding: 3rem;
  border-radius: 8px;
}

.compare-wood {
  background: #e6e6e6;
}

.compare-pvc {
  background: var(--text-primary);
  color: var(--text-inverse);
}

.compare-col h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.compare-pvc h3 {
  color: var(--text-inverse);
}

.compare-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   PROJECTS PAGE SPECIFICS
   ========================================================================== */
.projects-filter {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  position: relative;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.3s ease;
}

.filter-btn:hover::after,
.filter-btn.active::after {
  width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 2rem;
  margin-bottom: 6rem;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--bg-secondary);
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-editorial);
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.05);
}

.project-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   PAGINATION & LIGHTBOX
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-bottom: 3rem;
}

.page-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-primary);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.page-btn:hover:not([disabled]) {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.page-btn[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}

#pageNumbers {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.page-num {
  margin: 0 0.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.page-num.active {
  color: var(--text-primary);
  font-weight: bold;
}

.page-num:hover:not(.active) {
  color: var(--text-primary);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-element {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

.lightbox.active .lightbox-img-element {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--text-muted);
}

.lightbox-img {
  cursor: zoom-in;
}

/* Project Modal */
.project-modal {
  position: fixed;
  inset: 0;
  background: rgba(245, 245, 245, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.project-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 90%;
  max-width: 1200px;
  background: var(--bg-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

.project-modal.active .modal-content {
  transform: translateY(0);
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
}

/* ==========================================================================
   SERVICES (PROCESS) PAGE SPECIFICS
   ========================================================================== */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding: 4rem 0;
}

.process-step {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  align-items: center;
  gap: 4rem;
}

.process-num {
  font-family: var(--font-serif);
  font-size: 8rem;
  color: var(--accent-gold);
  line-height: 1;
}

.process-content h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.process-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ==========================================================================
   CONTACT PAGE SPECIFICS
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  padding: 4rem 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  position: relative;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  padding: 1rem 0;
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-gold);
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-input:focus~.form-label,
.form-input:valid~.form-label {
  top: -10px;
  font-size: 0.65rem;
  color: var(--accent-gold);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 1rem 2rem;
  border: none;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-whatsapp);
}

/* Estimator specific */
.estimator-box {
  background: var(--bg-card);
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.est-group {
  margin-bottom: 2rem;
}

.est-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.est-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.est-option input {
  display: none;
}

.est-option label {
  border: 1px solid var(--border-subtle);
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.est-option input:checked+label {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.est-result {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.est-price {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #aaaaaa;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 0.85rem;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--accent-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1000;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s ease;
}

.floating-wa:hover {
  transform: scale(1.1);
  background: var(--accent-whatsapp-dark);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }

  .projects-grid,
  .stats-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {

  /* Typography */
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 1.2;
    padding-left: 0 !important;
  }

  h2 {
    font-size: 2.2rem !important;
    line-height: 1.3;
  }

  .page-hero {
    padding: 9rem 1rem 3rem !important;
    min-height: auto !important;
  }

  /* Layout Spacing */
  section.container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  /* Grids */
  .projects-grid,
  .stats-grid,
  .footer-grid,
  .form-row,
  .compare-grid,
  .contact-layout,
  .process-step {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content {
    text-align: left;
    padding-top: calc(var(--header-height) + 4rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 4rem);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
    white-space: normal;
  }

  .hero-subtitle,
  .hero-subtitle .line,
  .hero-subtitle .word,
  .hero-subtitle .char {
    font-size: 22px !important;
  }

  .hero-subtitle {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    white-space: normal;
    letter-spacing: 0.15em;
    font-weight: 300;
    animation: textPulse 3s infinite alternate ease-in-out;
  }

  @keyframes textPulse {
    0% {
      opacity: 0.7;
      letter-spacing: 0.1em;
      text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
    }

    100% {
      opacity: 1;
      letter-spacing: 0.2em;
      text-shadow: 0 4px 25px rgba(255, 255, 255, 0.6);
    }
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .filter-btn,
  .primary-btn {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Fix split-about mobile padding and layout */
  .split-about {
    grid-template-columns: 1fr !important;
    padding: 4rem 2rem !important;
    /* Ensure it doesn't touch the left */
    gap: 2rem !important;
  }

  .split-about-image {
    height: 400px !important;
  }

  /* Fix footer alignment */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .footer-logo {
    margin: 0 auto 1rem auto;
  }

  .footer-col ul {
    align-items: center;
    text-align: center;
  }

  .footer-col li {
    text-align: center;
  }

  /* Hover Gallery */
  .hg-columns {
    flex-direction: column;
  }

  .hg-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  /* Parallax Gallery */
  .pg-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: auto;
    overflow: visible;
  }

  .pg-col {
    gap: 1rem;
  }

  .masonry-item.wide {
    grid-column: span 1;
  }

  /* Navigation */
  .nav-container {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    display: none;
    /* Hide standard nav on mobile */
    width: 100%;
    flex-direction: column;
    padding-top: 1rem;
    gap: 1rem;
    align-items: flex-start;
  }

  .nav-links.active {
    display: flex;
  }

  /* Hide desktop-only elements */
  .btn-whatsapp-header {
    display: none !important;
  }

  #custom-cursor {
    display: none !important;
  }

  /* Mobile menu toggle button (to be added via JS if needed, or user relies on footer) */

  /* Specific Elements */
  .about-statement {
    font-size: 1.5rem;
  }

  .home-hero-image-wrap {
    height: 400px;
    margin-top: 2rem;
  }

  .ticker-track span {
    font-size: 1rem;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {

  .btn-whatsapp-header {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   INTERACTIVE COMPONENTS (LIGHTBOX & MOBILE MENU)
   ========================================================================== */

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--text-primary);
  transition: 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-overlay a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  transform: translateY(20px);
  opacity: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 2010;
  line-height: 1;
}

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */
/* ==========================================================================
   REVIEWS SECTION (MARQUEE & GLASSMORPHISM)
   ========================================================================== */
.reviews-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

/* Optional fade effect on edges */
.reviews-marquee-wrapper::before,
.reviews-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.reviews-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-card), transparent);
}

.reviews-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-card), transparent);
}

.reviews-marquee {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scrollMarquee 30s linear infinite;
}

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

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1rem));
  }

  /* -50% of the entire duplicated track */
}

.review-card.glass-card {
  width: 300px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border-radius: 16px;
  transition: transform 0.4s ease, border-color 0.4s ease;
  flex-shrink: 0;
}

.review-card.glass-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  border-color: rgba(255, 255, 255, 0.3);
}

.review-card .stars {
  color: #fbbf24;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
}

.review-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   CROSSFADE HOVER GALLERY
   ========================================================================== */
.hover-gallery-section {
  position: relative;
}

.hg-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.hg-bg.active {
  opacity: 1;
  z-index: 2;
}

.hg-columns {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 3;
}

.hg-col {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: background 0.4s ease;
}

.hg-col:hover {
  background: rgba(0, 0, 0, 0.1);
}

.hg-col:last-child {
  border-right: none;
}

.hg-col-content {
  width: 100%;
  height: 100%;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.4s ease, background 0.4s ease;
}

.hg-col:hover .hg-col-content {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}

.hg-col-content h3 {
  color: #fff;
  font-size: 2.2rem;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), text-shadow 0.4s ease;
}

.hg-col:hover .hg-col-content h3 {
  transform: translateY(0);
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .hg-columns {
    flex-direction: column;
  }

  .hg-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* ==========================================================================
   ASYMMETRIC PARALLAX GALLERY
   ========================================================================== */
.pg-container {
  display: flex;
  gap: 2rem;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  height: 150vh;
  /* Extremely tall so columns can scroll through it */
  overflow: hidden;
  padding: 0 2rem;
}

.pg-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  will-change: transform;
}

.pg-col img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .pg-container {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .pg-col {
    gap: 1rem;
  }

  .split-about {
    grid-template-columns: 1fr !important;
  }
}

/* Animated Collection Button */
.animated-collection-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 3rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid var(--text-primary);
  border-radius: 50px;
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.animated-collection-btn span {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.animated-collection-btn svg {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  transform: translateX(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.animated-collection-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gold);
  z-index: 1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.animated-collection-btn:hover {
  border-color: var(--accent-gold);
}

.animated-collection-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.animated-collection-btn:hover span {
  color: #fff;
  transform: translateX(-5px);
}

.animated-collection-btn:hover svg {
  color: #fff;
  transform: translateX(5px);
}


/* ==========================================================================
   FLOATING SOCIAL BAR
   ========================================================================== */
.floating-social-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 1rem;
  border-radius: 16px 0 0 16px;
  z-index: 1000;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
}

.social-icon {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
  color: var(--accent-gold);
}

.fb-icon { order: 1; }
.call-icon { order: 2; }
.wa-icon { order: 3; }
.insta-icon { order: 4; }

@media (max-width: 768px) {
  .floating-social-bar {
    right: 50%;
    top: auto;
    bottom: 20px;
    transform: translateX(50%);
    flex-direction: row;
    width: 280px;
    justify-content: space-between;
    border-radius: 30px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
}