/* ============================================================
   IDIPE CONSTRUCTORA — BLOG
   Extiende el tema glass oscuro (Inter · acento copper)
   ============================================================ */

.blog-hero{
  padding:70px 5vw 40px;text-align:center;
  background:
    radial-gradient(circle at 20% 10%, rgba(180,106,60,.22) 0%, transparent 42%),
    radial-gradient(circle at 80% 90%, rgba(213,138,87,.16) 0%, transparent 46%),
    var(--black);
  border-bottom:1px solid var(--line);
}
.blog-hero h1{font-size:clamp(34px,6vw,60px);margin:6px 0 14px}
.blog-hero p{color:var(--muted);max-width:600px;margin:0 auto;font-size:17px}

/* index grid */
.post-grid{max-width:1200px;margin:0 auto;padding:56px 5vw;display:grid;grid-template-columns:1fr;gap:26px}
@media(min-width:720px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.post-grid{grid-template-columns:repeat(3,1fr)}}

.post-card{
  display:flex;flex-direction:column;overflow:hidden;border-radius:18px;
  background:rgba(255,255,255,.04);backdrop-filter:blur(22px) saturate(160%);
  -webkit-backdrop-filter:blur(22px) saturate(160%);
  border:1px solid rgba(255,255,255,.10);transition:transform .25s ease,border-color .25s ease;
}
.post-card:hover{transform:translateY(-6px);border-color:var(--copper)}
.post-card .thumb{aspect-ratio:16/9;overflow:hidden}
.post-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.post-card:hover .thumb img{transform:scale(1.06)}
.post-card .body{padding:22px;display:flex;flex-direction:column;flex:1}
.post-tag{
  align-self:flex-start;font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:900;color:var(--copper2);border:1px solid var(--copper);
  padding:5px 12px;border-radius:20px;margin-bottom:14px;
}
.post-card h2{font-size:21px;line-height:1.2;margin:0 0 10px;letter-spacing:-.02em;font-weight:600}
.post-card p{color:var(--muted);font-size:14.5px;flex:1;margin:0}
.post-meta{color:#8f8b86;font-size:12.5px;margin-top:16px;letter-spacing:.04em}
.read-more{margin-top:12px;color:var(--copper2);font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.read-more i{transition:transform .25s ease}
.post-card:hover .read-more i{transform:translateX(4px)}

/* article */
.article-hero{position:relative;height:52vh;min-height:360px;overflow:hidden}
.article-hero img{width:100%;height:100%;object-fit:cover}
.article-hero .veil{position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,11,12,.25) 0%,rgba(9,11,12,.85) 100%)}
.article-hero .cap{position:absolute;left:0;right:0;bottom:0;padding:40px 5vw}
.article-hero .cap .inner{max-width:820px;margin:0 auto}
.article-hero h1{font-size:clamp(28px,5vw,52px);margin:10px 0 8px;letter-spacing:-.03em;font-weight:500;line-height:1.05}
.article-hero .sub{color:var(--muted);font-size:14px;letter-spacing:.04em}

.article-body{max-width:760px;margin:0 auto;padding:52px 5vw 20px;font-size:17px;color:#e9e6e2}
.article-body .lead{font-size:21px;line-height:1.6;color:#fff;margin-bottom:28px;font-weight:400}
.article-body h2{font-size:clamp(24px,3.4vw,34px);margin:40px 0 14px;letter-spacing:-.02em;font-weight:500;color:#fff}
.article-body h3{font-size:20px;margin:28px 0 10px;color:var(--copper2);font-weight:600}
.article-body p{margin:0 0 18px;line-height:1.72}
.article-body strong{color:#fff}
.article-body a{color:var(--copper2);font-weight:700;border-bottom:1px solid transparent;transition:border-color .2s}
.article-body a:hover{border-bottom-color:var(--copper2)}
.article-body ul,.article-body ol{margin:0 0 20px;padding:0}
.article-body li{position:relative;padding-left:28px;margin-bottom:11px;line-height:1.65}
.article-body ul li::before{content:"\f105";font-family:"Font Awesome 6 Free";font-weight:900;color:var(--copper2);position:absolute;left:6px;top:1px}
.article-body ol{counter-reset:i}
.article-body ol li::before{counter-increment:i;content:counter(i);position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:var(--copper);color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}

.article-body figure{margin:32px 0}
.article-body figure img{border-radius:16px;border:1px solid var(--line)}
.article-body figcaption{text-align:center;color:#8f8b86;font-size:13px;margin-top:10px}

.article-body blockquote{
  margin:28px 0;padding:22px 26px;border-left:3px solid var(--copper);
  background:rgba(255,255,255,.04);border-radius:0 14px 14px 0;
  font-size:20px;line-height:1.5;color:#fff;font-style:italic;
}

.fact-table{width:100%;border-collapse:collapse;margin:26px 0;font-size:15px;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.fact-table th,.fact-table td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--line)}
.fact-table th{background:var(--graphite2);color:#fff;font-weight:700;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.fact-table td{color:#ddd}
.fact-table tr:last-child td{border-bottom:none}
.fact-table tr:nth-child(even) td{background:rgba(255,255,255,.02)}

.cta-box{
  margin:40px 0;padding:38px 30px;text-align:center;border-radius:20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(180,106,60,.3) 0%, transparent 55%),
    var(--graphite);
  border:1px solid var(--copper);
}
.cta-box h3{font-size:26px;color:#fff;margin:0 0 10px;font-weight:600}
.cta-box p{color:var(--muted);margin:0 auto 22px;max-width:520px}
.cta-box .btn{margin:0 auto}

.faq{margin:26px 0}
.faq-item{border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden;background:rgba(255,255,255,.03)}
.faq-item summary{list-style:none;cursor:pointer;padding:17px 20px;font-weight:600;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:16px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"\f067";font-family:"Font Awesome 6 Free";font-weight:900;color:var(--copper2);font-size:13px}
.faq-item[open] summary::after{content:"\f068"}
.faq-item .faq-a{padding:0 20px 18px;color:var(--muted)}

.article-foot{max-width:760px;margin:30px auto 0;padding:0 5vw}
.author-line{display:flex;align-items:center;gap:14px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:14.5px}
.author-line i{color:var(--copper2);font-size:22px}
.back-link{display:inline-flex;align-items:center;gap:10px;margin:26px 0;color:var(--copper2);font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.crumbs{color:var(--muted);font-size:12px;letter-spacing:.06em}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:#fff}
