
:root{--azul:#0f1e3a;--arena:#CEB290;--texto:#0b1220;--borde:#e8ebf3}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--texto);background:#fff;line-height:1.55}
a{text-decoration:none}
img{max-width:100%;display:block}

.header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--borde)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;max-width:1120px;margin:0 auto;padding:.9rem 1rem}
.brand{display:flex;align-items:center;gap:.6rem;color:#111}
.brand-badge{display:grid;place-items:center;width:40px;height:40px;background:var(--azul);color:#fff;border-radius:10px;font-weight:700}
.menu{display:flex;gap:1rem;align-items:center}
.menu a{color:#334155}
.hamburger{display:none;background:none;border:0;font-size:1.4rem}

.hero{background:var(--azul);color:#fff}
.hero .container{max-width:1120px;margin:0 auto;padding:0 1rem 3rem}
.hero .hero-photo{display:block;width:100%;height:auto;max-width:1000px;margin:0 auto;border-radius:16px}
.kicker{letter-spacing:.22em;text-transform:uppercase;color:#e2e8f0;opacity:.9;font-weight:600;font-size:.8rem;margin-top:2rem}
h1{font-size:clamp(32px,5vw,54px);line-height:1.08;margin:.4rem 0 .8rem;font-weight:700}
.lead{color:#e2e8f0;opacity:.95}
.under{width:72px;height:4px;background:var(--arena);border-radius:6px;margin:.6rem 0 1.2rem}

.btn{display:inline-block;padding:.88rem 1.1rem;border-radius:999px;border:1.5px solid #e6e9f2}
.btn-primary{background:var(--arena);border-color:var(--arena);color:var(--azul);font-weight:600}
.btn-outline{background:transparent;color:#fff;border-color:#fff}

.section{padding:3.2rem 0}
.container{max-width:1120px;margin:0 auto;padding:0 1rem}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.card{background:#fff;border:1px solid var(--borde);border-radius:16px;padding:1.2rem}

.team{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem;margin-top:1rem}
.member{display:grid;grid-template-columns:220px 1fr;gap:1rem;align-items:center;border:1px solid var(--borde);border-radius:16px;overflow:hidden;background:#fff}
.member img{width:100%;height:100%;object-fit:cover}
.member .role{color:#475569;font-size:.95rem;margin:.3rem 0 1rem}

.accordion details{border:1px solid var(--borde);border-radius:12px;padding:1rem;background:#fff}
.accordion details+details{margin-top:.8rem}
.accordion summary{cursor:pointer;font-weight:600}

.footer{background:#0b1220;color:#cbd5e1}
.footer .legal{max-width:1120px;margin:0 auto;padding:1.1rem}

@media(max-width:900px){
  .menu{display:none;position:absolute;top:64px;right:1rem;left:1rem;background:#fff;border:1px solid var(--borde);border-radius:12px;padding:.75rem;flex-direction:column;gap:.6rem}
  .hamburger{display:block}
  .team{grid-template-columns:1fr}
  .member{grid-template-columns:1fr}
  .member img{height:380px;object-position:50% 18%}
  .grid-2{grid-template-columns:1fr}
}

.member img.portrait{object-position:50% 18%}
.member img.portrait-melissa{object-position:50% 20%}
.member img.portrait-rene{object-position:50% 22%}


@media(max-width: 768px){
  .hero .hero-photo{display:block;width:100%;height:auto;max-width:1000px;margin:0 auto;border-radius:16px}
}


.hero-photo-wrap{margin-top:1.25rem;border-radius:16px;overflow:visible;display:flex;justify-content:center}

/* HERO mobile fine-tune (center both faces) */

@media(max-width:768px){
  .hero .hero-photo{display:block;width:100%;height:auto;max-width:1000px;margin:0 auto;border-radius:16px}
}


.hero .container{max-width:1120px;margin:0 auto;padding:2rem 1rem 3rem}

.hero-cta{display:flex;gap:.8rem;flex-wrap:wrap;margin:.8rem 0 1.2rem}

.btn-ghost{background:transparent;color:#fff;border-color:#fff;border:1.5px solid #fff;border-radius:999px;padding:.88rem 1.1rem;display:inline-block}

.hero-photo{margin-top:1.25rem;border-radius:16px;overflow:hidden}



@media(max-width:768px){}

.hero-deco{height:0}

.hero-photo img{display:block;width:100%;height:auto;max-width:1000px;margin:0 auto}

@media(max-width:768px){ .hero .hero-photo, .hero-photo img { max-width: 680px; } }


/* Blog */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}
.blog-card{background:#fff;border:1px solid var(--borde);border-radius:18px;padding:1.2rem;display:flex;flex-direction:column;gap:.75rem;box-shadow:0 8px 24px rgba(15,30,58,.04)}
.blog-card .tag{display:inline-block;font-size:.78rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--azul);background:#f5f7fb;border:1px solid var(--borde);padding:.35rem .6rem;border-radius:999px}
.blog-card h3{margin:0;color:var(--azul);font-size:1.18rem;line-height:1.3}
.blog-card p{margin:0;color:#475569;line-height:1.7;text-align:justify}
.blog-card .meta{font-size:.92rem;color:#64748b}
.blog-hero{background:linear-gradient(180deg,#f8fafc 0%,#fff 100%);border:1px solid var(--borde);border-radius:22px;padding:1.5rem}
.blog-hero p{max-width:780px;color:#475569}
.post{max-width:860px;margin:0 auto}
.post h1,.post h2,.post h3{color:var(--azul)}
.post p,.post li{line-height:1.8;text-align:justify}
.post .meta{color:#64748b;font-size:.95rem}
.post .quote{padding:1rem 1.1rem;border-left:4px solid var(--arena);background:#faf8f3;border-radius:10px}
.post .checklist{padding-left:1.2rem}
.post .author-box,.author-card{margin-top:1.4rem;padding:1rem;display:grid;grid-template-columns:120px 1fr;gap:1rem;align-items:center}
.post .author-box img,.author-card img{width:120px;height:120px;object-fit:cover;object-position:center 12%;border-radius:12px;border:1px solid var(--borde)}

/* Portrait tuning */
.portrait{width:100%;height:auto;object-fit:cover;object-position:center 12%}
.portrait-melissa{object-position:center 10%}

@media(max-width:900px){
  .grid-2 > img.portrait{width:100%;max-width:420px;margin:0 auto;aspect-ratio:4/5;height:auto;object-fit:cover}
  .grid-2 > img.portrait-melissa{object-position:center 8%}
}

@media(max-width:700px){
  .post .author-box,.author-card{grid-template-columns:1fr}
  .post .author-box img,.author-card img{width:100%;max-width:280px;height:auto;margin:0 auto;aspect-ratio:4/5;object-fit:cover;object-position:center 8%}
}
