:root{
  --bg:#0f1115;
  --bg-2:#141820;
  --card:#171b22;
  --border:#232838;
  --text:#e6e6e6;
  --muted:#9ea3b0;
  --accent:#ad8a1f; /* dorado principal */
  --accent-2:#ff3b3b;
  --shadow:0 10px 30px rgba(0,0,0,.45);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Jost", serif;
  color:var(--text);
  background:radial-gradient(1200px 600px at 85% -10%, rgba(173,138,31,.06), transparent 60%),
             radial-gradient(800px 400px at 10% 110%, rgba(255,59,59,.06), transparent 60%),
             var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;display:block}
.container{width:min(1180px,92%);margin-inline:auto}
.section{padding:96px 0}
.section__head{margin-bottom:28px}
.section__head h3{font-size:28px;letter-spacing:.06em;text-transform:uppercase;margin:0;color:#fff}
.section__head p{margin:6px 0 0;color:var(--muted)}

/* Nav */
.site-header{position:relative;}
.nav{display:flex;align-items:center;justify-content:space-between;padding:18px 0}
.brand{font-weight:800;font-size:22px;color:#fff;text-decoration:none}
.brand span{color:var(--accent)}
.menu{display:flex;gap:18px;list-style:none;margin:0;padding:0;align-items:center}
.menu a{color:#d8d8d8;text-decoration:none;padding:8px 10px;border-radius:10px;display:inline-flex;align-items:center;gap:8px}
.menu a:hover{background:var(--bg-2);color:#fff}
.menu .menu-reserve{padding:10px 14px;line-height:1;border-radius:12px;--_color:#000;font-weight:800;color:#000}
.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:22px}

/* Hero */
.hero{display:block;height:min(72vh, 500px);padding:38px 0 60px;position:relative}
.hero .hero__inner{display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center}
.hero.is-bg::before{content:"";position:absolute;inset:0;z-index:-1;background:
  linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.78)),
  var(--hero-bg) center/cover no-repeat;filter:saturate(1.1)}
.hero__kicker{color:var(--muted);margin:0 0 8px}
.hero__title{font-size:74px;line-height:.95;margin:0;font-weight:800}
.hero__subtitle{font-size:28px;color:#cfd1d5;margin:6px 0 18px}
.hero__text{color:#b9bec9;max-width:58ch}
.hero__ctas{display:flex;gap:12px;margin:26px 0}
.socials{display:flex;gap:12px;margin-top:10px}
.socials a{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--border);border-radius:10px;color:#cfd1d5;text-decoration:none}
.socials a:hover{background:var(--bg-2);color:#fff;border-color:#2a3146}
.hero__media{justify-self:end}
.avatar{border-radius:22px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--border);width:min(360px,38vw);aspect-ratio:3/4;background:#0d1218}
.avatar img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.badges{display:flex;gap:8px;margin-top:14px}
.badge{background:var(--bg-2);border:1px solid var(--border);padding:6px 10px;border-radius:999px;color:#d1d6e0;font-size:12px}

/* Buttons */
.btn{--_bg:var(--bg-2);--_color:#fff;--_bd:var(--border);display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border-radius:14px;border:1px solid var(--_bd);color:var(--_color);background:var(--_bg);text-decoration:none;cursor:pointer}
.btn:hover{transform:translateY(-1px);}
.btn-accent{--_bg:linear-gradient(135deg,var(--accent),#f1e3b0);--_color:#15171d;--_bd:transparent;font-weight:700}
.btn-ghost{--_bg:transparent;--_bd:var(--border)}

/* About */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}
.about__bullets{margin:14px 0 20px;padding-left:16px;color:#cbd0db}
.about__bullets li{margin:8px 0}
.about__value{display:block}
.value-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:10px}
.value-list li{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--border);border-radius:14px;padding:12px 14px;color:#d4d8e2}
.value-list i{color:var(--accent)}
@media (min-width: 980px){.value-list{grid-template-columns:1fr 1fr}}

/* Cards */
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.card__top{font-size:12px;letter-spacing:.12em;color:#000;background:linear-gradient(135deg,var(--accent),#f1e3b0);display:inline-block;padding:6px 10px;border-radius:999px;margin-bottom:10px;width:fit-content}
.card__image{margin:-20px -20px 16px -20px;border-radius:18px 18px 0 0;overflow:hidden;aspect-ratio:16/9}
.card__image img{width:100%;height:100%;object-fit:cover;display:block}
.card h4{margin:8px 0 6px}
.card p{color:#cbd0db;flex-grow:1}
.card__meta{display:flex;gap:8px;margin:10px 0}
.pill{border:1px solid var(--border);color:#cfd2da;background:var(--bg-2);padding:6px 10px;border-radius:999px;font-size:12px}
.card__cta{margin-top:auto}

/* Services section: unify button typography */
#courses .card__cta .btn{font-family:"Jost", sans-serif;font-size:12px}

/* Pillar cards (Aprende conmigo) */
#learn .cards-grid{grid-template-columns:repeat(2,1fr)}
.pillar-card{position:relative;display:flex;align-items:flex-end;justify-content:flex-start;aspect-ratio:1/1;border-radius:18px;overflow:hidden;text-decoration:none;border:1px solid var(--border);background:#0d1218;
  background-image: var(--bg); background-position:center; background-size:cover; background-repeat:no-repeat}
.pillar-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.45));transition:.25s}
.pillar-card:hover::after{background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.75))}
.pillar-card__content{position:relative;z-index:2;padding:16px}
.pillar-card__label{margin:0;color:#fff;font-weight:800}
.pillar-card__desc{margin:8px 0 48px 0;color:#e2e4ea;font-size:14px;line-height:1.4}
.pillar-card__cta{position:absolute;right:12px;bottom:12px;z-index:2;display:inline-block;background:rgba(0,0,0,.6);border:1px solid #333;padding:8px 12px;border-radius:999px;color:#fff;opacity:0;transform:translateY(6px);transition:.2s;font-weight:600}
.pillar-card__cta i{margin-right:6px;color:var(--accent)}
.pillar-card:hover .pillar-card__cta{opacity:1;transform:translateY(0)}

/* Products/Courses */
.product-grid{grid-template-columns:repeat(3,1fr)}
.product{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:14px}
.product .cover{position:relative;width:100%;aspect-ratio:4/5;min-height:420px;border-radius:12px;overflow:hidden;border:1px solid var(--border);background:#0d1218}
.product .cover img{width:100%;height:100%;object-fit:cover;display:block}
.product h4{margin:10px 0 6px}
.price{color:#fff;font-weight:700;margin-bottom:8px}

/* Calendar */
.calendar{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:12px;box-shadow:var(--shadow)}
.fc .fc-toolbar-title{font-weight:700}
.fc-theme-standard .fc-scrollgrid{border-color:var(--border)}
.fc .fc-daygrid-day,.fc .fc-col-header-cell{border-color:var(--border)}
.fc .fc-col-header-cell{background:var(--bg-2);color:#cfd6e6}
.fc .fc-col-header-cell-cushion{color:#cfd6e6}
.fc .fc-button-primary{background:var(--bg-2);border-color:var(--border)}
.fc .fc-button-primary:hover{background:#1c2230}
.calendar-heading{margin-top:10px;font-weight:800;color:#fff}
.fc-list{--fc-list-event-hover-bg-color:rgba(255,255,255,.04)}
.fc-list-event-title{font-weight:600;color:#e6e6e6}
.fc-list-day-text, .fc-list-day-side-text{color:#aab0be}
/* Hide default day group rows in list view */
.fc-list-sticky .fc-list-day{display:none}
/* Hide left time/dot column in list rows */
.fc-list-event-time{display:none!important}
.fc-list-event-graphic{display:none!important}
/* New compact list layout */
.fc-list-custom{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:14px 6px;border-bottom:1px dashed var(--border)}
.fc-datepill{width:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:14px;background:var(--bg-2)}
.fc-date-dd{font-size:28px;font-weight:800;color:#fff;line-height:1}
.fc-date-mmm{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#cfd6e6}
.fc-list-location{font-weight:800;color:#fff;font-size:16px;margin:0}
.fc-list-row{display:flex;flex-wrap:wrap;gap:12px;align-items:baseline}
.fc-list-range{color:var(--accent);font-weight:700}
.fc-list-venue{color:#e6e6e6}
.fc-map{margin-left:8px;font-weight:700;color:var(--accent)}
.fc-list .fc-list-event:hover{background:transparent}
.fc-topline{font-size:15px;margin-bottom:6px;color:#e8ebf2}
.fc-range-accent{color:var(--accent)}

/* Event Summary */
.event-summary{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:24px;box-shadow:var(--shadow);min-height:300px}
.event-summary h4{margin:0 0 20px;font-size:18px;font-weight:700;color:#fff}
.event-summary-list{display:flex;flex-direction:column;gap:16px}
.event-summary-item{background:var(--bg-2);border:1px solid var(--border);border-radius:12px;padding:16px;transition:all 0.2s ease}
.event-summary-item:hover{background:#1c2230;border-color:#293047}
.event-summary-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:12px}
.event-title{font-size:16px;font-weight:700;color:#fff;margin:0;line-height:1.3}
.event-type{background:var(--accent);color:#000;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.5px;white-space:nowrap}
.event-summary-details{display:flex;flex-direction:column;gap:8px}
.event-date, .event-location{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}
.event-date i, .event-location i{color:var(--accent);width:14px;text-align:center}

/* Calendly */
.calendly{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:24px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:300px}
.calendly h4{margin:0 0 16px}
.calendly p{color:var(--muted);margin:0 0 24px}
.btn-large{font-size:1.1rem;padding:16px 32px;border-radius:12px}
.btn-large i{margin-right:8px}

/* Media */
.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.instagram-media{background:var(--card)!important;border:1px solid var(--border)!important;border-radius:18px!important;box-shadow:var(--shadow)!important}
.ig-lite{position:relative;border:1px solid var(--border);border-radius:18px;overflow:hidden;min-height:420px;background:#0d1218;display:block}
.ig-lite::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.4));z-index:1}
.ig-lite img{width:100%;height:100%;object-fit:cover;display:block}
.ig-play{position:absolute;z-index:2;inset:auto auto 14px 14px;background:rgba(0,0,0,.6);color:#fff;border:1px solid #333;padding:10px 14px;border-radius:999px;display:inline-flex;align-items:center;gap:8px}
.ig-play i{color:var(--accent)}
.ig-lite.is-embed{min-height:auto}

/* Custom IG feed */
.ig-card{position:relative;border:1px solid var(--border);border-radius:18px;overflow:hidden;background:#0d1218;cursor:pointer}
.ig-card img{width:100%;height:100%;object-fit:cover;display:block}
.ig-card .ig-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.0),rgba(0,0,0,.35));opacity:0;transition:.2s}
.ig-card:hover .ig-overlay{opacity:1}
.ig-card .ig-meta{display:none}
.ig-card .ig-avatar{display:none}
.ig-card .ig-badge{position:absolute;left:12px;bottom:12px;background:rgba(0,0,0,.6);color:#fff;border:1px solid #333;padding:6px 10px;border-radius:999px;display:inline-flex;align-items:center;gap:6px}

/* Masonry grid for social videos */
.masonry{column-count:3; column-gap:18px}
.masonry-item{break-inside:avoid; margin:0 0 18px}
.ratio-4-5{aspect-ratio:4/5}
.ratio-9-16{aspect-ratio:9/16}
.masonry-item .ig-card{aspect-ratio:inherit}

@media (max-width: 980px){
  .masonry{column-count:2}
}
@media (max-width: 640px){
  .masonry{column-count:1}
}

/* Modal */
.ig-modal{position:fixed;inset:0;background:rgba(0,0,0,.7);display:grid;place-items:center;padding:20px;z-index:50}
.ig-modal[hidden]{display:none}
.ig-modal-inner{width:min(720px,96vw);max-height:86vh;overflow:auto;border-radius:18px}
.ig-close{position:absolute;top:18px;right:18px;background:rgba(0,0,0,.6);color:#fff;border:1px solid #333;padding:8px 12px;border-radius:10px;cursor:pointer}

.stories-tip{margin-top:14px;color:var(--muted);text-align:center}
.section #learn .socials{justify-content:center}

/* Contact */
.contact{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:16px;box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
label span{display:block;margin:8px 0 6px;color:#cbd0db}
input,textarea{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:#0e1218;color:#fff}
input:focus,textarea:focus{outline:2px solid #293047;border-color:#293047}

/* Selects styled like inputs */
.custom-select{position:relative}
.custom-select select,
select{width:100%;padding:12px 42px 12px 14px;border-radius:12px;border:1px solid var(--border);background-color:#0e1218;color:#fff;appearance:none;-webkit-appearance:none;-moz-appearance:none}
.custom-select select:focus,
select:focus{outline:2px solid #293047;border-color:#293047}
.custom-select::after{content:"\f078"; /* fa-chevron-down */ font-family:"Font Awesome 6 Free"; font-weight:900; position:absolute; right:14px; top:50%; transform:translateY(-50%); color:var(--muted); pointer-events:none}

/* Stronger theme tie-in for contact form selects */
.contact select{background-color:#0e1218 !important;color:#fff !important;border-color:var(--border) !important}
.contact select:hover{border-color:#293047}
.contact select:focus{outline:2px solid #293047;border-color:#293047}

/* Dropdown panel colors */
select option{background-color:#0e1218;color:#fff}

/* Hide native arrow on IE/Edge old */
select::-ms-expand{display:none}

/* Footer */
.footer{margin-top:80px;border-top:1px solid var(--border);background:#0c0f14;padding:20px 0}
.footer__inner{display:flex;align-items:center;justify-content:space-between;padding:20px 0}
.footer p{color:#aeb4c2;margin:0}
.footer a{color:var(--accent);text-decoration:none}
.footer a:hover{text-decoration:underline}

/* Testimonials */
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.testimonial{position:relative;background:var(--card);border:1px solid var(--border);border-radius:18px;padding:24px;box-shadow:var(--shadow);overflow:hidden}
.testimonial.has-bg::before{content:"";position:absolute;inset:0;background:var(--testimonial-bg) center/cover no-repeat;opacity:.28}
.testimonial.has-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.00),rgba(0,0,0,.35))}
.testimonial__content{position:relative;color:#cbd0db;font-style:italic;margin-bottom:16px}
.testimonial__author{position:relative;color:#fff;font-weight:600}
.testimonial__role{display:block;color:#d0d4de;font-weight:500;margin-top:4px;font-size:12px;font-style:italic}

/* Sponsors */
.sponsors-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.sponsor{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:32px;box-shadow:var(--shadow);text-decoration:none;display:flex;align-items:center;justify-content:center;transition:.2s}
.sponsor:hover{background:var(--bg-2);transform:translateY(-2px)}
.sponsor__logo{color:#fff;font-weight:600;text-align:center}

/* Projects */
.projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.project{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:260px;border:1px solid var(--border);border-radius:18px;padding:16px;background:var(--bg-2);color:#fff;text-decoration:none;overflow:hidden}
.project::before{content:"";position:absolute;inset:0;background:var(--bg-2) center/cover no-repeat;opacity:.22;transition:.3s;filter:saturate(1.1);background-image:var(--bg)}
.project:hover::before{opacity:.34}
.project__tag{display:inline-block;background:rgba(0,0,0,.55);border:1px solid #333;padding:6px 10px;border-radius:999px;font-size:12px;margin-bottom:8px}
.project h4{margin:0 0 6px}
.project__cta{display:inline-block;margin-top:6px;color:#111317;background:linear-gradient(135deg,var(--accent),#f1e3b0);border-radius:999px;padding:8px 12px;font-weight:700}

/* Responsive */
@media (max-width: 980px){
  .hero .hero__inner{grid-template-columns:1fr}
  .hero__title{font-size:52px}
  .avatar{width:min(300px,60vw)}
  .grid-2{grid-template-columns:1fr}
  .cards-grid,.product-grid,.media-grid,.testimonials-grid{grid-template-columns:1fr 1fr}
  .projects-grid{grid-template-columns:1fr 1fr}
  .sponsors-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width: 640px){
  .menu{display:none}
  .menu-toggle{display:block}
  .menu .menu-reserve{display:inline-flex}
  .avatar{width:min(260px,80vw)}
  .cards-grid,.product-grid,.media-grid,.testimonials-grid{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .projects-grid{grid-template-columns:1fr}
  .sponsors-grid{grid-template-columns:repeat(2,1fr)}
} 