/* ─── CSS VARIABLES ─────────────────────────────── */
:root {
  --gold: #c9a84c;
  --gold-light: #f0e0b0;
  --gold-dark: #a07830;
  --green: #2d6a4f;
  --green-light: #40916c;
  --green-pale: #d8f3dc;
  --dark: #ffffff;
  --dark2: #f4f9f6;
  --dark3: #ffffff;
  --surface: #eaf4ee;
  --border: rgba(45, 106, 79, .15);
  --text: #1a2e22;
  --muted: #6b8070;
  --white: #1a2e22;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;

  --radius: 4px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: #f4f9f6;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #eaf4ee;
}

::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 2px;
}

/* ─── NAVBAR ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(45, 106, 79, .12);
  box-shadow: 0 1px 12px rgba(0, 0, 0, .06);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .04em;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #555;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: opacity var(--transition);
}

.nav-cta:hover {
  opacity: .85;
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  min-height: 340px;
  padding: 140px 48px 72px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(45, 106, 79, .10) 0%, transparent 70%),
    repeating-linear-gradient(90deg,
      transparent,
      transparent 79px,
      rgba(45, 106, 79, .05) 80px);
}

.hero-breadcrumb {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-breadcrumb span {
  color: var(--green);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: #1a2e22;
  max-width: 640px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
}

.hero-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--gold));
  margin: 28px auto 0;
  border-radius: 2px;
}

/* ─── SEARCH + FILTER BAR ────────────────────────── */
.controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 48px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, .12);
  background: #ffffff;
  color: #555;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

.filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.results-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ─── FEATURED CARD ──────────────────────────────── */
.section {
  padding: 0 48px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 auto 36px;
  padding-bottom: 12px;
  position: relative;
  width: fit-content;
  text-align: center;
  display: block;
}

.section-label::after {
  content: '';
  position: absolute;
  left: 10%;
  bottom: 0;
  width: 80%;
  border-bottom: 1px solid rgba(45, 106, 79, 0.15);
}

.section-label::before {
  content: '';
  position: absolute;
  left: 35%;
  bottom: -2px;
  width: 30%;
  border-bottom: 5px solid var(--gold);
  z-index: 1;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 72px;
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
}

.featured-card:hover {
  border-color: rgba(45, 106, 79, .35);
  box-shadow: 0 8px 40px rgba(45, 106, 79, .10);
}

.featured-card:hover .featured-img img {
  transform: scale(1.04);
}

.featured-img {
  height: 440px;
  overflow: hidden;
  position: relative;
}

.featured-img img {
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.featured-img .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(255, 255, 255, 0.85));
}

.featured-body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.tag-luxury {
  background: rgba(201, 168, 76, .15);
  color: #a07830;
}

.tag-market {
  background: rgba(45, 106, 79, .13);
  color: var(--green);
}

.tag-guide {
  background: rgba(64, 145, 108, .13);
  color: var(--green-light);
}

.tag-invest {
  background: rgba(201, 168, 76, .18);
  color: #c9a84c;
}

.tag-new {
  background: rgba(45, 106, 79, .18);
  color: #2d6a4f;
}

.featured-body .meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
  margin-bottom: 18px;
  display: flex;
  gap: 16px;
}

.featured-body h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.18;
  color: #1a1a1a;
  margin-bottom: 18px;
}

.featured-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  transition: gap var(--transition);
}

.read-link:hover {
  gap: 14px;
}

.read-link svg {
  width: 14px;
  height: 14px;
}

/* ─── BLOG GRID ──────────────────────────────────── */
.grid-wrap {
  margin-bottom: 80px;
}

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

/* card */
.blog-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  animation: fadeUp .5s both;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .05);
}

.blog-card:hover {
  border-color: rgba(45, 106, 79, .30);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(45, 106, 79, .10);
}

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

.card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.card-img .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf4ee;
  font-family: var(--font-display);
  font-size: 42px;
  color: rgba(45, 106, 79, .25);
  letter-spacing: .06em;
}

.card-img .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
}

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

.card-meta {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 10px;
  flex: 1;
}

.card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, .07);
}

.card-footer .read-link {
  font-size: 11px;
}

.card-time {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── EMPTY STATE ────────────────────────────────── */
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 0;
  color: var(--muted);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  opacity: .3;
}

.empty-state p {
  font-size: 14px;
}

/* ─── PAGINATION ─────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 80px;
}

.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: var(--radius);
  background: #ffffff;
  color: #555;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

.page-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.page-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.page-btn:disabled {
  opacity: .3;
  cursor: default;
}

/* ─── NEWSLETTER ─────────────────────────────────── */
.newsletter {
  margin: 0 48px 80px;
  padding: 60px 64px;
  background: linear-gradient(135deg, var(--green) 0%, #1a4035 100%);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, .22), transparent 70%);
}

.newsletter::after {
  content: '';
  position: absolute;
  left: 30%;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, .10), transparent 70%);
}

.newsletter-text h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: #f5f0e0;
  margin-bottom: 8px;
}

.newsletter-text p { font-size: 14px; color: rgba(255,255,255,.65); max-width: 380px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.newsletter-form input {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 13px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #fff;
  width: 260px;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold);
  border: none;
  border-radius: var(--radius);
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: opacity var(--transition);
}
.newsletter-form button:hover { opacity: .85; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(0, 0, 0, .08);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--green);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 12px;
  color: #888;
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 11px;
  color: #aaa;
}

/* ─── ANIMATION ──────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav {
    padding: 0 24px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hero,
  .section,
  .controls {
    padding-left: 24px;
    padding-right: 24px;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-img {
    height: 280px;
  }

  .featured-img .img-overlay {
    background: linear-gradient(to top, rgba(255, 255, 255, .9) 10%, transparent);
  }

  .featured-body {
    padding: 32px 28px;
  }

  .newsletter {
    flex-direction: column;
    margin: 0 24px 60px;
    padding: 40px 32px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 32px 24px;
  }
}

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

  .controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-wrap {
    max-width: 100%;
    width: 100%;
  }
}