/* ═══════════════════════════════════════════════════════════════════════════
   SBAI FRÈRES — LUXURY REAL ESTATE
   Premium Stylesheet
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════ */
:root {
  /* Brand Colors */
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-dark: #A88A3A;
  --gold-shimmer: #E8D5A0;
  
  /* Neutrals */
  --black: #0A0A0A;
  --black-soft: #111111;
  --black-card: #161616;
  --black-border: #1E1E1E;
  --white: #F5F0E8;
  --white-pure: #FFFFFF;
  --white-muted: #C8C0B2;
  --grey: #888880;
  --grey-dark: #3A3A38;
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  
  /* Transitions */
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

::selection {
  background: var(--gold);
  color: var(--black);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */
.container { 
  max-width: 1340px; 
  margin: 0 auto; 
  padding: 0 40px; 
}

@media (max-width: 768px) { 
  .container { padding: 0 20px; } 
}

.section-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  color: var(--white-muted);
  max-width: 560px;
  line-height: 1.75;
}

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

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes breathe {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes widthGrow {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ═══════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-luxury), visibility 0.8s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

#preloader .logo-mark {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  animation: fadeIn 1s var(--ease-luxury);
}

#preloader .loader-bar {
  margin-top: 32px;
  width: 120px;
  height: 1px;
  background: var(--grey-dark);
  position: relative;
  overflow: hidden;
}

#preloader .loader-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: widthGrow 2s var(--ease-luxury) forwards;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.nav-logo span {
  font-weight: 300;
  color: var(--white-muted);
  font-size: 0.85em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-luxury);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
  padding: 10px 24px;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  transition: all 0.4s var(--ease-luxury) !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

.nav-cta::after { display: none !important; }

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

.menu-toggle span {
  width: 28px;
  height: 1px;
  background: var(--gold);
  transition: all 0.4s var(--ease-luxury);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #0A0A0A;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    padding: 100px 40px 40px;
    list-style: none;
  }
  
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 1.1rem; letter-spacing: 0.2em; }
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.7) 100%),
    url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=1920&q=80') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--black) 100%);
}

/* Decorative gold lines */
.hero-decor {
  position: absolute;
  top: 0;
  right: 12%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.15) 30%, rgba(201,168,76,0.15) 70%, transparent);
}

.hero-decor:nth-child(2) { right: 24%; opacity: 0.5; }

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s 2.4s var(--ease-luxury) forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  max-width: 800px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1.2s 2.6s var(--ease-luxury) forwards;
}

.hero-title .highlight {
  color: var(--gold);
  font-style: italic;
}

.hero-description {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 300;
  color: var(--white-muted);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1.2s 2.8s var(--ease-luxury) forwards;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.2s 3s var(--ease-luxury) forwards;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 48px;
  opacity: 0;
  animation: fadeUp 1.2s 3.2s var(--ease-luxury) forwards;
}

.hero-stat {
  text-align: right;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
  margin-top: 6px;
}

@media (max-width: 768px) {
  .hero-stats {
    justify-content: flex-start;
    gap: 32px;
  }
  .hero-stat { text-align: left; }
  .hero-stat-num { font-size: 2rem; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 3.5s var(--ease-luxury) forwards;
}

.scroll-indicator span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: var(--grey-dark);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollDown 2s infinite var(--ease-smooth);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.5s var(--ease-luxury);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-luxury);
}

.btn-primary:hover::before { transform: translateX(100%); }

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.5s var(--ease-luxury);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   HORIZONTAL DIVIDER
   ═══════════════════════════════════════════ */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════ */
.about {
  padding: 140px 0;
  position: relative;
}

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

.about-image-wrap {
  position: relative;
}

.about-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
}

.about-image-frame {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(201,168,76,0.2);
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: var(--black);
  padding: 24px;
  text-align: center;
  min-width: 120px;
}

.about-badge-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}

.about-content { padding-left: 20px; }

.about-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.about-value {
  padding: 20px 0;
  border-top: 1px solid var(--black-border);
}

.about-value h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.about-value p {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { height: 400px; }
  .about-content { padding-left: 0; }
}

/* ═══════════════════════════════════════════
   PROJECTS SECTION
   ═══════════════════════════════════════════ */
.projects {
  padding: 140px 0;
  background: var(--black-soft);
  position: relative;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

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

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 1.2s var(--ease-luxury), filter 0.8s;
  filter: brightness(0.7);
}

.project-card:hover .project-image {
  transform: scale(1.06);
  filter: brightness(0.5);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  transition: all 0.6s var(--ease-luxury);
}

.project-status {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.project-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.project-location {
  font-size: 0.8rem;
  color: var(--grey);
  margin-bottom: 16px;
}

.project-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.project-feature {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-muted);
  padding: 6px 14px;
  border: 1px solid rgba(201,168,76,0.2);
  transition: all 0.3s;
}

.project-card:hover .project-feature {
  border-color: var(--gold);
  color: var(--gold);
}

.project-explore {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: transform 0.6s var(--ease-luxury), opacity 0.6s;
  opacity: 0;
}

.project-card:hover .project-explore {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

@media (max-width: 960px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-image { height: 380px; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ═══════════════════════════════════════════
   FEATURES STRIP
   ═══════════════════════════════════════════ */
.features-strip {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.features-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.12), transparent);
}

.features-strip-header {
  text-align: center;
  margin-bottom: 80px;
}

.features-strip-header .section-label { justify-content: center; }
.features-strip-header .section-label::before { display: none; }
.features-strip-header .section-title { margin: 0 auto; }
.features-strip-header .section-subtitle { margin: 0 auto; text-align: center; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--black-border);
}

.feature-item {
  background: var(--black);
  padding: 48px 36px;
  text-align: center;
  transition: all 0.6s var(--ease-luxury);
  position: relative;
}

.feature-item:hover {
  background: var(--black-card);
}

.feature-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.6s var(--ease-luxury);
}

.feature-item:hover::after { width: 60%; }

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
}

.feature-item:hover .feature-icon {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.65;
}

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

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

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonials {
  padding: 140px 0;
  background: var(--black-soft);
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 72px;
}

.testimonials-header .section-label { justify-content: center; }
.testimonials-header .section-label::before { display: none; }

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

.testimonial-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  padding: 44px 36px;
  position: relative;
  transition: all 0.6s var(--ease-luxury);
}

.testimonial-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--black);
  font-weight: 500;
}

.testimonial-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--white);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--grey);
}

/* Overall rating badge */
.rating-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
}

.rating-badge-score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.rating-badge-info {
  text-align: left;
}

.rating-badge-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
}

.rating-badge-stars svg { width: 14px; height: 14px; fill: var(--gold); }

.rating-badge-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

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

/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.88), rgba(10,10,10,0.6)),
    url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&q=80') center/cover no-repeat;
}

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

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 20px;
}

.cta-banner-sub {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white-muted);
  margin-bottom: 48px;
}

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

.cta-urgency {
  margin-top: 32px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  animation: breathe 3s infinite;
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════ */
.contact {
  padding: 140px 0;
  position: relative;
}

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

.contact-info { padding-top: 20px; }

.contact-detail {
  margin-bottom: 36px;
}

.contact-detail-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-detail-value {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white-muted);
}

.contact-detail-value a { transition: color 0.3s; }
.contact-detail-value a:hover { color: var(--gold); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group { position: relative; }

.form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--black-border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.4s;
  outline: none;
}

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

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

.form-group select {
  -webkit-appearance: none;
  appearance: none;
  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='%23888880' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.form-group select option { background: var(--black); color: var(--white); }

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

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   MAP SECTION
   ═══════════════════════════════════════════ */
.map-section {
  height: 400px;
  position: relative;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) contrast(1.1) brightness(0.6);
  transition: filter 0.6s;
}

.map-section:hover iframe {
  filter: grayscale(0.5) contrast(1) brightness(0.8);
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--black);
  border: 1px solid var(--gold);
  padding: 24px 40px;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

.map-overlay-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.map-overlay-address {
  font-size: 0.8rem;
  color: var(--grey);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--black-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand-desc {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.75;
  margin-top: 16px;
  max-width: 340px;
}

.footer-col-title {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
  font-size: 0.85rem;
  color: var(--grey);
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--black-border);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--grey-dark);
}

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

.footer-legal a {
  font-size: 0.72rem;
  color: var(--grey-dark);
  transition: color 0.3s;
}

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

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ═══════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════════ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.4s var(--ease-luxury);
  animation: floatSlow 4s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ═══════════════════════════════════════════
   STICKY CTA BAR (mobile)
   ═══════════════════════════════════════════ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  display: none;
  gap: 12px;
}

@media (max-width: 768px) {
  .sticky-cta { display: flex; }
  .whatsapp-btn { bottom: 80px; }
}

.sticky-cta .btn-primary {
  flex: 1;
  justify-content: center;
  padding: 14px;
  font-size: 0.68rem;
}

.sticky-cta .btn-outline {
  flex: 1;
  justify-content: center;
  padding: 14px;
  font-size: 0.68rem;
}

/* ═══════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════ */
.lang-switch {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-switch button {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  padding: 4px 8px;
  transition: all 0.3s;
  border-radius: 2px;
}

.lang-switch button.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.lang-switch button:hover { color: var(--gold); }

/* ═══════════════════════════════════════════
   PROJECT DETAIL PAGE STYLES
   ═══════════════════════════════════════════ */
.page-header {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.9), rgba(10,10,10,0.6));
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--grey);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--gold);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb span {
  color: var(--grey-dark);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  margin-bottom: 16px;
}

.page-subtitle {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white-muted);
}

/* Gallery Grid */
.gallery-section {
  padding: 80px 0;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

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

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.featured img {
  height: 100%;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item.featured {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .gallery-item img,
  .gallery-item.featured img {
    height: 280px;
  }
}

/* Project Details */
.project-details {
  padding: 80px 0;
  background: var(--black-soft);
}

.details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
}

.detail-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--black-border);
}

.detail-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.detail-value {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white-muted);
}

@media (max-width: 960px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ═══════════════════════════════════════════
   SINGLE PROJECT GRID
   ═══════════════════════════════════════════ */
.projects-grid--single {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.projects-grid--single .project-card {
  max-height: 560px;
}

.projects-grid--single .project-image {
  height: 560px;
}

/* ═══════════════════════════════════════════
   MOBILE BODY PADDING FOR STICKY CTA
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
  
  /* Prevent scroll when nav is open */
  body.nav-open {
    overflow: hidden;
  }
}
