* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(202, 164, 106, 0.12),
      transparent 34%
    ),
    linear-gradient(135deg, #050505 0%, #0b1220 45%, #111827 100%);
  color: #f9fafb;
  min-height: 100vh;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}

.blog-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-header__container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}
.blog-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d1d5db;
}
.blog-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.blog-logo__text span:first-child {
  font-size: 22px;
  letter-spacing: -0.04em;
  text-transform: none;
  color: #ffffff;
  font-weight: 700;
}
.blog-logo__image {
  width: 50px;
  height: auto;
}
.blog-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.blog-nav a {
  color: #cbd5e1;
  font-size: 14px;
  transition: 0.25s ease;
}
.blog-nav a:hover,
.blog-nav a.active {
  color: #e5c88c;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #cbd5e1;
  transition: 0.25s ease;
}
.back-link:hover {
  color: #e5c88c;
  transform: translateX(-4px);
}
.back-link__arrow {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 74px;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}
.blog-hero__content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}
.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5c88c;
  border: 1px solid rgba(229, 200, 140, 0.32);
  background: rgba(229, 200, 140, 0.08);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}
.blog-hero h1 {
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  max-width: 920px;
  margin: 0 auto;
}
.blog-hero p {
  max-width: 720px;
  margin: 24px auto 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.7;
}
.blog-controls {
  padding: 20px 0 48px;
}
.blog-controls__container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.blog-search {
  flex: 1 1 280px;
  min-width: 0;
}
.blog-search input {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  outline: none;
  border-radius: 999px;
  padding: 0 22px;
  background: rgba(3, 7, 18, 0.74);
  color: #ffffff;
}
.blog-search input::placeholder {
  color: #94a3b8;
}
.blog-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.category-chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
}
.category-chip:hover,
.category-chip.active {
  color: #111827;
  background: #e5c88c;
  border-color: #e5c88c;
}
.blog-featured,
.blog-list {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.blog-section-title {
  margin-bottom: 26px;
}
.blog-section-title span {
  color: #e5c88c;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.blog-section-title h2 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.05em;
}
.featured-card {
  min-height: 420px;
  border-radius: 34px;
  overflow: hidden;
  margin-bottom: 88px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}
.featured-card__image {
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.78)),
    linear-gradient(135deg, #1f2937, #050505);
  background-size: cover;
  background-position: center;
}
.featured-card__content {
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 18px;
  min-height: 36px;
  align-items: center;
}
.post-category {
  color: #111827;
  background: #e5c88c;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.featured-card h3 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}
.featured-card p {
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 28px;
}
.read-more {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: #ffffff;
  color: #111827;
  padding: 14px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.25s ease;
}
.read-more:hover {
  transform: translateY(-2px);
  background: #e5c88c;
}
.blog-list {
  padding-bottom: 90px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.post-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.095);
  transition: 0.3s ease;
}
.post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 200, 140, 0.42);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}
.post-card__image {
  height: 238px;
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.68)),
    linear-gradient(135deg, #263247, #050505);
  background-size: cover;
  background-position: center;
}
.post-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 282px;
}
.post-card h3 {
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.post-card p {
  color: #cbd5e1;
  line-height: 1.65;
  font-size: 15px;
  margin-bottom: 22px;
  flex: 1;
}
.post-card .read-more {
  padding: 12px 15px;
  font-size: 14px;
  background: transparent;
  border: 1px solid rgba(229, 200, 140, 0.38);
  color: #e5c88c;
  align-self: flex-start;
  margin-top: auto;
}
.post-card .read-more:hover {
  color: #111827;
  background: #e5c88c;
}
.empty-state {
  display: none;
  text-align: center;
  padding: 70px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
}
.empty-state.active {
  display: block;
}
.empty-state h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.empty-state p {
  color: #94a3b8;
}
.post-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.post-modal.active {
  display: block;
}
.post-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(14px);
}
.post-modal__content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  margin: 18px auto;
  overflow-y: auto;
  border-radius: 34px;
  background: #080d17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}
.post-modal__close {
  position: sticky;
  top: 18px;
  margin-left: auto;
  transform: translate(-18px, 18px);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #111827;
  font-size: 28px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.post-modal__image {
  height: 360px;
  margin-top: -44px;
  background:
    linear-gradient(180deg, rgba(8, 13, 23, 0.08), #080d17),
    linear-gradient(135deg, #1f2937, #050505);
  background-size: cover;
  background-position: center;
}
.post-modal__body {
  padding: clamp(26px, 5vw, 62px);
}
.post-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 20px;
}
.post-modal__body h2 {
  max-width: 860px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}
.post-modal__excerpt {
  color: #cbd5e1;
  font-size: 19px;
  line-height: 1.75;
  margin-bottom: 34px;
}
.post-modal__text {
  display: grid;
  gap: 20px;
  color: #d1d5db;
  line-height: 1.85;
  font-size: 17px;
}
.post-modal__text h3 {
  color: #ffffff;
  margin-top: 18px;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.post-modal__text ul {
  padding-left: 22px;
}
.post-modal__text li {
  margin-bottom: 10px;
}
.post-modal__cta {
  margin-top: 42px;
  padding: 30px;
  border-radius: 26px;
  background:
    radial-gradient(
      circle at top left,
      rgba(229, 200, 140, 0.18),
      transparent 35%
    ),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(229, 200, 140, 0.18);
}
.post-modal__cta h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.post-modal__cta p {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 22px;
}
.post-modal__cta a {
  display: inline-flex;
  width: fit-content;
  background: #e5c88c;
  color: #111827;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
}
body.modal-open {
  overflow: hidden;
}
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.whatsapp-float__icon {
  width: 32px;
  height: 32px;
  color: #ffffff;
}
@media (max-width: 980px) {
  .blog-controls__container {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-search {
    flex: 1 1 auto;
  }
  .blog-categories {
    justify-content: flex-start;
  }
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-card__image {
    min-height: 300px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .blog-header__container {
    height: auto;
    padding: 18px 0;
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }
  .blog-nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }
  .blog-hero {
    padding: 72px 0 46px;
  }
  .blog-hero h1 {
    font-size: 42px;
  }
  .blog-hero p {
    font-size: 16px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .post-card {
    min-height: auto;
  }
  .post-modal__image {
    height: 260px;
  }
}
