/* Estilos comunes de las páginas de cursos · Gina Torres */

body{
  margin:0;
}

body:has(.gc){
  background-color:#f5f3ec!important;
}

body:has(.gc) .hs-container:has(> .hs-bc),
body:has(.gc) .hs-container > .hs-bc{
  background:#f5f3ec!important;
}

body:has(.gc) .hs-bc a,
body:has(.gc) .hs-bc span{
  background:transparent!important;
}

.gc{
  --paper:#fffdf8;
  --sage:#dbe2d4;
  --green:#3e574b;
  --deep:#293f35;
  --terra:#a64e38;
  --sand:#ece4d6;
  --ink:#292f2a;
  --muted:#5f665e;
  --line:#c9cbbf;
  padding:32px 0 70px;
  background:#f5f3ec;
  color:var(--ink);
  font:16px/1.75 Arial,Helvetica,sans-serif;
}

.gc *,
.gc *::before,
.gc *::after{
  box-sizing:border-box;
}

.gc :is(h1,h2,h3,p,figure){
  margin:0;
}

.gc :is(h1,h2){
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  line-height:1.12;
  letter-spacing:-.035em;
  text-wrap:balance;
  color:var(--deep);
}

.gc h1{
  margin:22px 0;
  font-size:clamp(36px,4.4vw,61px);
}

.gc h2{
  margin-bottom:22px;
  font-size:clamp(29px,3vw,40px);
}

.gc h3{
  color:var(--deep);
  font-size:17px;
  line-height:1.4;
}

.gc p{
  color:var(--muted);
}

.gc p+p{
  margin-top:15px;
}

.gc a{
  color:inherit;
  text-underline-offset:4px;
}

.gc :is(a,button,input,textarea,select,summary):focus-visible{
  outline:3px solid var(--terra);
  outline-offset:4px;
}

.gc-wrap{
  width:min(1240px,calc(100% - 64px));
  margin-inline:auto;
}

.gc-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  align-items:start;
  gap:56px;
}

.gc-content{
  min-width:0;
}

.gc-kicker{
  display:block;
  margin-bottom:18px;
  color:var(--green);
  font-size:11px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}

/* PRESENTACIÓN */

.gc-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.gc-badge{
  padding:6px 12px;
  border:1px solid var(--line);
  border-radius:30px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.gc-badge:first-child{
  border-color:var(--deep);
  background:var(--deep);
  color:var(--paper);
}

.gc-subtitle{
  margin-bottom:18px!important;
  color:var(--green)!important;
  font:italic 26px/1.35 Georgia,serif;
}

.gc-lead{
  font-size:18px;
}

.gc-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:25px;
}

.gc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:47px;
  padding:11px 18px;
  border:1px solid var(--terra);
  border-radius:7px;
  background:var(--terra);
  color:#fff!important;
  font-size:13px;
  font-weight:700;
  line-height:1.4;
  text-align:center;
  text-decoration:none;
  transition:background-color .2s ease;
}

.gc-btn:hover{
  background:#8f402d;
}

.gc-btn-outline{
  border-color:var(--line);
  background:transparent;
  color:var(--deep)!important;
}

.gc-btn-outline:hover{
  background:var(--sage);
}

.gc-visual{
  position:relative;
  margin-top:30px!important;
}

.gc-visual img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover;
  border-radius:18px;
  background:var(--sage);
}

.gc-visual figcaption{
  position:absolute;
  right:18px;
  bottom:18px;
  left:18px;
  width:fit-content;
  max-width:calc(100% - 36px);
  padding:9px 14px;
  border-radius:6px;
  background:var(--paper);
  color:var(--deep);
  font-size:11px;
}

.gc-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:18px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--paper);
}

.gc-facts div{
  padding:17px;
  border-right:1px solid var(--line);
}

.gc-facts div:last-child{
  border-right:0;
}

.gc-facts span{
  display:block;
  color:var(--muted);
  font-size:9px;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.gc-facts strong{
  color:var(--green);
  font-size:13px;
}

.gc-jumps{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding-top:20px;
  font-size:12px;
  font-weight:700;
}

.gc-jumps a{
  padding:9px 13px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--paper);
  color:var(--deep);
  text-decoration:none;
}

.gc-jumps a:hover{
  border-color:#8b9d89;
  background:var(--sage);
}

/* SECCIONES */

.gc-section{
  margin-top:30px;
  padding:clamp(26px,3vw,40px);
  border:1px solid #d5d9ce;
  border-radius:20px;
  background:var(--paper);
  scroll-margin-top:95px;
}

.gc-section-intro{
  margin-bottom:24px!important;
}

.gc-note{
  margin-top:18px!important;
  font-size:12px!important;
}

/* APRENDIZAJE */

.gc-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
  margin-top:26px;
}

.gc-card{
  padding:24px;
  border:1px solid #cbd5c4;
  border-radius:12px;
  background:#e4eadf;
}

.gc-card:nth-child(2),
.gc-card:nth-child(3){
  border-color:#e0d2c1;
  background:#f2e9de;
}

.gc-card h3{
  margin-bottom:10px;
}

.gc-card p{
  font-size:14px;
}

.gc-card small{
  display:block;
  margin-bottom:12px;
  color:var(--terra);
  font-size:10px;
  font-weight:700;
  letter-spacing:.13em;
}

/* DESTINATARIOS */

.gc #gc-perfiles{
  border-color:#c0cbb8;
  background:var(--sage);
}

.gc #gc-perfiles p{
  color:#435243;
}

.gc-audience{
  margin:25px 0 0;
  padding:0;
  list-style:none;
}

.gc-audience li{
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:12px;
  padding:20px 0;
  border-top:1px solid #b8c5b1;
}

.gc-audience li:last-child{
  padding-bottom:0;
}

.gc-check{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:50%;
  background:var(--green);
  color:var(--paper);
  font-size:13px;
}

.gc-audience h3{
  margin-bottom:5px;
}

.gc-audience p{
  font-size:14px;
}

/* PROGRAMA */

.gc-module{
  margin-top:10px;
  border:1px solid #d0d6c8;
  border-radius:10px;
  background:#f7f6f0;
}

.gc-module[open]{
  border-color:#9cac91;
  background:#e9eee3;
}

.gc-module summary{
  display:flex;
  align-items:center;
  gap:15px;
  padding:21px;
  border-radius:9px;
  cursor:pointer;
  list-style:none;
}

.gc-module summary:hover{
  background:#e9eee3;
}

.gc summary::-webkit-details-marker{
  display:none;
}

.gc-module h3{
  flex:1;
  min-width:0;
  font-size:15px;
}

.gc-number{
  display:grid;
  place-items:center;
  flex:0 0 32px;
  width:32px;
  height:32px;
  border-radius:8px;
  background:var(--green);
  color:#fff;
  font-size:11px;
  font-weight:700;
}

.gc-plus{
  flex-shrink:0;
  color:var(--green);
  font-size:20px;
}

.gc-module[open] .gc-plus{
  transform:rotate(45deg);
}

.gc-module ul{
  margin:0;
  padding:0 30px 24px 55px;
  color:var(--muted);
  font-size:14px;
}

.gc-module li+li{
  margin-top:8px;
}

.gc-download{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:24px;
  padding:24px;
  border:1px solid #d9bdab;
  border-radius:12px;
  background:#efe0d3;
}

.gc-download p{
  margin-top:6px;
  font-size:13px;
}

.gc-download .gc-btn{
  flex-shrink:0;
}

/* METODOLOGÍA */

.gc #gc-metodo{
  border-color:var(--deep);
  background:var(--deep);
}

.gc #gc-metodo .gc-kicker{
  color:#e2bda6;
}

.gc #gc-metodo h2,
.gc #gc-metodo h3{
  color:var(--paper);
}

.gc #gc-metodo p{
  color:#e0e7da;
}

.gc-method article{
  display:flex;
  gap:18px;
  padding:23px 0;
  border-bottom:1px solid #587064;
}

.gc-method article:first-child{
  padding-top:0;
}

.gc-method article:last-child{
  padding-bottom:0;
  border-bottom:0;
}

.gc-method p{
  margin-top:6px;
  font-size:14px;
}

.gc-step{
  flex-shrink:0;
  color:#e2bda6;
  font:25px Georgia,serif;
}

/* DOCENTE */

.gc #gc-docente{
  border-color:#d6cbb9;
  background:var(--sand);
}

.gc-teacher{
  display:flex;
  align-items:flex-start;
  gap:22px;
}

.gc-teacher img{
  display:block;
  flex:0 0 140px;
  width:140px;
  max-width:100%;
  height:auto;
}

.gc-teacher p{
  margin-top:12px;
  font-size:14px;
}

.gc-teacher a{
  display:inline-block;
  margin-top:18px;
  color:var(--deep);
  font-size:12px;
  font-weight:700;
}

/* CONDICIONES */

.gc-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.gc-table caption{
  padding-bottom:8px;
  color:var(--green);
  font-weight:700;
  text-align:left;
}

.gc-table th,
.gc-table td{
  padding:16px 14px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}

.gc-table th{
  width:37%;
  color:var(--deep);
}

.gc-table td{
  color:#4b574b;
}

.gc-table tr:nth-child(odd){
  background:#eef1e8;
}

/* PREGUNTAS */

.gc #gc-faq{
  border-color:#c7d1bd;
  background:#e5eadd;
}

.gc-faq details{
  border-bottom:1px solid #bac6af;
}

.gc-faq details:last-child{
  border-bottom:0;
}

.gc-faq summary{
  display:flex;
  align-items:center;
  gap:14px;
  padding:20px 0;
  cursor:pointer;
  list-style:none;
}

.gc-faq summary h3{
  flex:1;
  font-size:15px;
}

.gc-faq summary::after{
  content:"+";
  flex-shrink:0;
  color:var(--terra);
  font-size:22px;
}

.gc-faq details[open] summary::after{
  content:"−";
}

.gc-faq p{
  padding-bottom:20px;
  color:#465342;
  font-size:14px;
}

/* OTRAS FORMACIONES */

.gc-related{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
}

.gc-related article{
  padding:22px;
  border:1px solid #ded2bf;
  border-top:4px solid var(--terra);
  border-radius:12px;
  background:#f1eadf;
}

.gc-related article:nth-child(2){
  border-color:#c9d3bf;
  border-top-color:var(--green);
  background:#e6ebdf;
}

.gc-related p{
  margin-top:10px;
  font-size:13px;
}

.gc-related a{
  display:inline-block;
  margin-top:16px;
  color:var(--deep);
  font-size:12px;
  font-weight:700;
}

/* CIERRE */

.gc-end{
  margin-top:30px;
  padding:clamp(28px,3vw,40px);
  border:1px solid var(--terra);
  border-radius:20px;
  background:var(--terra);
}

.gc-end h2{
  color:var(--paper);
  font-size:31px;
}

.gc-end p{
  color:var(--paper);
}

.gc-end .gc-btn{
  border-color:var(--paper);
  background:var(--paper);
  color:#743323!important;
}

.gc-end .gc-btn:hover{
  border-color:#f0e5d7;
  background:#f0e5d7;
}

/* FORMULARIO */

.gc-aside{
  position:sticky;
  top:95px;
  max-height:calc(100dvh - 115px);
  overflow-y:auto;
  overscroll-behavior:contain;
  scroll-margin-top:95px;
  border-radius:17px;
  box-shadow:0 12px 35px rgba(41,63,53,.10);
}

.gc-form-box{
  overflow:hidden;
  border:1px solid #bdc8b7;
  border-radius:17px;
  background:var(--paper);
}

.gc-form-top{
  padding:25px;
  background:var(--deep);
  color:var(--paper);
}

.gc-form-top small{
  color:#dbe2d4;
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.gc-form-top h2{
  margin:9px 0;
  color:var(--paper);
  font:700 23px/1.25 Arial,sans-serif;
  letter-spacing:-.03em;
}

.gc-form-top p{
  color:#e1e7da;
  font-size:12px;
}

.gc-form{
  padding:23px;
}

.gc-field{
  margin-bottom:16px;
}

.gc-field label{
  display:block;
  margin-bottom:6px;
  color:var(--deep);
  font-size:11px;
  font-weight:700;
}

.gc-field :is(input,select,textarea){
  display:block;
  width:100%;
  min-height:44px;
  padding:10px;
  border:1px solid #a8b5a6;
  border-radius:6px;
  background:#fff;
  color:var(--ink);
  font:16px Arial,sans-serif;
}

.gc-field textarea{
  min-height:82px;
  resize:vertical;
}

.gc-form button{
  width:100%;
  min-height:46px;
  margin-bottom:14px;
  border:1px solid #c9cbbf;
  border-radius:7px;
  background:#e4e7de;
  color:#535e51;
  font:700 12px Arial,sans-serif;
}

.gc-direct{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  font-size:12px;
  font-weight:700;
}

.gc-aside-footer{
  padding:14px;
  background:#e5eadd;
  color:#435243;
  font-size:11px;
  text-align:center;
}

.gc-mobile-cta{
  display:none;
}

@media(min-width:961px) and (max-height:700px){
  .gc-aside{
    top:20px;
    max-height:calc(100dvh - 40px);
  }
}

@media(max-width:1100px){
  .gc-grid{
    grid-template-columns:minmax(0,1fr) 300px;
    gap:32px;
  }

  .gc-wrap{
    width:calc(100% - 40px);
  }

  .gc-download{
    flex-direction:column;
    align-items:flex-start;
  }
}

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

  .gc-aside{
    position:static;
    justify-self:center;
    width:100%;
    max-width:650px;
    max-height:none;
    margin-top:15px;
    overflow:visible;
  }

  .gc-mobile-cta{
    position:fixed;
    z-index:900;
    right:0;
    bottom:0;
    left:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:11px 20px calc(11px + env(safe-area-inset-bottom));
    border-top:1px solid var(--line);
    background:var(--paper);
    box-shadow:0 -5px 20px rgba(41,63,53,.06);
  }

  .gc-mobile-cta small{
    color:var(--muted);
    font-size:11px;
  }

  .gc-mobile-cta strong{
    display:block;
    color:var(--deep);
    font-size:13px;
  }

  .gc{
    padding-bottom:calc(120px + env(safe-area-inset-bottom));
  }

  .gc-visual img{
    max-height:430px;
  }
}

@media(max-width:560px){
  .gc-wrap{
    width:calc(100% - 32px);
  }

  .gc{
    padding-top:22px;
  }

  .gc h1{
    font-size:clamp(32px,9vw,38px);
  }

  .gc-subtitle{
    font-size:23px;
  }

  .gc-lead{
    font-size:16px;
  }

  .gc-section{
    margin-top:22px;
    padding:25px 19px;
    border-radius:16px;
  }

  .gc-section h2{
    font-size:29px;
  }

  .gc-cards,
  .gc-related{
    grid-template-columns:1fr;
  }

  .gc-card{
    padding:21px;
  }

  .gc-facts div{
    padding:12px 9px;
  }

  .gc-facts strong{
    font-size:11px;
  }

  .gc-facts span{
    font-size:8px;
  }

  .gc-jumps{
    gap:7px;
  }

  .gc-jumps a{
    padding:8px 10px;
    font-size:11px;
  }

  .gc-teacher{
    flex-direction:column;
    gap:17px;
  }

  .gc-teacher img{
    flex-basis:auto;
    width:110px;
  }

  .gc-form{
    padding:22px;
  }

  .gc-module summary{
    gap:10px;
    padding:15px 12px;
  }

  .gc-number{
    flex-basis:27px;
    width:27px;
    height:27px;
    font-size:10px;
  }

  .gc-module ul{
    padding:0 18px 20px 32px;
  }

  .gc-download{
    padding:20px;
  }

  .gc-end{
    padding:27px 22px;
    border-radius:16px;
  }

  .gc-actions .gc-btn{
    flex:1 1 170px;
  }

  .gc-visual figcaption{
    bottom:12px;
    left:12px;
    font-size:10px;
  }

  .gc-table{
    font-size:13px;
  }

  .gc-table th{
    width:42%;
  }

  .gc-table th,
  .gc-table td{
    padding:13px 9px;
    overflow-wrap:anywhere;
  }

  .gc-mobile-cta{
    padding-right:16px;
    padding-left:16px;
  }

  .gc-mobile-cta .gc-btn{
    padding:12px;
    font-size:12px;
  }
}

@media(prefers-reduced-motion:reduce){
  .gc *{
    scroll-behavior:auto!important;
    transition:none!important;
  }
}