/* ============================================
   Cedar Springs Landscapes - Homepage Clone
   ============================================ */

/* === Font Faces === */
@font-face {
  font-family: 'Epilogue';
  src: url('assets/fonts/Epilogue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* === CSS Variables === */
:root {
  --color-dark: #212123;
  --color-light: #ffffff;
  --color-gray: #A0A1A5;
  --color-gray-light: #d4d4d4;
  --color-bg-dark: #212123;
  --color-bg-light: #ffffff;
  --font-primary: 'Epilogue', sans-serif;
  --transition-smooth: 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  --header-height: 80px;
  --sidebar-width: 240px;
}

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

*::selection {
  background-color: #212123;
  color: #a0a1a5;
}

html {
  overscroll-behavior: none;
  min-width: 350px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  background: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* === Loading Screen === */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0;
  pointer-events: none;
}

.loading-line {
  width: 1px;
  height: 0;
  background: rgba(255, 255, 255, 0.06);
  animation: loadLine 1.2s ease forwards;
}

.loading-line:nth-child(1) { animation-delay: 0s; }
.loading-line:nth-child(2) { animation-delay: 0.1s; }
.loading-line:nth-child(3) { animation-delay: 0.2s; }
.loading-line:nth-child(4) { animation-delay: 0.3s; }

@keyframes loadLine {
  to { height: 100%; }
}

.loading-screen .logo-loader {
  width: 200px;
  opacity: 0;
  animation: fadeInLoader 1s ease 0.3s forwards;
  z-index: 1;
}

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

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.15);
  transition: top 0.8s ease-in-out, background-color 0.4s ease;
}

.site-header.hidden-header {
  top: -120px;
}

.site-header.scrolled {
  background-color: var(--color-dark);
}

.site-header.at-bottom {
  background-color: var(--color-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 20px 40px;
  width: calc(100% - var(--sidebar-width));
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.4s ease;
}

.site-header.at-bottom .header-inner {
  border-bottom-color: var(--color-gray);
}

.header-logo img {
  height: 32px;
  width: auto;
  transition: filter 0.4s ease;
}

.site-header.at-bottom .header-logo img {
  filter: brightness(0);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-light);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  margin-left: auto;
}

.header-cta .cta-icon {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header-cta .cta-icon::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-light);
  border-radius: 50%;
  transition: background 0.4s ease;
}

.site-header.at-bottom .header-cta {
  color: var(--color-dark);
  border-color: var(--color-gray);
}

.site-header.at-bottom .header-cta .cta-icon {
  border-color: var(--color-dark);
}

.site-header.at-bottom .header-cta .cta-icon::after {
  background: var(--color-dark);
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-header.at-bottom .header-cta:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Switch hamburger lines to dark on light sections */
.sidebar-hamburger.dark-mode .ham-line {
  stroke: #555;
}

/* Lighter hamburger lines on dark sections for better visibility */
.sidebar-hamburger:not(.dark-mode) .ham-line {
  stroke: rgba(255, 255, 255, 0.85);
}

/* Switch the vertical separator line to dark on light sections */
.right-sidebar.dark-mode::before {
  background: rgba(33, 33, 35, 0.15);
}

/* Hamburger - hidden on desktop, visible on mobile */
.hamburger {
  display: none;
}

/* === Right Sidebar === */
.right-sidebar {
  position: fixed;
  top: -100vh;
  right: 0;
  width: var(--sidebar-width);
  height: 100vh;
  z-index: 200;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  transition: top 0.5s ease;
}

.right-sidebar.active {
  top: 0;
  pointer-events: auto;
  background: rgba(33, 33, 35, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Vertical line separator - always visible */
.right-sidebar::before {
  content: '';
  position: fixed;
  top: 0;
  right: var(--sidebar-width);
  width: 1px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.15);
  z-index: 200;
  pointer-events: none;
}

/* Hamburger is always visible, positioned outside the sliding panel */
.sidebar-hamburger {
  position: fixed;
  top: 0;
  right: 0;
  padding: 24px 30px;
  cursor: pointer;
  z-index: 201;
  background: none;
  border: none;
  pointer-events: auto;
  display: flex;
  align-items: center;
  height: auto;
}

.sidebar-hamburger .ham-line {
  transition: all 0.4s ease;
}

.sidebar-hamburger.active .line1 {
  transform: translateY(8px) rotate(45deg);
  transform-origin: center;
}

.sidebar-hamburger.active .line2 {
  opacity: 0;
}

.sidebar-hamburger.active .line3 {
  transform: translateY(-8px) rotate(-45deg);
  transform-origin: center;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
  padding: 100px 30px 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-nav {
  flex: 1;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  transition: opacity 0.3s ease 0.3s;
}

.right-sidebar.active .sidebar-nav {
  opacity: 1;
}

.sidebar-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav a {
  color: var(--color-light);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: lowercase;
  transition: opacity 0.3s;
  text-decoration: none;
}

.sidebar-nav a:hover {
  opacity: 0.6;
}

.sidebar-nav .has-submenu .submenu {
  display: none;
  padding-left: 16px;
  margin-top: 8px;
}

.sidebar-nav .has-submenu.open .submenu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-nav .submenu a {
  font-size: 13px;
  opacity: 0.7;
}

.sidebar-social {
  display: flex;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s ease 0.5s;
}

.right-sidebar.active .sidebar-social {
  opacity: 1;
}

.sidebar-social a {
  color: var(--color-light);
  font-size: 12px;
  opacity: 0.6;
  transition: opacity 0.3s;
  text-decoration: none;
}

.sidebar-social a:hover {
  opacity: 1;
}

/* Mobile Menu (hidden by default) */
.mobile-menu {
  display: none;
}

/* === Hero Section === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--color-dark);
}

/* Hero images clipped by the right sidebar line, expanding on scroll */
.hero-slideshow {
  clip-path: inset(0 var(--sidebar-width) 0 0);
  transition: clip-path 0.1s linear;
}

.hero.expanded .hero-slideshow {
  clip-path: inset(0 0 0 0);
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: clip-path;
}

/* Blurred sidebar preview of the hero */
.hero-sidebar-preview {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--sidebar-width);
  height: 100%;
  background-size: cover;
  background-position: right center;
  filter: blur(8px) brightness(1.2) saturate(0.6);
  opacity: 0.5;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  animation: heroZoom 8s ease-in-out forwards;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(33, 33, 35, 0.3) 0%,
    rgba(33, 33, 35, 0.25) 40%,
    rgba(33, 33, 35, 0.55) 60%,
    rgba(33, 33, 35, 0.88) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 80px;
  pointer-events: none;
}

.hero-heading {
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 400;
  color: var(--color-light);
  line-height: 1;
  letter-spacing: -1px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroTextIn 1s ease 0.5s forwards;
}

.hero-heading span {
  display: block;
}

@keyframes heroTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero-bottom {
  position: absolute;
  top: 100px;
  bottom: 30px;
  right: 0;
  width: var(--sidebar-width);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-light);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: lowercase;
  opacity: 0;
  animation: fadeInUp 1s ease 1.2s forwards;
}

.scroll-indicator img {
  width: 16px;
  animation: scrollBounce 2s ease-in-out infinite;
}

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

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

.hero-social {
  display: flex;
  gap: 20px;
  opacity: 0;
  animation: fadeInUp 1s ease 1.4s forwards;
}

.hero-social a {
  color: var(--color-light);
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.hero-social a:hover {
  opacity: 1;
}

/* === Sticky Hero Text === */
.sticky-hero-text {
  position: fixed;
  left: 160px;
  bottom: 80px;
  z-index: 10;
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 400;
  color: var(--color-light);
  line-height: 1;
  letter-spacing: -1px;
  pointer-events: none;
  mix-blend-mode: difference;
  will-change: top, bottom, opacity;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}

.sticky-hero-text.sticky-settling {
  transition: bottom 0.45s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.4s ease;
}

.sticky-hero-text.sticky-docked {
  color: var(--color-dark);
  mix-blend-mode: normal;
  filter: none;
  transition: color 0.5s ease, filter 0.5s ease;
}

.sticky-hero-text span {
  display: block;
}

/* === About Section === */
.about-section {
  background: var(--color-bg-light);
  padding: 220px 60px 120px;
  position: relative;
  overflow-x: clip;
}

/* Dark sidebar corner in the about section (top-right) */
.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: var(--sidebar-width);
  height: 200px;
  background: var(--color-dark);
  z-index: 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-content {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.about-content.in-view {
  opacity: 1;
  transform: translateY(0);
}

.about-content h3 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 30px;
  line-height: 1.2;
}

.about-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-dark);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--color-gray);
  border-radius: 100px;
  margin-top: 30px;
  transition: all 0.4s ease;
}

.btn-arrow:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--color-dark);
}

.btn-arrow .btn-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-arrow .btn-icon::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-dark);
  border-radius: 50%;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
  will-change: clip-path;
}

.about-image.in-view {
  opacity: 1;
  transform: translateY(0);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 6s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* === Featured Projects Section === */
.featured-projects {
  position: relative;
  background: var(--color-dark);
  height: 100vh;
  overflow: hidden;
  cursor: none;
}

.projects-carousel {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.project-slide {
  flex: 0 0 80vw;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: flex-basis 0.5s ease;
}

.project-slide.active-slide {
  cursor: none;
}

.project-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

.project-slide:hover .project-slide-bg {
  transform: scale(1.03);
}

.project-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(33, 33, 35, 0.85) 0%, rgba(33, 33, 35, 0.3) 50%, transparent 100%);
  z-index: 1;
}

.project-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 60px;
  max-width: 600px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-slide.active-slide .project-slide-content {
  opacity: 1;
}

.project-label {
  font-size: 10px;
  color: var(--color-gray);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.project-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--color-light);
  line-height: 1.1;
  margin-bottom: 24px;
}

.project-description {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 30px;
}

.project-details {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.project-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-detail-label {
  font-size: 9px;
  color: var(--color-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.project-detail-value {
  font-size: 13px;
  color: var(--color-light);
  letter-spacing: 1px;
}

/* Right column in each project slide (scroll prompt) */
.project-right-col {
  position: absolute;
  top: 0;
  right: 0;
  width: 20vw;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-light);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: lowercase;
  writing-mode: vertical-rl;
  opacity: 0;
  transition: opacity 0.5s ease 1s;
}

.project-slide.active-slide .scroll-prompt {
  opacity: 1;
}

.scroll-prompt img {
  width: 16px;
  transform: rotate(90deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

/* === Custom Project Cursor === */
.project-cursor {
  pointer-events: none;
  position: fixed;
  width: 50px;
  height: 20px;
  margin-top: -10px;
  margin-left: -25px;
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: width 0.3s, height 0.3s, margin 0.3s, opacity 0.3s;
  z-index: 100;
}

.project-cursor::before {
  content: '';
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  inset: -15px 15px;
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 1.6px;
  text-align: center;
  overflow: hidden;
  transition: color 0.3s;
  color: rgba(255, 255, 255, 0);
}

.project-cursor.view,
.project-cursor.next {
  width: 110px;
  height: 80px;
  margin-top: -40px;
  margin-left: -55px;
}

.project-cursor.view::before {
  content: 'View Project';
  color: rgb(255, 255, 255);
}

.project-cursor.next::before {
  content: 'Next Project';
  color: rgb(255, 255, 255);
}

.featured-projects:hover .project-cursor {
  opacity: 1;
}

.featured-projects:not(:hover) .project-cursor {
  opacity: 0;
  width: 50px !important;
  height: 20px !important;
  margin-top: -10px !important;
  margin-left: -25px !important;
}

.featured-projects:not(:hover) .project-cursor::before {
  color: rgba(255, 255, 255, 0);
}

/* === Project Controls === */
.project-controls {
  position: absolute;
  bottom: 40px;
  left: 60px;
  right: calc(20vw + 60px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 20px;
}

.project-nav-btn {
  width: 48px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.project-nav-btn:hover {
  opacity: 0.7;
}

.project-nav-btn img {
  width: 40px;
  height: auto;
}

.project-nav-btn.prev img {
  transform: scaleX(-1);
}

.project-nav-btn.next {
  margin-left: auto;
}

/* Dot navigation */
.project-dots {
  display: flex;
  gap: 15px;
  align-items: center;
}

.project-dots .dot {
  cursor: pointer;
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition: all 0.3s;
  position: relative;
}

.project-dots .dot::before {
  content: '';
  position: absolute;
  top: 50%;
  height: 1px;
  width: 100%;
  transform: translateY(-50%);
  background-color: rgb(255, 255, 255);
  transition: all 0.3s;
}

.project-dots .dot:hover {
  opacity: 1;
}

.project-dots .dot.active {
  width: 50px;
  opacity: 1;
}

.project-dots .dot.active::before {
  height: 3px;
}

/* View Project button */
.project-view-btn {
  cursor: pointer;
  color: var(--color-light);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.48px;
  text-transform: capitalize;
  padding: 8px 16px;
  opacity: 1;
  transition: opacity 0.3s;
  margin-left: auto;
  margin-right: auto;
}

.project-view-btn:hover {
  opacity: 0.7;
}

/* === Design Section === */
.design-section {
  background: var(--color-light);
  padding: 120px 60px;
  position: relative;
}

.design-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.design-content {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.design-content.in-view {
  opacity: 1;
  transform: translateY(0);
}

.design-content h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.1;
  margin-bottom: 40px;
}

.btn-arrow-dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-dark);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--color-gray);
  border-radius: 100px;
  transition: all 0.4s ease;
}

.btn-arrow-dark:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--color-dark);
}

.btn-arrow-dark .btn-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-arrow-dark .btn-icon::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-dark);
  border-radius: 50%;
}

.design-image {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease 0.2s;
}

.design-image.in-view {
  opacity: 1;
  transform: translateY(0);
}

.design-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 6s ease;
}

.design-image:hover img {
  transform: scale(1.05);
}

/* Five star badge */
.design-content::before {
  content: '';
  display: block;
  width: 100px;
  height: 40px;
  background: url('assets/icons/5-star.svg') no-repeat center;
  background-size: contain;
  margin-bottom: 24px;
}

/* === FAQ Section === */
.faq-section {
  padding: 120px 60px;
  background: var(--color-light);
  position: relative;
  z-index: 2;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.2;
  margin-top: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(33, 33, 35, 0.12);
}

.faq-item:first-child {
  border-top: 1px solid rgba(33, 33, 35, 0.12);
}

.faq-item summary {
  padding: 24px 40px 24px 0;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 500;
  color: var(--color-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--color-dark);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  color: var(--color-accent, #4a7c59);
}

.faq-item p {
  padding: 0 0 24px 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
  color: rgba(33, 33, 35, 0.7);
}

/* === Process CTA Section === */
.process-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  z-index: 1;
}

.process-bg {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 145%;
  background-size: cover;
  background-position: center;
}

.process-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 33, 35, 0.55);
}

.process-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px;
}

.process-content h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  color: var(--color-light);
  line-height: 1.1;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.process-content h2 span {
  display: block;
}

.process-content.in-view h2 {
  opacity: 1;
  transform: translateY(0);
}

/* === Footer === */
.site-footer {
  background: var(--color-light);
  position: relative;
  z-index: 2;
}

.footer-taglines {
  padding: 100px 60px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  border-bottom: 1px solid var(--color-gray-light);
}

.footer-taglines h3 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.3;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.footer-taglines.in-view h3 {
  opacity: 1;
  transform: translateY(0);
}

.footer-taglines.in-view h3:nth-child(2) {
  transition-delay: 0.15s;
}

.footer-taglines.in-view h3:nth-child(3) {
  transition-delay: 0.3s;
}

.footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.45s;
}

.footer-taglines.in-view .footer-cta {
  opacity: 1;
  transform: translateY(0);
}

.footer-main {
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid var(--color-gray-light);
}

.footer-contact h4 {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 16px;
  font-weight: 400;
}

.footer-contact p {
  font-size: 13px;
  color: var(--color-dark);
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--color-dark);
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 0.5;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-brand .footer-logo img {
  height: 60px;
  width: auto;
}

.footer-brand .social-links {
  display: flex;
  gap: 16px;
}

.footer-brand .social-links a {
  font-size: 12px;
  color: var(--color-dark);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.footer-brand .social-links a:hover {
  opacity: 1;
}

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

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-legal span,
.footer-legal a {
  font-size: 11px;
  color: var(--color-gray);
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--color-dark);
}

.footer-credit {
  font-size: 9px;
  color: var(--color-gray);
  letter-spacing: 0.5px;
}

.footer-credit a {
  color: #51b0d3;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.footer-credit a:hover {
  opacity: 1;
}

/* === Scroll Animations === */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up.delay-1 { transition-delay: 0.15s; }
.fade-in-up.delay-2 { transition-delay: 0.3s; }
.fade-in-up.delay-3 { transition-delay: 0.45s; }

/* === Logo Text (no image logos) === */
.logo-text {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.4s ease;
}

.site-header.at-bottom .logo-text {
  color: var(--color-dark);
}

.logo-text-dark {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-loader-text {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInLoader 1s ease 0.3s forwards;
  z-index: 1;
}

/* Hash frame - hidden on desktop, shown on mobile */
.loader-hash {
  display: none;
}

/* Mobile scroll hint - hidden on desktop */
.mobile-scroll-hint {
  display: none;
}

@media screen and (max-width: 1024px) {
  .loading-lines {
    display: none;
  }

  .loader-hash {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
  }

  .hash-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
  }

  /* Vertical lines */
  .hash-v {
    width: 1px;
    top: 0;
    height: 0;
    animation: hashGrowV 1s ease forwards;
  }

  .hash-v1 {
    left: 30%;
    animation-delay: 0s;
  }

  .hash-v2 {
    left: 70%;
    animation-delay: 0.1s;
  }

  /* Horizontal lines */
  .hash-h {
    height: 1px;
    left: 0;
    width: 0;
    animation: hashGrowH 1s ease forwards;
  }

  .hash-h1 {
    top: 40%;
    animation-delay: 0.2s;
  }

  .hash-h2 {
    top: 60%;
    animation-delay: 0.3s;
  }

  @keyframes hashGrowV {
    to { height: 100%; }
  }

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

  .logo-loader-text {
    font-size: 14px;
    letter-spacing: 3px;
  }
}

/* === Night Mode Toggle Button === */
.night-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-light);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.night-toggle:hover {
  opacity: 1;
  transform: scale(1.1);
}

body.night-mode .night-toggle {
  background: #e8e8ea;
  color: #1a1a1c;
  border-color: rgba(0,0,0,0.15);
}

body.night-mode .night-toggle i::before {
  content: "\f185"; /* sun icon */
}

/* === Night Mode Indicator === */
.night-mode-indicator {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-60px);
  z-index: 9000;
  background: var(--color-dark);
  color: var(--color-light);
  padding: 10px 24px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.night-mode-indicator.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* === Night Mode === */
body.night-mode {
  --color-bg-light: #1a1a1c;
  --color-bg-dark: #0e0e10;
  --color-dark: #e8e8ea;
  --color-light: #e8e8ea;
  --color-gray: #7a7a7e;
  --color-gray-light: #333336;
}

body.night-mode .about-section,
body.night-mode .design-section,
body.night-mode .careers-section,
body.night-mode .property-care-section,
body.night-mode .contact-section,
body.night-mode .site-footer {
  background: #1a1a1c;
}

body.night-mode .process-detail-section {
  background: #141416;
}

body.night-mode .about-detail-section {
  background: #141416;
  color: #e8e8ea;
}

body.night-mode .night-mode-indicator {
  background: var(--color-light);
  color: #1a1a1c;
}

body.night-mode .about-section::before {
  background: #1a1a1c;
}

body.night-mode .site-header.scrolled {
  background-color: #1a1a1c;
}

body.night-mode .site-header.at-bottom {
  background-color: #1a1a1c;
}

body.night-mode .about-content p,
body.night-mode .design-description,
body.night-mode .careers-content p,
body.night-mode .property-care-content p {
  color: #999;
}

body.night-mode .contact-form input,
body.night-mode .contact-form select,
body.night-mode .contact-form textarea {
  background: #262628;
  border-color: #444;
  color: #e8e8ea;
}

/* Night mode: fix hardcoded #666 text colors for accessibility */
body.night-mode .about-content p,
body.night-mode .design-description,
body.night-mode .careers-content p,
body.night-mode .property-care-content p,
body.night-mode .contact-info p,
body.night-mode .perk p {
  color: #999;
}

body.night-mode .about-content h3,
body.night-mode .design-content h2,
body.night-mode .careers-content h2,
body.night-mode .property-care-content h2,
body.night-mode .contact-info h2 {
  color: #e8e8ea;
}

body.night-mode .sticky-hero-text.sticky-docked {
  color: #e8e8ea;
}

body.night-mode .service-item {
  border-color: #444;
}

body.night-mode .service-item span,
body.night-mode .service-item i {
  color: #e8e8ea;
}

body.night-mode .care-list li {
  color: #e8e8ea;
}

body.night-mode .care-list li i {
  color: #e8e8ea;
}

body.night-mode .perk {
  border-color: #444;
}

body.night-mode .perk i,
body.night-mode .perk h4 {
  color: #e8e8ea;
}

body.night-mode .btn-arrow-dark {
  color: #e8e8ea;
  border-color: #555;
}

body.night-mode .btn-arrow-dark .btn-icon {
  border-color: #555;
}

body.night-mode .btn-arrow-dark .btn-icon::after {
  background: #e8e8ea;
}

body.night-mode .btn-arrow-dark:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #e8e8ea;
}

body.night-mode .contact-item i {
  color: #e8e8ea;
}

body.night-mode .contact-item a,
body.night-mode .contact-item span {
  color: #e8e8ea;
}

body.night-mode .contact-item-label {
  color: #7a7a7e;
}

body.night-mode .form-group label {
  color: #7a7a7e;
}

body.night-mode .form-submit {
  background: #e8e8ea;
  color: #1a1a1c;
}

body.night-mode .project-label {
  color: #c0c0c4;
}

body.night-mode .project-description,
body.night-mode .project-detail-label {
  color: #aaaaae;
}

body.night-mode .form-submit .btn-icon {
  border-color: rgba(0, 0, 0, 0.3);
}

body.night-mode .form-submit .btn-icon::after {
  background: #1a1a1c;
}

body.night-mode .footer-taglines h3 {
  color: #e8e8ea;
}

body.night-mode .footer-contact p,
body.night-mode .footer-nav a {
  color: #e8e8ea;
}

body.night-mode .footer-brand .social-links a {
  color: #e8e8ea;
}

body.night-mode .logo-text-dark {
  color: #e8e8ea;
}

body.night-mode .footer-taglines,
body.night-mode .footer-main {
  border-bottom-color: #333;
}

body.night-mode .property-care-section {
  border-top-color: #333;
}

body.night-mode .contact-form select option {
  background: #262628;
  color: #e8e8ea;
}

/* === Section Label === */
.section-label {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 16px;
  font-weight: 400;
}

/* === Services Grid === */
.design-description {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.service-item:hover {
  border-color: var(--color-dark);
  background: rgba(0, 0, 0, 0.02);
}

.service-item i {
  font-size: 24px;
  color: var(--color-dark);
  opacity: 0.7;
}

.service-item span {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-dark);
  text-align: center;
}

/* === Process Detail Section === */
.process-detail-section {
  background: var(--color-dark);
  padding: 120px 60px;
  color: var(--color-light);
}

.process-detail-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.process-detail-header {
  text-align: center;
  margin-bottom: 80px;
}

.process-detail-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  color: var(--color-light);
  line-height: 1.1;
  margin-bottom: 20px;
}

.process-detail-header p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.process-step {
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.process-step:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.step-number {
  display: block;
  font-size: 36px;
  font-weight: 300;
  color: var(--color-gray);
  margin-bottom: 24px;
  opacity: 0.5;
}

.process-step h4 {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-light);
  margin-bottom: 16px;
}

.process-step p {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.7;
}

/* === About Detail Section === */
.about-detail-section {
  background: var(--color-dark);
  padding: 120px 60px;
  color: var(--color-light);
}

.about-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-detail-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-detail-images picture {
  overflow: hidden;
}

.about-detail-images picture:last-child {
  margin-top: 40px;
}

.about-img-1,
.about-img-2 {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.about-detail-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  color: var(--color-light);
  line-height: 1.2;
  margin-bottom: 30px;
}

.about-detail-content p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 36px;
  font-weight: 400;
  color: var(--color-light);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gray);
}

.testimonial {
  margin-top: 30px;
  padding: 24px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.testimonial p {
  font-size: 14px;
  font-style: italic;
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.testimonial cite {
  font-size: 12px;
  color: var(--color-gray);
  font-style: normal;
  letter-spacing: 1px;
}

/* === Careers Section === */
.careers-section {
  background: var(--color-light);
  padding: 120px 60px;
}

.careers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.careers-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.careers-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.careers-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.perk {
  padding: 24px 16px;
  border: 1px solid var(--color-gray-light);
  text-align: center;
  transition: border-color 0.3s ease;
}

.perk:hover {
  border-color: var(--color-dark);
}

.perk i {
  font-size: 24px;
  color: var(--color-dark);
  margin-bottom: 12px;
  display: block;
}

.perk h4 {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.perk p {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.careers-image {
  overflow: hidden;
}

.careers-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 6s ease;
}

.careers-image:hover img {
  transform: scale(1.05);
}

/* === Property Care Section === */
.property-care-section {
  background: var(--color-light);
  padding: 120px 60px;
  border-top: 1px solid var(--color-gray-light);
}

.property-care-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.property-care-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.property-care-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.care-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.care-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-dark);
}

.care-list li i {
  color: var(--color-dark);
  font-size: 12px;
  opacity: 0.5;
}

.property-care-image {
  overflow: hidden;
}

.property-care-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 6s ease;
}

.property-care-image:hover img {
  transform: scale(1.05);
}

.property-care-section.commercial {
  background: var(--color-dark);
  border-top: none;
}

.property-care-section.commercial .property-care-content h2,
.property-care-section.commercial .care-list li {
  color: var(--color-light);
}

.property-care-section.commercial .property-care-content p {
  color: var(--color-gray);
}

.property-care-section.commercial .section-label {
  color: var(--color-gray);
}

.property-care-section.commercial .care-list li i {
  color: var(--color-light);
}

.property-care-section.commercial .btn-arrow-dark {
  color: var(--color-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.property-care-section.commercial .btn-arrow-dark:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-light);
}

.property-care-section.commercial .btn-arrow-dark .btn-icon {
  border-color: rgba(255, 255, 255, 0.3);
}

.property-care-section.commercial .btn-arrow-dark .btn-icon::after {
  background: var(--color-light);
}

/* === Process Subtext === */
.process-subtext {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 40px;
}

.process-content .btn-arrow {
  color: var(--color-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.process-content .btn-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-light);
}

.process-content .btn-arrow .btn-icon {
  border-color: rgba(255, 255, 255, 0.3);
}

.process-content .btn-arrow .btn-icon::after {
  background: var(--color-light);
}

/* === Contact Section === */
.contact-section {
  background: var(--color-light);
  padding: 120px 60px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item i {
  font-size: 16px;
  color: var(--color-dark);
  margin-top: 4px;
  opacity: 0.6;
}

.contact-item-label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  font-size: 14px;
  color: var(--color-dark);
}

.contact-item a:hover {
  opacity: 0.6;
}

/* === Contact Form === */
.contact-form-wrapper {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease 0.2s;
}

.contact-form-wrapper.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gray);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-dark);
  background: transparent;
  border: 1px solid var(--color-gray-light);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}

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

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-light);
  background: var(--color-dark);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  grid-column: 1 / -1;
  justify-self: start;
}

.form-submit:hover {
  opacity: 0.8;
}

.form-submit .btn-icon {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-submit .btn-icon::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-light);
  border-radius: 50%;
}

/* === Commercial Page Overrides === */
.process-content h1 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  color: var(--color-light);
  line-height: 1.1;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.process-content h1 span {
  display: block;
}

.process-content.in-view h1 {
  opacity: 1;
  transform: translateY(0);
}

/* Hide 5-star badge when design-section is used on commercial page (no badge SVG needed) */
.commercial-page .design-content::before {
  display: none;
}

/* === Responsive Design === */
@media screen and (max-width: 1024px) {
  :root {
    --sidebar-width: 0px;
  }

  .right-sidebar {
    width: 100%;
    top: -100vh;
  }

  .right-sidebar::before {
    display: none;
  }

  .right-sidebar.active {
    top: 0;
    width: 100%;
  }

  .sidebar-hamburger {
    top: 0;
    right: 0;
    padding: 18px 24px;
  }

  .sidebar-inner {
    padding: 80px 30px 40px;
    align-items: center;
  }

  .night-toggle {
    bottom: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
  }

  .hamburger span {
    width: 28px;
    height: 1.5px;
    background: var(--color-light);
    transition: all 0.4s ease;
  }

  .header-inner {
    padding: 16px 24px;
  }

  .hero-content {
    padding: 0 30px 60px;
  }

  .hero-bottom {
    display: none;
  }

  .hero-sidebar-preview {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  /* Mobile scroll hint - no longer needed since hero-bottom is visible */
  .mobile-scroll-hint {
    display: none;
  }

  .sticky-hero-text {
    left: 24px;
    bottom: 40px;
    font-size: clamp(36px, 10vw, 56px);
    position: fixed;
    mix-blend-mode: difference;
  }

  .about-section {
    padding: 160px 30px 80px;
  }

  .about-section::before {
    display: none;
  }

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

  .design-section {
    padding: 80px 30px;
  }

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

  .process-content {
    padding: 40px 30px;
  }

  .project-slide {
    flex: 0 0 100vw;
  }

  .project-slide-content {
    padding: 60px 30px;
    opacity: 1;
    max-width: 100%;
  }

  .project-slide-overlay {
    background: linear-gradient(to top, rgba(33, 33, 35, 0.9) 0%, rgba(33, 33, 35, 0.5) 50%, rgba(33, 33, 35, 0.2) 100%);
  }

  .project-slide-content .project-title {
    font-size: 28px;
  }

  .project-slide-content .project-description {
    font-size: 13px;
    line-height: 1.6;
  }

  .projects-carousel {
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  .project-right-col {
    display: none;
  }

  .project-controls {
    right: 20px;
    left: 20px;
    bottom: 24px;
    gap: 12px;
  }

  .project-nav-btn img {
    width: 28px;
  }

  .project-view-btn {
    font-size: 12px;
  }

  .project-cursor {
    display: none;
  }

  .footer-taglines {
    padding: 60px 30px;
  }

  .footer-taglines h3 {
    font-size: 24px;
  }

  .footer-cta {
    margin-top: 24px;
  }

  .footer-cta .btn-arrow-dark {
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-align: center;
    line-height: 1.6;
  }

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

  .footer-brand {
    align-items: flex-start;
    gap: 24px;
  }

  .footer-bottom {
    padding: 20px 30px;
    flex-direction: column;
    align-items: flex-start;
  }

  .process-detail-section {
    padding: 80px 30px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .about-detail-section {
    padding: 80px 30px;
  }

  .about-detail-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .careers-section {
    padding: 80px 30px;
  }

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

  .property-care-section {
    padding: 80px 30px;
  }

  .property-care-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-section {
    padding: 80px 30px;
  }

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

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

  .sticky-hero-text {
    left: 30px;
  }
}

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

  .faq-section {
    padding: 80px 24px;
  }

  .faq-item summary {
    padding: 20px 32px 20px 0;
    font-size: 15px;
  }

  .hero {
    height: 100dvh;
  }

  .hero-heading {
    font-size: 40px;
  }

  .hero-social {
    display: none;
  }

  .project-slide {
    height: 85vh;
  }

  .project-details {
    gap: 16px;
    flex-direction: column;
  }

  .project-detail {
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }

  .design-content::before {
    width: 80px;
    height: 32px;
  }

  .about-image {
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    width: 100%;
    padding: 0;
  }

  .about-image img {
    height: 280px;
    aspect-ratio: auto;
    border-radius: 0;
    object-fit: cover;
    width: 100%;
  }

  .design-image img {
    height: 350px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .careers-perks {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-detail-images {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-img-1,
  .about-img-2 {
    height: 250px;
  }

  .about-detail-images picture:last-child {
    margin-top: 0;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

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

  .careers-image img,
  .property-care-image img {
    height: 300px;
  }

  .sticky-hero-text {
    font-size: 36px;
    left: 25px;
    bottom: 50px;
    position: fixed;
  }
}

/* ===========================================
   SERVICE, AREA & BLOG PAGE STYLES
   =========================================== */

.service-page {
  padding-top: var(--header-height, 80px);
}

/* Full-width header on service/area/blog pages (no sidebar) */
.service-page ~ .site-footer,
.service-page {
  --sidebar-width: 0px;
}

body:has(.service-page) .header-inner {
  width: 100%;
}

body:has(.service-page) .site-header {
  background-color: var(--color-dark);
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 60px;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumb ol li::after {
  content: '/';
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.2);
}

.breadcrumb ol li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Service Hero */
.service-hero {
  position: relative;
  padding: 100px 60px 80px;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: var(--color-light);
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/optimized/landing-1920.avif') center / cover no-repeat;
  z-index: 0;
}

.service-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33, 33, 35, 0.75) 0%, rgba(33, 33, 35, 0.88) 100%);
  z-index: 1;
}

.service-hero-inner {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.service-hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
}

.service-hero-sub {
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
  opacity: 0.75;
  margin-bottom: 36px;
}

/* Light button variant for dark backgrounds */
.service-hero .btn-arrow-dark,
.service-hero .btn-arrow {
  color: var(--color-light);
  border-color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.service-hero .btn-arrow-dark:hover,
.service-hero .btn-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.service-hero .btn-arrow-dark .btn-icon,
.service-hero .btn-arrow .btn-icon {
  border-color: rgba(255, 255, 255, 0.35);
}

.service-hero .btn-arrow-dark .btn-icon::after,
.service-hero .btn-arrow .btn-icon::after {
  background: var(--color-light);
}

/* Service Content */
.service-content {
  padding: 80px 60px;
  background: var(--color-light);
}

.service-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.service-content h2 {
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 400;
  color: var(--color-dark);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-content h2:first-child {
  margin-top: 0;
}

.service-content p {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: rgba(33, 33, 35, 0.75);
  margin-bottom: 16px;
}

.service-content a {
  color: var(--color-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Service Features Grid */
.service-features {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.service-feature {
  padding: 28px 24px;
  border: 1px solid rgba(33, 33, 35, 0.08);
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.service-feature:hover {
  border-color: rgba(33, 33, 35, 0.2);
}

.service-feature h3 {
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-feature h3 i {
  font-size: 18px;
  opacity: 0.45;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33, 33, 35, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.service-feature p {
  margin-bottom: 0;
  padding-left: 48px;
}

/* Service Benefits List */
.service-benefits {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.service-benefits li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(33, 33, 35, 0.08);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
  color: rgba(33, 33, 35, 0.75);
}

.service-benefits li:last-child {
  border-bottom: none;
}

/* Service Process List */
.service-process {
  padding-left: 20px;
  margin: 16px 0 24px;
}

.service-process li {
  padding: 8px 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
  color: rgba(33, 33, 35, 0.75);
}

/* Service CTA Block */
.service-cta-block {
  margin-top: 48px;
  padding: 48px 40px;
  background: var(--color-dark);
  border-radius: 8px;
  text-align: center;
  color: var(--color-light);
}

.service-cta-block h2 {
  margin-top: 0;
  color: var(--color-light);
}

.service-cta-block p {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.service-cta-block a {
  color: var(--color-light);
}

.service-cta-block .btn-arrow-dark {
  color: var(--color-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-cta-block .btn-arrow-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.service-cta-block .btn-arrow-dark .btn-icon {
  border-color: rgba(255, 255, 255, 0.35);
}

.service-cta-block .btn-arrow-dark .btn-icon::after {
  background: var(--color-light);
}

/* Related Services */
.service-related {
  padding: 40px 60px;
  background: var(--color-dark);
  text-align: center;
}

.service-related h3 {
  color: var(--color-light);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.related-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.related-links a {
  color: var(--color-light);
  text-decoration: none;
  font-size: 16px;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.related-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  gap: 48px;
}

.blog-card {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(33, 33, 35, 0.1);
}

.blog-card:last-child {
  border-bottom: none;
}

.blog-card h2 {
  margin-top: 0 !important;
  font-size: clamp(20px, 2vw, 30px) !important;
}

.blog-card h2 a {
  text-decoration: none;
}

.blog-card h2 a:hover {
  text-decoration: underline;
}

.blog-meta {
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.5;
  margin-bottom: 12px !important;
}

.blog-read-more {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile responsive for service pages */
@media screen and (max-width: 768px) {
  .breadcrumb {
    padding: 12px 24px;
  }

  .service-hero {
    padding: 60px 24px 40px;
    min-height: 320px;
  }

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

  .service-related {
    padding: 32px 24px;
  }

  .service-cta-block {
    padding: 24px;
  }

  .related-links {
    gap: 12px;
  }

  .related-links a {
    font-size: 14px;
    padding: 6px 14px;
  }
}
