:root{
  --container: 1120px;
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:rgba(15,23,42,.68);
  --line:rgba(15,23,42,.10);
  --accent:#10b981;
  --accent2:#059669;
  --blue:#2d6bff;
  --radius:18px;
  --shadow:0 10px 30px rgba(2,6,23,.08);
  --base:18px;
  --h1:40px;
  --h2:24px;
}

*{box-sizing:border-box}

html{font-size:var(--base)}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 16px;
}

/* =========================
   HEADER
   ========================= */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  min-height:72px;
  gap:18px;
}

.brand{
  font-weight:900;
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.brand-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--accent);
  display:inline-block;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.nav a{
  color:rgba(15,23,42,.78);
  font-weight:700;
}

.nav a:hover{
  color:var(--accent2);
}

/* =========================
   MAIN LAYOUT
   ========================= */

.site-main{
  padding:20px 0 90px;
}

.section{
  padding:18px 0;
}

.card,
.page-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:24px;
}

.muted{
  color:var(--muted);
}

.list{
  margin:10px 0 0;
  padding-left:18px;
}

/* =========================
   HERO
   ========================= */

.hero{
  padding:24px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:24px;
}

.hero-copy h1{
  font-size:var(--h1);
  line-height:1.08;
  margin:0 0 12px;
  letter-spacing:-.02em;
}

.hero-badge{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(16,185,129,.10);
  color:var(--accent2);
  font-size:14px;
  font-weight:800;
}

.lead{
  color:var(--muted);
  max-width:34ch;
  font-size:1.08rem;
  line-height:1.6;
}

.hero-note{
  color:var(--muted);
  line-height:1.55;
  margin-top:16px;
  max-width:36ch;
}

.hero-media img{
  width:100%;
  border-radius:22px;
  object-fit:cover;
}

.cta-row{
  display:flex;
  gap:12px;
  margin-top:14px;
  flex-wrap:wrap;
}

/* =========================
   BUTTONS
   ========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  border:1px solid transparent;
  transition:transform .05s ease, background .15s ease, border-color .15s ease;
  cursor:pointer;
}

.btn:active{
  transform:translateY(1px);
}

.btn-primary{
  background:var(--blue);
  color:#fff;
}

.btn-secondary{
  background:transparent;
  border:1px solid var(--line);
  color:var(--text);
}

.btn.small{
  padding:8px 12px;
  border-radius:10px;
  font-size:14px;
}

/* =========================
   ARTICLE
   ========================= */

.article h1{
  margin:14px 0 8px;
  letter-spacing:-.02em;
  font-size:var(--h1);
  line-height:1.08;
}

.article h2{
  font-size:var(--h2);
  margin:22px 0 10px;
  letter-spacing:-.01em;
}

.article p,
.article li{
  font-size:1.05rem;
  line-height:1.7;
}

.article ul{
  padding-left:20px;
}

.article-hero{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#eef2ff;
  margin-bottom:18px;
}

.article-hero img{
  width:100%;
}

/* =========================
   GRID / TILES / TABLES
   ========================= */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:12px;
  margin-top:14px;
}

.tile{
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  text-decoration:none;
  font-weight:700;
}

.tile:hover{
  border-color:rgba(16,185,129,.35);
}

.table-wrap{
  overflow:auto;
  margin-top:10px;
}

table{
  width:100%;
  border-collapse:collapse;
  min-width:640px;
}

th,
td{
  padding:12px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}

th{
  font-size:.95rem;
  color:rgba(15,23,42,.75);
}

/* =========================
   BREADCRUMBS
   ========================= */

.breadcrumbs{
  margin:8px 0 16px;
}

.breadcrumbs ol{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:rgba(15,23,42,.55);
  font-size:.95rem;
}

.breadcrumbs a{
  color:rgba(15,23,42,.55);
}

.breadcrumbs a:hover{
  color:var(--accent2);
}

/* =========================
   CTA BOX
   ========================= */

.cta-box{
  margin:18px 0;
  padding:18px;
  border-radius:18px;
  border:1px solid rgba(16,185,129,.22);
  background:linear-gradient(90deg, rgba(16,185,129,.08), rgba(45,107,255,.05));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.cta-title{
  font-weight:900;
  font-size:1.2rem;
}

.cta-sub{
  color:rgba(15,23,42,.72);
  margin-top:4px;
}

.cta-note{
  color:rgba(15,23,42,.55);
  margin-top:6px;
  font-size:.95rem;
}

.cta-right{
  flex:0 0 auto;
}

/* =========================
   FAQ
   ========================= */

.faq-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.faq-item{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
}

.faq-item[open]{
  background:rgba(16,185,129,.10);
}

.faq-item summary{
  cursor:pointer;
  font-weight:900;
  padding:18px;
  list-style:none;
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-answer{
  padding:0 18px 18px;
  color:rgba(15,23,42,.80);
  line-height:1.6;
}

/* =========================
   FOOTER
   ========================= */

.site-footer{
  border-top:1px solid var(--line);
  padding:26px 0 100px;
  color:rgba(15,23,42,.65);
  background:#fff;
}

.footer-text{
  line-height:1.65;
}

.footer-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:14px 0;
}

.footer-links a{
  color:rgba(15,23,42,.70);
  font-weight:600;
}

.footer-copy{
  font-size:.92rem;
}

/* =========================
   STICKY CTA
   ========================= */

.sticky-cta{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:80;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:linear-gradient(to top, rgba(246,247,251,1), rgba(246,247,251,0));
}

.sticky-cta .btn{
  display:flex;
  width:100%;
  max-width:720px;
  margin:0 auto;
  background:#184f16;
  color:#fff;
  min-height:60px;
  box-shadow:0 12px 24px rgba(24,79,22,.25);
}

/* =========================
   BLOG ARCHIVE — crezu.es style
   ========================= */

.blog-page-es{
  padding-top:8px;
}

.blog-page-es__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.blog-page-es__head h1{
  margin:0;
  font-size:30px;
  line-height:1.1;
  font-weight:800;
  color:#1f2937;
}

.blog-page-es__tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:flex-end;
}

.blog-chip-es{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 12px;
  border-radius:3px;
  background:#27d4a4;
  color:#fff;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

/* Featured */
.blog-featured-es{
  display:grid;
  grid-template-columns:1.05fr 1.3fr;
  gap:16px;
  background:#fff;
  border:1px solid #dfe5ea;
  border-radius:6px;
  padding:10px;
  margin-bottom:12px;
  align-items:stretch;
}

.blog-featured-es__media{
  display:block;
  min-width:0;
}

.blog-featured-es__body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  min-width:0;
}

.blog-featured-es__title{
  margin:0;
  font-size:20px;
  line-height:1.25;
  font-weight:800;
  color:#1f2937;
}

.blog-featured-es__title a:hover{
  color:#11b98f;
}

.blog-featured-es__excerpt{
  margin:0;
  color:#7b8491;
  font-size:13px;
  line-height:1.55;
}

/* Grid */
.blog-grid-es{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.blog-card-es{
  background:#fff;
  border:1px solid #dfe5ea;
  border-radius:6px;
  overflow:hidden;
  padding:10px;
  display:flex;
  flex-direction:column;
}

.blog-card-es__media{
  display:block;
}

.blog-card-es__body{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-top:10px;
  min-height:200px;
}

.blog-card-es__title{
  margin:0;
  font-size:16px;
  line-height:1.35;
  font-weight:800;
  color:#1f2937;
}

.blog-card-es__title a:hover{
  color:#11b98f;
}

.blog-card-es__excerpt{
  margin:0;
  color:#7b8491;
  font-size:13px;
  line-height:1.55;
}

/* Image wrappers */
.blog-thumb-es{
  position:relative;
  border-radius:4px;
  overflow:hidden;
  background:#f3f6fb;
  border:1px solid #e5e7eb;
  display:flex;
  align-items:center;
  justify-content:center;
}

.blog-card-es .blog-thumb-es{
  min-height:170px;
  padding:0;
}

.blog-card-es .blog-thumb-es img{
  width:100%;
  height:170px;
  object-fit:contain;
  object-position:center center;
  display:block;
  background:#f3f6fb;
}

.blog-featured-es .blog-thumb-es--featured{
  min-height:220px;
  padding:0;
}

.blog-featured-es .blog-thumb-es--featured img{
  width:100%;
  height:220px;
  object-fit:contain;
  object-position:center center;
  display:block;
  background:#f3f6fb;
}

/* Badges */
.blog-badge-es{
  position:absolute;
  top:8px;
  right:8px;
  min-height:24px;
  display:inline-flex;
  align-items:center;
  padding:0 8px;
  border-radius:4px;
  background:#ffad42;
  color:#fff;
  font-size:11px;
  font-weight:800;
  line-height:1;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  z-index:2;
}

/* Meta */
.blog-meta-es{
  display:flex;
  align-items:center;
  gap:8px;
  color:#9aa3af;
  font-size:12px;
  line-height:1;
}

/* Author/footer */
.blog-author-es{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.blog-author-es__left{
  display:flex;
  align-items:center;
  gap:8px;
}

.blog-author-es__avatar{
  width:34px;
  height:34px;
  border-radius:50%;
  flex:0 0 34px;
  background:linear-gradient(135deg,#1f3b73,#5d7fbe);
}

.blog-author-es__name{
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  color:#1f2937;
}

.blog-author-es__role{
  font-size:11px;
  line-height:1.2;
  color:#9aa3af;
}

.blog-readmore-es{
  color:#27d4a4;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

.blog-readmore-es:hover{
  color:#11b98f;
}

/* Pagination */
.blog-pagination-es{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}

.blog-page-btn-es{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #dfe5ea;
  border-radius:3px;
  background:#fff;
  color:#9aa3af;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

.blog-page-btn-es:hover{
  border-color:#27d4a4;
  color:#27d4a4;
}

.blog-page-btn-es.is-active{
  background:#27d4a4;
  border-color:#27d4a4;
  color:#fff;
}

.blog-page-btn-es.is-disabled{
  pointer-events:none;
  opacity:.45;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width:1024px){
  .blog-featured-es{
    grid-template-columns:1fr;
  }

  .blog-grid-es{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:900px){
  .hero-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  :root{
    --h1:34px;
    --h2:22px;
  }

  .nav{
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  .nav a{
    font-size:14px;
  }

  .hero-grid{
    padding:18px;
  }

  .cta-box{
    flex-direction:column;
    align-items:stretch;
  }

  .cta-right{
    display:flex;
  }

  .btn{
    width:100%;
  }
}

@media (max-width:680px){
  .blog-page-es__head{
    flex-direction:column;
    align-items:flex-start;
  }

  .blog-grid-es{
    grid-template-columns:1fr;
  }

  .blog-featured-es__title{
    font-size:18px;
  }

  .blog-card-es__title{
    font-size:15px;
  }

  .blog-author-es{
    flex-direction:column;
    align-items:flex-start;
  }

  .blog-card-es .blog-thumb-es{
    min-height:190px;
  }

  .blog-card-es .blog-thumb-es img{
    height:190px;
  }

  .blog-featured-es .blog-thumb-es--featured{
    min-height:220px;
  }

  .blog-featured-es .blog-thumb-es--featured img{
    height:220px;
  }
}
.hero-media{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:420px;
}

.hero-media img{
  width:100%;
  max-width:560px;
  height:auto;
  object-fit:contain;
  object-position:center;
}
.menu-toggle{
  display:none;
}

.nav-desktop{
  display:flex;
}

.brand-text{
  display:inline-block;
}

.mobile-menu{
  display:none;
}

.btn-dark{
  background:#111827;
  color:#fff;
}

.content-block{
  line-height:1.65;
}

.content-block h2{
  margin:0 0 12px;
  font-size:24px;
}

.content-block ul{
  margin:0 0 18px;
  padding-left:20px;
}

.content-block p,
.content-block li{
  color:var(--muted);
}

.eyebrow{
  display:inline-block;
  margin:0 0 10px;
  color:var(--muted);
  font-weight:800;
  letter-spacing:.01em;
}

.page-title{
  margin:0 0 12px;
  font-size:40px;
  line-height:1.08;
  letter-spacing:-.02em;
}

.page-lead{
  margin:0 0 18px;
  color:var(--muted);
  max-width:42ch;
}

.cta-panel{
  margin-top:24px;
  padding:20px;
  border-radius:22px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.calc-page-card{
  overflow:hidden;
}

.calc-page-head{
  margin-bottom:18px;
}