html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #111;
}

.hero {
  position: relative;
  background: #2E2253;
  color: white;
  padding: 30px 0 60px;
  min-height: auto;
  overflow: visible;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.45), transparent);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 10;
}

.logo img{
  width:220px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
  display:block;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  margin-top: 6px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  margin: 50px auto 0;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  padding: 0 32px;
}

.text {
  flex: 1 1 520px;
  max-width: 620px;
}

.text span {
  color: #c7a96b;
  font-weight: bold;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.text h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 0.95;
  margin: 20px 0;
  word-break: break-word;
}

.text p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 700px;
}

.buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.buttons a {
  padding: 15px 30px;
  background: #c7a96b;
  color: #111;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.image-box {
  flex: 1 1 380px;
  max-width: 450px;
  width: 100%;
  margin-left: auto;
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
}

.section {
  padding: 100px 40px;
}

.section h2 {
  font-size: 50px;
  color: #2E2253;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 80px 40px;
}

.card {
  padding: 40px;
  border: 1px solid #ddd;
}

.card h3 {
  color: #2E2253;
  font-size: 28px;
}

.message {
  background: #2E2253;
  color: white;
  padding: 100px 40px;
  text-align: center;
  font-size: 40px;
}

.contact {
  padding: 80px 40px;
  background: #f4f4f4;
}
@media(max-width:768px){
  .logo img{
  width:120px;
  max-width:120px;
  height:auto;
}
}
@media (max-width: 900px) {
  .hero-content {
  flex-direction: column;
  text-align: center;
  margin-top: 35px;
  gap: 30px;
  padding: 0 20px;
}
.image-box {
  margin: 0 auto;
}
  .text {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .text h1 {
    font-size: clamp(34px, 9vw, 56px);
    line-height: 1;
  }

  .text p {
    font-size: 18px;
  }

  .buttons {
    justify-content: center;
  }

  .cards {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }

  .section,
  .message,
  .contact {
    padding: 60px 20px;
  }

  .section h2 {
    font-size: 36px;
  }

  .message {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 20px 16px 45px;
  }

  .main-nav {
    align-items: flex-start;
  }

  .logo {
    font-size: 24px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    right: 0;
    width: 220px;
    background: #2E2253;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    margin: 0;
    z-index: 20;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 18px;
  }

  .nav-links a:hover {
    background: rgba(255,255,255,0.08);
  }

  .buttons {
    flex-direction: column;
    width: 100%;
  }

  .buttons a {
    width: 100%;
    text-align: center;
  }

  .image-box {
    max-width: 100%;
  }
}

/* ===== TRAYECTORIA ===== */

.trayectoria-hero{
  background: #2E2253;
  min-height: auto;
  padding-bottom: 70px;
}

.trayectoria-content{
  justify-content: center;
  margin-top: 40px;
}

.trayectoria-text{
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.trayectoria-text span{
  margin-bottom: 18px;
}

.trayectoria-text h1{
  font-size: clamp(40px, 5.2vw, 78px);
  line-height: 0.98;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.trayectoria-text p{
  font-size: 22px;
  line-height: 1.7;
  max-width: 950px;
  margin: 0 auto;
}

.trayectoria-intro{
  background: #f5f3f0;
  padding: 70px 20px 30px;
}

.trayectoria-box{
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e2e2;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.trayectoria-badge{
  display: inline-block;
  background: #2E2253;
  color: #fff;
  padding: 10px 16px;
  font-weight: bold;
  margin-bottom: 18px;
}

.trayectoria-box h2{
  margin: 0 0 18px;
  color: #2E2253;
  font-size: 34px;
  line-height: 1.15;
}

.trayectoria-box p{
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.trayectoria-frame-section{
  background: #f5f3f0;
  padding: 20px 20px 60px;
}

.trayectoria-frame-wrap{
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.trayectoria-frame-wrap iframe{
  width: 100%;
  height: 900px;
  border: none;
  display: block;
}

.trayectoria-cta{
  padding: 0 20px 70px;
  background: #f5f3f0;
  text-align: center;
}

.trayectoria-cta a{
  display: inline-block;
  background: #2E2253;
  color: #fff;
  padding: 16px 30px;
  text-decoration: none;
  font-weight: bold;
}

.trayectoria-cta a:hover{
  opacity: .92;
}

@media (max-width: 900px){
  .trayectoria-text h1{
    font-size: clamp(34px, 8vw, 54px);
    line-height: 1.02;
  }

  .trayectoria-text p{
    font-size: 18px;
  }

  .trayectoria-box{
    padding: 25px;
  }

  .trayectoria-box h2{
    font-size: 28px;
  }

  .trayectoria-frame-wrap iframe{
    height: 760px;
  }
}

@media (max-width: 768px){
  .trayectoria-hero{
    padding-bottom: 45px;
  }

  .trayectoria-content{
    margin-top: 28px;
  }

  .trayectoria-text{
    text-align: center;
  }

  .trayectoria-text h1{
    font-size: 28px;
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .trayectoria-text p{
    font-size: 17px;
    line-height: 1.7;
  }

  .trayectoria-intro{
    padding: 45px 16px 20px;
  }

  .trayectoria-box{
    padding: 20px;
  }

  .trayectoria-box h2{
    font-size: 24px;
  }

  .trayectoria-box p{
    font-size: 16px;
  }

  .trayectoria-frame-section{
    padding: 16px 16px 40px;
  }

  .trayectoria-frame-wrap{
    padding: 12px;
  }

  .trayectoria-frame-wrap iframe{
    height: 620px;
  }

  .trayectoria-cta{
    padding: 0 16px 45px;
  }

  .trayectoria-cta a{
    width: 100%;
    text-align: center;
  }
}
.share-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  background: #2E2253;
  color: #fff;
  border: none;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.22);
  transition: transform .2s ease, opacity .2s ease;
}

.share-float:hover{
  transform: translateY(-2px);
}

@media (max-width:768px){
  .share-float{
    right: 14px;
    bottom: 14px;
    width: auto;
    padding: 13px 16px;
    font-size: 14px;
  }
}
/* ===== CABECERA FIJA ===== */

#header-placeholder{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(46, 34, 83, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#header-placeholder .main-nav{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  background: transparent;
}

.hero{
  padding-top: 170px;
}

@media (max-width: 768px){
  .hero{
    padding-top: 95px;
  }
}
.publicaciones-slider{
  background:#f5f3f0;
  padding:50px 20px 30px;
}

.publicaciones-slider h2{
  max-width:1100px;
  margin:0 auto 25px;
  color:#2E2253;
  font-size:34px;
}

.slider-wrap{
  display:flex;
  gap:20px;
  overflow-x:auto;
  max-width:1100px;
  margin:0 auto;
  padding-bottom:10px;
  scroll-snap-type:x mandatory;
}

.slide-card{
  min-width:320px;
  max-width:320px;
  background:#fff;
  border:1px solid #ddd;
  text-decoration:none;
  color:#111;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  scroll-snap-align:start;
  transition:.25s ease;
}

.slide-card:hover{
  transform:translateY(-4px);
}

.slide-card img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}

.slide-card span{
  display:block;
  padding:14px 16px 6px;
  color:#2E2253;
  font-weight:bold;
  font-size:14px;
}

.slide-card p{
  padding:0 16px 18px;
  margin:0;
  font-size:17px;
  line-height:1.4;
}

@media(max-width:768px){
  .publicaciones-slider h2{
    font-size:26px;
  }

  .slide-card{
    min-width:270px;
  }
}
.publicaciones-slider{
  margin-top:50px;
  overflow:hidden;
}

.publicaciones-slider h3{
  color:#2E2253;
  font-size:28px;
  margin-bottom:22px;
}

.slider-auto{
  overflow:hidden;
  width:100%;
}

.slider-track{
  display:flex;
  gap:20px;
  width:max-content;
  animation: scrollSlider 25s linear infinite;
}

.slide-card{
  min-width:320px;
  max-width:320px;
  background:#fff;
  border:1px solid #ddd;
  text-decoration:none;
  color:#111;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:.25s ease;
}

.slide-card:hover{
  transform:translateY(-4px);
}

.slide-card img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}

.slide-card span{
  display:block;
  padding:14px 16px 6px;
  color:#2E2253;
  font-weight:bold;
  font-size:14px;
}

.slide-card p{
  padding:0 16px 18px;
  margin:0;
  font-size:17px;
  line-height:1.4;
}

@keyframes scrollSlider{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-50%);
  }
}

@media(max-width:768px){
  .publicaciones-slider h3{
    font-size:24px;
  }

  .slide-card{
    min-width:270px;
  }

  .slider-track{
    animation: scrollSlider 35s linear infinite;
  }
}
.publicaciones-slider{
  margin-top:50px;
}

.publicaciones-slider h3{
  color:#2E2253;
  font-size:28px;
  margin-bottom:22px;
}

.slider-container{
  position:relative;
  display:flex;
  align-items:center;
}

.slider-wrap{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-behavior:smooth;
  padding-bottom:10px;
  scrollbar-width:none;
}

.slider-wrap::-webkit-scrollbar{
  display:none;
}

.slide-card{
  min-width:320px;
  max-width:320px;
  background:#fff;
  border:1px solid #ddd;
  text-decoration:none;
  color:#111;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:.25s ease;
}

.slide-card:hover{
  transform:translateY(-4px);
}

.slide-card img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}

.slide-card span{
  display:block;
  padding:14px 16px 6px;
  color:#2E2253;
  font-weight:bold;
  font-size:14px;
}

.slide-card p{
  padding:0 16px 18px;
  margin:0;
  font-size:17px;
  line-height:1.4;
}

.slider-btn{
  background:#2E2253;
  color:#fff;
  border:none;
  width:44px;
  height:44px;
  cursor:pointer;
  font-size:24px;
  flex-shrink:0;
}

.slider-btn:hover{
  opacity:.9;
}

@media(max-width:768px){
  .slide-card{
    min-width:270px;
  }

  .slider-btn{
    width:38px;
    height:38px;
  }
}
.bio-expand{
  margin-top:35px;
}

.bio-item{
  border-bottom:1px solid #ddd;
  margin-bottom:10px;
}

.bio-toggle{
  width:100%;
  background:none;
  border:none;
  text-align:left;
  font-size:20px;
  font-weight:bold;
  color:#2E2253;
  padding:18px 0;
  cursor:pointer;
}

.bio-content{
  display:none;
  padding:0 0 18px;
}

.bio-content p{
  margin:0 0 14px;
  line-height:1.8;
  font-size:17px;
  color:#333;
}

.bio-item.active .bio-content{
  display:block;
}
.premium-bio{
  margin-top: 38px;
}

.premium-bio .bio-item{
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  margin-bottom: 14px;
  overflow: hidden;
}

.premium-bio .bio-toggle{
  width: 100%;
  background: #fff;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}

.premium-bio .bio-toggle-text{
  font-size: 24px;
  font-weight: bold;
  color: #2E2253;
  line-height: 1.2;
}

.premium-bio .bio-icon{
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2E2253;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
  transition: transform .25s ease, background .25s ease;
}

.premium-bio .bio-content{
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height .35s ease, padding .35s ease;
}

.premium-bio .bio-content p{
  margin: 0 0 14px;
  line-height: 1.8;
  font-size: 17px;
  color: #333;
}

.premium-bio .bio-item.active .bio-content{
  max-height: 900px;
  padding: 0 24px 24px;
}

.premium-bio .bio-item.active .bio-icon{
  transform: rotate(45deg);
  background: #c7a96b;
  color: #111;
}

@media (max-width: 768px){
  .premium-bio .bio-toggle{
    padding: 18px 18px;
  }

  .premium-bio .bio-toggle-text{
    font-size: 20px;
  }

  .premium-bio .bio-icon{
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .premium-bio .bio-content{
    padding: 0 18px;
  }

  .premium-bio .bio-item.active .bio-content{
    padding: 0 18px 20px;
  }

  .premium-bio .bio-content p{
    font-size: 16px;
  }
}
footer{
  margin-top:0 !important;
}

section:last-child{
  margin-bottom:0 !important;
}
.proyecto-detalle{
  max-width:1100px;
  margin:auto;
  padding:80px 20px;
}

.proyecto-header{
  text-align:center;
  margin-bottom:50px;
}

.proyecto-header span{
  color:#c8a96b;
  font-weight:bold;
  text-transform:uppercase;
  letter-spacing:1px;
}

.proyecto-header h1{
  font-size:48px;
  color:#24174d;
  margin:15px 0;
}

.proyecto-header p{
  font-size:20px;
  max-width:850px;
  margin:auto;
  line-height:1.7;
}

.proyecto-card{
  background:white;
  padding:35px;
  margin-bottom:25px;
  border-left:6px solid #24174d;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  border-radius:12px;
}

.proyecto-card h2{
  color:#24174d;
  margin-bottom:15px;
}

.proyecto-card p{
  line-height:1.8;
  color:#333;
}

.proyecto-card ul{
  margin-top:15px;
  padding-left:20px;
}

.proyecto-card li{
  margin-bottom:10px;
}

.destacado{
  margin-top:15px;
  font-weight:bold;
  color:#c8a96b;
}

.proyecto-frase{
  text-align:center;
  font-size:28px;
  font-weight:bold;
  color:#24174d;
  margin-top:50px;
}
/* ===== PROYECTOS DETALLE ===== */

.proyecto-detalle{
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  background: #f7f5f2;
}

.proyecto-header{
  text-align: center;
  margin-bottom: 50px;
}

.proyecto-header span{
  display: inline-block;
  background: #2E2253;
  color: white;
  padding: 8px 16px;
  font-weight: bold;
  margin-bottom: 15px;
  border-radius: 30px;
}

.proyecto-header h1{
  font-size: clamp(34px, 5vw, 58px);
  color: #2E2253;
  margin: 10px 0 20px;
  line-height: 1.05;
}

.proyecto-header p{
  font-size: 20px;
  color: #444;
  max-width: 800px;
  margin: auto;
  line-height: 1.7;
}

.proyecto-card{
  background: white;
  padding: 35px;
  margin-bottom: 30px;
  border-left: 6px solid #2E2253;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  transition: transform .25s ease;
}

.proyecto-card:hover{
  transform: translateY(-4px);
}

.proyecto-card h2{
  color: #2E2253;
  font-size: 28px;
  margin-bottom: 15px;
}

.proyecto-card p{
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}

.proyecto-card ul{
  margin-top: 15px;
  padding-left: 22px;
}

.proyecto-card li{
  margin-bottom: 10px;
  font-size: 16px;
}

.destacado{
  margin-top: 18px;
  font-weight: bold;
  color: #2E2253;
  font-size: 18px;
}

.proyecto-frase{
  margin-top: 50px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #2E2253;
  padding: 30px;
  background: linear-gradient(135deg,#fff,#f1ece5);
  border-radius: 18px;
}

@media(max-width:768px){

  .proyecto-header h1{
    font-size: 28px;
  }

  .proyecto-header p{
    font-size: 17px;
  }

  .proyecto-card{
    padding: 22px;
  }

  .proyecto-card h2{
    font-size: 22px;
  }

  .proyecto-frase{
    font-size: 22px;
    padding: 20px;
  }

}
.proyectos-intro{
  background: linear-gradient(135deg,#2E2253,#24174d);
  padding: 90px 20px;
  text-align: center;
}

.proyectos-intro-box{
  max-width: 900px;
  margin: auto;
}

.proyectos-intro span{
  display: inline-block;
  color: #d4af37;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.proyectos-intro h2{
  font-size: clamp(38px,5vw,72px);
  color: white;
  margin-bottom: 20px;
  line-height: 1.05;
}

.proyectos-intro p{
  font-size: 20px;
  color: rgba(255,255,255,.9);
  line-height: 1.8;
  max-width: 760px;
  margin: auto;
}

@media(max-width:768px){

  .proyectos-intro{
    padding: 65px 20px;
  }

  .proyectos-intro h2{
    font-size: 34px;
  }

  .proyectos-intro p{
    font-size: 17px;
  }

}
.proyectos-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
  max-width:1200px;
  margin:55px auto 90px;
  padding:0 20px;
}

.proyecto-link-card{
  background:linear-gradient(180deg, #ffffff 0%, #f8f5ef 100%);
  padding:32px 28px;
  text-decoration:none;
  color:#2E2253;
  border:1px solid rgba(46,34,83,.08);
  border-radius:22px;
  box-shadow:0 14px 35px rgba(0,0,0,.07);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  min-height:260px;
  position:relative;
  overflow:hidden;
}

.proyecto-link-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg, #c8a96b, #2E2253);
}

.proyecto-link-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 45px rgba(0,0,0,.12);
  border-color:rgba(46,34,83,.18);
}

.proyecto-icon-box{
  width:62px;
  height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  border-radius:16px;
  background:#f1ebe1;
  color:#c8a96b;
}

.proyecto-svg{
  width:34px;
  height:34px;
  display:block;
}

.proyecto-link-card h3{
  margin:0 0 12px;
  font-size:28px;
  line-height:1.12;
  color:#24174d;
}

.proyecto-link-card p{
  margin:0;
  line-height:1.7;
  color:#4b4b4b;
  font-size:16px;
}

@media(max-width: 1024px){
  .proyectos-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media(max-width:768px){
  .proyectos-grid{
    grid-template-columns:1fr;
    gap:20px;
    margin:40px auto 65px;
  }

  .proyecto-link-card{
    padding:24px 22px;
    min-height:auto;
    border-radius:18px;
  }

  .proyecto-link-card h3{
    font-size:23px;
  }

  .proyecto-link-card p{
    font-size:15px;
  }

  .proyecto-icon-box{
    width:56px;
    height:56px;
    border-radius:14px;
  }

  .proyecto-svg{
    width:30px;
    height:30px;
  }
}