:root{
  --brand:#015186;
  --accent:#24B8CB;
  --bg:#FFFFFF;
  --text:#015186;
  --muted:#5f748a;
  --line:rgba(1,81,134,.15);
  --radius:24px;
  --shadow:0 12px 28px rgba(1,81,134,.12);
}

/* Base */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Inter',Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
}

a{
  color:inherit;
  text-decoration:none;
}

.wrap{
  width:min(1280px,calc(100% - 32px));
  margin:0 auto;
}

/* Header */

.topbar{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:78px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-badge{
  width:48px;
  height:48px;
  border-radius:16px;
  background:var(--brand);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 30px rgba(36,184,203,.22);
  overflow:hidden;
  flex-shrink:0;
  color:#fff;
  font-weight:700;
}

.brand-badge img{
  width:35px;
  height:35px;
  object-fit:contain;
  display:block;
}

.brand h1{
  font-size:18px;
  margin:0;
  font-weight:800;
  letter-spacing:.02em;
}

.brand p{
  margin:2px 0 0;
  color:var(--muted);
  font-size:12px;
}

.menu{
  display:flex;
  align-items:center;
  gap:22px;
  font-size:14px;
  font-weight:600;
  color:var(--brand);
}

.menu a{
  opacity:.88;
  transition:.2s;
}

.menu a:hover,
.menu a.active{
  opacity:1;
  color:var(--brand);
}

/* Buttons */

.btn{
  appearance:none;
  border:0;
  border-radius:16px;
  padding:14px 18px;
  cursor:pointer;
  font-weight:700;
  transition:.2s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.btn-primary{
  background:var(--accent);
  color:#062033;
  box-shadow:0 12px 30px rgba(36,184,203,.22);
}

.btn-primary:hover{
  transform:translateY(-1px);
}

.btn-secondary{
  background:#fff;
  color:var(--brand);
  border:1px solid rgba(1,81,134,.22);
}

/* Generic sections */

.section{
  padding:30px 0;
}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}

.section-head h2,
.section-head h3{
  margin:0 0 4px;
  font-size:31px;
  letter-spacing:-.03em;
}

.section-head p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
  max-width:62ch;
}

footer{
  padding:40px 0 60px;
  color:var(--muted);
  text-align:center;
  font-size:14px;
}

/* Hero (inicio) */

.hero{
  padding:56px 0 34px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:26px;
  align-items:stretch;
}

.hero-copy,
.hero-player{
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.hero-copy{
  padding:42px;
}

.eyebrow{
  display:inline-flex;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(36,184,203,.10);
  border:1px solid rgba(36,184,203,.35);
  color:var(--accent);
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.hero-copy h2{
  font-size:clamp(36px,5vw,64px);
  line-height:.98;
  letter-spacing:-.04em;
  margin:18px 0;
  max-width:10ch;
}

.hero-copy .lead{
  margin:0;
  max-width:60ch;
  color:var(--muted);
  font-size:17px;
  line-height:1.7;
}

.hero-actions{
  display:flex;
  gap:14px;
  margin-top:28px;
  flex-wrap:wrap;
}

.hero-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:34px;
}

.stat{
  background:#fff;
  border:1px solid rgba(1,81,134,.12);
  border-radius:20px;
  padding:16px;
}

.stat strong{
  display:block;
  font-size:26px;
  letter-spacing:-.03em;
  margin-bottom:6px;
}

.stat span{
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}

.hero-player{
  padding:18px;
}

.player-shell{
  background:var(--brand);
  border:1px solid rgba(255,255,255,.06);
  border-radius:24px;
  overflow:hidden;
  height:100%;
  display:flex;
  flex-direction:column;
}

.player-cover{
  position:relative;
  aspect-ratio:16/9;
  background:
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.6)),
    url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
}

.play-big{
  width:90px;
  height:90px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(12px);
  color:#fff;
  font-size:34px;
  cursor:pointer;
  box-shadow:0 14px 30px rgba(0,0,0,.28);
  transition:.2s ease;
}

.play-big:hover{
  transform:scale(1.03);
}

.player-badge{
  position:absolute;
  left:18px;
  top:18px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:700;
}

.player-info{
  padding:22px;
}

.player-title{
  margin:0 0 8px;
  font-size:28px;
  line-height:1.1;
  letter-spacing:-.03em;
  color:#fff;
}

.player-desc{
  margin:0;
  color:#d8e7f5;
  line-height:1.7;
  font-size:15px;
}

/* Shared pills / tags */

.tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.tag{
  font-size:12px;
  border-radius:999px;
  padding:7px 11px;
}

.player-shell .tag{
  color:#eafcff;
  background:rgba(36,184,203,.12);
  border:1px solid rgba(36,184,203,.18);
}

.player-shell .tag.alt{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:#d8e7f5;
}

.pill{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background:rgba(36,184,203,.12);
  border:1px solid rgba(36,184,203,.28);
  color:var(--brand);
}

.level{
  color:var(--brand);
  font-size:12px;
}

/* Categories */

.categories{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:30px;
}

.cat-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  cursor:pointer;
  transition:.2s;
}

.cat-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  border-color:rgba(36,184,203,.34);
}

.cat-icon{
  width:52px;
  height:52px;
  border-radius:18px;
  background:rgba(36,184,203,.10);
  border:1px solid rgba(36,184,203,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  margin-bottom:18px;
}

.cat-card h4{
  margin:0 0 8px;
  font-size:18px;
}

.cat-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

/* Inicio quick cards */

.quick-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.quick-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  transition:.2s ease;
  cursor:pointer;
  box-shadow:var(--shadow);
}

.quick-card:hover{
  transform:translateY(-3px);
  border-color:rgba(36,184,203,.34);
}

.quick-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  background:rgba(36,184,203,.10);
  border:1px solid rgba(36,184,203,.20);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  margin-bottom:16px;
}

.quick-card h4{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.2;
}

.quick-card p{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
}

.quick-link{
  color:var(--accent);
  font-weight:700;
  font-size:14px;
}

/* Featured cards (inicio) */

.featured-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.featured-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:.2s ease;
}

.featured-card:hover{
  transform:translateY(-3px);
}

.featured-thumb{
  aspect-ratio:16/9;
  position:relative;
  overflow:hidden;
  background:#dcecf5;
}

.featured-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.featured-time{
  position:absolute;
  right:12px;
  bottom:12px;
  background:rgba(3,8,18,.78);
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}

.featured-body{
  padding:18px;
}

.featured-body h4{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.25;
}

.featured-body p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
}

.featured-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
  color:var(--muted);
  padding-top:12px;
  border-top:1px solid rgba(1,81,134,.08);
}

/* Filters / videos */

.filters{
  display:grid;
  grid-template-columns:1fr .8fr .8fr auto;
  gap:14px;
  margin-bottom:20px;
}

.field,
.searchbox{
  border:1px solid var(--line);
  border-radius:16px;
  display:flex;
  align-items:center;
  padding:10px 14px;
  background:#fff;
}

.searchbox input,
.field select{
  border:0;
  outline:0;
  width:100%;
  font-size:15px;
  color:var(--brand);
  background:transparent;
  font-family:inherit;
}

.searchbox input::placeholder{
  color:#7e95ab;
}

.field select option{
  color:#111;
}

.video-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.video-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  cursor:pointer;
  transition:.2s;
  background:#fff;
}

.video-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.thumb{
  aspect-ratio:16/9;
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.55));
}

.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.thumb-play{
  position:absolute;
  left:15px;
  bottom:15px;
  background:rgba(255,255,255,.8);
  border-radius:50%;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}

.thumb-time{
  position:absolute;
  right:12px;
  bottom:12px;
  background:#000;
  color:#fff;
  padding:4px 8px;
  border-radius:999px;
  font-size:12px;
}

.card-body{
  padding:16px;
}

.card-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}

.video-card h4{
  margin:0 0 8px;
  font-size:21px;
  line-height:1.25;
  letter-spacing:-.02em;
}

.video-card p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.65;
  font-size:14px;
}

.meta-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  font-size:13px;
  margin-top:10px;
}

.empty{
  display:none;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px;
  text-align:center;
  color:var(--muted);
  font-size:15px;
}

/* FAQ */

.faq{
  display:grid;
  gap:14px;
}

.faq-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
}

.faq-q{
  padding:20px 22px;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  font-weight:700;
}

.faq-q span:last-child{
  color:var(--accent);
  font-size:22px;
  font-weight:500;
}

.faq-a{
  display:none;
  padding:0 22px 20px;
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}

/* Modal video */

.video-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  z-index:500;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.video-modal-box{
  background:#fff;
  border-radius:20px;
  width:min(1000px,100%);
  overflow:hidden;
}

.video-modal-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:16px;
  border-bottom:1px solid var(--line);
}

.video-modal-head h4{
  margin:0;
  font-size:18px;
  color:var(--brand);
}

.close-modal{
  cursor:pointer;
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(1,81,134,.14);
  background:#fff;
  color:var(--brand);
  font-size:18px;
}

.video-frame{
  width:100%;
  aspect-ratio:16/9;
  background:#000;
}

.modal-content{
  padding:18px;
  display:grid;
  grid-template-columns:1fr 260px;
  gap:20px;
}

.modal-content p{
  color:var(--muted);
  line-height:1.8;
  font-size:15px;
  margin:0;
}

.side-panel{
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  background:#f7fbfd;
}

.side-panel h5{
  margin:0 0 14px;
  font-size:15px;
}

.side-panel ul{
  padding-left:16px;
  margin:0;
}

.side-panel li{
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

/* Responsive */

@media (max-width:1100px){
  .hero{
    grid-template-columns:1fr;
  }

  .hero-stats{
    grid-template-columns:repeat(2,1fr);
  }

  .quick-links,
  .featured-list,
  .categories,
  .video-grid{
    grid-template-columns:1fr 1fr;
  }

  .filters{
    grid-template-columns:1fr 1fr;
  }

  .modal-content{
    grid-template-columns:1fr;
  }
}

@media (max-width:780px){
  .menu{
    display:none;
  }

  .wrap{
    width:min(100% - 20px,1280px);
  }

  .nav{
    min-height:72px;
  }

  .hero{
    padding-top:24px;
  }

  .hero-copy{
    padding:28px;
  }

  .hero-copy h2{
    max-width:none;
  }

  .hero-copy .lead{
    font-size:15px;
  }

  .hero-stats,
  .quick-links,
  .featured-list,
  .categories,
  .video-grid,
  .filters{
    grid-template-columns:1fr;
  }

  .section-head{
    align-items:start;
    flex-direction:column;
  }

  .top-actions{
    display:none;
  }
}

@media (max-width:600px){
  .categories{
    grid-template-columns:1fr;
  }
}