:root {
  --green: #3cc43a;
  --green-dk: #1f8a2e;
  --green-tx: #1c7a2c;
  --ink: #0c1611;
  --ink-2: #13221a;
  --line: rgba(255, 255, 255, .14);
  --bg: #eef1ee;
  --card: #ffffff;
  --text: #1b2a21;
  --muted: #4d5c53;
  --blue: #1d6fd8;
  --navy: #14306e;
  --r: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.4;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.fill { fill: currentColor; stroke: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 16px; }
.script { font-family: "Kaushan Script", cursive; font-weight: 400; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: linear-gradient(#45cf44, #26a634);
  color: #fff; font-weight: 600; border-radius: 8px;
  padding: .6em 1.1em; box-shadow: 0 2px 0 rgba(0,0,0,.15);
  transition: filter .15s; white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn .ico { font-size: 1.5em; }
.btn.sm { font-size: 13px; padding: .45em 1em; }

/* Header */
.header { background: var(--ink); color: #fff; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 52px; width: auto; }
.hero-copy .logo-big { height: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12.5px; padding: 6px 10px; border-radius: 6px; opacity: .92; }
.nav a .ico { font-size: 20px; }
.nav a:hover { opacity: 1; background: rgba(255,255,255,.06); }
.nav a.active { color: var(--green); }
.header .btn { margin-left: 16px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: #1b3a17 url(assets/hero.jpg) center/auto 100% no-repeat;
  min-height: 300px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #142c12 0%, rgba(20,44,18,.92) 28%, rgba(20,44,18,0) 42%, rgba(20,44,18,0) 70%, rgba(17,40,16,.85) 82%, #10260f 100%);
}
.hero .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 300px; padding-block: 28px; }
.hero-copy { max-width: 360px; }
.hero-copy .logo-big { width: 250px; margin-bottom: 8px; }
.hero h1 { font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.01em; }
.hero-copy p { font-size: 17px; margin: 8px 0 14px; opacity: .95; }
.hero-tag { font-size: 40px; line-height: 1.1; transform: rotate(-9deg); text-align: center; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.hero-tag span { display: block; }
.hero-tag span:last-child { color: var(--green); font-size: 48px; }

/* Stats */
.stats { background: var(--ink); color: #fff; }
.stats ul { list-style: none; margin: 0; padding-block: 20px; display: grid; grid-template-columns: repeat(6, 1fr); }
.stats li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 16px; border-left: 1px solid var(--line); font-size: 12px; opacity: .95; }
.stats li:first-child { border-left: 0; }
.stats .ico { font-size: 38px; color: var(--green); stroke-width: 1.5; }
.stats b { font-size: 26px; display: block; line-height: 1; }
.stats strong { display: block; font-size: 13px; font-weight: 600; }
.stats li > div > span { font-size: 13px; }

/* Grid rows */
main { display: grid; gap: 10px; padding-block: 10px; }
.row { display: grid; gap: 10px; }
.card { background: var(--card); border-radius: var(--r); overflow: hidden; position: relative; }
.card.dark { background-color: var(--ink-2); color: #fff; }
.h2 { font-size: 21px; font-weight: 700; line-height: 1.15; }
.green { color: var(--green-tx); }

/* Row 1 */
.row-1 { grid-template-columns: 1fr 1fr; }
.suspende { min-height: 200px; background: #0d1a10 url(assets/techadas.jpg) right center/auto 100% no-repeat; padding: 18px 24px; }
.suspende::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d1a10 32%, rgba(13,26,16,.75) 45%, rgba(13,26,16,0) 62%); }
.suspende > * { position: relative; max-width: 240px; }
.suspende h2 { font-size: 26px; font-weight: 800; font-style: italic; line-height: 1.05; }
.suspende h2 span { color: var(--green); display: block; }
.suspende p { font-size: 13px; margin: 10px 0 12px; }
.weather { display: flex; gap: 0; }
.weather div { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; padding: 0 16px; border-left: 1px solid var(--line); }
.weather div:first-child { border-left: 0; padding-left: 0; }
.weather .ico { font-size: 30px; color: var(--green); stroke-width: 1.5; }

.entrenos { padding: 16px 22px; display: grid; grid-template-columns: 1fr 44%; background: var(--card) url(assets/entreno.jpg) right center/44% 100% no-repeat; }
.entrenos::after { content: ""; position: absolute; inset: 0 auto 0 56%; width: 10%; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.entrenos ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 22px; }
.entrenos li { display: flex; gap: 14px; align-items: center; }
.entrenos li .ico { font-size: 42px; color: var(--green-dk); stroke-width: 1.6; }
.entrenos li strong { display: block; font-size: 14px; }
.entrenos li span { color: var(--muted); font-size: 13.5px; display: block; }
.entrenos li b { font-size: 14px; }
.siempre { position: absolute; right: 120px; bottom: 16px; z-index: 1; font-size: 22px; line-height: 1; transform: rotate(-12deg); color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); text-align: center; }

/* Row 2 */
.row-2 { grid-template-columns: 1.95fr 1.45fr 1.3fr; }
.edades { padding: 16px 16px 18px; }
.ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.age { border-radius: 8px; overflow: hidden; color: #fff; }
.age img { aspect-ratio: 146/102; object-fit: cover; width: 100%; }
.age div { padding: 8px 12px 10px; }
.age h3 { font-size: 15px; font-weight: 600; line-height: 1.2; }
.age p { font-size: 11.5px; margin-top: 4px; line-height: 1.3; opacity: .95; }
.age.g { background: linear-gradient(#45c043, #2f9e38); }
.age.b { background: linear-gradient(#2b7ff0, #1a5fc4); }
.age.n { background: linear-gradient(#1a3a82, #0f2558); }

.integral { padding: 16px 18px; }
.integral > p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; }
.checks li { display: flex; gap: 8px; align-items: center; font-size: 12.5px; }
.checks .ico { font-size: 16px; color: var(--green); }

.profes { padding: 18px 16px; background: #13221a url(assets/profe.jpg) right top/auto 100% no-repeat; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 240px; }
.profes::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #13221a 22%, rgba(19,34,26,.55) 48%, rgba(19,34,26,0) 68%); }
.profes > * { position: relative; max-width: 150px; }
.profes h2 { font-size: 24px; line-height: 1; color: var(--green); font-style: italic; }
.profes p { font-size: 12.5px; }
.pill { display: flex; gap: 10px; align-items: center; background: rgba(12,22,17,.92); border: 1px solid rgba(60,196,58,.5); border-radius: 30px; padding: 8px 14px; max-width: none !important; width: fit-content; font-size: 12.5px; color: var(--green); font-weight: 600; line-height: 1.2; }
.pill .ico { font-size: 30px; }

/* Row 3 */
.row-3 { grid-template-columns: 1.05fr 1fr 1.4fr 1.3fr; }
.tile { padding: 14px 16px; display: flex; flex-direction: column; }
.tile header { display: flex; gap: 12px; }
.tile header .ico { font-size: 34px; color: var(--green); stroke-width: 1.5; }
.tile h3 { font-size: 15px; font-weight: 600; line-height: 1.2; }
.tile header p { font-size: 11.5px; opacity: .9; margin-top: 2px; }
.tile > img { margin: 10px -16px -14px; width: calc(100% + 32px); max-width: none; flex: 1; object-fit: cover; min-height: 120px; }
.tile .checks li { font-size: 12px; }
.tile.split { background-repeat: no-repeat; background-size: auto 78%; background-position: right bottom; }
.tile.split::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-2) 45%, rgba(19,34,26,0) 70%); }
.tile.split > * { position: relative; }
.gym { background-image: url(assets/gimnasia.jpg); }
.finde { background-image: url(assets/finde.jpg); background-size: auto 66% !important; background-position: right 40% !important; }
.finde .btn { margin-top: auto; align-self: flex-start; }

/* Row 4 */
.row-4 { grid-template-columns: 1.2fr 1.4fr 1.35fr; }
.predio { padding: 14px 16px; }
.amen { display: grid; grid-template-columns: repeat(4, auto); gap: 12px 0; margin-top: 8px; }
.amen div { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--green-tx); padding: 0 10px; border-left: 1px solid #dfe5df; line-height: 1.2; }
.amen div:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.amen .ico { font-size: 22px; }
.amen.second { grid-template-columns: repeat(3, auto); }
.amen.second div:nth-child(4n+1) { border-left: 1px solid #dfe5df; padding-left: 10px; }
.amen.second div:first-child { border-left: 0; padding-left: 0; }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: none; }
.photos img { border-radius: 6px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 108/66; }
.photos img:first-child { grid-column: 1 / -1; aspect-ratio: 340/73; }

.ubica { padding: 14px 16px; }
.ubica header { display: flex; gap: 10px; }
.ubica header .ico { font-size: 30px; color: var(--green-dk); }
.ubica h2 { font-size: 15px; }
.ubica header p { font-size: 11.5px; color: var(--green-tx); }
.ubica-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; align-items: center; }
.ubica-body img { border-radius: 8px; }
.ubica-body > div { display: grid; gap: 14px; }
.note { background: #e6f6e4; color: var(--green-tx); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 6px; line-height: 1.3; }
.btn-dark { display: inline-flex; gap: 10px; align-items: center; justify-content: center; background: var(--ink); color: #fff; border-radius: 22px; padding: 8px 16px; font-size: 13px; font-weight: 600; }

/* Social */
.social { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr .9fr 1.1fr; align-items: center; padding: 14px 22px; gap: 0; }
.social > div:first-child h2 { color: var(--green); font-size: 19px; }
.social > div:first-child p { font-size: 12px; margin-top: 8px; padding-right: 20px; }
.net { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 6px 16px; border-left: 1px solid var(--line); font-size: 13px; }
.net svg { width: 42px; height: 42px; grid-row: span 1; }
.net .btn { grid-column: 2; justify-self: start; font-size: 12px; padding: .35em 1em; }
.cta-social { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.cta-social img { width: 104px; border-radius: 10px; }
.cta-social .script { font-size: 26px; transform: rotate(-12deg); line-height: 1.05; text-align: center; }

/* News */
.news { display: grid; grid-template-columns: 1.15fr repeat(4, 1fr); gap: 10px; padding: 14px 16px; align-items: stretch; }
.news-head header { display: flex; gap: 10px; }
.news-head .ico { font-size: 28px; }
.news-head h2 { font-size: 16px; }
.news-head p { font-size: 11.5px; color: var(--muted); }
.news-head .btn { margin-top: 18px; }
.post { border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.12); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.post img { aspect-ratio: 162/38; object-fit: cover; width: 100%; }
.post div { padding: 0 10px 8px; position: relative; flex: 1; display: flex; flex-direction: column; }
.tag { position: absolute; top: -9px; left: 8px; background: var(--green); color: #fff; font-size: 8.5px; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: .02em; }
.post h3 { font-size: 11.5px; font-weight: 600; margin-top: 14px; line-height: 1.25; }
.post small { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; font-size: 10px; color: var(--muted); }
.post small .ico { font-size: 18px; color: var(--text); }

/* Footer */
.footer { background: var(--ink); color: #fff; }
.footer .wrap { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding-block: 22px; }
.footer .wrap > div { padding: 6px 24px; border-left: 1px solid var(--line); display: flex; align-items: center; gap: 12px; justify-content: center; }
.footer .wrap > div:first-child { border-left: 0; justify-content: flex-start; padding-left: 0; }
.footer .logo img { height: 66px; }
.wa .ico { font-size: 34px; color: var(--green); }
.wa strong { display: block; font-size: 14px; }
.wa span { font-size: 11px; color: var(--green); }
.wa .btn { margin-top: 6px; }
.follow { flex-direction: column; font-size: 11px; }
.follow nav { display: flex; gap: 16px; }
.follow .ico { font-size: 26px; }
.where .ico { font-size: 26px; }
.where p { font-size: 12px; }
.legal { border-top: 1px solid var(--line); text-align: center; font-size: 10.5px; padding: 12px 16px; }
.legal span + span::before { content: "|"; margin: 0 14px; opacity: .6; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header .btn { margin-left: 0; }
  .header.open .nav { display: grid; grid-template-columns: repeat(4, 1fr); position: absolute; top: 72px; left: 0; right: 0; background: var(--ink); padding: 12px; }
  .stats ul { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .stats li:nth-child(4) { border-left: 0; }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .edades { grid-column: 1 / -1; }
  .row-3 { grid-template-columns: 1fr 1fr; }
  .row-4 { grid-template-columns: 1fr 1fr; }
  .ubica { grid-column: 1 / -1; }
  .social { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .social > div:first-child, .cta-social { grid-column: 1 / -1; }
  .social .net:nth-child(2) { border-left: 0; }
  .cta-social { justify-content: center; }
  .news { grid-template-columns: repeat(2, 1fr); }
  .news-head { grid-column: 1 / -1; }
  .footer .wrap { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .footer .wrap > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 720px) {
  .header .btn span { display: none; }
  .header.open .nav { grid-template-columns: repeat(2, 1fr); }
  .logo img { height: 44px; }
  .hero { background-size: cover; background-position: 70% center; }
  .hero::before { background: linear-gradient(90deg, rgba(20,44,18,.92), rgba(20,44,18,.55)); }
  .hero .wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-tag { align-self: flex-end; font-size: 30px; }
  .hero-tag span:last-child { font-size: 36px; }
  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li { border-left: 0; padding: 4px 0; }
  .row-1, .row-2, .row-3, .row-4 { grid-template-columns: 1fr; }
  .suspende { background-size: cover; }
  .suspende::before { background: linear-gradient(90deg, rgba(13,26,16,.95) 40%, rgba(13,26,16,.4)); }
  .entrenos { grid-template-columns: 1fr; background-size: cover; background-position: center bottom; background-size: 100% 260px; padding-bottom: 276px; }
  .entrenos::after { display: none; }
  .entrenos ul { max-width: none; }
  .siempre { right: 24px; }
  .ages { grid-template-columns: 1fr; }
  .age { display: grid; grid-template-columns: 40% 1fr; }
  .age img { height: 100%; }
  .amen, .amen.second { grid-template-columns: repeat(2, auto); }
  .amen div, .amen.second div { border-left: 0 !important; padding-left: 0 !important; }
  .ubica-body { grid-template-columns: 1fr; }
  .social { grid-template-columns: 1fr; }
  .net { border-left: 0; padding-inline: 0; }
  .news { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .footer .wrap > div { border-left: 0; justify-content: flex-start; padding-inline: 0; }
  .follow { align-items: flex-start; }
  .legal span { display: block; }
  .legal span + span::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Cuentas por red */
.net { align-items: start; }
.net strong { font-size: 14px; font-weight: 600; }
.accs { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 6px; }
.accs a { white-space: nowrap; background: linear-gradient(#45cf44, #26a634); color: #fff; font-size: 11.5px; font-weight: 600; padding: .3em .8em; border-radius: 6px; }
.accs a:hover { filter: brightness(1.08); }
.legal a { color: var(--green); }
