/*
Theme Name: Résidence Prestige - Corporate
Theme URI: https://example.com
Description: Site vitrine corporate luxe pour promoteur immobilier haut de gamme à Casablanca. Multi-sections avec galerie, services et contact.
Version: 2.0.0
Author: Dev Studio
Text Domain: prestige-corporate
*/

/* =============================================
   CSS VARIABLES & RESET
============================================= */
:root {
  --gold: #C9A84C;
  --gold-light: #D4B968;
  --gold-dark: #A8883A;
  --gold-glow: rgba(201, 168, 76, 0.35);
  --green-dark: #1A3C34;
  --green-deeper: #0F2A24;
  --green-accent: #234D42;
  --black: #0A0A0A;
  --black-soft: #141414;
  --black-card: #1A1A1A;
  --white: #FFFFFF;
  --white-off: #F5F2ED;
  --gray-light: #E8E4DF;
  --gray: #9A9590;
  --gray-dark: #6B6560;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise / grain texture overlay for luxury print feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =============================================
   CUSTOM SCROLLBAR
============================================= */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

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

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--black);
}

/* =============================================
   PRELOADER
============================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: preloaderFadeIn 0.8s ease forwards;
}

.preloader__logo-image {
  display: block;
  height: var(--prestige-corp-logo-height-preloader, 52px) !important;
  width: auto !important;
  max-height: var(--prestige-corp-logo-height-preloader, 52px) !important;
  max-width: min(260px, 65vw);
  object-fit: contain;
}

.preloader__logo span {
  color: var(--white);
  font-weight: 300;
}

.preloader__bar {
  width: 120px;
  height: 1px;
  background: rgba(201, 168, 76, 0.15);
  overflow: hidden;
  opacity: 0;
  animation: preloaderFadeIn 0.8s 0.3s ease forwards;
}

.preloader__bar-inner {
  width: 0;
  height: 100%;
  background: var(--gold);
  animation: preloaderProgress 1.8s 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

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

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

/* =============================================
   NAVIGATION
============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background-color 0.4s ease,
              border-color 0.4s ease;
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: rgba(201, 168, 76, 0.15);
}

.nav__inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 2rem);
  padding: 1rem clamp(1rem, 2.2vw, 2rem);
  max-width: 1360px;
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1vw, 1.22rem);
  color: var(--gold);
  letter-spacing: clamp(0.4px, 0.08vw, 1.2px);
  text-transform: uppercase;
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav__logo-image {
  display: block;
  height: var(--prestige-corp-logo-height, 28px) !important;
  width: auto !important;
  max-height: var(--prestige-corp-logo-height, 28px) !important;
  max-width: min(220px, 19vw);
  object-fit: contain;
}

.nav__logo span {
  color: var(--white);
  font-weight: 300;
}

/* Decorative line under logo */
.nav__logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.4;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: clamp(0.8rem, 1vw, 1.35rem);
  list-style: none;
  min-width: 0;
  padding-inline: clamp(1.5rem, 2vw, 2.75rem) 0;
}

.nav__link {
  font-size: clamp(0.64rem, 0.56vw, 0.72rem);
  text-transform: uppercase;
  letter-spacing: clamp(0.45px, 0.05vw, 0.9px);
  color: var(--gray);
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--gold);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
  left: 0;
}

.nav__cta {
  padding: 0.55rem clamp(0.85rem, 1vw, 1.3rem);
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  font-size: clamp(0.62rem, 0.56vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: clamp(0.45px, 0.05vw, 0.8px);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 1400px) {
  .nav__cta {
    display: none;
  }

  .nav__inner {
    grid-template-columns: max-content minmax(0, 1fr);
    max-width: 1360px;
  }

  .nav__links {
    justify-content: flex-end;
    padding-inline: clamp(1.25rem, 1.8vw, 2.25rem) 0;
  }
}

@media (max-width: 1280px) {
  .nav__inner {
    gap: 1rem;
    padding: 0.9rem 1.25rem;
  }

  .nav__logo {
    font-size: 1.08rem;
    letter-spacing: 0.8px;
  }

  .nav__logo-image {
    height: var(--prestige-corp-logo-height-compact, 25px) !important;
    max-height: var(--prestige-corp-logo-height-compact, 25px) !important;
    max-width: min(190px, 22vw);
  }

  .nav__links {
    gap: 1rem;
    padding-inline: 0.35rem 0;
  }

  .nav__link {
    font-size: 0.68rem;
    letter-spacing: 0.75px;
  }
}

/* CTA shimmer effect */
.nav__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: none;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.nav__cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green-deeper);
  will-change: transform;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 10, 10, 0.6);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(26, 60, 52, 0.5) 0%, transparent 50%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, transparent 40%, rgba(10,10,10,0.6) 100%);
}

.hero__placeholder-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px dashed rgba(201, 168, 76, 0.15);
  margin: 2rem;
}

/* Gold corner accents */
.hero__corner {
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}

.hero__corner::before,
.hero__corner::after {
  content: '';
  position: absolute;
  background: var(--gold);
  opacity: 0.4;
}

.hero__corner--tl { top: 2rem; left: 2rem; }
.hero__corner--tl::before { top: 0; left: 0; width: 40px; height: 1px; }
.hero__corner--tl::after { top: 0; left: 0; width: 1px; height: 40px; }

.hero__corner--tr { top: 2rem; right: 2rem; }
.hero__corner--tr::before { top: 0; right: 0; width: 40px; height: 1px; }
.hero__corner--tr::after { top: 0; right: 0; width: 1px; height: 40px; }

.hero__corner--bl { bottom: 2rem; left: 2rem; }
.hero__corner--bl::before { bottom: 0; left: 0; width: 40px; height: 1px; }
.hero__corner--bl::after { bottom: 0; left: 0; width: 1px; height: 40px; }

.hero__corner--br { bottom: 2rem; right: 2rem; }
.hero__corner--br::before { bottom: 0; right: 0; width: 40px; height: 1px; }
.hero__corner--br::after { bottom: 0; right: 0; width: 1px; height: 40px; }

/* Particle canvas */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 3;
}

.hero__overtitle {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero__overtitle.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

/* Word-by-word reveal */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(15deg);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero__title .word.revealed {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
}

.hero__desc.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero__buttons.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Scroll down indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  opacity: 0.6;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.hero__scroll-indicator:hover {
  opacity: 1;
}

.hero__scroll-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero__scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative;
}

.hero__scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
  50% { transform: rotate(45deg) translate(3px, 3px); opacity: 0.5; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gold);
  color: var(--black);
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shimmer 3s 1s infinite;
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

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

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

.btn svg {
  width: 14px;
  height: 14px;
}

/* =============================================
   SECTION COMMON
============================================= */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section--dark {
  background: var(--black);
}

.section--green {
  background: var(--green-deeper);
}

.section--soft {
  background: var(--black-soft);
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__overtitle {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
}

.section__title em {
  color: var(--gold);
  font-style: italic;
}

.section__desc {
  max-width: 550px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Section divider: thin gold line with centered diamond */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  max-width: 600px;
  margin: 0 auto;
  height: 1px;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.section-divider::after {
  content: '';
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  z-index: 1;
  flex-shrink: 0;
}

/* =============================================
   ABOUT
============================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about__image-wrapper {
  position: relative;
  padding: 1.5rem;
}

/* Gold frame around image */
.about__image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 1.5rem;
  bottom: 1.5rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  pointer-events: none;
}

.about__image-wrapper::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(201, 168, 76, 0.15);
  pointer-events: none;
}

.about__image {
  aspect-ratio: 4/5;
  background: var(--green-dark);
  border: 1px dashed rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

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

.about__content {
  padding: 1rem 0;
}

.about__overtitle {
  display: inline-block;
  color: var(--gold);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.about__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about__title em {
  color: var(--gold);
  font-style: italic;
}

.about__text {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Decorative divider between text and stats */
.about__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.about__divider::before {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.3), transparent);
}

.about__divider::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 0;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
}

/* =============================================
   SERVICES
============================================= */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-card {
  padding: 2.5rem 2rem;
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Subtle background gradient on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Diamond / rotated-square icon container */
.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  transform: rotate(45deg);
  position: relative;
  z-index: 1;
}

.service-card__icon-inner {
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.service-card__text {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* =============================================
   GALLERY
============================================= */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery__item {
  aspect-ratio: 1;
  background: var(--green-dark);
  border: 1px solid rgba(201, 168, 76, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

/* Lightbox overlay on hover */
.gallery__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.gallery__item::after {
  content: '+';
  position: absolute;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 300;
  opacity: 0;
  transform: scale(0.7) rotate(45deg);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery__item:hover::before {
  opacity: 1;
}

.gallery__item:hover::after {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.gallery__item:hover {
  border-color: var(--gold);
  z-index: 1;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

/* =============================================
   PROJECT DETAILS
============================================= */
.details__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.detail-block {
  padding: 2.5rem;
  border: 1px solid rgba(201, 168, 76, 0.1);
  background: rgba(201, 168, 76, 0.02);
}

.detail-block__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Gold diamond marker before title */
.detail-block__title::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.detail-block__list {
  list-style: none;
}

.detail-block__list li {
  padding: 0.75rem 0;
  padding-left: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  color: var(--gray-light);
  display: flex;
  justify-content: space-between;
  position: relative;
  transition: background-color 0.3s ease;
}

/* Alternating subtle backgrounds */
.detail-block__list li:nth-child(even) {
  background: rgba(201, 168, 76, 0.02);
}

/* Gold accent marker on list items */
.detail-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 4px;
  height: 4px;
  background: var(--gold);
  opacity: 0.6;
}

.detail-block__list li span {
  color: var(--gray);
}

.detail-block__list li:hover {
  background: rgba(201, 168, 76, 0.04);
}

/* =============================================
   CONTACT
============================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact__info {
  padding: 1rem 0;
}

.contact__info-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.contact__info-text {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold);
  transition: var(--transition);
  transform: rotate(45deg);
}

.contact__detail-icon svg {
  transform: rotate(-45deg);
}

.contact__detail:hover .contact__detail-icon {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.5);
}

.contact__detail-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.contact__detail-value {
  color: var(--gray-light);
  font-size: 0.95rem;
}

/* Form wrapper with gold corner brackets */
.form-wrapper {
  position: relative;
  padding: 2.5rem;
  background: rgba(201, 168, 76, 0.02);
}

/* Top-left corner bracket */
.form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  pointer-events: none;
  opacity: 0.5;
}

/* Top-right corner bracket */
.form-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  pointer-events: none;
  opacity: 0.5;
}

/* Bottom corners via inner element */
.form-wrapper__corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.form-wrapper__corners::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: 0.5;
}

.form-wrapper__corners::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  opacity: 0.5;
}

/* Form styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
}

.form__input,
.form__select,
.form__textarea {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.12);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--gray-dark);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08), 0 0 20px rgba(201, 168, 76, 0.06);
}

.form__select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form__select option {
  background: var(--black);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--gray);
}

.form__checkbox input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  transition: var(--transition-fast);
}

.form__checkbox input[type="checkbox"]:checked {
  background: var(--gold);
}

.form__checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form__checkbox input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.25);
}

.form__checkbox a {
  color: var(--gold);
  text-decoration: underline;
}

.form__submit {
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  min-height: 44px;
}

.form__submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shimmer 3s infinite;
}

.form__submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.form__submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Merci thank-you state */
.merci-state {
  text-align: center;
  padding: 3rem 2rem;
}

.merci-state__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--gold);
}

.merci-state__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.merci-state__text {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =============================================
   MAP PLACEHOLDER
============================================= */
.map {
  width: 100%;
  height: 350px;
  background: var(--green-dark);
  border: 1px dashed rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =============================================
   FOOTER
============================================= */
.footer {
  padding: 4rem 2rem 2rem;
  background: var(--black);
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  position: relative;
}

/* Gold decorative line at top of footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__brand-image {
  display: block;
  height: var(--prestige-corp-logo-height-footer, 38px) !important;
  width: auto !important;
  max-height: var(--prestige-corp-logo-height-footer, 38px) !important;
  max-width: min(240px, 100%);
  object-fit: contain;
}

.footer__brand span {
  color: var(--white);
  font-weight: 300;
}

.footer__brand-text {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--gray);
  position: relative;
  padding-left: 0;
  transition: var(--transition);
}

.footer__links a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 3px;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--gold);
  padding-left: 16px;
}

.footer__links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--gold);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.footer__social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer__social-link:hover {
  border-color: var(--gold);
  color: var(--black);
}

.footer__social-link:hover::before {
  transform: translateY(0);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
}

.footer__hours li {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

/* Newsletter */
.footer__newsletter {
  display: flex;
  gap: 0;
  margin-top: 1rem;
}

.footer__newsletter input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-right: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  outline: none;
  transition: var(--transition);
  min-height: 44px;
}

.footer__newsletter input:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.footer__newsletter input::placeholder {
  color: var(--gray);
}

.footer__newsletter button {
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--black);
  border: none;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 44px;
  min-width: 44px;
}

.footer__newsletter button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

.footer__newsletter button:hover {
  background: var(--gold-light);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.5px;
}

.footer__copyright a {
  color: var(--gold);
}

.footer__hours-gap {
  margin-top: 0.5rem;
}

.footer__newsletter-desc {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* =============================================
   FOCUS VISIBLE STATES
============================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* =============================================
   REDUCED MOTION
============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* =============================================
   LIGHTBOX
============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  cursor: zoom-out;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.lightbox__close:hover {
  background: var(--gold);
  color: var(--black);
}

.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  cursor: pointer;
  transition: var(--transition);
}

.lightbox__nav:hover {
  background: var(--gold);
  color: var(--black);
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.lightbox__nav svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 600px) {
  .lightbox__nav { display: none; }
}

/* =============================================
   BACK TO TOP BUTTON
============================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

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

.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* =============================================
   ANIMATIONS
============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

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

  .fade-up, .fade-left, .fade-right {
    opacity: 1;
    transform: none;
  }

  .hero__title .word {
    opacity: 1;
    transform: none;
  }

  .hero__overtitle,
  .hero__desc,
  .hero__buttons {
    opacity: 1;
    transform: none;
  }

  .stagger-children > * {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* =============================================
   MOBILE NAV — FULLSCREEN OVERLAY
============================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

/* Decorative corner accents */
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 40px;
  height: 40px;
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  border-left: 1px solid rgba(201, 168, 76, 0.3);
  pointer-events: none;
}

.mobile-menu::after {
  content: '';
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  border-right: 1px solid rgba(201, 168, 76, 0.3);
  pointer-events: none;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.mobile-menu__links a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  padding: 0.5rem 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.mobile-menu.active .mobile-menu__links a {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for links */
.mobile-menu__links li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-menu__links li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-menu__links li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-menu__links li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-menu__links li:nth-child(5) a { transition-delay: 0.3s; }
.mobile-menu__links li:nth-child(6) a { transition-delay: 0.35s; }

.mobile-menu__links a:hover {
  color: var(--gold);
}

/* Gold divider line under links */
.mobile-menu__divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
  opacity: 0.4;
}

.mobile-menu__cta {
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-family: var(--font-body);
  min-height: 44px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s 0.4s ease, transform 0.4s 0.4s ease, background-color 0.3s ease;
}

.mobile-menu.active .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__cta:hover {
  background: var(--gold-light);
}

.mobile-menu__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__close-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.mobile-menu__close-icon::before,
.mobile-menu__close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
}

.mobile-menu__close-icon::before {
  transform: rotate(45deg);
}

.mobile-menu__close-icon::after {
  transform: rotate(-45deg);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1240px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__inner {
    display: flex;
    justify-content: space-between;
    max-width: var(--max-width);
  }
}

@media (max-width: 1080px) {
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .details__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .gallery__item--wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }

  .gallery__item--tall {
    grid-row: span 1;
    aspect-ratio: 1;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hero__corner { width: 50px; height: 50px; }
  .hero__corner--tl::before, .hero__corner--tr::before,
  .hero__corner--bl::before, .hero__corner--br::before { width: 25px; }
  .hero__corner--tl::after, .hero__corner--tr::after,
  .hero__corner--bl::after, .hero__corner--br::after { height: 25px; }
}

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

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

  .hero__buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .form-wrapper {
    padding: 1.5rem;
  }

  .about__image-wrapper {
    padding: 1rem;
  }
}

/* Logo sizing overrides */
:root {
  --prestige-corp-logo-height: 20px !important;
  --prestige-corp-logo-height-compact: 25px !important;
  --prestige-corp-logo-height-footer: 32px !important;
  --prestige-corp-logo-height-preloader: 52px !important;
}

.nav__logo,
.nav__logo-image,
.nav__logo img,
.custom-logo-link img,
img.custom-logo {
  height: 40px !important;
  max-height: 70px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 1100px) {
  .nav__logo,
  .nav__logo-image,
  .nav__logo img,
  .custom-logo-link img,
  img.custom-logo {
    height: 25px !important;
    max-height: 25px !important;
    max-width: 180px !important;
  }
}

.footer__brand,
.footer__brand-image,
.footer__brand img {
  overflow: hidden !important;
}

.footer__brand-image,
.footer__brand img {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
}

.preloader__logo,
.preloader__logo-image,
.preloader__logo img {
  overflow: hidden !important;
}

.preloader__logo-image,
.preloader__logo img {
  height: 52px !important;
  max-height: 52px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
}
