/* ===================================================
   LUXURY REAL ESTATE — STYLE SHEET
   Paleta: Negre profund + Or champagne + Blanc ivori
   =================================================== */

/* ── CUSTOM PROPERTIES ── */
:root {
  --black:         #0a0a0a;
  --black-rich:    #111111;
  --black-card:    #161616;
  --black-panel:   #1c1c1c;
  --gold:          #c9a84c;
  --gold-light:    #e2c97e;
  --gold-pale:     #f0dfa0;
  --gold-dark:     #8b6914;
  --ivory:         #f5f0e8;
  --ivory-dim:     #d6ccbb;
  --white:         #ffffff;
  --grey-mid:      #5a5a5a;
  --grey-light:    #2a2a2a;

  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Montserrat', 'Helvetica Neue', sans-serif;

  --radius:        4px;
  --radius-lg:     12px;
  --transition:    cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold:   0 0 40px rgba(201, 168, 76, 0.15);
  --shadow-deep:   0 20px 60px rgba(0,0,0,0.7);
}

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

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

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ── HELPERS ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad { padding: 100px 0; }

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

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.9;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 24px;
}

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

.gold-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.35s var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--black);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-pale), var(--gold));
  opacity: 0;
  transition: opacity 0.35s;
}

.btn-gold:hover::before { opacity: 1; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.5); }
.btn-gold span { position: relative; z-index: 1; }

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

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

.btn-full { width: 100%; justify-content: center; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s var(--transition);
}

.navbar.scrolled {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-link { display: flex; align-items: center; }

.nav-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
  transition: transform 0.3s var(--transition);
}

.nav-logo:hover { transform: scale(1.05); }

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

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ivory-dim);
  position: relative;
  transition: color 0.3s;
}

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

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

.nav-cta {
  padding: 10px 24px !important;
  border: 1px solid var(--gold) !important;
  border-radius: var(--radius) !important;
  color: var(--gold) !important;
  transition: all 0.3s !important;
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s;
}

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

.hero-img-wrap {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  animation: heroZoom 14s ease-in-out infinite alternate;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(10,8,3,0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 2rem;
  animation: heroFadeUp 1.2s ease both;
}

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

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}

.hero-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(201,168,76,0.3);
  padding: 14px 32px;
  border-radius: var(--radius);
  background: rgba(201,168,76,0.05);
}

.badge-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.badge-value {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ivory);
  font-weight: 400;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: floatBounce 2.5s ease-in-out infinite;
}

@keyframes floatBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.scroll-text {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

/* ── INTRO ── */
.intro { background: var(--black-rich); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.intro-text .lead {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

.intro-text p {
  font-size: 0.88rem;
  color: var(--ivory-dim);
  margin-bottom: 16px;
  line-height: 1.8;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.stat-item {
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
  gap: 6px;
}

.stat-item:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.04);
}

.stat-icon {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  font-weight: 500;
}

/* ── GALLERY ── */
.gallery { background: var(--black); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 3px;
  margin-top: 0;
}

.gallery-item--large {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: var(--black-panel);
}

.gallery-item--large { aspect-ratio: 16 / 8; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition), filter 0.5s;
  filter: brightness(0.88) saturate(0.9);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 50px 24px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  transform: translateY(100%);
  transition: transform 0.4s var(--transition);
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

.cap-tag {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 3px 8px;
  border-radius: 2px;
}

.cap-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 300;
}

/* (Removed placeholder styles) */

/* ── FEATURES ── */
.features { background: var(--black-rich); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.08);
}

.feature-card {
  background: var(--black-rich);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.feature-card:hover { background: var(--black-card); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ivory);
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--ivory-dim);
  line-height: 1.8;
  font-weight: 300;
}

/* ── CONTACT ── */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
}

.contact-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.15) saturate(0.5);
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.75) 60%, rgba(10,10,10,0.97) 100%);
}

.contact-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-title { text-align: left; }

.contact-desc {
  font-size: 0.88rem;
  color: var(--ivory-dim);
  line-height: 1.9;
  margin-bottom: 32px;
}

.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-item {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 500;
}

/* Form styles */
.contact-form-wrap {
  background: rgba(22,22,22,0.9);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-deep);
}

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

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

.form-group label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  outline: none;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey-mid);
  opacity: 0.6;
}

.form-group input:focus,
.form-group 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);
}

.btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.contact-form.loading .btn-text { opacity: 0; position: absolute; }
.contact-form.loading .btn-loader { display: block; }

.form-success, .form-error { display: none; }

.form-success {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.form-success.visible { display: flex; }

.success-icon {
  font-size: 1.5rem;
  color: var(--gold);
}

.form-success p {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-style: italic;
  font-family: var(--font-serif);
}

.form-error {
  background: rgba(180,50,50,0.1);
  border: 1px solid rgba(180,50,50,0.3);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.form-error.visible { display: block; }
.form-error p { font-size: 0.82rem; color: #e88; }

/* ── FOOTER ── */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: brightness(0.9);
}

.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--grey-mid);
}

/* ── EMPRESA SECTION ── */
.empresa { background: var(--black); }
.empresa-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.empresa-img-wrap {
  background: var(--black-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,168,76,0.1);
  display: flex;
  justify-content: center;
}

.empresa-logo-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(201,168,76,0.2));
}

.empresa-text .lead {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.empresa-text p {
  font-size: 0.9rem;
  color: var(--ivory-dim);
  margin-bottom: 16px;
}

/* ── ESPAIS SECTION ── */
.espais { background: var(--black-rich); }
.floor-plan {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.floor-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.floor-item--reverse {
  direction: rtl;
}

.floor-item--reverse > * {
  direction: ltr;
}

.floor-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.floor-name::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 1px;
  background: var(--gold);
}

.floor-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floor-list li {
  font-size: 0.9rem;
  color: var(--ivory-dim);
  position: relative;
  padding-left: 20px;
}

.floor-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

.floor-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border: 1px solid rgba(201,168,76,0.15);
}

.floor-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s;
}

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

/* ── ENTORN SECTION ── */
.entorn { background: var(--black); }
.grid-entorn {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.entorn-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.entorn-list li {
  font-size: 0.95rem;
  color: var(--ivory-dim);
}

.entorn-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.1);
}

.entorn-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ── VALORACIÓ SECTION ── */
.valoracio { background: var(--black-rich); }
.survey-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--black-card);
  padding: 60px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,168,76,0.15);
  text-align: center;
  box-shadow: var(--shadow-deep);
}

.survey-intro {
  font-size: 0.9rem;
  color: var(--ivory-dim);
  margin-bottom: 32px;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.star {
  font-size: 2rem;
  color: var(--grey-light);
  cursor: pointer;
  transition: color 0.3s, transform 0.2s;
}

.star:hover, .star.active {
  color: var(--gold);
  transform: scale(1.2);
}

.survey-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 14px;
  color: var(--ivory);
  border-radius: var(--radius);
  margin-bottom: 24px;
  outline: none;
  cursor: pointer;
}

.survey-select option {
  background: var(--black-card);
  color: var(--ivory);
}

/* ── CONTACT INFO BLOCK ── */
.contact-info-block {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-block p {
  font-size: 0.9rem;
  color: var(--ivory-dim);
}

.contact-info-block strong {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-right: 8px;
}

/* ── RESPONSIVE ADAPTATIONS ── */
@media (max-width: 992px) {
  .empresa-grid, .floor-item, .grid-entorn, .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .floor-item--reverse { direction: ltr; }
  .floor-img, .entorn-img { height: 300px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section-pad { padding: 60px 0; }
  .hero-title { font-size: 4rem; }
  .survey-card { padding: 30px; }
}
.footer-legal {
  font-size: 0.65rem;
  color: var(--grey-mid);
  max-width: 600px;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.7rem;
  color: var(--gold-light);
  opacity: 0.8;
}

.footer-links a {
  transition: opacity 0.3s, color 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold);
  text-decoration: underline;
}

.footer-legal strong {
  color: var(--ivory-dim);
}

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

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

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

/* Custom Check for Stars selection */
.star.selected {
  text-shadow: 0 0 10px var(--gold);
}

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

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

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 0 60px rgba(201,168,76,0.1);
  animation: lbFadeIn 0.3s ease;
}

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

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s;
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-close:hover { transform: scale(1.1); }

.lightbox-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.7;
}

/* ── ANIMATIONS ON SCROLL ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .intro-grid       { grid-template-columns: 1fr; gap: 48px; }
  .features-grid    { grid-template-columns: repeat(2, 1fr); }
  .contact-container{ grid-template-columns: 1fr; gap: 48px; }
  .contact-title    { text-align: center; }
  .gold-divider     { margin: 0 auto; }
  .contact-trust    { align-items: center; }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    border-top: 1px solid rgba(201,168,76,0.15);
  }

  .nav-links.open { display: flex; }
  .nav-hamburger  { display: flex; }

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

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

  .gallery-item--large {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

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

  .contact-form-wrap { padding: 32px 24px; }

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

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.8rem, 14vw, 4rem); }
  .btn { padding: 12px 24px; font-size: 0.65rem; }
  .contact-form-wrap { padding: 24px 16px; }
}
