/* Ultra Code (HTML/CSS/JS)
   Dark mode premium + colorful gradients + glassmorphism + storytelling layout. */

:root{
  color-scheme: dark;

  --bg-0:#04060d;
  --bg-1:#070a16;
  --text:#eaf0ff;
  --muted:#a9b2d6;
  --muted-2:#7e88b6;

  --glass:rgba(255,255,255,.06);
  --glass-2:rgba(255,255,255,.10);
  --border:rgba(255,255,255,.14);
  --border-2:rgba(255,255,255,.08);

  --shadow:0 24px 80px rgba(0,0,0,.55);
  --shadow-soft:0 18px 48px rgba(0,0,0,.35);

  --radius:22px;
  --radius-sm:16px;

  /* Brand */
  --brand-violet:#7c3aed; /* violeta del logo (base) */

  --accent-a:var(--brand-violet); /* violet */
  --accent-b:#06b6d4; /* cyan */
  --accent-c:#f97316; /* orange */
  --accent-d:#22c55e; /* green */

  /* RGB helpers (for glow alphas) */
  --accent-a-rgb:124 58 237;
  --accent-b-rgb:6 182 212;
  --accent-c-rgb:249 115 22;
  --accent-d-rgb:34 197 94;

  --grad-main:linear-gradient(135deg,var(--accent-a),var(--accent-b),var(--accent-c));
  --grad-cold:linear-gradient(135deg,var(--accent-a),var(--accent-b));
  --grad-hot:linear-gradient(135deg,var(--accent-c),#ef4444);

  --container:1200px;
}

*{box-sizing:border-box}
 html{scroll-behavior:smooth;scroll-padding-top:96px}

@font-face{
  font-family:"Quera";
  src:
    local("Quera"),
    local("Quera Regular"),
    local("QueraDEMO-Regular"),
    local("Quera DEMO"),
    url("../../font/Quera DEMO.otf") format("opentype"),
    url("../fonts/Quera-Regular.woff2") format("woff2"),
    url("../fonts/Quera-Regular.woff") format("woff"),
    url("../fonts/Quera-Regular.ttf") format("truetype"),
    url("../fonts/Quera-Regular.otf") format("opentype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
body{
  margin:0;
  font-family:"Quera","Outfit",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight:400;
  color:var(--text);
  line-height:1.65;
  position:relative;
  background:
    radial-gradient(980px 640px at 14% -12%, rgb(var(--accent-a-rgb) / .22), transparent 60%),
    radial-gradient(860px 560px at 96% 12%, rgb(var(--accent-b-rgb) / .18), transparent 62%),
    radial-gradient(880px 580px at 50% 115%, rgb(var(--accent-c-rgb) / .14), transparent 58%),
    radial-gradient(740px 520px at 70% 70%, rgb(var(--accent-d-rgb) / .10), transparent 62%),
    linear-gradient(180deg,var(--bg-0),var(--bg-1));
  overflow-x:hidden;
}

/* subtle grain + scanlines */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:2;
  opacity:.55;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,.05) 0px,
      rgba(255,255,255,.05) 1px,
      transparent 2px,
      transparent 6px
    );
  mix-blend-mode:overlay;
}
body::after{
  content:"";
  position:fixed;
  inset:-40px;
  pointer-events:none;
  z-index:0;
  opacity:.55;
  background:
    radial-gradient(closest-side at 14% 22%, rgb(var(--accent-a-rgb) / .22), transparent 70%),
    radial-gradient(closest-side at 88% 28%, rgb(var(--accent-b-rgb) / .18), transparent 72%),
    radial-gradient(closest-side at 60% 90%, rgb(var(--accent-c-rgb) / .14), transparent 74%),
    radial-gradient(closest-side at 36% 74%, rgb(var(--accent-d-rgb) / .10), transparent 74%);
  mix-blend-mode:screen;
  filter:blur(30px) saturate(140%);
}

img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
strong,b{font-weight:inherit}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 16px;
}

.page{min-height:100vh;display:flex;flex-direction:column;position:relative;z-index:1}
.main{flex:1}

/* Type */
.display{
  font-family:"Quera",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  letter-spacing:-.02em;
  font-weight:400;
}
.h1,.h2,.h3{
  font-family:"Quera",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.05;
  margin:0;
  font-weight:400;
}
.h1{font-size:44px}
.h2{font-size:30px}
.h3{font-size:18px}
@media (min-width:768px){
  .h1{font-size:64px}
  .h2{font-size:40px}
}
.muted{color:var(--muted)}
.muted-2{color:var(--muted-2)}

.grad-text{
  background:var(--grad-main);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Header (floating glass) */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:transparent;
  border-bottom:0;
  padding:10px 0 0;
}
.site-header .container{
  width:100%;
  max-width:var(--container);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  position:relative;
  isolation:isolate;
  margin:0 auto;
  padding:10px 12px;
  border-radius:22px;
  background:rgba(4,6,13,.46);
  border:0;
  backdrop-filter:blur(18px);
  box-shadow:0 22px 70px rgba(0,0,0,.55);
}
.nav::after{
  content:"";
  position:absolute;
  inset:-26px;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(closest-side at 18% 25%, rgba(124,58,237,.34), transparent 62%),
    radial-gradient(closest-side at 82% 55%, rgba(6,182,212,.22), transparent 62%),
    radial-gradient(closest-side at 55% 80%, rgba(236,72,153,.20), transparent 62%);
  filter:blur(22px);
  opacity:.28;
}

.site-header.is-scrolled .nav{
  background:rgba(4,6,13,.62);
  box-shadow:0 18px 60px rgba(0,0,0,.55);
}
.site-header.is-scrolled{padding-top:10px}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-logo-img{
  height:34px;
  width:auto;
  filter:drop-shadow(0 14px 26px rgba(0,0,0,.45));
  transition:height .2s ease, transform .2s ease;
}
@media (min-width:720px){.brand-logo-img{height:68px}}
.site-header.is-scrolled .brand-logo-img{transform:none}
.brand-badge{
  width:44px;height:44px;
  border-radius:16px;
  display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(168,85,247,.95), rgba(6,182,212,.95));
  box-shadow:0 18px 44px rgba(0,0,0,.45);
  font-family:"Quera",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight:600;
}
.brand-name{
  font-family:"Quera",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight:600;
  letter-spacing:.2px;
}

.nav-links{
  display:none;
  align-items:center;
  gap:20px;
  padding:0;
  border-radius:0;
  background:transparent;
  border:0;
}
@media (min-width:900px){.nav-links{display:flex}}
.nav-links a{
  font-size:18px;
  font-weight:500;
  position:relative;
  padding:10px 2px;
  border-radius:0;
  color:var(--muted);
  transition:color .2s ease, transform .2s ease, background-position .35s ease;
  border:0;
}
.nav-links a:hover{
  color:var(--text);
  transform:translateY(-1px);
}
.nav-links a.active{
  color:var(--text);
}

@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a.active{
    background-image:linear-gradient(90deg, rgba(124,58,237,1), rgba(236,72,153,.92), rgba(6,182,212,.92));
    background-size:200% 100%;
    background-position:0% 50%;
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
  }
  .nav-links a:hover,
  .nav-links a:focus-visible{background-position:100% 50%}
  .nav-links a.active{background-position:50% 50%}
}

.nav-cta{display:none}
@media (min-width:900px){.nav-cta{display:inline-flex}}
.nav-cta{margin-left:0}

.menu-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:var(--text);
  box-shadow:0 18px 44px rgba(0,0,0,.35);
}
.menu-btn:hover{background:rgba(255,255,255,.06)}
@media (min-width:900px){.menu-btn{display:none}}

.menu-icon{
  width:20px;height:14px;
  position:relative;
  display:block;
}
.menu-icon::before,.menu-icon::after,.menu-icon span{
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background:rgba(234,240,255,.90);
  border-radius:2px;
  transition:transform .2s ease, top .2s ease, opacity .2s ease;
}
.menu-icon::before{content:"";top:0}
.menu-icon span{top:6px}
.menu-icon::after{content:"";top:12px}
.site-header.is-open .menu-icon::before{top:6px;transform:rotate(45deg)}
.site-header.is-open .menu-icon span{opacity:0}
.site-header.is-open .menu-icon::after{top:6px;transform:rotate(-45deg)}

.mobile-menu{display:none}
.site-header.is-open .mobile-menu{display:block}
.mobile-menu{
  background:transparent;
}
.mobile-menu-inner{
  margin:0 0 12px;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  border-radius:22px;
  background:rgba(4,6,13,.56);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(18px);
  box-shadow:0 22px 70px rgba(0,0,0,.55);
}
.mobile-menu a{
  padding:12px 12px;
  border-radius:16px;
  border:1px solid var(--border-2);
  background:rgba(255,255,255,.04);
  color:var(--text);
}
.mobile-menu a:hover{
  background:rgba(255,255,255,.06);
}

/* Buttons / chips */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  font-weight:500;
  letter-spacing:.01em;
  border:1px solid var(--border-2);
  background:rgba(255,255,255,.04);
  color:var(--text);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor:pointer;
}
.btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.06);
  border-color:rgba(124,58,237,.32);
}
.btn-primary{
  border:0;
  /* Violet-only premium look (matches brand) */
  background:linear-gradient(135deg, rgba(124,58,237,.98), rgba(107,33,182,.96));
  box-shadow:0 18px 50px rgba(0,0,0,.45);
}
.btn-primary:hover{box-shadow:0 22px 70px rgba(0,0,0,.55)}
.btn-ghost{
  border:1px solid var(--border-2);
  background:rgba(255,255,255,.03);
  color:var(--muted);
}
.btn.small{padding:10px 14px;font-size:13px}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border-2);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:12px;
  font-weight:500;
}
.chip.glow{
  color:var(--text);
  background:linear-gradient(135deg, rgba(168,85,247,.20), rgba(6,182,212,.14));
  border-color:rgba(255,255,255,.12);
}

/* Storytelling layout */
.hero{
  position:relative;
  padding:0;
  min-height:100vh;
  min-height:100svh;
  display:flex;
}
@media (min-width:768px){.hero{padding:0}}
.hero > .container{
  flex:1;
  display:flex;
  align-items:center;
}
@media (min-width:980px){.hero > .container{padding:0 24px}}
.hero::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(900px 600px at 30% 20%, rgba(168,85,247,.18), transparent 70%),
    radial-gradient(800px 480px at 70% 20%, rgba(6,182,212,.16), transparent 72%),
    radial-gradient(900px 520px at 50% 120%, rgba(249,115,22,.10), transparent 70%);
  pointer-events:none;
  filter:blur(0px);
}

/* Servicios: hero como Contacto (1 columna, sin visual) */
.hero-servicios{
  --hero-bg:url("../../img/desarrollo.png");
}
.hero-servicios > .container{
  align-items:flex-start;
}
.hero-marketing{
  --hero-bg:url("../../img/fondo-servicios.png");
}
/* Hero unificado (todas las páginas menos Home) */
.hero-photo{
  --hero-fade-mask:linear-gradient(180deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 42%,
    rgba(0,0,0,.65) 62%,
    rgba(0,0,0,.25) 72%,
    rgba(0,0,0,0) 80%,
    rgba(0,0,0,0) 100%
  );
  background:transparent;
  overflow:hidden;
  isolation:isolate;
}
.hero-photo::before{
  z-index:-1;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.44) 0%,
      rgba(0,0,0,.20) 48%,
      rgba(0,0,0,0) 80%,
      rgba(0,0,0,0) 100%
    ),
    radial-gradient(900px 600px at 30% 20%, rgba(168,85,247,.18), transparent 70%),
    radial-gradient(800px 480px at 70% 20%, rgba(6,182,212,.16), transparent 72%),
    radial-gradient(900px 520px at 50% 120%, rgba(249,115,22,.10), transparent 70%);
  -webkit-mask-image:var(--hero-fade-mask);
  mask-image:var(--hero-fade-mask);
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
}
.hero-photo::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:-2;

  background-image:var(--hero-bg, url("../../img/fondo-servicios.png"));
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  opacity:.98;
  filter:saturate(1.02);

  /* Fade a transparencia con “zona” inferior 100% transparente (evita corte) */
  -webkit-mask-image:var(--hero-fade-mask);
  mask-image:var(--hero-fade-mask);
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
}
.hero-photo > .container{
  align-items:center;
}
.hero-photo .hero-grid{
  grid-template-columns:1fr !important;
}
.hero-photo .hero-visual{
  display:none;
}
.hero-photo .hero-headplate{
  display:inline-flex;
  flex-direction:column;
  gap:10px;
  align-self:flex-start;
  max-width:min(68ch, 100%);
  background:rgba(0,0,0,.62);
  padding:14px 16px;
  border-radius:18px;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
  text-shadow:0 10px 30px rgba(0,0,0,.65);
}
.hero-photo .hero-headplate .lede{
  color:rgba(255,255,255,.78);
}
/* Blog: hero + secciones en flujo normal */
.blog-hero{
  --hero-bg:url("../../img/recursos.png");
}
.blog-hero .hero-grid{
  grid-template-columns:1fr !important;
}
.article-hero{
  background:transparent;
  min-height:auto !important;
  display:block !important;
  padding:0 !important;
}
.article-hero-top{
  width:100%;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.10);
  background:rgba(4,6,13,.35);
  backdrop-filter:blur(14px);
}
.article-hero-top .container{
  max-width:none;
}
.article-hero-top-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
@media (max-width:680px){
  .article-hero-top-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .article-meta{
    justify-content:flex-start;
  }
  .article-back{
    white-space:normal;
  }
}
.article-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  color:rgba(234,240,255,.92);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  white-space:nowrap;
}
.article-back:hover{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.14);
}
.article-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  font-size:13px;
  color:rgba(234,240,255,.72);
}
.article-hero-media .container{
  max-width:none;
  padding-left:0;
  padding-right:0;
}
.article-hero-media .hero-visual{
  width:100%;
  max-width:none;
  min-height:320px;
  border-radius:0;
  border:0;
  box-shadow:none;
}
.article-hero-media .hero-visual::before{content:none}
.article-hero-media .hero-visual .frame{
  inset:0;
  border-radius:0;
  border:0;
  background:transparent;
  backdrop-filter:none;
}
.article-hero-media .hero-visual img{
  opacity:1;
  transform:none;
  filter:none;
}
@media (min-width:980px){
  .article-hero-media .hero-visual{min-height:440px}
}
.article-hero-title{
  padding:26px 0 40px;
}
.article-hero-title .h1{
  margin:0 auto;
  max-width:26ch;
  text-align:center;
  font-weight:400;
}
.article-hero-title .lede{
  margin:12px auto 0;
  max-width:72ch;
  text-align:center;
  color:rgba(234,240,255,.78);
}
.blog-search{
  margin-top:18px;
  max-width:720px;
}
.blog-search .kicker{
  margin:0 0 10px;
}
.blog-search .input{
  width:100%;
}
.blog-section{
  min-height:auto;
  display:block;
  padding:56px 0 72px;
}
.blog-section > .container{
  display:block;
}
.blog-section .kicker{
  margin-bottom:14px;
}
.blog-section .blog-cta{
  margin-top:22px;
}
@media (min-width:900px){
  .blog-page .post-grid{grid-template-columns:repeat(3,1fr)}
  .blog-page .post-card.post-featured{grid-column:1 / -1}
}
.hero-servicios .hero-grid{
  grid-template-columns:1fr !important;
}
.hero-marketing .hero-grid{
  grid-template-columns:1fr !important;
}

.hero-grid{
  position:relative;
  display:grid;
  gap:28px;
  align-items:center;
  grid-template-columns:1fr;
}
@media (min-width:980px){.hero-grid{grid-template-columns:1.15fr .85fr;gap:40px}}

.hero-copy{display:flex;flex-direction:column;gap:16px}
.kicker{
  display:flex;flex-wrap:wrap;gap:10px;
  align-items:center;
}
.lede{font-size:18px;color:var(--muted);max-width:58ch;margin:0}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}

.hero-visual{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border-2);
  background:rgba(255,255,255,.03);
  box-shadow:var(--shadow);
  min-height:320px;
}
@media (min-width:980px){
  .hero-visual{
    min-height:480px;
    width:100%;
    max-width:520px;
    justify-self:end;
  }
}
.hero-visual::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(closest-side at 30% 30%, rgba(168,85,247,.32), transparent 70%),
    radial-gradient(closest-side at 70% 35%, rgba(6,182,212,.25), transparent 72%),
    radial-gradient(closest-side at 60% 80%, rgba(249,115,22,.18), transparent 70%);
  filter:blur(10px);
  opacity:.85;
  transform:scale(1.1);
}
.hero-visual .frame{
  position:absolute;
  inset:18px;
  border-radius:calc(var(--radius) - 6px);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25);
  backdrop-filter:blur(18px);
  overflow:hidden;
}
.hero-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  opacity:.88;
  transform:scale(1.03);
}

.hero-visual .overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.60));
}
.hero-visual .badge{
  position:absolute;
  left:18px;
  bottom:18px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.section{
  position:relative;
  padding:0;
  min-height:100vh;
  min-height:100svh;
  display:flex;
}
@media (min-width:768px){.section{padding:0}}
.section > .container{
  flex:1;
  display:flex;
  align-items:stretch;
}

/* Contacto: sin columna de imagen en hero + form ordenado */
.hero-contacto{
  --hero-bg:url("../../img/contacto.png");
}
.section-contacto{
  min-height:auto;
  display:block;
  padding:56px 0 72px;
}
.section-contacto > .container{
  display:block;
}
.section-contacto .chapter{
  display:block;
}
.section-contacto .chapter-inner{
  text-align:left;
  align-items:start;
}
@media (min-width:980px){
  .section-contacto .chapter-inner{
    grid-template-columns:1.05fr .95fr;
  }
}

.chapter{
  position:relative;
  border-radius:0;
  border:1px solid var(--border-2);
  background:rgba(255,255,255,.03);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.section .chapter{flex:1;display:flex}
.section .chapter-inner{flex:1}
.section + .section .chapter{border-top:0}
.chapter::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(700px 420px at 20% 10%, rgba(168,85,247,.18), transparent 70%),
    radial-gradient(600px 420px at 80% 30%, rgba(6,182,212,.14), transparent 72%),
    radial-gradient(720px 520px at 60% 100%, rgba(249,115,22,.10), transparent 74%);
  opacity:.9;
  pointer-events:none;
}
.chapter-inner{
  position:relative;
  display:grid;
  gap:26px;
  padding:26px;

  grid-template-columns:1fr;
  align-items:center;
  justify-items:stretch;
  text-align:center;
}
@media (min-width:980px){
  .chapter-inner{gap:34px;padding:34px}
}
.chapter-title{margin:0 0 10px}
.chapter-copy p{margin:0 0 12px;color:var(--muted)}
.chapter-copy p strong{color:var(--text)}

.section-center > .container{align-items:center}
.chapter-inner-single{grid-template-columns:1fr;justify-items:stretch;text-align:center}

/* Servicios: separa el catalogo del footer */
#catalogo.section-center{
  min-height:auto;
  padding:48px 0 72px;
}
#catalogo.section-center .chapter{
  background:transparent;
  border:none;
  box-shadow:none;
}
#catalogo.section-center .chapter::before{
  content:none;
}

.section-carousel{
  min-height:auto;
}
.section-carousel > .container{
  align-items:flex-start;
  max-width:none;
  padding-left:0;
  padding-right:0;
}
.chapter-carousel-wrap{
  height:600px;
  min-height:600px;
  align-self:flex-start;
}
.chapter-carousel{
  width:100%;
  height:600px;
  min-height:600px;
}
.chapter-carousel .carousel-inner,
.chapter-carousel .carousel-item{height:600px}
.chapter-carousel img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.section-pricing{
  min-height:auto;
  display:block;
}
.section-pricing > .container{
  display:block;
  max-width:none;
  padding-left:0;
  padding-right:0;
}
.section-pricing .chapter{display:block}
.pricing-wrap{padding:26px}
@media (min-width:980px){.pricing-wrap{padding:34px}}

.pricing-grid{
  display:grid;
  gap:14px;
  grid-template-columns:1fr;
  align-items:stretch;
}
@media (min-width:900px){.pricing-grid{grid-template-columns:repeat(3,1fr);gap:18px}}

.pricing-card{
  position:relative;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
  box-shadow:var(--shadow-soft);
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
  overflow:hidden;
}
.pricing-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(600px 420px at 20% 10%, rgba(168,85,247,.16), transparent 70%),
    radial-gradient(520px 380px at 80% 30%, rgba(6,182,212,.12), transparent 72%);
  opacity:.9;
  pointer-events:none;
}
.pricing-top{position:relative}
.pricing-name{margin:0;font-size:18px;letter-spacing:-.01em}
.pricing-price{display:flex;align-items:baseline;gap:6px;margin-top:8px}
.pricing-currency{opacity:.9}
.pricing-amount{font-size:44px;line-height:1;letter-spacing:-.03em}
.pricing-period{font-size:14px;color:var(--muted)}
.pricing-sub{margin:8px 0 0}

.pricing-features{
  position:relative;
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  color:var(--muted);
}
.pricing-features li{display:flex;gap:10px;align-items:flex-start}
.pricing-features li::before{
  content:"✓";
  color:rgb(var(--accent-d-rgb) / .92);
  margin-top:1px;
}

.pricing-badge{
  position:absolute;
  top:14px;
  right:14px;
  z-index:2;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  color:var(--text);
  background:linear-gradient(135deg, rgba(124,58,237,.55), rgba(6,182,212,.35));
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(12px);
}
.pricing-card.is-featured{
  border-color:rgba(124,58,237,.34);
  box-shadow:0 28px 90px rgba(0,0,0,.55);
}
@media (min-width:900px){
  .pricing-card.is-featured{
    transform:translateY(-12px) scale(1.03);
    z-index:2;
  }
}

#services{
  width:100%;
}
#services > .container{
  width:100%;
  max-width:none;
}
#services.section-center > .container{align-items:stretch}
#services .chapter{min-height:100vh;min-height:100svh}
#services .chapter-inner{width:100%;min-height:100vh;min-height:100svh}
#services .chapter-inner-single{justify-items:stretch}
#services .center{width:100%}

#services .tile .tag{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
#services .tile .tag i{
  display:inline-block;
  font-size:26px;
  line-height:1;
  margin:0 !important;
  background:var(--grad-main);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 14px 26px rgb(var(--accent-b-rgb) / .18));
}

.chapter-visual{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border-2);
  background:rgba(255,255,255,.03);
  box-shadow:var(--shadow-soft);
  min-height:260px;
}
@media (min-width:980px){.chapter-visual{min-height:380px}}
.chapter-visual::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(closest-side at 30% 30%, rgba(168,85,247,.26), transparent 70%),
    radial-gradient(closest-side at 70% 35%, rgba(6,182,212,.18), transparent 72%),
    radial-gradient(closest-side at 60% 80%, rgba(249,115,22,.12), transparent 70%);
  filter:blur(18px);
  opacity:.85;
  transform:scale(1.1);
}
.chapter-visual .frame{
  position:absolute;
  inset:16px;
  border-radius:calc(var(--radius) - 6px);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.22);
  backdrop-filter:blur(16px);
  overflow:hidden;
}
.chapter-visual img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  opacity:.9;
  transform:none;
}
.chapter-visual .overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.58));
}

.glass{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(16px);
  box-shadow:0 18px 60px rgba(0,0,0,.35);
}
.glass.pad{padding:18px}

.metric-grid{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(2,1fr);
}
@media (min-width:980px){.metric-grid{grid-template-columns:repeat(4,1fr)}}
.metric{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  text-align:center;
}
.metric .n{
  display:flex;
  align-items:center;
  justify-content:center;
  height:34px;
  font-size:0;
  color:rgba(234,240,255,.92);
}
.metric .n svg{width:28px;height:28px}
.metric .l{font-size:12px;color:var(--muted);margin-top:2px}

/* HERO metrics (metric + glass) */
.metric.glass .n{height:40px}
.metric.glass .n svg{width:32px;height:32px}
.metric.glass .l{font-size:14px}

.tiles{
  display:grid;
  gap:12px;
  grid-template-columns:1fr;
}
@media (min-width:980px){.tiles{grid-template-columns:repeat(2,1fr)}}
.tile{
  border-radius:var(--radius-sm);
  padding:18px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}
.tile .tag{font-size:12px;font-weight:600;color:var(--text);opacity:.95}
.tile p{margin:8px 0 0;color:var(--muted);font-size:14px}

/* Servicios (tiles con Bootstrap h-100) */
.tile.h-100 .tag,
.tile-h .tag{font-size:14px}
.tile.h-100 p,
.tile-h p{font-size:15px}

/* Blog cards (clean, WP-like) */
.post-grid{
  display:grid;
  gap:16px;
  grid-template-columns:1fr;
}
@media (min-width:900px){.post-grid{grid-template-columns:repeat(3, 1fr)}}

.post-card{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  box-shadow:0 18px 55px rgba(0,0,0,.35);
  display:flex;
  flex-direction:column;
  min-height:unset;
}
.post-card img{
  position:relative;
  width:100%;
  height:190px;
  object-fit:cover;
  opacity:1;
  transform:none;
  filter:none;
}
.post-featured img{height:260px}
.post-card .content{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px;
  min-height:unset;
}
.post-card .title{
  font-family:"Quera",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  letter-spacing:-.02em;
  line-height:1.08;
  margin:0;
  font-size:20px;
}
.post-card .excerpt{
  color:var(--muted);
  margin:0;
  font-size:14px;
}
.post-card .meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:rgba(234,240,255,.72);
  font-size:12px;
  margin:0;
}
.post-card .post-footer{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:6px;
}
.post-card .post-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:800;
  color:rgb(var(--accent-b-rgb) / .92);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.post-card .post-link:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.16);
}

.post-featured{
  grid-column:1 / -1;
}
@media (min-width:900px){
  .post-featured{
    display:grid;
    grid-template-columns:1.25fr .75fr;
    align-items:stretch;
  }
  .post-featured img{
    height:100%;
    min-height:320px;
  }
  .post-featured .content{
    padding:22px;
  }
}

/* Simple cards with image header (for Servicios / Beneficios) */
.card-grid{
  display:grid;
  gap:14px;
  grid-template-columns:1fr;
}
@media (min-width:900px){.card-grid{grid-template-columns:repeat(3, 1fr)}}

.card-surface{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
  box-shadow:0 22px 70px rgba(0,0,0,.40);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-surface:hover{
  transform:translateY(-2px);
  box-shadow:0 28px 90px rgba(0,0,0,.55);
  border-color:rgba(255,255,255,.18);
}
.card-surface .media{
  height:180px;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.card-surface .media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.04);
  filter:saturate(1.05) contrast(1.03);
}
.card-surface .body{
  padding:16px 16px 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.card-surface .body .title{
  font-family:"Quera",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  letter-spacing:-.02em;
  line-height:1.12;
  margin:0;
  font-size:20px;
}
.card-surface .body .text{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* Forms */
.field{display:flex;flex-direction:column;gap:8px}
.label{font-size:13px;color:var(--muted);font-weight:600}
.input,.textarea{
  width:100%;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}
.textarea{resize:none}
.input:focus,.textarea:focus{
  border-color:rgba(168,85,247,.55);
  box-shadow:0 0 0 3px rgba(168,85,247,.15);
}

/* Prose */
.prose{max-width:860px;margin:0 auto}
.prose h1,.prose h2,.prose h3{
  font-family:"Quera",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  letter-spacing:-.02em;
  margin:22px 0 10px;
  font-weight:400;
}
.prose h2{font-size:30px}
.prose h3{font-size:20px}
.prose p{margin:12px 0;color:var(--muted)}
.prose p strong{color:var(--text)}
.prose ul{margin:12px 0 12px 18px;color:var(--muted)}
.prose li{margin:6px 0}
.prose hr{border:0;border-top:1px solid rgba(255,255,255,.10);margin:18px 0}
.prose a{color:inherit;text-decoration:underline;text-decoration-color:rgba(255,255,255,.22);text-underline-offset:3px}
.prose a:hover{text-decoration-color:rgba(255,255,255,.45)}
.prose figure{margin:16px 0}
.prose figure img{
  width:100%;
  height:auto;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 55px rgba(0,0,0,.35);
}
.prose figcaption{margin-top:8px;font-size:12px;color:var(--muted-2)}
.prose .toc{
  margin:14px 0 18px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
}
.prose .toc .kicker{margin:0 0 8px}
.prose .toc ul{margin:0 0 0 18px}
.prose .callout{
  margin:16px 0;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}
.prose .callout p{margin:8px 0 0}
.prose .checklist{list-style:none;padding:0;margin:12px 0;color:var(--muted)}
.prose .checklist li{display:flex;gap:10px;align-items:flex-start;margin:8px 0}
.prose .checklist li::before{
  content:"✓";
  color:rgb(var(--accent-d-rgb) / .92);
  margin-top:1px;
  font-weight:900;
}
.prose table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:14px 0;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.02);
}
.prose th,.prose td{padding:12px 12px;border-bottom:1px solid rgba(255,255,255,.08);vertical-align:top}
.prose th{color:var(--text);font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.prose tr:last-child td{border-bottom:0}
.prose code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-size:.95em;
  padding:.15em .4em;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.28);
  color:rgba(234,240,255,.92);
}

/* Artículos tipo revista (1 columna, editorial) */
.prose.magazine{
  max-width:780px;
}
.prose.magazine figure img{
  max-height:520px;
  object-fit:cover;
}
.prose.magazine p{
  font-size:18px;
  line-height:1.9;
  color:rgba(234,240,255,.76);
}
@media (min-width:768px){
  .prose.magazine p{font-size:19px}
}
.prose.magazine h2{
  font-size:34px;
  margin-top:34px;
}
.prose.magazine h3{
  font-size:22px;
  margin-top:26px;
}
.prose.magazine p:first-of-type{
  margin-top:0;
}
.prose.magazine p::first-letter{
  font-size:1.22em;
  font-weight:600;
  color:rgba(234,240,255,.92);
}
.prose.magazine p:first-of-type::first-letter{
  font-size:1.55em;
}
.prose.magazine .toc{
  margin:18px 0 26px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
}
.prose.magazine blockquote{
  margin:18px 0;
  padding:14px 16px;
  border-left:3px solid rgba(6,182,212,.65);
  background:rgba(255,255,255,.02);
  border-radius:16px;
  color:rgba(234,240,255,.84);
  font-style:italic;
}

/* Footer */
.site-footer{
  border-top:1px solid var(--border-2);
  background:rgba(4,6,13,.55);
  backdrop-filter:blur(16px);
}
.footer-top{padding:44px 0 20px}
.footer-grid{
  display:grid;
  gap:22px;
  grid-template-columns:1fr;
}
@media (min-width:720px){.footer-grid{grid-template-columns:1.4fr 1fr}}
@media (min-width:980px){.footer-grid{grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:26px}}
.footer-logo{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--text);
  text-decoration:none;
}
.footer-logo-text{
  font-family:"Quera",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight:700;
  letter-spacing:-.02em;
}
.footer-desc{margin:12px 0 0;max-width:52ch}
.footer-title{
  margin:0 0 10px;
  font-size:13px;
  color:var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:800;
}
.footer-links{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.footer-links a{
  color:var(--text);
  opacity:.82;
  text-decoration:none;
  transition:opacity .18s ease, transform .18s ease;
}
.footer-links a:hover{opacity:1;transform:translateX(2px)}
.footer-contact{display:grid;gap:10px;margin-top:14px}
.footer-contact a{color:var(--text);opacity:.85;text-decoration:none}
.footer-contact a:hover{opacity:1}
.footer-form{display:flex;gap:10px;align-items:center;margin-top:10px}
.footer-form .input{flex:1}
.footer-note{margin:10px 0 0}
.footer-bottom{
  padding:26px 0 34px;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
  justify-content:space-between;
}
@media (min-width:768px){.footer-bottom{flex-direction:row;align-items:center}}

/* Index-only footer tweaks (Nubelab-like) */
.footer-index{
  border-top:0;
  background:#29176f;
  backdrop-filter:none;
}
.footer-index .footer-container{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 28px;
}
@media (min-width:720px){.footer-index .footer-container{padding:0 40px}}
.footer-index .footer-top{padding:68px 0 34px}
.footer-index .footer-grid{
  align-items:start;
  justify-items:start;
  grid-template-columns:1fr;
  gap:46px;
}
@media (min-width:720px){.footer-index .footer-grid{grid-template-columns:1fr 1fr;gap:56px}}
@media (min-width:1100px){.footer-index .footer-grid{grid-template-columns:1.05fr 1.35fr .85fr 1.35fr .95fr;gap:54px}}
.footer-index .footer-title{
  margin:0 0 16px;
  font-size:22px;
  color:#fff;
  letter-spacing:0;
  text-transform:none;
  font-weight:800;
}
.footer-index .footer-links{gap:10px}
.footer-index .footer-links a{opacity:.92}
.footer-index .footer-links a:hover{opacity:1;transform:none}
.footer-index .footer-meta{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.footer-index .footer-meta li{
  display:flex;
  gap:12px;
  align-items:center;
  color:#fff;
  opacity:.92;
}
.footer-index .footer-meta li i{width:16px;opacity:.95}
.footer-index .footer-meta-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#fff;
  opacity:.92;
  text-decoration:none;
  margin-bottom:14px;
}
.footer-index .footer-meta-link:hover{opacity:1}
.footer-index .footer-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.40);
  background:rgba(255,255,255,.06);
  color:#fff;
  text-decoration:none;
  width:fit-content;
  white-space:nowrap;
  flex-wrap:nowrap;
}
.footer-index .footer-btn:hover{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.55)}
.footer-index .footer-social{
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:4px;
}
.footer-index .footer-social a{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  background:rgba(255,255,255,.06);
  text-decoration:none;
}
.footer-index .footer-social a:hover{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.45)}
.footer-index .footer-lockup{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
}
.footer-index .footer-lockup-logo{height:34px;width:auto}
.footer-index .footer-lockup-name{font-weight:900;letter-spacing:.08em;color:#fff}
.footer-index .footer-small{margin-top:10px;font-size:13px;color:#fff;opacity:.90}
.footer-index .footer-small.muted-2{opacity:.78}
.footer-index .footer-bottom{
  border-top:0;
  padding:0 0 58px;
  align-items:flex-start;
  text-align:left;
}
.footer-index .footer-bottom .muted{color:rgba(255,255,255,.78)}

/* WhatsApp widget */
.wa-fab{
  position:fixed;
  right:24px;
  bottom:34px;
  width:58px;height:58px;
  border-radius:999px;
  border:0;
  z-index:40;
  color:var(--text);
  background:linear-gradient(135deg, rgba(168,85,247,.95), rgba(6,182,212,.92));
  box-shadow:0 18px 60px rgba(0,0,0,.55);
  display:none;
  cursor:pointer;
}
.wa-fab img{
  width:44px;
  height:44px;
  object-fit:contain;
  border-radius:8px;
  pointer-events:none;
}
.wa-fab i{
  font-size:40px;
  line-height:1;
  color:#fff;
  pointer-events:none;
}
.wa-fab.is-visible{display:grid;place-items:center;animation:bounce 2.6s infinite}
.wa-popup{
  position:fixed;
  right:24px;
  bottom:94px;
  width:332px;
  border-radius:26px;
  overflow:hidden;
  z-index:40;
  display:none;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.45);
  backdrop-filter:blur(18px);
  box-shadow:0 28px 90px rgba(0,0,0,.60);
}
.wa-popup.is-open{display:block;animation:rise .22s ease-out}
.wa-head{
  padding:14px 16px;
  background:linear-gradient(90deg, rgba(168,85,247,.60), rgba(6,182,212,.45));
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.wa-head h3{margin:0;font-size:16px;font-weight:500}
.wa-head p{margin:2px 0 0;font-size:12px;opacity:.85}
.wa-close{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--text);
  border-radius:14px;
  width:36px;height:36px;
}
.wa-body{padding:14px 16px}
.wa-body p{margin:0 0 12px;font-size:13px;color:var(--muted)}
.wa-quick{display:grid;gap:10px;margin:10px 0 12px}
.wa-quick a{
  display:block;
  padding:12px 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:var(--text);
  font-weight:400;
  font-size:13px;
  text-align:center;
}
.wa-quick a:hover{background:rgba(255,255,255,.07)}
.wa-foot{
  border-top:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  padding:10px 14px;
  font-size:12px;
  color:var(--muted);
  text-align:center;
}

/* Utilities */
.uc-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.stack{display:flex;flex-direction:column;gap:14px}
.center{text-align:center}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* Motion (reduced motion safe) */
@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes bounce{
  0%,20%,50%,80%,100%{transform:translateY(0)}
  40%{transform:translateY(-10px)}
  60%{transform:translateY(-5px)}
}

/* Scroll reveal (modules) */
.reveal{
  opacity:0;
  transform:translate3d(0, 14px, 0);
  will-change:opacity, transform;
}
.reveal.reveal-in{
  opacity:1;
  transform:translate3d(0, 0, 0);
  transition:opacity .65s ease, transform .8s cubic-bezier(.2,.8,.2,1);
  transition-delay:var(--reveal-delay, 0ms);
}
.reveal[data-reveal="fade"],
.reveal.reveal-in[data-reveal="fade"]{transform:none}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
  .reveal{opacity:1!important;transform:none!important}
}

/* Ultra-wide screens (29"+) */
@media (min-width:1600px){
  :root{--container:1400px}
  .container{padding:0 24px}

  .h1{font-size:72px}
  .h2{font-size:44px}
  .h3{font-size:20px}
  .lede{font-size:20px;max-width:68ch}

  .hero-grid{gap:56px;grid-template-columns:1.1fr .9fr}
  .hero-visual{max-width:680px;min-height:560px}

  .card-grid{gap:18px}
  .card-surface .media{height:210px}

  .post-grid{gap:22px}
  .post-card img{height:220px}
  .post-featured img{height:320px}
}
@media (min-width:1920px){
  :root{--container:1560px}
  .container{padding:0 32px}

  .h1{font-size:80px}
  .h2{font-size:48px}

  .hero-visual{max-width:760px;min-height:640px}
  .card-grid{grid-template-columns:repeat(4, 1fr)}
  .post-grid{grid-template-columns:repeat(4, 1fr)}
}
