@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #0E1211;
  --bg-surface: #161C1A;
  --bg-card: #1D2422;
  --bg-card-hover: #242D2B;
  --bg-light: #F7F4EE;
  --bg-light-alt: #EFE9DE;
  
  --gold-primary: #C5A059;
  --gold-light: #DFC07A;
  --gold-dark: #8F6E32;
  --gold-subtle: rgba(197, 160, 89, 0.15);
  
  --forest-dark: #0A0D0C;
  --forest-medium: #2A3633;
  --terracotta: #A44A3F;
  --terracotta-hover: #BF574B;
  
  --text-main: #F4F1EA;
  --text-muted: #A3ACA9;
  --text-dim: #717B78;
  --text-dark: #1A1F1D;
  --text-dark-muted: #57615E;
  
  --border-subtle: rgba(197, 160, 89, 0.2);
  --border-strong: rgba(197, 160, 89, 0.45);
  --border-dark: rgba(255, 255, 255, 0.08);

  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-elevation: 0 20px 45px rgba(0, 0, 0, 0.5);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 880px;
}

/* SLIM, PERFECT UNSTUCK HEADER */
.site-header {
  position: static;
  background-color: #0c100f;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

.brand-logo svg {
  width: 26px;
  height: 26px;
  fill: var(--gold-primary);
}

.brand-logo span {
  color: var(--gold-primary);
}

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

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

.nav-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold-primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: #0E1211;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-light);
  color: #FFF;
  transform: translateY(-2px);
}

.btn-terracotta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--terracotta);
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition-smooth);
}

.btn-terracotta:hover {
  background-color: var(--terracotta-hover);
  box-shadow: 0 8px 24px rgba(164, 74, 63, 0.4);
}

/* HAMBURGER BUTTON FOR MOBILE */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

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

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 90px 0 80px;
  background: linear-gradient(180deg, rgba(14, 18, 17, 0.6) 0%, rgba(14, 18, 17, 0.95) 100%), 
              radial-gradient(ellipse at 50% 20%, rgba(197, 160, 89, 0.12) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-tag::before {
  content: '★';
  font-size: 0.75rem;
  color: var(--gold-primary);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFF;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* SECTION UTILITIES */
.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 48px 0;
}

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

.section-header.text-left {
  text-align: left;
}

.section-pretitle {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #FFF;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* STATS BAR */
.stats-bar {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* CARD GRID & CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.luxury-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.luxury-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-elevation);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #121615;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14, 18, 17, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.card-price-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(164, 74, 63, 0.95);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 600;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #FFF;
  line-height: 1.3;
}

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

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  padding: 12px 0;
  margin-bottom: 18px;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.card-spec-item strong {
  color: var(--text-main);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-card {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.btn-card:hover {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: #0E1211;
  border-color: var(--gold-light);
}

/* EDITORIAL / ARTICLE CARDS */
.article-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-subtle);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.article-meta span.category {
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* FILTER CONTROLS */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 8px 18px;
  font-size: 0.82rem;
  font-family: var(--font-sans);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--gold-subtle);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

/* DETAIL PAGES CONTENT STYLES */
.detail-hero {
  position: relative;
  padding: 60px 0 40px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

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

.detail-header-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: end;
}

.detail-main-img {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin: 32px 0 48px;
  border: 1px solid var(--border-subtle);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 48px;
}

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #FFF;
}

.content-block h3 {
  font-size: 1.3rem;
  margin: 24px 0 12px;
  color: var(--gold-light);
}

.content-block p {
  font-size: 1rem;
  color: #D4DAD8;
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-block ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.content-block ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #D4DAD8;
  line-height: 1.6;
}

.content-block ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold-primary);
  font-size: 0.75rem;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.pros-box, .cons-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  padding: 24px;
  border-radius: var(--radius-md);
}

.pros-box {
  border-top: 3px solid var(--gold-primary);
}

.cons-box {
  border-top: 3px solid var(--terracotta);
}

.pros-box h4 {
  color: var(--gold-light);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.cons-box h4 {
  color: var(--terracotta);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

/* SIDEBAR WIDGET */
.sidebar-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 28px;
}

.sidebar-box h4 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: #FFF;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 12px;
}

.sidebar-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.88rem;
}

.sidebar-spec-row span.label {
  color: var(--text-muted);
}

.sidebar-spec-row span.val {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

/* FORM STYLES */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* LEGAL PAGES EDITORIAL FORMAT */
.legal-content {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-dark);
  padding: 48px;
  border-radius: var(--radius-md);
  margin-top: 32px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 14px;
  color: var(--gold-light);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  color: #FFF;
}

.legal-content p {
  color: #CBD3D0;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: #CBD3D0;
}

.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* MANDATORY FOOTER (RENDERED ON ALL PAGES) */
.site-footer {
  background-color: #070908;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 1.05rem;
  color: #FFF;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--gold-primary);
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.footer-contact-info svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-legal-bar {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(14, 18, 17, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gold-primary);
  padding: 18px 24px;
  z-index: 9999;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.6);
  display: none; /* Controlled via JS with localStorage */
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1 1 500px;
  font-size: 0.85rem;
  color: #D4DAD8;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .detail-header-grid,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: #0E1211;
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    box-shadow: var(--shadow-elevation);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
    margin-bottom: 20px;
  }

  .header-cta-group {
    width: 100%;
    flex-direction: column;
  }

  .header-cta-group .btn-primary {
    width: 100%;
  }

  .cards-grid,
  .cards-grid-2 {
    grid-template-columns: 1fr;
  }

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .legal-content {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 60px 0 50px;
  }
  .section-padding {
    padding: 50px 0;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}