/* ============================================================
   AZ HARDSCAPES - Premium Website Styles
   ============================================================ */

/* === CUSTOM PROPERTIES === */
:root {
  --primary: #1B1B1B;
  --primary-light: #2a2a2a;
  --accent: #C4A265;
  --accent-hover: #D4B275;
  --accent-dark: #8E543C;
  --blue: #2B5EA7;
  --crimson: #A22334;
  --text: #333333;
  --text-light: #6b6b6b;
  --text-muted: #999999;
  --bg: #FAFAF8;
  --bg-alt: #F2F0EC;
  --bg-dark: #111111;
  --bg-darker: #0a0a0a;
  --white: #FFFFFF;
  --border: #E5E2DC;
  --shadow: 0 4px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-xl: 0 30px 80px rgba(0,0,0,0.18);
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1280px;
  --header-height: 90px;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}

/* === UTILITY === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label-light {
  color: var(--accent);
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-title em {
  font-style: italic;
  color: var(--accent-dark);
}

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

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 64px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn i { font-size: 13px; transition: transform var(--transition); }
.btn:hover i { transform: translateX(3px); }

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 30px rgba(196,162,101,0.35);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

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

.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-lg { padding: 16px 38px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 72px;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 55px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: height var(--transition);
}

.site-header.scrolled .logo img {
  height: 42px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--white);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
}

.header-phone i {
  font-size: 12px;
  color: var(--accent);
}

.header-phone:hover {
  color: var(--white);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* === MOBILE NAV OVERLAY === */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  text-align: center;
  transform: translateY(30px);
  transition: transform var(--transition-slow);
}

.mobile-nav-overlay.active .mobile-nav-content {
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 500;
  color: var(--white);
  padding: 16px 0;
  transition: color var(--transition);
}

.mobile-nav-link:hover {
  color: var(--accent);
}

.mobile-nav-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.85) 0%,
    rgba(10,10,10,0.6) 40%,
    rgba(10,10,10,0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-badge {
  margin-bottom: 28px;
}

.hero-badge span {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(196,162,101,0.4);
  padding: 10px 24px;
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

/* --- Rotating Word --- */
.hero-rotate {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  vertical-align: baseline;
  height: 1.1em;
  min-width: 3ch;
}

.hero-rotate-word {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  transform: translateY(110%);
  opacity: 0;
  filter: blur(6px);
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1),
              filter 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-rotate-word.active {
  position: relative;
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

.hero-rotate-word.exit {
  transform: translateY(-110%);
  opacity: 0;
  filter: blur(6px);
}

.hero-rotate-word.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.05em;
  height: 2px;
  background: var(--accent);
  animation: underlineGrow 0.6s 0.15s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  width: 0;
}

@keyframes underlineGrow {
  to { width: 100%; }
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 44px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-scroll-indicator span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* --- Hero Entrance Sequence --- */
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-ctas {
  opacity: 0;
  transform: translateY(44px);
  filter: blur(12px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge {
  transform: translateY(36px) scale(0.85);
}

.hero-scroll-indicator {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-content.hero-revealed .hero-badge {
  transition-delay: 0ms;
}
.hero-content.hero-revealed .hero-title {
  transition-delay: 250ms;
}
.hero-content.hero-revealed .hero-subtitle {
  transition-delay: 550ms;
}
.hero-content.hero-revealed .hero-ctas {
  transition-delay: 800ms;
}

.hero-content.hero-revealed .hero-badge,
.hero-content.hero-revealed .hero-title,
.hero-content.hero-revealed .hero-subtitle,
.hero-content.hero-revealed .hero-ctas {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-content.hero-revealed ~ .hero-scroll-indicator {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1050ms;
}

/* Reduced delays for repeat visits (preloader skipped) */
.hero-content.hero-revealed.hero-fast .hero-badge {
  transition-delay: 0ms;
}
.hero-content.hero-revealed.hero-fast .hero-title {
  transition-delay: 100ms;
}
.hero-content.hero-revealed.hero-fast .hero-subtitle {
  transition-delay: 200ms;
}
.hero-content.hero-revealed.hero-fast .hero-ctas {
  transition-delay: 300ms;
}
.hero-content.hero-revealed.hero-fast ~ .hero-scroll-indicator {
  transition-delay: 400ms;
}

/* === BRAND MARQUEE === */
.brand-marquee {
  background: var(--white);
  padding: 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.brand-marquee-label {
  text-align: center;
  padding: 28px 0 0;
}

.brand-marquee-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee-wrapper {
  position: relative;
  padding: 24px 0 32px;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marqueeScroll 50s linear infinite;
}


.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 60px;
  padding: 0 8px;
  cursor: default;
}

.brand-logo {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.85;
}

.brand-logo-square {
  height: 50px;
  max-width: 120px;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* === STATS BAR === */
.stats-bar {
  background: var(--primary);
  padding: 48px 0;
  border-bottom: 1px solid rgba(196,162,101,0.15);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 8px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  display: inline;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
}

/* === ABOUT === */
.about-section {
  padding: 120px 0;
  background: var(--bg);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-slideshow {
  position: relative;
}

.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

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

.about-img-main .about-slide {
  height: 500px;
}

.about-img-main {
  height: 500px;
}

.about-img-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-lg);
}

.about-img-accent .about-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.badge-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 32px 0 40px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.about-feature i {
  color: var(--accent);
  font-size: 16px;
}

/* === SERVICES === */
.services-section {
  padding: 120px 0;
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition-slow);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* Dual-image crossfade for deck service card */
.service-image-dual {
  position: relative;
}

.service-image-dual .dual-img-1,
.service-image-dual .dual-img-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease-in-out;
}

.service-image-dual .dual-img-1 {
  opacity: 1;
  z-index: 1;
}

.service-image-dual .dual-img-2 {
  opacity: 0;
  z-index: 1;
}

.service-image-dual:hover .dual-img-1 {
  opacity: 0;
}

.service-image-dual:hover .dual-img-2 {
  opacity: 1;
}

.service-image-dual .service-image-overlay {
  z-index: 2;
}

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4));
}

.service-content {
  padding: 36px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: -64px;
  position: relative;
  z-index: 2;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

.service-icon i {
  font-size: 20px;
  color: var(--accent-dark);
}

.service-content h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.service-content p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  margin-bottom: 24px;
}

.service-list li {
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-dark);
  transition: all var(--transition);
}

.service-link i {
  font-size: 12px;
  transition: transform var(--transition);
}

.service-link:hover {
  color: var(--accent);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* === PORTFOLIO === */
.portfolio-section {
  padding: 120px 0;
  background: var(--bg);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item-wide {
  grid-column: span 2;
}

.portfolio-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.portfolio-item-wide .portfolio-image {
  height: 350px;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.portfolio-overlay h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 6px;
}

.portfolio-overlay p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* Portfolio mobile sliders - hidden on desktop */
.portfolio-mobile {
  display: none;
}

/* Portfolio lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transform: scale(0.9);
  transition: transform 0.3s;
}

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

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

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

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

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Portfolio filter animation */
.portfolio-item.hidden {
  display: none;
}

.portfolio-item.fade-out {
  animation: portfolioFadeOut 0.3s forwards;
}

.portfolio-item.fade-in {
  animation: portfolioFadeIn 0.4s forwards;
}

@keyframes portfolioFadeOut {
  to { opacity: 0; transform: scale(0.95); }
}

@keyframes portfolioFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* === PROCESS === */
.process-section {
  padding: 120px 0;
  background: var(--bg-alt);
  overflow: hidden;
}

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

/* SVG S-curve */
.process-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Start/End indicators */
.process-endpoint {
  transition: opacity 0.6s ease;
}

@keyframes endpointPulse {
  0%, 100% { r: 20; opacity: 0.2; }
  50% { r: 26; opacity: 0.4; }
}

@keyframes endpointPulseEnd {
  0%, 100% { r: 22; opacity: 0.2; }
  50% { r: 30; opacity: 0.5; }
}

.process-start circle:first-of-type {
  animation: endpointPulse 2.5s ease-in-out infinite;
}

.process-end circle:first-of-type {
  animation: endpointPulseEnd 2.5s ease-in-out infinite;
}

.process-path-bg {
  stroke: var(--border);
  opacity: 0.3;
}

.process-path-fill {
  stroke: var(--accent);
  filter: drop-shadow(0 0 6px rgba(196, 162, 101, 0.4));
  transition: stroke-dashoffset 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Flowing energy particle along the path */
.process-path-flow {
  stroke: var(--white);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(196, 162, 101, 0.8));
  transition: opacity 0.5s;
}

.process-path-flow.active {
  opacity: 1;
}

@keyframes pathFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -40; }
}

.process-path-flow.active {
  animation: pathFlow 1.2s linear infinite;
}

/* Zigzag rows */
.process-steps-zigzag {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.process-step-row {
  display: flex;
  padding: 24px 0;
}

.process-row-left {
  justify-content: flex-start;
  padding-left: 0;
}

.process-row-right {
  justify-content: flex-end;
  padding-right: 0;
}

/* Step card */
.process-step {
  position: relative;
  width: 42%;
  max-width: 420px;
  padding: 32px 0;
  opacity: 0.25;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step.active {
  opacity: 1;
  transform: translateY(0);
}

/* Dot anchor point for SVG path */
.process-step-dot {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid var(--border);
  transform: translateY(-50%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}

.process-row-left .process-step-dot {
  right: -40px;
}

.process-row-right .process-step-dot {
  left: -40px;
}

.process-step.active .process-step-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(196, 162, 101, 0.2), 0 0 20px rgba(196, 162, 101, 0.35);
}

/* Staggered dot pulse — each dot pulses in sequence */
@keyframes dotPulseRing {
  0% { transform: translateY(-50%) scale(1); opacity: 0.5; }
  100% { transform: translateY(-50%) scale(2.8); opacity: 0; }
}

@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 0 6px rgba(196, 162, 101, 0.2), 0 0 20px rgba(196, 162, 101, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(196, 162, 101, 0.3), 0 0 32px rgba(196, 162, 101, 0.6); }
}

.process-step.active .process-step-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: dotPulseRing 2.5s ease-out infinite;
}

/* Stagger the glow per step */
.process-step[data-step="1"].active .process-step-dot { animation: dotGlow 4s ease-in-out 0s infinite; }
.process-step[data-step="2"].active .process-step-dot { animation: dotGlow 4s ease-in-out 1s infinite; }
.process-step[data-step="3"].active .process-step-dot { animation: dotGlow 4s ease-in-out 2s infinite; }
.process-step[data-step="4"].active .process-step-dot { animation: dotGlow 4s ease-in-out 3s infinite; }

.process-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.5s;
}

.process-step.active .process-number {
  color: var(--accent);
}

.process-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step.active .process-icon {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(196, 162, 101, 0.3);
  transform: scale(1.08);
}

@keyframes processPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(196, 162, 101, 0.3); }
  50% { box-shadow: 0 6px 28px rgba(196, 162, 101, 0.5), 0 0 0 6px rgba(196, 162, 101, 0.08); }
}

.process-step.active .process-icon {
  animation: processPulse 2.5s ease-in-out infinite;
}

.process-icon i {
  font-size: 22px;
  color: var(--border);
  transition: all 0.5s;
}

.process-step.active .process-icon i {
  color: var(--primary);
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  transition: color 0.5s;
}

.process-step.active h3 {
  color: var(--text);
}

.process-step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* === VIDEO TESTIMONIALS === */
.video-testimonials-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.video-testimonials-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
}

.video-testimonials-section .container {
  position: relative;
  z-index: 2;
}

.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: box-shadow var(--transition), transform var(--transition);
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.video-card-thumb {
  position: relative;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  height: 400px;
}

.video-card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: var(--primary);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 30px rgba(196, 162, 101, 0.4);
}

.video-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-card-info {
  padding: 16px 20px;
}

.video-card-info strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
}

.video-card-info span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* === SERVICE AREA === */
.service-area-section {
  padding: 120px 0;
  background: var(--bg);
}

.service-area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-area-content p {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.8;
}

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  margin-bottom: 40px;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  padding: 6px 0;
}

.area-item i {
  color: var(--accent);
  font-size: 14px;
}

.service-area-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-area-visual img {
  width: 100%;
  height: auto;
}

/* === TRUST BADGES === */
.trust-badges-section {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trust-badges-label {
  text-align: center;
  margin-bottom: 28px;
}

.trust-badges-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trust-badges-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  opacity: 0.75;
}

.trust-badge-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.trust-badge-logo {
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.trust-badge-logo-tall {
  height: 54px;
  max-width: 60px;
}

.trust-badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.trust-badge-item--licensed {
  gap: 8px;
  opacity: 0.85;
}

.trust-badge-item--licensed i {
  font-size: 28px;
  color: var(--accent);
}

.trust-badge-item--licensed .trust-badge-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

/* === CTA BANNER === */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.92), rgba(27,27,27,0.88));
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner-content p {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === CONTACT === */
.contact-section {
  padding: 120px 0;
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-form-wrap p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-form {
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,162,101,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

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

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

.form-note i {
  margin-right: 6px;
  color: var(--accent);
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card,
.contact-social-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}

.contact-info-card h3,
.contact-social-card h3 {
  font-size: 22px;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 16px;
  color: var(--accent-dark);
}

.contact-info-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item span {
  display: block;
  font-size: 15px;
  color: var(--text-light);
}

.contact-info-item a:hover {
  color: var(--accent-dark);
}

.contact-social-card p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-link i {
  font-size: 18px;
  color: var(--text-light);
  transition: color var(--transition);
}

.social-link:hover {
  background: var(--accent);
}

.social-link:hover i {
  color: var(--primary);
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-darker);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a i {
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  transition: color var(--transition);
}

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

.footer-social a:hover i {
  color: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  padding: 6px 0;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact a,
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  padding: 6px 0;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact i {
  color: var(--accent);
  font-size: 13px;
  width: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* === FLOATING CTA === */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  background: var(--accent);
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(196,162,101,0.4);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-cta:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(196,162,101,0.5);
}

.floating-cta i {
  font-size: 22px;
}

.floating-cta-label {
  position: absolute;
  right: 70px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.floating-cta:hover .floating-cta-label {
  opacity: 1;
}

.floating-cta-number {
  display: none;
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* === SCROLL ANIMATIONS === */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .about-grid,
  .service-area-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item-wide {
    grid-column: span 2;
  }

  .process-step {
    width: 44%;
    max-width: 320px;
    padding: 24px;
  }

  .process-step-row {
    padding: 20px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 0;
  }

  .stat-item {
    flex: 0 0 50%;
    padding: 16px;
  }

  .stat-divider {
    display: none;
  }

  .marquee-track {
    gap: 50px;
    animation-duration: 35s;
  }

  .brand-logo {
    height: 30px;
    max-width: 120px;
  }

  .brand-logo-square {
    height: 40px;
    max-width: 100px;
  }

  .trust-badges-grid {
    gap: 24px;
  }

  .trust-badge-logo {
    height: 36px;
  }

  .about-img-accent {
    width: 160px;
    height: 160px;
    right: -10px;
    bottom: -20px;
  }

  .about-experience-badge {
    width: 110px;
    height: 110px;
    left: -10px;
    top: -10px;
  }

  .badge-number {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .stats-bar {
    padding: 32px 0;
  }

  .stat-number {
    font-size: 36px;
  }

  .about-section,
  .services-section,
  .portfolio-section,
  .process-section,
  .video-testimonials-section,
  .service-area-section,
  .contact-section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .portfolio-desktop {
    display: none;
  }

  .portfolio-mobile {
    display: block;
  }

  .portfolio-mobile-category {
    margin-bottom: 32px;
  }

  .portfolio-mobile-category:last-child {
    margin-bottom: 0;
  }

  .portfolio-mobile-label {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .portfolio-mobile-label i {
    color: var(--accent);
    font-size: 16px;
  }

  .portfolio-mobile-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .portfolio-mobile-slider::-webkit-scrollbar {
    display: none;
  }

  .portfolio-slide {
    flex: 0 0 80%;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
  }

  .portfolio-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }

  .portfolio-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(10,10,10,0.85), transparent);
  }

  .portfolio-slide-info h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--white);
    margin: 0;
  }

  .process-step {
    width: 55%;
    max-width: none;
    padding: 20px;
  }

  .process-step-row {
    padding: 12px 0;
  }

  .process-step-dot {
    width: 14px;
    height: 14px;
  }

  .process-row-left .process-step-dot {
    right: -24px;
  }

  .process-row-right .process-step-dot {
    left: -24px;
  }

  .process-number {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .process-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .process-icon i {
    font-size: 18px;
  }

  .process-step h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .process-step p {
    font-size: 13px;
    line-height: 1.6;
  }

  .video-testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 0 15%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .video-testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .video-card {
    flex: 0 0 70%;
    scroll-snap-align: center;
  }

  .video-play-btn {
    display: none;
  }

  .video-card-thumb {
    height: 350px;
  }

  .trust-badges-grid {
    gap: 16px;
  }

  .trust-badge-logo {
    height: 32px;
  }

  .trust-badges-section {
    padding: 32px 0;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-banner {
    padding: 60px 0;
  }

  .floating-cta {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 56px;
    border-radius: 0;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-body);
  }

  .floating-cta i {
    font-size: 18px;
  }

  .floating-cta-label {
    display: none;
  }

  .floating-cta-number {
    display: inline;
  }

  .floating-cta.visible {
    transform: translateY(0);
  }

  .floating-cta:hover {
    transform: none;
  }

  body {
    padding-bottom: 56px;
  }

  .back-to-top {
    bottom: 70px;
    left: 20px;
    width: 42px;
    height: 42px;
  }

  .mobile-nav-link {
    font-size: 28px;
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-badge span {
    font-size: 10px;
    letter-spacing: 3px;
    padding: 8px 16px;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 14px;
  }

  .section-title {
    font-size: 28px;
  }

  .service-content {
    padding: 28px 24px;
  }

  .process-step {
    width: 58%;
    padding: 16px;
  }

  .process-step h3 {
    font-size: 16px;
  }

  .process-step p {
    font-size: 12px;
  }

  .process-number {
    font-size: 24px;
  }

  .process-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
  }

  .process-icon i {
    font-size: 16px;
  }

  .process-steps-zigzag {
    padding: 60px 0;
  }

  .process-row-left .process-step-dot {
    right: -18px;
  }

  .process-row-right .process-step-dot {
    left: -18px;
  }

  .process-step-dot {
    width: 12px;
    height: 12px;
  }
}

/* === PRELOADER === */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Phase 1: content fades out */
.preloader.phase-out .preloader-content,
.preloader.phase-out .preloader-counter {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Phase 2: curtain lifts off screen */
.preloader.curtain-lift {
  transform: translateY(-100%);
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.fade-out {
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  opacity: 0;
  transform: scale(0.92);
  animation: preloaderFadeIn 0.8s 0.2s forwards;
  z-index: 2;
}

.preloader-logo {
  height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
}

.preloader-bar {
  width: 300px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-bar-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #d4b978, var(--accent));
  border-radius: 3px;
  box-shadow: 0 0 16px rgba(196, 162, 101, 0.6), 0 0 4px rgba(196, 162, 101, 0.8);
  animation: preloaderBarFill 1.8s 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.preloader-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(196, 162, 101, 0.4);
  opacity: 0;
  animation: preloaderTaglineFade 0.6s 1s forwards;
}

@keyframes preloaderFadeIn {
  to { opacity: 1; transform: scale(1); }
}

@keyframes preloaderBarFill {
  to { width: 100%; }
}

@keyframes preloaderTaglineFade {
  to { opacity: 1; }
}

.preloader-counter {
  position: absolute;
  bottom: 40px;
  right: 50px;
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: 300;
  color: rgba(196, 162, 101, 0.12);
  letter-spacing: -2px;
  line-height: 1;
  opacity: 0;
  animation: preloaderTaglineFade 0.6s 0.8s forwards;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 2;
}

.preloader-skip {
  display: none;
}

body.preloader-active {
  overflow: hidden;
}

/* Brick overlay — full screen, builds from bottom */
.brick-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column-reverse;
  flex-wrap: nowrap;
  overflow: hidden;
  pointer-events: none;
}

.brick-overlay-row {
  display: flex;
  flex-shrink: 0;
  width: 100%;
}

.brick-overlay-row:nth-child(even) {
  margin-left: calc(var(--brick-w) / 2);
}

.brick-block {
  flex-shrink: 0;
  width: var(--brick-w);
  height: var(--brick-h);
  background: linear-gradient(145deg, #6b4f10, #8B6914 30%, #C4A265 60%, #a07d2a);
  border: 1px solid rgba(0,0,0,0.3);
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.25), inset 0 1px 2px rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
}

.brick-block.placed {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.12s ease-out, transform 0.18s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@media (max-width: 480px) {
  .preloader-content {
    padding: 40px 36px;
    margin: 0 20px;
  }

  .preloader-logo {
    height: 90px;
  }

  .preloader-bar {
    width: 200px;
  }

  .preloader-tagline {
    font-size: 10px;
    letter-spacing: 4px;
  }

  .preloader-counter {
    font-size: 50px;
    bottom: 24px;
    right: 24px;
  }
}

/* === BUTTON SHIMMER EFFECT === */
.btn-accent,
.btn-dark {
  position: relative;
  overflow: hidden;
}

.btn-accent::before,
.btn-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.25) 50%,
    transparent 100%
  );
  transition: none;
  pointer-events: none;
}

.btn-accent:hover::before,
.btn-dark:hover::before {
  animation: btnShimmer 0.6s ease forwards;
}

@keyframes btnShimmer {
  from { left: -100%; }
  to { left: 120%; }
}

/* === IMAGE CLIP-REVEAL ANIMATION === */
[data-animate="clip-up"] {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}

[data-animate="clip-up"].animated {
  clip-path: inset(0 0 0 0);
}

[data-animate="clip-left"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}

[data-animate="clip-left"].animated {
  clip-path: inset(0 0 0 0);
}

/* === SECTION DIVIDER ACCENTS === */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  max-width: 200px;
  height: 1px;
}

.section-divider::before {
  background: linear-gradient(to right, transparent, var(--accent));
}

.section-divider::after {
  background: linear-gradient(to left, transparent, var(--accent));
}

/* === GRAIN TEXTURE OVERLAY === */
.hero::after,
.video-testimonials-section::after,
.cta-banner::after,
.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

.hero::after {
  z-index: 1;
}

.hero-content {
  z-index: 3;
}

.hero-scroll-indicator {
  z-index: 3;
}

.video-testimonials-section::after,
.cta-banner::after {
  z-index: 1;
}

.site-footer {
  position: relative;
}

/* === TEXT SPLIT ANIMATIONS === */
[data-split] .split-word {
  display: inline-block;
  overflow: hidden;
}

[data-split] .split-word-inner {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

[data-split].animated .split-word-inner {
  transform: translateY(0);
}

/* === HERO PARALLAX === */
.hero-video-wrap {
  will-change: transform;
  transition: none;
}

/* === PRINT === */
@media print {
  .preloader,
  .site-header,
  .floating-cta,
  .back-to-top,
  .hero-video-wrap,
  .mobile-toggle,
  .mobile-nav-overlay,
  .section-divider {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
