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

:root {
  --deep-blue: #0D1B2A;
  --navy: #1B2A41;
  --gold: #C6A96B;
  --white: #FFFFFF;
  --sand: #F7F7F5;
  --text: #111111;
  --text-2: #6A6A6A;
  --divider: rgba(198,169,107,0.2);
  --border: rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 88px; padding: 0 48px;
  background: rgba(13,27,42,0.9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(198,169,107,0.14);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease;
}
nav.scrolled { background: rgba(13,27,42,0.97); border-bottom-color: var(--divider); }
.nav-left { display: flex; align-items: center; gap: 36px; justify-content: flex-end; padding-right: 40px; }
.nav-logo { display: flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 51px; width: auto; display: block; transition: opacity 0.25s; }
.nav-logo:hover img { opacity: 0.8; }
.nav-right { display: flex; align-items: center; gap: 36px; justify-content: flex-start; padding-left: 40px; }
.nav-left a, .nav-right a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.25s; position: relative; white-space: nowrap;
}
.nav-left a::after, .nav-right a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; right: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav-left a:hover, .nav-right a:hover, .nav-left a.active, .nav-right a.active { color: var(--white); }
.nav-left a:hover::after, .nav-right a:hover::after, .nav-left a.active::after, .nav-right a.active::after { transform: scaleX(1); }
.lang-switcher { display: flex; gap: 2px; align-items: center; margin-left: 4px; }
.lang-btn {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em; background: none; border: none;
  color: rgba(255,255,255,0.4); cursor: pointer; padding: 5px 7px; text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}
.lang-btn.active { color: var(--gold); }
.lang-sep { color: rgba(255,255,255,0.15); font-size: 10px; }
.mobile-nav-link { display: none; }

.section-inner { max-width: 1300px; margin: 0 auto; padding: 0 64px; position: relative; }
.page-header {
  min-height: 82vh; padding: 156px 0 84px; position: relative; overflow: hidden; background: var(--deep-blue);
}
.page-header-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-header-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,13,21,0.34) 0%, rgba(7,13,21,0.56) 42%, rgba(7,13,21,0.88) 100%),
    linear-gradient(90deg, rgba(13,27,42,0.94) 0%, rgba(13,27,42,0.34) 54%, rgba(13,27,42,0.8) 100%);
}
.page-header::after {
  content: 'ALICANTE'; position: absolute; right: -16px; bottom: -10px;
  font-family: 'Playfair Display', serif; font-size: clamp(76px, 12vw, 180px); font-weight: 700;
  color: rgba(255,255,255,0.03); letter-spacing: -0.05em; pointer-events: none; user-select: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 400px); gap: 52px;
  align-items: end; position: relative; z-index: 2;
}
.hero-copy { max-width: 760px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.72);
}
.hero-eyebrow::before { content: ''; width: 42px; height: 1px; background: var(--gold); }
.hero-breadcrumb a { color: rgba(255,255,255,0.44); text-decoration: none; transition: color 0.2s; }
.hero-breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,0.22); font-size: 12px; line-height: 1; }
.breadcrumb-cur { color: rgba(255,255,255,0.78); }
.hero-title {
  font-family: 'Playfair Display', serif; font-size: clamp(42px, 5.4vw, 78px); font-weight: 500;
  line-height: 1.06; color: var(--white); margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-gold-line { width: 62px; height: 1px; background: var(--gold); margin-bottom: 24px; }
.hero-subtitle {
  max-width: 680px; font-size: 16px; line-height: 1.9; font-weight: 300;
  color: rgba(255,255,255,0.76); margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-panel {
  display: grid; gap: 18px; padding: 30px; border: 1px solid rgba(198,169,107,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); backdrop-filter: blur(12px);
}
.hero-panel-label { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.hero-panel h2 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 500; color: var(--white); line-height: 1.25; }
.hero-panel p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.66); font-weight: 300; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-stat { padding: 14px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(198,169,107,0.1); }
.hero-stat-value { display: block; font-family: 'Playfair Display', serif; font-size: 22px; color: var(--white); margin-bottom: 4px; }
.hero-stat-label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.48); }

.btn-primary, .btn-ghost, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  font-family: 'Montserrat', sans-serif; transition: all 0.35s;
}
.btn-primary {
  padding: 17px 44px; background: var(--deep-blue); border: 1px solid var(--gold); color: var(--white); position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateX(-102%); transition: transform 0.38s ease;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover span { color: var(--deep-blue); }
.btn-ghost { padding: 16px 34px; color: rgba(255,255,255,0.84); border: 1px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.btn-outline { padding: 16px 34px; border: 1px solid rgba(13,27,42,0.12); color: var(--deep-blue); background: transparent; }
.btn-outline:hover { background: var(--deep-blue); color: var(--white); }

.section-label { font-size: 10px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.gold-line { width: 60px; height: 1px; background: var(--gold); margin-bottom: 28px; }
.section-title {
  font-family: 'Playfair Display', serif; font-size: clamp(32px, 4vw, 54px); font-weight: 500;
  line-height: 1.14; color: var(--deep-blue); margin-bottom: 18px;
}
.section-copy { font-size: 15px; line-height: 1.9; color: var(--text-2); font-weight: 300; }
.divider { height: 1px; background: var(--divider); }

.gallery-section { padding: 100px 0; background: var(--sand); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 42px;
}
.gallery-shot { position: relative; overflow: hidden; background: var(--deep-blue); aspect-ratio: 16 / 9; }
.gallery-shot.featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 520px; }
.gallery-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s ease, filter 0.55s ease; }
.gallery-shot:hover img { transform: scale(1.04); filter: brightness(0.92); }
.gallery-shot figcaption {
  position: absolute; left: 18px; bottom: 16px; padding: 7px 12px; background: rgba(13,27,42,0.78);
  border: 1px solid rgba(198,169,107,0.22); color: var(--white); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
}

.overview-section { padding: 104px 0; background: var(--white); }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); gap: 56px; align-items: start; }
.overview-copy { display: grid; gap: 18px; }
.overview-copy p { font-size: 15px; line-height: 1.9; color: var(--text-2); font-weight: 300; }
.overview-facts {
  padding: 38px; background: var(--sand); border: 1px solid rgba(13,27,42,0.06); position: relative;
}
.overview-facts::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(198,169,107,0.18); pointer-events: none; }
.overview-facts-inner { position: relative; z-index: 1; }
.overview-facts-title {
  font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 500; color: var(--deep-blue); margin-bottom: 18px;
}
.overview-points { list-style: none; display: grid; gap: 12px; }
.overview-points li { display: flex; gap: 12px; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.overview-points li::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; margin-top: 9px; flex-shrink: 0; }

.cards-section { padding: 104px 0; background: linear-gradient(180deg, #FFFFFF 0%, #F7F7F5 100%); }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 42px; }
.info-card {
  min-height: 100%; padding: 30px 28px; background: var(--white); border: 1px solid rgba(13,27,42,0.08);
  box-shadow: 0 18px 50px rgba(13,27,42,0.04); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover { transform: translateY(-5px); box-shadow: 0 22px 54px rgba(13,27,42,0.08); }
.info-card h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 500; line-height: 1.18; color: var(--deep-blue); margin-bottom: 12px; }
.info-card p { font-size: 14px; line-height: 1.82; color: var(--text-2); font-weight: 300; }

.property-section { padding: 104px 0; background: var(--sand); }
.property-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: rgba(13,27,42,0.08); margin-top: 42px; }
.property-card { background: var(--white); padding: 32px 28px; }
.property-card h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 500; line-height: 1.2; color: var(--deep-blue); margin-bottom: 12px; }
.property-card p { font-size: 14px; line-height: 1.82; color: var(--text-2); font-weight: 300; }

.fit-section { padding: 104px 0; background: linear-gradient(180deg, #F7F7F5 0%, #FFFFFF 100%); }
.fit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 42px; }
.fit-card { padding: 30px 28px; background: var(--white); border: 1px solid rgba(13,27,42,0.08); min-height: 100%; }
.fit-card h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 500; line-height: 1.24; color: var(--deep-blue); margin-bottom: 12px; }
.fit-card p { font-size: 14px; line-height: 1.82; color: var(--text-2); font-weight: 300; }

.map-section { padding: 104px 0; background: var(--white); }
.map-grid { display: grid; grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.map-copy p { font-size: 14px; line-height: 1.9; color: var(--text-2); }
.map-box { position: relative; border: 1px solid rgba(13,27,42,0.08); overflow: hidden; min-height: 420px; }
.map-box iframe { width: 100%; height: 100%; min-height: 420px; border: none; filter: grayscale(0.18) saturate(0.88); }

.cta-section { padding: 110px 0; background: var(--deep-blue); overflow: hidden; position: relative; }
.cta-section::before {
  content: 'DISTRICT'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif; font-size: clamp(74px, 13vw, 190px); font-weight: 700; color: rgba(255,255,255,0.03);
  letter-spacing: -0.06em; white-space: nowrap; pointer-events: none;
}
.cta-box { position: relative; z-index: 1; text-align: center; max-width: 920px; margin: 0 auto; }
.cta-box .section-title { color: var(--white); }
.cta-box .section-copy { color: rgba(255,255,255,0.68); max-width: 720px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

footer { background: #070D15; padding: 0 0 44px; border-top: 1px solid rgba(198,169,107,0.1); }
.footer-logo-top {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 156px; padding: 0; border-bottom: 1px solid rgba(198,169,107,0.12); margin-bottom: 16px;
}
.footer-logo-top img { height: 32px; width: auto; display: block; margin: 0 auto 8px; opacity: 0.9; }
.footer-logo-name {
  font-family: 'Playfair Display', serif; font-size: 11px; font-weight: 400; letter-spacing: 0.28em;
  text-align: center; text-transform: uppercase; color: rgba(255,255,255,0.35); margin: 0; line-height: 1.2;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.85; font-weight: 300; }
.footer-col-title { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 28px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.42); text-decoration: none; font-weight: 300; transition: color 0.25s; }
.footer-links a:hover { color: var(--white); }
.footer-contacts { display: flex; flex-direction: column; gap: 14px; }
.footer-contacts a { font-size: 13px; color: rgba(255,255,255,0.42); text-decoration: none; font-weight: 300; transition: color 0.25s; display: flex; align-items: center; gap: 10px; }
.footer-contacts a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 36px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.16); font-weight: 300; }
.footer-accent { width: 64px; height: 1px; background: linear-gradient(to right, var(--gold), transparent); }
.footer-seo { font-size: 11px; color: rgba(255,255,255,0.1); font-weight: 300; margin-top: 12px; line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .section-inner { padding: 0 32px; }
  .hero-grid, .overview-grid, .map-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .property-grid, .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-shot.featured { grid-column: span 2; min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}

@media (max-width: 900px) {
  nav { padding: 0 20px; grid-template-columns: auto 1fr auto; gap: 14px; }
  .nav-left { display: none; }
  .nav-right { padding-left: 0; gap: 12px; }
  .nav-right a:not(.mobile-nav-link) { display: none; }
  .mobile-nav-link { display: inline-flex; }
  .page-header { min-height: auto; padding: 136px 0 72px; }
}

@media (max-width: 720px) {
  .section-inner { padding: 0 20px; }
  .hero-panel, .overview-facts, .info-card, .property-card, .fit-card { padding: 26px 22px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-shot.featured { grid-column: span 2; min-height: 320px; }
  .cards-grid, .property-grid, .fit-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
}
