* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: 'Poppins', sans-serif;
 background-color: #FDF7E7;
 color: #521207;
 line-height: 1.2;
}
html {
  background-color: #FDF7E7;
}

body {
  max-width: 1280px;
  margin: 0 auto;
  background: transparent;
}

.container {
 max-width: 1322px;
 margin: 0 auto;
 padding: 0 20px;
}

.main-nav {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 background-color: #FDF7E7;
 box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
 padding: 15px;
 display: flex;
 justify-content: flex-end;
 align-items: center;
 gap: 30px;
 z-index: 100;
}

.hamburger {
 display: none;
 flex-direction: column;
 justify-content: space-around;
 width: 30px;
 height: 25px;
 background: transparent;
 border: none;
 cursor: pointer;
 padding: 0;
 z-index: 101;
 position: absolute;
 right: 20px;
 top: 50%;
 transform: translateY(-50%);
}

.hamburger span {
 width: 30px;
 height: 3px;
 background-color: #521207;
 border-radius: 2px;
 transition: all 0.3s ease;
 transform-origin: center;
}

.hamburger.active span:nth-child(1) {
 transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
 opacity: 0;
}

.hamburger.active span:nth-child(3) {
 transform: translateY(-11px) rotate(-45deg);
}

.nav-menu {
 display: flex;
 gap: 30px;
 align-items: center;
}

.nav-item {
 font-family: 'Poppins', sans-serif;
 font-size: 16px;
 font-weight: 400;
 color: #521207;
 cursor: pointer;
}

.nav-item a {
 text-decoration: none;
 color: #521207;
}

.header {
 text-align: right;
 padding: 35px 20px 0;
 margin-bottom: -100px;
}

.header-logo {
 width: 15%;
 max-width: 200px;
}

.hero {
 padding: 50px 20px 0;
}

.hero-brand {
 width: 40%;
 max-width: 400px;
}

.hero-title-wrapper {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-top: 20px;
 gap: 20px;
}

.hero h1 {
 font-family: 'Poppins', sans-serif;
 font-size: 25px;
 font-weight: 400;
 color: #521207;
 margin: 0;
 flex: 1;
}

.hero-subtitle-right {
 font-family: 'Poppins', sans-serif;
 font-size: 32px;
 font-weight: 400;
 color: #521207;
 text-align: right;
 white-space: nowrap;
}

.videos-container {
 background-color: #C5D9D7;
 padding: 80px 20px;
 margin-top: 60px;
}

.playlist-tabs {
 display: flex;
 justify-content: center;
 gap: 20px;
 margin-bottom: 50px;
 flex-wrap: wrap;
}

.tab-button {
 font-family: 'Poppins', sans-serif;
 font-size: 16px;
 font-weight: 500;
 color: #521207;
 background-color: #FDF7E7;
 border: 2px solid #521207;
 padding: 12px 30px;
 border-radius: 25px;
 cursor: pointer;
 transition: all 0.3s;
 white-space: nowrap;
}

.tab-button:hover {
 background-color: #521207;
 color: #FDF7E7;
}

.tab-button.active {
 background-color: #521207;
 color: #FDF7E7;
}

.playlist-content {
 display: none;
}

.playlist-content.active {
 display: block;
}

.playlist-description {
 font-family: 'Poppins', sans-serif;
 font-size: 16px;
 font-weight: 400;
 color: #521207;
 text-align: center;
 margin: 0 auto 40px;
 max-width: 800px;
 line-height: 1.5;
}

.videos-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 50px 60px;
 max-width: 1200px;
 margin: 0 auto;
}

.video-item {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 20px;
}

.video-title {
 font-family: 'Poppins', sans-serif;
 font-size: 18px;
 font-weight: 500;
 color: #521207;
 text-align: center;
 margin: 0;
 width: 100%;
 min-height: 50px;
 display: flex;
 align-items: center;
 justify-content: center;
}

.video-wrapper {
 width: 100%;
 aspect-ratio: 16/9;
 border-radius: 8px;
 overflow: hidden;
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
 width: 100%;
 height: 100%;
 display: block;
}

.video-placeholder {
 width: 100%;
 aspect-ratio: 16/9;
 background: linear-gradient(135deg, #a8c0bc 0%, #7fa19a 100%);
 border-radius: 8px;
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
 cursor: pointer;
 transition: opacity 0.3s;
}

.video-placeholder:hover {
 opacity: 0.9;
}

.play-icon {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
}

.btn-transcripcion {
 font-family: 'Poppins', sans-serif;
 font-size: 16px;
 font-weight: 500;
 color: #521207;
 background-color: #FDF7E7;
 border: none;
 padding: 12px 30px;
 border-radius: 25px;
 cursor: pointer;
 transition: opacity 0.3s;
}

.btn-transcripcion:hover {
 opacity: 0.8;
}

@media (max-width: 767px) {
 .main-nav {
  padding: 15px 20px;
  justify-content: center;
 }

 .hamburger {
  display: flex;
 }

 .nav-menu {
  position: fixed;
  top: 60px;
  right: -100%;
  flex-direction: column;
  background-color: #FDF7E7;
  width: 250px;
  padding: 30px 20px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  gap: 20px;
  align-items: flex-start;
 }

 .nav-menu.active {
  right: 0;
 }

 .nav-item {
  font-size: 16px;
  width: 100%;
 }

 .nav-item a {
  display: block;
  padding: 10px 0;
 }

 .header {
  padding: 25px 20px 0;
  margin-bottom: -50px;
 }

 .header-logo {
  width: 40%;
  max-width: 150px;
 }

 .hero {
  padding: 30px 20px 0;
 }

 .hero-brand {
  width: 80%;
  max-width: 300px;
 }

 .hero-title-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
 }

 .hero h1 {
  font-size: 18px;
 }

 .hero-subtitle-right {
  font-size: 24px;
  align-self: flex-end;
 }

 .videos-container {
  padding: 40px 20px;
 }

 .playlist-tabs {
  flex-direction: column;
  gap: 15px;
  padding: 0 10px;
 }

 .tab-button {
  width: 100%;
  text-align: center;
  font-size: 14px;
  padding: 10px 20px;
  white-space: normal;
 }

 .videos-grid {
  grid-template-columns: 1fr;
  gap: 40px;
 }

 .video-title {
  font-size: 16px;
  min-height: 40px;
 }

 .footer {
  padding: 30px 20px;
 }

 .btn-footer {
  font-size: 16px;
  padding: 15px 30px;
  margin-top: 20px;
 }

 .footer-logo {
  width: 50%;
 }
}

.footer {
 background-color: #FFF0D8;
 padding: 40px;
 text-align: center;
}

.footer .container {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 30px;
}

.btn-footer {
 display: inline-block;
 font-family: 'Roboto', sans-serif;
 background-color: #FFF0D8;
 color: #521207;
 border: 4px solid #521207;
 font-size: 18px;
 font-weight: 500;
 padding: 18px 40px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
 text-decoration: none;
 cursor: pointer;
 transition: opacity 0.3s;
 max-width: 280px;
 width: auto;
 margin-top: 30px;
}

.btn-footer:hover {
 opacity: 0.9;
}

.footer-logo {
 width: 25%;
 max-width: 250px;
}

@media (max-width: 767px) {
 .footer-logo {
  width: 50%;
 }
}


.hero,
.hero .container {
  background-color: #FFF0D8 !important;
}
.header,
.header .container {
  background-color: #FFF0D8 !important;
}
.videos-container {
  margin-top: 0 !important;
}
.hero {
  padding-bottom: 80px; 
  background-color: #FFF0D8 !important;
}




.cta-section .btn{
  display:inline-block;
  font-family:'Roboto', sans-serif;
  text-decoration:none;
  cursor:pointer;
  text-align:center;
  transition:opacity .3s;
}
.cta-section .btn-primary{
  background-color:#E1261B;
  color:#FFFFFF;
  font-size:18px;
  font-weight:500;
  padding:18px 60px;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.cta-section .btn-primary:link,
.cta-section .btn-primary:visited{
  color:#FFFFFF;
  text-decoration:none;
}


.cta-section{
  padding: 70px 20px;  
  background-color: #FFF0D8;
}

.cta-section .cta-title{
  font-size: 40px;
  line-height: 1.2;
  max-width: 1000px;
  margin: 0 auto;
}


.btn-transcripcion{
  display:inline-block;           /* clave */
  font-family:'Poppins', sans-serif;
  font-size:16px;
  font-weight:500;
  color:#521207;
  background-color:#FDF7E7;
  border:none;
  padding:12px 30px;
  border-radius:25px;
  cursor:pointer;
  transition:opacity .3s;
  text-decoration:none;           /* clave */
}

.btn-transcripcion:link,
.btn-transcripcion:visited{
  color:#521207;                  /* clave */
  text-decoration:none;           /* clave */
}

.btn-transcripcion:hover{ opacity:.8; }




