/* ============================================================
   CMC Global Estates - Ultra Luxury Real Estate
   Design: Gold on Black / Editorial Luxury
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Montserrat:wght@200;300;400;500;600;700&family=JetBrains+Mono:wght@400&display=swap');

:root {
  --gold: #c6a962;
  --gold-light: #dcc584;
  --gold-dark: #a08540;
  --gold-muted: rgba(198,169,98,0.15);
  --black: #0a0a0a;
  --black-light: #111111;
  --black-card: #141414;
  --black-surface: #1a1a1a;
  --black-elevated: #222222;
  --white: #f5f0e8;
  --white-pure: #ffffff;
  --cream: #f8f4ec;
  --gray-100: #e8e4dc;
  --gray-200: #c8c4bc;
  --gray-300: #a8a49c;
  --gray-400: #78746c;
  --gray-500: #58544c;
  --gray-600: #38342c;
  --text-primary: #f5f0e8;
  --text-secondary: rgba(245,240,232,0.7);
  --text-muted: rgba(245,240,232,0.4);
  --text-dark: #1a1a1a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 0;
  --radius-sm: 2px;
  --max-width: 1400px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background: var(--black);
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

/* Subtle film grain overlay for luxury texture */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
}

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

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem; }
.container--narrow { max-width: 900px; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.25rem; }

.overline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.divider--center { margin: 1.5rem auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn:hover { background: var(--gold); color: var(--black); }
.btn--filled { background: var(--gold); color: var(--black); }
.btn--filled:hover { background: var(--gold-light); color: var(--black); }
.btn--white { border-color: var(--white); color: var(--white); }
.btn--white:hover { background: var(--white); color: var(--black); }
.btn--lg { padding: 1.2rem 3rem; font-size: 0.8rem; }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--black);
  border-bottom: 1px solid rgba(198,169,98,0.15);
  padding: 0.6rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: var(--text-secondary); }
.topbar a:hover { color: var(--gold); }
.topbar__contact { display: flex; gap: 2rem; }
.topbar__lang { display: flex; gap: 0.75rem; }
.topbar__lang a.active { color: var(--gold); }

/* ---- HEADER ---- */
.header {
  background: var(--black);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(198,169,98,0.1);
  backdrop-filter: blur(20px);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 1.1rem; }
.logo__img { height: 68px; width: 68px; object-fit: cover; border-radius: 2px; }
.logo__text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.08em;
}
.logo__text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 0; }
.nav__link {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.75rem 1.25rem;
  transition: var(--transition);
  position: relative;
}
.nav__link:hover { color: var(--gold); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}
.nav__link:hover::after { width: 60%; }
.nav__cta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 0.6rem 1.5rem;
  margin-left: 1rem;
  transition: var(--transition);
}
.nav__cta:hover { background: var(--gold-light); color: var(--black); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin: 6px 0;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(198,169,98,0.08) 0%, transparent 60%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero__content { max-width: 600px; }
.hero__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-muted);
  padding: 0.5rem 1.5rem;
  margin-bottom: 2rem;
}
.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.hero__title span { color: var(--gold); font-style: italic; }
.hero__subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__visual { position: relative; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(198,169,98,0.15);
}
.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
}
.hero__stat-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ---- SECTIONS ---- */
.section {
  padding: 6rem 0;
  position: relative;
}
.section--dark { background: var(--black); }
.section--surface { background: var(--black-surface); }
.section--gold-accent {
  background: var(--black-light);
  border-top: 1px solid var(--gold-muted);
  border-bottom: 1px solid var(--gold-muted);
}
.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section__title { color: var(--white); }
.section__subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* ---- COUNTRY GRID ---- */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(198,169,98,0.1);
}
.country-card {
  background: var(--black-card);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.country-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.country-card:hover { background: var(--black-elevated); }
.country-card:hover::before { transform: scaleX(1); }
.country-card__flag { font-size: 2rem; margin-bottom: 0.75rem; }
.country-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.country-card__count {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- PROPERTY / ARTICLE CARDS ---- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.article-card {
  background: var(--black-card);
  border: 1px solid rgba(198,169,98,0.08);
  transition: var(--transition);
  overflow: hidden;
}
.article-card:hover {
  border-color: rgba(198,169,98,0.25);
  transform: translateY(-4px);
}
.article-card__image {
  height: 220px;
  overflow: hidden;
}
.article-card__image img, .article-card__image div {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.article-card:hover .article-card__image img,
.article-card:hover .article-card__image div { transform: scale(1.05); }
.article-card__body { padding: 1.75rem; }
.article-card__category {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.article-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.article-card__title a { color: var(--white); }
.article-card__title a:hover { color: var(--gold); }
.article-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.article-card__read-more {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- ARTICLE CONTENT ---- */
.article-header {
  padding: 5rem 0 3rem;
  background: var(--black-light);
  border-bottom: 1px solid var(--gold-muted);
}
.article-header__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  max-width: 800px;
}
.article-header__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-top: 1rem;
}
.article-header__meta span { margin-right: 2rem; }

.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.article-content h2 {
  color: var(--white);
  margin-top: 3rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold-muted);
}
.article-content h3 { color: var(--gold-light); margin-top: 2rem; }
.article-content a { color: var(--gold); border-bottom: 1px solid var(--gold-muted); }
.article-content a:hover { border-color: var(--gold); }
.article-content strong { color: var(--white); font-weight: 500; }
.article-content blockquote {
  border-left: 2px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--black-surface);
  font-style: italic;
  color: var(--text-secondary);
}

/* ---- TABLES ---- */
.luxury-table-wrap { overflow-x: auto; margin: 2rem 0; }
.luxury-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.luxury-table thead { border-bottom: 2px solid var(--gold); }
.luxury-table th {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 1rem;
  text-align: left;
}
.luxury-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(198,169,98,0.08);
  color: var(--text-secondary);
}
.luxury-table tr:hover td { background: rgba(198,169,98,0.03); }
.luxury-table .highlight { color: var(--gold); font-weight: 500; }

/* ---- INFO BOXES ---- */
.insight-box {
  border: 1px solid var(--gold-muted);
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
  background: var(--black-surface);
}
.insight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
}
.insight-box__title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.insight-box__text { color: var(--text-secondary); margin: 0; font-size: 0.95rem; }

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: var(--black-card);
  border: 1px solid rgba(198,169,98,0.08);
  padding: 2.5rem;
  position: relative;
}
.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.testimonial-card__text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.testimonial-card__author { font-size: 0.85rem; color: var(--white); }
.testimonial-card__role { font-size: 0.75rem; color: var(--gold); margin-top: 0.25rem; }

/* ---- SERVICES ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(198,169,98,0.1); }
.service-card {
  background: var(--black-card);
  padding: 3rem 2rem;
  transition: var(--transition);
  border-top: 2px solid transparent;
}
.service-card:hover { border-top-color: var(--gold); background: var(--black-elevated); }
.service-card__icon { font-size: 2rem; margin-bottom: 1.5rem; }
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.service-card__text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ---- CTA ---- */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--black-light), var(--black));
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(198,169,98,0.1);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer a { color: var(--text-muted); font-size: 0.85rem; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.75rem; }
.footer__bottom {
  border-top: 1px solid rgba(198,169,98,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer__brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; }

/* ---- BLOG LISTING ---- */
.blog-header {
  padding: 4rem 0;
  background: var(--black-light);
  border-bottom: 1px solid var(--gold-muted);
}

/* ---- SIDEBAR ---- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
}
.sidebar { padding-top: 1rem; }
.sidebar__widget {
  background: var(--black-card);
  border: 1px solid rgba(198,169,98,0.08);
  padding: 2rem;
  margin-bottom: 2rem;
}
.sidebar__widget h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold-muted);
}

/* ---- FORM ---- */
input, textarea, select {
  width: 100%;
  background: var(--black-surface);
  border: 1px solid rgba(198,169,98,0.15);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 1rem;
  transition: var(--transition);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
}
label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.form-group { margin-bottom: 1.5rem; }

/* ---- ANIMATIONS ---- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .countries-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); border-top: 1px solid var(--gold-muted); padding: 1rem 0; }
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .container { padding: 0 1.5rem; }
  .section { padding: 4rem 0; }
}

/* ---- WHATSAPP FLOATING BUTTON ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}
@media (max-width: 768px) {
  .whatsapp-float { bottom: 1.5rem; right: 1.5rem; width: 50px; height: 50px; }
}

/* ---- BACK TO TOP BUTTON ---- */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--black-surface);
  border: 1px solid var(--gold-muted);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 999;
  font-family: var(--font-body);
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--black); }

/* ---- READING PROGRESS BAR ---- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  width: 0;
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ---- ARTICLE TABLE OF CONTENTS ---- */
.article-toc {
  background: var(--black-surface);
  border: 1px solid var(--gold-muted);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.article-toc__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-toc li {
  margin-bottom: 0.4rem;
}
.article-toc a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: block;
  padding: 0.3rem 0 0.3rem 1rem;
  border-left: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.article-toc a:hover,
.article-toc a.active {
  color: var(--gold);
  border-left-color: var(--gold);
}

/* ---- ACCORDION FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--gold-muted);
  padding-bottom: 0;
  margin-bottom: 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  transition: color 0.3s ease;
}
.faq-question h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin: 0;
  font-weight: 400;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}
.faq-question:hover h3 { color: var(--gold); }
.faq-answer {
  padding-bottom: 1.25rem;
}
.faq-answer p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.8;
}

/* ---- SERVICE CARD GLOW EFFECT ---- */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(198,169,98,0.12) 0%, transparent 70%);
  left: var(--glow-x, -100px);
  top: var(--glow-y, -100px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.service-card:hover::before { opacity: 1; }

/* ---- COUNTRY SEARCH & FILTER ---- */
.country-search-input {
  width: 100%;
  max-width: 500px;
  background: var(--black-card);
  border: 1px solid var(--gold-muted);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.9rem 1.2rem 0.9rem 2.8rem;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  letter-spacing: 0.02em;
}
.country-search-input:focus {
  border-color: var(--gold);
}
.country-search-input::placeholder {
  color: var(--text-muted);
}
.country-search-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 500px;
}
.country-search-wrap::before {
  content: '⌕';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.1rem;
  pointer-events: none;
}
.region-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.region-filter-btn {
  background: var(--black-card);
  border: 1px solid var(--gold-muted);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.region-filter-btn:hover,
.region-filter-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ---- COUNTRY CARD FLAG (larger for visual impact) ---- */
.country-card__flag {
  font-size: 2.8rem !important;
  line-height: 1;
  margin-bottom: 0.6rem;
  transition: transform 0.3s ease;
}
.country-card:hover .country-card__flag {
  transform: scale(1.15);
}

/* ---- ENHANCED HAMBURGER ---- */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- ABOUT PAGE TIMELINE ---- */
.about-timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 2rem;
}
.about-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-muted), transparent);
}
.about-timeline__item {
  position: relative;
  padding-bottom: 1.5rem;
  padding-left: 1rem;
}
.about-timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: -3px;
}
.about-timeline__year {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.about-timeline__text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* ---- RANKING: Country Card Badge ---- */
.country-card {
  position: relative;
}
.country-card__ranking-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(10,10,10,0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  min-width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  letter-spacing: -0.02em;
  transition: transform 0.3s ease, background 0.3s ease;
}
.country-card:hover .country-card__ranking-badge {
  background: var(--gold);
  color: var(--black);
  transform: scale(1.08);
}

/* ---- RANKING: Hero Badge (Country Page) ---- */
.ranking-hero-badge {
  background: linear-gradient(145deg, var(--black-card), var(--black-surface));
  border: 1px solid var(--gold);
  padding: 2.5rem 3rem;
  text-align: center;
  min-width: 240px;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 8px 40px rgba(198,169,98,0.08), inset 0 1px 0 rgba(198,169,98,0.1);
}
.ranking-hero-badge::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ranking-hero-badge__label {
  font-family: var(--font-body);
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}
.ranking-hero-badge__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}
.ranking-hero-badge__score {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}
.ranking-hero-badge__of {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: -0.2rem;
  letter-spacing: 0.1em;
}
.ranking-hero-badge__rank {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  letter-spacing: 0.08em;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-muted);
}
.ranking-hero-badge__link {
  display: block;
  margin-top: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.3s ease;
}
.ranking-hero-badge__link:hover {
  color: var(--gold-light);
}

/* ---- RANKING: Bar Chart Breakdown ---- */
.ranking-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2rem 0;
}
.ranking-bar-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ranking-bar-item {
  display: grid;
  grid-template-columns: 160px 1fr 40px;
  align-items: center;
  gap: 1rem;
}
.ranking-bar-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-align: right;
}
.ranking-bar-track {
  background: rgba(198,169,98,0.06);
  height: 6px;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}
.ranking-bar-fill {
  height: 100%;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 3px;
  opacity: 0.85;
}
.ranking-bar-score {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  text-align: right;
}
.ranking-verdict {
  padding: 2rem;
  background: linear-gradient(145deg, var(--black-surface), var(--black-card));
  border-left: 2px solid var(--gold);
  position: relative;
}
.ranking-verdict::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-muted);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}
@media (max-width: 900px) {
  .ranking-breakdown { grid-template-columns: 1fr; }
  .ranking-bar-item { grid-template-columns: 120px 1fr 35px; }
  .ranking-hero-badge { min-width: 180px; padding: 2rem 1.5rem; }
  .ranking-hero-badge__score { font-size: 3.5rem; }
}

/* ---- RANKING: Table Styles ---- */
.ranking-table-wrap {
  overflow-x: auto;
  margin: 2.5rem 0;
  border: 1px solid var(--gold-muted);
}
.ranking-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}
.ranking-table th {
  white-space: nowrap;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--black-surface);
  padding: 1rem 0.6rem;
  border-bottom: 2px solid var(--gold-muted);
}
.ranking-table td {
  padding: 0.85rem 0.6rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(198,169,98,0.08);
  transition: background 0.2s ease;
}
.ranking-table tr:hover td {
  background: rgba(198,169,98,0.04);
}
.ranking-top3 {
  background: rgba(198,169,98,0.04) !important;
}
.ranking-top3 td {
  border-bottom-color: rgba(198,169,98,0.2);
}
.ranking-score-pill {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  min-width: 2.8rem;
  text-align: center;
  letter-spacing: -0.02em;
}

/* ---- NAV: Gold highlight for ranking ---- */
.nav__link--gold {
  color: var(--gold) !important;
  font-weight: 500;
  position: relative;
}
.nav__link--gold::after {
  content: '★';
  font-size: 0.5rem;
  vertical-align: super;
  margin-left: 2px;
}

/* ---- RANKING: Homepage Top 10 Grid ---- */
.ranking-homepage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.ranking-homepage-item:hover {
  background: rgba(198,169,98,0.1) !important;
  border-color: var(--gold) !important;
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .ranking-homepage-grid { grid-template-columns: 1fr; }
  .ranking-homepage-item { grid-template-columns: 35px 2rem 1fr auto !important; padding: 0.75rem 1rem !important; }
}


/* ---- PROPERTY OF THE MONTH FLOATING BUTTON ---- */
.potm-float {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  background: var(--black-surface);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.55rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 9999;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.potm-float:hover {
  background: var(--gold);
  color: var(--black);
}
@media (max-width: 768px) {
  .potm-float { bottom: 5rem; right: 1.5rem; font-size: 0.55rem; padding: 0.5rem 0.9rem; }
}

/* ---- PROPERTY OF THE MONTH HOMEPAGE BANNER ---- */
.potm-banner {
  background: var(--black);
  border-top: 1px solid var(--gold-muted);
  border-bottom: 1px solid var(--gold-muted);
  padding: 0;
}
.potm-banner__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  text-decoration: none;
  transition: all 0.3s ease;
}
.potm-banner__inner:hover .potm-banner__cta { color: var(--gold-light); }
.potm-banner__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.potm-banner__divider {
  color: var(--gold-muted);
  font-size: 0.8rem;
}
.potm-banner__subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  flex: 1;
}
.potm-banner__cta {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  transition: color 0.3s ease;
}
@media (max-width: 768px) {
  .potm-banner__inner { flex-wrap: wrap; gap: 0.5rem; }
  .potm-banner__divider { display: none; }
  .potm-banner__subtitle { width: 100%; }
}
