:root{
  --bg:#f4f0ea;
  --bg-2:#ece6dd;
  --panel:#f8f5ef;
  --ink:#131110;
  --muted:rgba(19,17,16,.72);
  --soft:rgba(19,17,16,.48);
  --line:rgba(19,17,16,.12);
  --line-2:rgba(19,17,16,.08);
  --accent:#6f0f1f;
  --accent-deep:#3f0912;
  --olive:#6f7b57;
  --bone:#f7f3ec;
  --max:1320px;
  --radius-xl:34px;
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:12px;
  --shadow-soft:0 14px 40px rgba(0,0,0,.06);
  --shadow-card:0 20px 60px rgba(0,0,0,.08);
}

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

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:
    radial-gradient(circle at top, rgba(111,15,31,.045), transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, #f1ece5 100%);
  color:var(--ink);
  font-family:"IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x:hidden;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

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

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

button,
input,
textarea,
select{
  font:inherit;
}

.wrap{
  width:min(var(--max), calc(100% - 48px));
  margin:0 auto;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:14px 22px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease,
    color .22s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn--solid{
  background:var(--accent-deep);
  border-color:var(--accent-deep);
  color:var(--bone);
}

.btn--solid:hover{
  background:#2a060d;
  border-color:#2a060d;
}

.btn--ghost{
  background:rgba(255,255,255,.36);
  border-color:rgba(19,17,16,.18);
  color:var(--ink);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.btn--ghost:hover{
  background:rgba(255,255,255,.56);
  border-color:rgba(19,17,16,.28);
}

.section-label,
.blog-kicker,
.blog-footer__label{
  margin:0 0 16px;
  font-size:11px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color: #e9e4dc;
}

.section-title{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  font-size:clamp(38px, 5vw, 74px);
  line-height:.96;
  font-weight:500;
  letter-spacing:-.03em;
}

.section-text{
  max-width:760px;
  margin:22px auto 0;
  font-size:15px;
  line-height:1.9;
  color:var(--muted);
}

/* header */
.blog-header{
  position:sticky;
  top:0;
  z-index:80;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  background:rgba(244,240,234,.76);
  border-bottom:1px solid rgba(19,17,16,.08);
}

.blog-header__row{
  min-height:74px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
}

.blog-brand{
  display:flex;
  align-items:baseline;
  gap:10px;
  white-space:nowrap;
}

.blog-brand__name{
  font-family:"Cormorant Garamond", serif;
  font-size:26px;
  letter-spacing:.06em;
  color:var(--accent-deep);
}

.blog-brand__sub{
  font-size:11px;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:var(--soft);
}

.blog-nav{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}

.blog-nav a{
  padding:10px 12px;
  border-radius:999px;
  font-size:13px;
  color:rgba(19,17,16,.82);
  transition:background .2s ease, color .2s ease;
}

.blog-nav a:hover,
.blog-nav a[aria-current="page"]{
  background:rgba(19,17,16,.05);
  color:var(--ink);
}

.blog-header__cta{
  display:flex;
  align-items:center;
  gap:10px;
}

.blog-menu-btn{
  display:none;
  min-height:42px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(19,17,16,.18);
  background:transparent;
  letter-spacing:.18em;
  font-size:11px;
  text-transform:uppercase;
  cursor:pointer;
}

/* hero */
.blog-hero{
  position:relative;
  overflow:hidden;
  padding:88px 0 70px;
  border-bottom:1px solid rgba(19,17,16,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,0) 28%),
    radial-gradient(circle at 20% 10%, rgba(111,15,31,.08), transparent 26%),
    linear-gradient(180deg, #f7f3ec 0%, #f2ede6 100%);
}

.blog-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(19,17,16,.06) 0%, rgba(19,17,16,0) 24%, rgba(19,17,16,0) 76%, rgba(19,17,16,.06) 100%);
}

.blog-hero__inner{
  position:relative;
  z-index:1;
}

.blog-hero__title{
  margin:0;
  max-width:980px;
  font-family:"Cormorant Garamond", serif;
  font-size:clamp(56px, 8vw, 124px);
  line-height:.88;
  font-weight:500;
  letter-spacing:-.045em;
  color: #14110f;
}

.blog-hero__text{
  max-width:860px;
  margin:26px 0 0;
  font-size:16px;
  line-height:1.92;
  color:var(--muted);
}

.blog-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:32px;
}

/* intro */
.blog-intro{
  padding:86px 0 32px;
}

.blog-intro__inner{
  text-align:center;
}

/* posts */
.blog-posts{
  padding:28px 0 90px;
}

.blog-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(320px, .8fr);
  gap:18px;
  align-items:center;
}

.post-featured{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  background:rgba(255,255,255,.46);
  box-shadow:var(--shadow-soft);
}

.post-featured__media{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
}

.post-featured__media img{
  transition:transform .6s ease;
}

.post-featured:hover .post-featured__media img{
  transform:scale(1.03);
}

.post-featured__body{
  padding:24px;
}

.post-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:12px;
}

.post-meta span{
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--soft);
}

.post-featured__title{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  font-size:clamp(36px, 4vw, 56px);
  line-height:.95;
  font-weight:500;
  letter-spacing:-.03em;
}

.post-featured__excerpt{
  margin:16px 0 0;
  font-size:15px;
  line-height:1.9;
  color:var(--muted);
}

.post-featured__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.post-list{
  display:grid;
  gap:14px;
}

.post-card{
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:rgba(255,255,255,.52);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
  transition:transform .22s ease, border-color .22s ease, background .22s ease;
}

.post-card:hover{
  transform:translateY(-3px);
  border-color:rgba(19,17,16,.18);
  background:rgba(255,255,255,.68);
}

.post-card__link{
  display:grid;
  grid-template-columns:126px 1fr;
  gap:14px;
  align-items:center;
  min-height:148px;
}

.post-card__thumb{
  width: 140px;
  height: 140px;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
  position:relative;
top:4px;
}

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

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

.post-card__body{
  padding:16px 18px 16px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.post-card__body h3{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  font-size:28px;
  line-height:.98;
  font-weight:500;
  letter-spacing:-.02em;
}

.post-card__body p{
  margin:10px 0 0;
  font-size:13.5px;
  line-height:1.72;
  color:var(--muted);
}

/* social/feed */
.blog-social{
  padding:10px 0 100px;
}

.blog-social__head{
  text-align:center;
  margin-bottom:26px;
}

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

.feed-card{
  position:relative;
  overflow:hidden;
  min-height:260px;
  padding:22px;
  border-radius:var(--radius-lg);
  border:1px solid rgba(19,17,16,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.06)),
    linear-gradient(135deg, rgba(111,123,87,.10), rgba(111,15,31,.10));
  box-shadow:var(--shadow-soft);
  transition:transform .24s ease, border-color .24s ease;
}

.feed-card:hover{
  transform:translateY(-4px);
  border-color:rgba(19,17,16,.18);
}

.feed-card::before{
  content:"";
  position:absolute;
  inset:auto -20% -30% auto;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(111,15,31,.10), transparent 68%);
  pointer-events:none;
}

.feed-card__tag{
  display:inline-flex;
  margin-bottom:18px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(19,17,16,.10);
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--accent-deep);
  background:rgba(255,255,255,.38);
}

.feed-card h3{
  margin:0;
  max-width:16ch;
  font-family:"Cormorant Garamond", serif;
  font-size:40px;
  line-height:.94;
  font-weight:500;
  letter-spacing:-.03em;
}

.feed-card p{
  margin:16px 0 0;
  max-width:34ch;
  font-size:14px;
  line-height:1.8;
  color:var(--muted);
}

/* cta */
.blog-cta{
  padding:20px 0 110px;
}

.blog-cta__inner{
  text-align:center;
  padding:48px 28px;
  border-radius:var(--radius-xl);
  border:1px solid rgba(19,17,16,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.10)),
    linear-gradient(135deg, rgba(111,15,31,.10), rgba(111,123,87,.12));
  box-shadow:var(--shadow-card);
}

.blog-cta__actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px;
}

/* footer */
.blog-footer{
  position:relative;
  overflow:hidden;
  padding:72px 0 22px;
  background:
    linear-gradient(180deg, #181311 0%, #100d0c 100%);
  color:#f4eee6;
}

.blog-footer::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 14%, rgba(111,15,31,.24), transparent 28%),
    radial-gradient(circle at 84% 80%, rgba(111,123,87,.18), transparent 26%);
}

.blog-footer__grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.3fr .7fr .7fr .7fr;
  gap:28px;
}

.blog-footer__title{
  margin:0;
  max-width:10ch;
  font-family:"Cormorant Garamond", serif;
  font-size:clamp(44px, 5vw, 74px);
  line-height:.9;
  font-weight:500;
  letter-spacing:-.04em;
}

.blog-footer__text{
  max-width:40ch;
  margin:18px 0 0;
  font-size:14px;
  line-height:1.9;
  color:rgba(244,238,230,.72);
}

.blog-footer__nav,
.blog-footer__cities,
.blog-footer__social{
  display:grid;
  align-content:start;
  gap:10px;
}

.blog-footer__nav a,
.blog-footer__social a,
.blog-footer__cities span{
  font-size:13px;
  color:rgba(244,238,230,.78);
  transition:color .2s ease, transform .2s ease;
}

.blog-footer__nav a:hover,
.blog-footer__social a:hover{
  color:#fff;
  transform:translateX(2px);
}

.blog-footer__bottom{
  position:relative;
  z-index:1;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-top:42px;
  padding-top:18px;
  border-top:1px solid rgba(244,238,230,.10);
}

.blog-footer__slogan{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  font-size:clamp(24px, 3.2vw, 42px);
  line-height:.96;
  letter-spacing:-.025em;
  color:#efe6da;
}

.blog-footer__copy{
  margin:0;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(244,238,230,.46);
}

/* ============================= */
/* RESPONSIVE CLEAN — XCANDLES   */
/* ============================= */

/* ---------- TABLET ---------- */
@media (max-width: 1180px){
  .wrap{
    width:min(var(--max), calc(100% - 34px));
  }

  .blog-grid{
    grid-template-columns:1fr;
  }

  .blog-feed{
    grid-template-columns:1fr 1fr;
  }

  .blog-footer__grid{
    grid-template-columns:1fr 1fr;
  }
}

/* ---------- MOBILE BASE ---------- */
@media (max-width: 920px){

  .blog-header__row{
    grid-template-columns:auto auto auto;
  }

  .blog-menu-btn{
    display:inline-flex;
    justify-self:center;
  }

  .blog-nav{
    display:none;
    position:absolute;
    top:74px;
    left:17px;
    right:17px;
    z-index:90;
    padding:14px;
    border:1px solid rgba(19,17,16,.10);
    border-radius:22px;
    background:rgba(244,240,234,.95);
    box-shadow:var(--shadow-soft);
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }

  .blog-header__cta{
    justify-self:end;
  }

  .blog-hero{
    padding:70px 0 54px;
  }

  /* FEATURED */
  .post-featured{
    border-radius:28px;
  }

  .post-featured__media{
    aspect-ratio:16/11;
  }

  .post-featured__body{
    padding:20px;
  }

  .post-featured__title{
    font-size:clamp(34px, 6vw, 46px);
    line-height:.96;
  }

  .post-featured__excerpt{
    font-size:14px;
    line-height:1.78;
  }

  /* LIST */
  .post-card{
    border-radius:24px;
  }

  .post-card__link{
  grid-template-columns:96px 1fr;
  gap:12px;
  padding:12px;
  align-items:start;
}

  .post-card__thumb{
    width:112px;
    height:112px;
    border-radius:20px;
  }

  .post-card__body{
    min-width:0;
    padding:0;
  }

  .post-card__body h3{
    font-size:24px;
    line-height:1.02;
  }

  .post-card__body p{
    margin-top:8px;
    font-size:13.5px;
    line-height:1.68;
  }

  .blog-feed{
    grid-template-columns:1fr;
  }

  .blog-footer__grid{
    grid-template-columns:1fr;
  }

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

/* ---------- MOBILE (IPHONE) ---------- */
@media (max-width: 640px){

  .wrap{
    width:calc(100% - 24px);
  }

  .blog-header__cta{
    display:none;
  }

  .blog-hero__title{
    font-size:clamp(46px, 15vw, 78px);
  }

  .blog-hero__text,
  .section-text{
    font-size:13.5px;
    line-height:1.82;
  }

  /* FEATURED */
  .post-featured{
    border-radius:24px;
  }

  .post-featured__media{
    aspect-ratio:16/12;
  }

  .post-featured__body{
    padding:18px 16px;
  }

  .post-meta{
    gap:8px 10px;
    margin-bottom:10px;
  }

  .post-meta span{
    font-size:10px;
    letter-spacing:.20em;
  }

  .post-featured__title{
    font-size:clamp(32px, 9vw, 42px);
    line-height:.98;
  }

  .post-featured__excerpt{
    margin-top:12px;
    font-size:13.5px;
    line-height:1.74;
  }

  /* LIST */
  .post-card__link{
    grid-template-columns:96px 1fr;
    gap:12px;
    padding:12px;
  }

  .post-card__thumb{
    width:96px;
    height:96px;
    border-radius:18px;
  }

  .post-card__body h3{
    font-size:20px;
    line-height:1.04;
  }

  .post-card__body p{
    font-size:13px;
    line-height:1.6;
  }

  .btn{
    width:100%;
  }
}

/* ---------- SMALL IPHONE ---------- */
@media (max-width: 430px){

  .wrap{
    width:calc(100% - 18px);
  }

  .post-featured__body{
    padding:16px 14px;
  }

  .post-featured__title{
    font-size:clamp(29px, 10vw, 38px);
  }

  .post-featured__excerpt{
    font-size:13px;
  }

  .post-card__link{
    grid-template-columns:88px 1fr;
    gap:10px;
    padding:10px;
  }

  .post-card__thumb{
    width:88px;
    height:88px;
    border-radius:16px;
  }

  .post-card__body h3{
    font-size:18px;
  }

  .post-card__body p{
    font-size:12.5px;
  }
}
/* AJUSTE FINO MINIATURAS MOBILE */
@media (max-width: 640px){
  .post-card .post-card__thumb{
    margin-top:10px !important;
  }
}

@media (max-width: 430px){
  .post-card .post-card__thumb{
    margin-top:12px !important;
  }
}
@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
  }
}

body[data-page="blog"] .blog-header .btn--solid{
  background-color: #5a0f14 !important;
  border-color: #5a0f14 !important;
  color: #ffffff !important;
}

#header-container .btn--solid{
  background-color: #5a0f14 !important;
}

body[data-page="blog"] #header-container .blog-header__cta .btn.btn--solid{
  background: #5a0f14 !important;
  background-color: #5a0f14 !important;
  border-color: #5a0f14 !important;
  color: #ffffff !important;
}

body[data-page="blog"] #header-container .blog-header__cta .btn.btn--solid:hover{
  background: #3f0a0f !important;
  background-color: #3f0a0f !important;
  border-color: #3f0a0f !important;
  color: #ffffff !important;
}

body[data-page="blog"] #header-container .xc-cta{
  background: #3a080c !important;
  border: 1px solid #3a080c !important;
  color: #ffffff !important;
}

body[data-page="blog"] #header-container .xc-cta:hover{
  background: #260507 !important;
  border-color: #260507 !important;
  color: #ffffff !important;
}