/* Vibe Diseño - Master Stylesheet */

/* --- 1. DESIGN TOKENS & RESET --- */
:root {
  --vibe-bg-dark: #0B0B0D;
  --vibe-bg-light: #F4F2EE;
  --vibe-text-dark: #0B0B0D;
  --vibe-text-light: #F4F2EE;
  --vibe-accent: #B88A66; /* Bronze Accent */
  --vibe-accent-hover: #c99c78;
  --vibe-text-muted: rgba(244, 242, 238, 0.72);
  --vibe-text-muted-dark: rgba(11, 11, 13, 0.68);
  --vibe-transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  --vibe-transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: auto; /* Required for Lenis smooth scrolling */
  overflow-x: hidden;
  background-color: var(--vibe-bg-dark);
}

body {
  font-family: var(--font-body);
  background-color: var(--vibe-bg-dark);
  color: var(--vibe-text-light);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Lenis Smooth Scroll Configuration */
html.lenis {
  height: auto;
}

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

.lenis.lenis-smooth [data-lenis-prevent] {
  overflow: clip;
}

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

/* --- 2. GLOBAL STYLES & UTILITIES --- */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--vibe-transition-fast);
}

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

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

.relative {
  position: relative;
}

.w-full {
  width: 100%;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.group:hover .cta-arrow {
  transform: translateY(4px);
}

/* Premium noise grain overlay */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: overlay;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--vibe-bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(244, 242, 238, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--vibe-accent);
}

/* Text Accent */
.text-bronze {
  color: var(--vibe-accent);
}

.bg-bronze {
  background-color: var(--vibe-accent);
}

/* --- 3. PREMIUM BUTTONS --- */
.btn-outline {
  border: 1px solid var(--vibe-text-light);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vibe-text-light);
  background: transparent;
  transition: var(--vibe-transition-fast);
}

.btn-outline:hover {
  background-color: var(--vibe-text-light);
  color: var(--vibe-bg-dark);
  transform: translateY(-2px);
}

.btn-bronze {
  background-color: var(--vibe-accent);
  color: var(--vibe-bg-dark);
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--vibe-transition-fast);
}

.btn-bronze:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(184, 138, 102, 0.3);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--vibe-accent);
  color: var(--vibe-accent);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--vibe-transition-fast);
  margin-top: 2rem;
}

.btn-whatsapp:hover {
  background-color: var(--vibe-accent);
  color: var(--vibe-bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(184, 138, 102, 0.2);
}

/* --- 4. NAVIGATION HEADER --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: var(--vibe-transition-smooth);
  padding: 1.5rem 0;
}

.main-header.scrolled {
  background-color: rgba(11, 11, 13, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(244, 242, 238, 0.05);
}

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

.nav-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  /* Logo is dark on white — invert to white on transparent for dark bg */
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, opacity 0.3s ease;
  opacity: 0.92;
}

.nav-logo:hover {
  opacity: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.nav-link {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-link:hover {
  opacity: 1;
  color: var(--vibe-accent);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  opacity: 0.8;
  padding: 0.5rem;
  transition: var(--vibe-transition-fast);
}

.mobile-menu-btn:hover {
  opacity: 1;
  color: var(--vibe-accent);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: var(--vibe-bg-dark);
  display: flex;
  flex-col: column;
  flex-direction: column;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.5s;
}

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

.mobile-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4rem;
}

.mobile-close-btn {
  padding: 0.5rem;
  opacity: 0.8;
  transition: var(--vibe-transition-fast);
}

.mobile-close-btn:hover {
  opacity: 1;
  color: var(--vibe-accent);
}

.mobile-menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.4s ease, opacity 0.4s ease, color 0.3s ease;
}

.mobile-nav-overlay.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger transition delay for menu items */
.mobile-nav-overlay.open .mobile-link:nth-child(1) { transition-delay: 100ms; }
.mobile-nav-overlay.open .mobile-link:nth-child(2) { transition-delay: 150ms; }
.mobile-nav-overlay.open .mobile-link:nth-child(3) { transition-delay: 200ms; }
.mobile-nav-overlay.open .mobile-link:nth-child(4) { transition-delay: 250ms; }

.mobile-link:hover {
  color: var(--vibe-accent);
  padding-left: 0.5rem;
}

.mobile-overlay-footer {
  width: 100%;
  margin-top: auto;
}

/* --- 5. COMPONENT-BASED GRID LAYOUTS (DESKTOP) --- */

/* Base Pinning Architecture (Desktop Only - Active above 1024px) */
@media (min-width: 1024px) {
  .section-pinned {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 11, 13, 0.5) 0%,
    rgba(11, 11, 13, 0.3) 50%,
    rgba(11, 11, 13, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-title-container {
  margin-bottom: 1.5rem;
}

.title-line {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 8.75rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--vibe-text-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  font-weight: 400;
  opacity: 0.9;
  max-width: 38rem;
  margin-bottom: 2.5rem;
  color: var(--vibe-text-light);
}

.hero-subtext {
  display: block;
  font-size: 0.875rem;
  opacity: 0.6;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
  font-weight: 300;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  transition: var(--vibe-transition-smooth);
}

.scroll-text {
  font-size: 0.625rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
}

.scroll-line {
  width: 1px;
  height: 2rem;
  background-color: rgba(244, 242, 238, 0.5);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--vibe-accent);
  transform: translateY(-100%);
  animation: scroll-dot 2s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes scroll-dot {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* --- SECTION GENERAL HEADINGS & STYLES --- */
.section-subtitle {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vibe-accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--vibe-text-light);
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 0.9375rem;
  color: var(--vibe-text-muted);
  line-height: 1.7;
  max-width: 28rem;
  margin-bottom: 2.5rem;
}

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

/* About section: anchor image to top so the face is always visible */
.about-img-wrapper .section-img {
  object-position: top center;
}

/* --- SERVICES (INTERIOR DESIGN) SECTION --- */
.interior-section {
  background-color: var(--vibe-bg-dark);
  z-index: 20;
}

@media (min-width: 1024px) {
  .interior-img-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 45vw;
    height: 100%;
    overflow: hidden;
  }
  
  .interior-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 50%, var(--vibe-bg-dark) 100%);
  }

  .interior-content {
    position: absolute;
    left: 45vw;
    top: 0;
    width: 55vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6vw;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 32rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-icon {
  color: var(--vibe-accent);
  margin-bottom: 0.75rem;
  transition: var(--vibe-transition-fast);
}

.service-item:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
}

.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  color: var(--vibe-text-light);
}

.service-desc {
  font-size: 0.75rem;
  color: var(--vibe-text-muted);
  line-height: 1.4;
}

/* --- PROJECTS SECTION --- */
.projects-section {
  background-color: var(--vibe-bg-dark);
  z-index: 25;
}

@media (min-width: 1024px) {
  .projects-bg-title {
    position: absolute;
    left: 6vw;
    top: 8vh;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    color: var(--vibe-text-light);
    margin: 0;
  }

  .featured-project-card {
    position: absolute;
    left: 6vw;
    top: 18vh;
    right: 6vw;
    height: 36vh;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    background-color: rgba(244, 242, 238, 0.02);
    border: 1px solid rgba(244, 242, 238, 0.05);
  }

  .featured-img-container {
    position: relative;
    width: 60%;
    height: 100%;
    overflow: hidden;
  }

  .featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

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

  .featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 11, 13, 0.8) 0%, transparent 100%);
  }

  .featured-details {
    width: 40%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(244, 242, 238, 0.05);
  }

  .projects-gallery {
    position: absolute;
    left: 6vw;
    bottom: 8vh;
    right: 6vw;
    height: 28vh;
    display: flex;
    gap: 1.5rem;
  }

  .gallery-item {
    flex: 1;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(244, 242, 238, 0.05);
  }
}

/* Mobile Featured Cards Fallback */
.featured-project-card {
  border-radius: 2px;
}

.featured-tag {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vibe-accent);
  margin-bottom: 0.5rem;
  display: block;
}

.featured-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.75rem;
  color: var(--vibe-text-light);
}

.featured-desc {
  font-size: 0.8125rem;
  color: var(--vibe-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.featured-link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vibe-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.featured-link-arrow {
  transition: transform 0.3s ease;
}

.featured-link:hover .featured-link-arrow {
  transform: translate(2px, -2px);
}

/* Gallery Items Styles */
.gallery-img-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 13, 0.85) 0%, rgba(11, 11, 13, 0.2) 60%, transparent 100%);
  transition: var(--vibe-transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  background: linear-gradient(to top, rgba(11, 11, 13, 0.95) 0%, rgba(11, 11, 13, 0.4) 60%, transparent 100%);
}

.gallery-details {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 5;
}

.gallery-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vibe-text-light);
  transform: translateY(0);
  transition: var(--vibe-transition-smooth);
}

/* --- ABOUT SECTION --- */
.about-section {
  background-color: var(--vibe-bg-dark);
  z-index: 30;
}

@media (min-width: 1024px) {
  .about-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 50vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6vw;
  }

  .about-img-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 50vw;
    height: 100%;
    overflow: hidden;
  }
  
  .about-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, transparent 50%, var(--vibe-bg-dark) 100%);
  }
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin-bottom: 3rem;
}

.about-text-lead {
  font-size: 0.9375rem;
  color: var(--vibe-text-light);
  line-height: 1.7;
}

.about-text {
  font-size: 0.875rem;
  color: var(--vibe-text-muted);
  line-height: 1.6;
}

.stats-container {
  display: flex;
  gap: 3.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--vibe-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.6875rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vibe-text-muted);
  margin-top: 0.5rem;
}

/* --- CONTACT SECTION --- */
.contact-section {
  position: relative;
  z-index: 35;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.contact-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.contact-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 11, 13, 0.75);
}

.contact-content-container {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 8vh 6vw;
}

.contact-flex-box {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-info {
    width: 42%;
  }

  .contact-form-wrapper {
    width: 58%;
  }
}

.contact-lead-text {
  font-size: 0.9375rem;
  color: var(--vibe-text-light);
  line-height: 1.7;
  max-width: 25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  color: var(--vibe-accent);
  transition: var(--vibe-transition-fast);
}

.contact-detail-item:hover .contact-detail-icon {
  transform: translateY(-2px);
}

.contact-detail-text {
  font-size: 0.875rem;
  color: var(--vibe-text-light);
  transition: var(--vibe-transition-fast);
}

.contact-detail-item:hover .contact-detail-text {
  color: var(--vibe-accent);
}

/* Glassmorphic contact form */
.glassmorphic {
  background: rgba(11, 11, 13, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 242, 238, 0.08);
  padding: 3rem;
  border-radius: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group:last-of-type {
  margin-bottom: 2rem;
}

.form-label {
  font-size: 0.6875rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(244, 242, 238, 0.6);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background-color: rgba(11, 11, 13, 0.6);
  border: 1px solid rgba(244, 242, 238, 0.15);
  color: var(--vibe-text-light);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: var(--vibe-transition-fast);
  border-radius: 2px;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--vibe-accent);
  outline: none;
  background-color: rgba(11, 11, 13, 0.8);
  box-shadow: 0 0 10px rgba(184, 138, 102, 0.1);
}

.form-textarea {
  resize: none;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.125rem;
  background-color: var(--vibe-accent);
  color: var(--vibe-bg-dark);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: var(--vibe-transition-fast);
}

.btn-submit:hover {
  filter: brightness(1.15);
  box-shadow: 0 5px 20px rgba(184, 138, 102, 0.4);
}

/* --- 6. FOOTER --- */
.main-footer {
  position: relative;
  background-color: var(--vibe-bg-dark);
  padding: 4rem 6vw;
  z-index: 40;
}

.footer-divider {
  position: absolute;
  top: 0;
  left: 6vw;
  right: 6vw;
  height: 1px;
  background-color: rgba(244, 242, 238, 0.08);
}

.footer-container {
  max-width: 72rem;
  margin: 0 auto;
}

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

.brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-text {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(244, 242, 238, 0.6);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(244, 242, 238, 0.6);
  margin-bottom: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.8125rem;
  opacity: 0.8;
}

.footer-link:hover {
  color: var(--vibe-accent);
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(244, 242, 238, 0.3);
  border-radius: 50%;
  color: var(--vibe-text-light);
  background-color: rgba(244, 242, 238, 0.06);
  transition: var(--vibe-transition-fast);
  position: relative;
  overflow: hidden;
}

.social-link-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.social-link-btn:hover {
  border-color: var(--vibe-accent);
  color: var(--vibe-accent);
  background-color: rgba(184, 138, 102, 0.1);
  box-shadow: 0 4px 15px rgba(184, 138, 102, 0.2);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-t: 1px solid rgba(244, 242, 238, 0.05);
  border-top: 1px solid rgba(244, 242, 238, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright,
.privacy-link {
  font-size: 0.75rem;
  color: rgba(244, 242, 238, 0.4);
  font-family: var(--font-display);
}

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

/* --- 7. RESPONSIVE DESIGN & MOBILE FIXES (BUG CORRECTION) --- */

/* Responsive breakpoints matching Tailwind specs */
@media (max-width: 1023px) {
  
  /* CRITICAL MOBILE BUG SOLVED: Disable absolute Fullscreen Pinning wrappers */
  .section-pinned {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    padding: 5rem 6vw 4rem 6vw; /* Clean safe paddings */
  }

  /* Make sure background isn't trapped in hardware will-change repaint loops */
  .hero-section,
  .contact-section {
    min-height: 80vh !important;
    height: auto !important;
    justify-content: center;
    padding-top: 7rem !important;
  }

  .main-header {
    padding: 1rem 0;
  }

  .main-header.scrolled {
    padding: 0.75rem 0;
  }

  .desktop-nav,
  .btn-nav-desktop {
    display: none !important;
  }

  .mobile-menu-btn {
    display: block !important;
  }

  /* Structural block resets for stacked mobile view */
  .interior-img-wrapper,
  .interior-content,
  .about-content,
  .about-img-wrapper {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    padding: 0 !important;
  }

  /* Flow order adjustments */
  .interior-img-wrapper {
    height: 45vh !important;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(244, 242, 238, 0.05);
  }

  .about-img-wrapper {
    height: 45vh !important;
    margin-top: 3rem;
    border: 1px solid rgba(244, 242, 238, 0.05);
  }
  
  .interior-gradient,
  .about-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--vibe-bg-dark) 100%) !important;
  }

  /* Projects section responsive layout */
  .projects-bg-title {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
    margin-bottom: 2rem !important;
  }

  .featured-project-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    height: auto !important;
    flex-direction: column !important;
    margin-bottom: 2.5rem !important;
  }

  .featured-img-container {
    width: 100% !important;
    height: 35vh !important;
  }

  .featured-details {
    width: 100% !important;
    padding: 2rem !important;
    border-left: none !important;
    border-top: 1px solid rgba(244, 242, 238, 0.05) !important;
  }

  .projects-gallery {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    right: auto !important;
    height: auto !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .gallery-item {
    height: 30vh !important;
  }

  /* Stats alignment */
  .stats-container {
    gap: 2rem;
    flex-wrap: wrap;
  }

  /* Contact section layout stacking */
  .contact-flex-box {
    flex-direction: column !important;
    gap: 3.5rem !important;
  }

  .contact-info,
  .contact-form-wrapper {
    width: 100% !important;
  }

  /* Glassmorphic form size padding adjust for touch screens */
  .glassmorphic {
    padding: 2rem 1.5rem !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .form-group {
    margin-bottom: 1.25rem !important;
  }

  /* Footer responsiveness */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 4vw;
  }
  
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .stats-container {
    justify-content: space-between;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

@media (max-width: 1023px) {
  .desktop-social-nav {
    display: none !important;
  }
}

