:root{
  --wine:#781016;
  --red:#ED1C24;
  --text:#222;
  --muted:#777;
  --bg:#fff;
  --max:1200px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#fff;font-family:Montserrat,Arial,sans-serif;color:var(--text)}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 24px}

/* ================= NAV ================= */
.nav{
  position:fixed; top:0; left:0; right:0;
  background:transparent;
  z-index:50;
}
.nav-inner{
  display:flex; align-items:flex-start; justify-content:space-between;
  padding:26px 36px;
}
.brand{ width:130px; }
.menu{
  display:flex; gap:22px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#8a8a8a;
}
.menu a{position:relative;padding-bottom:10px}
.menu a:hover{color:var(--red)}
.menu a.active{color:var(--red)}
.menu a.active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:2px;
  height:2px;
  background:var(--red);
}

/* ================= HERO ================= */
.hero{ padding-top:0; }
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  min-height: 78vh;
}
.hero-left{
  position:relative;
  overflow:hidden;
  background:#f2f2f2;
}
.hero-left .hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.hero-left .logo-float{
  position:absolute; left:26px; top:22px;
  background:rgba(255,255,255,.75);
  backdrop-filter: blur(6px);
  padding:10px 12px;
  border-radius:8px;
  z-index:5;
}
.hero-right{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  background:#fff;
  padding:120px 16px 40px;
}
.hero-box{
  width:520px;
  border:1px solid rgba(237,28,36,.55);
  padding:44px 46px;
  margin-top:6px;
}
.kicker{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.32em;
  color:#666;
  margin:0 0 18px 0;
}
.hero-title{
  margin:0 0 26px 0;
  color:var(--wine);
  font-weight:900;
  letter-spacing:.01em;
  text-transform:uppercase;
  font-size:44px;
  line-height:1.03;
}

/* Botón (muy parecido al original) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--red);
  color:#fff;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.18em;
  padding:12px 30px;
  border-radius:2px;
  transition:.15s ease;
  border:0;
}
.btn:hover{
  transform:translateY(-1px);
  background:#c4151b;
  box-shadow:0 10px 24px rgba(120,16,22,.14);
}
.btn--solid{ padding:12px 34px; }
.btn--mini{ padding:12px 26px; width:max-content; }

/* ================= FORMAMOS ================= */
.section{ padding:82px 0; }
.center-row{
  display:flex;
  justify-content:center;
  gap:34px;
  align-items:center;
}
.h2-big{
  color:var(--wine);
  font-weight:900;
  text-transform:uppercase;
  line-height:1.05;
  letter-spacing:.01em;
  font-size:40px;
  margin:0;
}
.hr-vert{
  width:1px; height:110px;
  background:rgba(237,28,36,.35);
  margin:0 22px;
}
.subtext{
  color:#8a8a8a;
  font-size:14px;
  line-height:1.8;
  max-width:360px;
}

/* ================= ICONOS ================= */
.icons{ padding:40px 0 70px; }
.icon-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:42px;
  text-align:center;
}
.icon-label{
  margin-top:14px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#666;
}
.icon-img{
  width:170px;
  height:170px;
  object-fit:contain;
  margin:0 auto;
}

/* ================= FUTURO ================= */
.future{ padding:90px 0 110px; }
.future-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:60px;
  align-items:center;
}
.future-text{
  position:relative;
  padding-top:80px;
}
.watermark{
  position:absolute;
  left:0; top:-10px;
  font-weight:900;
  text-transform:uppercase;
  font-size:140px;
  line-height:.75;
  color:rgba(120,16,22,.08);
  pointer-events:none;
  user-select:none;
}
.future-title{
  margin:0 0 16px 0;
  color:var(--wine);
  font-weight:900;
  text-transform:uppercase;
  font-size:30px;
  letter-spacing:.01em;
}
.future-title .red{color:var(--red)}
.future-p{
  margin:0 0 26px 0;
  color:#7a7a7a;
  line-height:1.85;
  max-width:380px;
}
.future-right{ display:flex; justify-content:flex-end; }
.future-imgwrap{
  position:relative;
  width:520px;
  height:420px;
  overflow:hidden;
  box-shadow:0 30px 60px rgba(0,0,0,.12);
  background:#eee;
}
.future-imgwrap img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ================= CARRERA ================= */
.career{ padding:90px 0; }
.career-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:60px;
  align-items:center;
}
.career-imgwrap{
  position:relative;
  width:520px;
  height:420px;
  overflow:hidden;
  background:#eee;
}
.career-imgwrap img{ width:100%; height:100%; object-fit:cover; }
.career-text{ position:relative; padding-top:40px; }
.big-ghost{
  position:absolute;
  top:-22px;
  left:0;
  font-size:92px;
  font-weight:900;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:rgba(0,0,0,.05);
  line-height:.9;
  pointer-events:none;
  user-select:none;
}
.career-title{
  margin:0 0 18px 0;
  font-size:34px;
  font-weight:900;
  text-transform:uppercase;
  color:var(--wine);
  line-height:1.05;
}
.career-p{
  margin:0 0 26px 0;
  color:#6f6f6f;
  line-height:1.85;
  max-width:420px;
}

/* ================= RESULTADOS ================= */
.results{ padding:110px 0 60px; }
.results-frame{
  border:1px solid rgba(237,28,36,.35);
  padding:80px 70px;
}
.results-grid{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap:40px;
  align-items:center;
}
.results-card{
  background:var(--wine);
  color:#fff;
  padding:58px 56px;
  max-width:520px;
}
.results-small{
  margin:0 0 18px 0;
  font-size:38px;
  font-weight:300;
  line-height:1.1;
}
.results-big{
  margin:0;
  font-size:42px;
  font-weight:900;
  letter-spacing:.01em;
}
.results-media{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
  align-items:start;
}
.results-media img{
  width:100%;
  max-width:520px;
  height:250px;
  object-fit:cover;
}
.results-copy h3{
  margin:0 0 14px 0;
  font-size:14px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  line-height:1.5;
  color:#111;
}

/* ================= BLOG ================= */
.blog{ padding:70px 0 90px; }
.blog-title{
  text-align:center;
  font-size:54px;
  font-weight:900;
  color:var(--wine);
  letter-spacing:.02em;
  margin:0 0 34px 0;
}
.blog-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:42px;
}
.blog-card h3{
  margin:18px 0 10px 0;
  font-size:18px;
  font-weight:900;
  text-transform:uppercase;
  color:#1b1b1b;
  line-height:1.25;
}
.blog-card p{
  margin:0 0 18px 0;
  color:#555;
  line-height:1.75;
}
.blog-img{
  background:#eee;
  height:220px;
  overflow:hidden;
}
.blog-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ================= CTA ================= */
.cta{ padding:90px 0 70px; }
.cta-box{
  border:1px solid rgba(237,28,36,.55);
  padding:60px 50px;
  text-align:center;
  max-width:760px;
  margin:0 auto;
}
.cta-box h2{
  margin:0 0 26px 0;
  font-size:28px;
  font-weight:900;
  text-transform:uppercase;
  color:var(--wine);
  line-height:1.2;
}
.cta-hours{
  margin:28px 0 0 0;
  color:#666;
}

/* ================= DOTS ================= */
.dots{
  position:absolute;
  width:150px;
  height:150px;
  background-image: radial-gradient(rgba(245, 158, 11, .55) 2px, transparent 2px);
  background-size: 14px 14px;
  pointer-events:none;
}
.dots--future{ left:-26px; bottom:-26px; }
.dots--career{ right:-26px; top:-26px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px){
  .menu{display:none}
  .hero-grid{grid-template-columns:1fr}
  .hero-right{padding:26px 18px}
  .hero-box{width:100%}
  .center-row{flex-direction:column}
  .icon-grid{grid-template-columns:1fr}
  .future-grid{grid-template-columns:1fr}
  .future-imgwrap{width:100%}
  .career-grid{grid-template-columns:1fr}
  .career-imgwrap{width:100%}
  .results-frame{padding:30px 20px}
  .results-grid{grid-template-columns:1fr}
  .blog-grid{grid-template-columns:1fr}
  .watermark{font-size:92px}
  .big-ghost{font-size:64px}
}


/* ================= POSTULATE FORM (VERSIÓN COMPACTA) ================= */

/* Contenedor principal: Centrado y con fondo gris */
.postulate-wrapper {
  background-color: #f4f4f4;
  min-height: 100vh;
  /* Ajustamos el padding superior para que no choque con el menú fijo, 
     pero que no baje demasiado el formulario */
  padding: 100px 15px 40px; 
  display: flex;
  justify-content: center;
  align-items: flex-start; /* flex-start evita problemas de corte en pantallas muy bajitas */
}

/* Tarjeta Blanca */
.postulate-card {
  background: #fff;
  width: 100%;
  max-width: 900px;
  /* Padding reducido para ganar espacio */
  padding: 30px 40px; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-radius: 4px;
}

/* Encabezado del Formulario */
.postulate-header {
  text-align: center;
  margin-bottom: 20px; /* Reducido de 30px */
}

.postulate-logo {
  height: 60px; /* Logo más pequeño para que no ocupe tanta pantalla */
  margin: 0 auto 10px;
  display: block;
}

.postulate-header h1 {
  font-size: 22px;
  color: #333;
  margin: 0 0 5px;
  font-weight: 700;
}

.subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}

.instruction {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.divider {
  border: 0;
  border-top: 1px solid #eee;
  margin: 15px 0;
}

.required-note {
  font-size: 12px;
  color: #666;
  text-align: left;
  margin-bottom: 15px;
}

.red { color: #ED1C24; }

/* ================= GRID Y CAMPOS ================= */
.postulate-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columnas iguales */
  gap: 30px; /* Espacio entre columnas */
}

.form-group {
  margin-bottom: 12px; /* Más compacto (antes 18px) */
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #555;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 8px 10px; /* Input más delgado */
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: #007bff;
  outline: none;
}

/* Checkboxes y Captcha en la columna derecha */
.checkbox-row {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

.captcha-placeholder {
  margin: 15px 0;
}

.privacy-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.privacy-group label {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 400;
  margin: 0;
}

.link {
  color: #007bff;
  text-decoration: underline;
}

/* Botón de Enviar */
.form-footer {
  margin-top: 20px;
  text-align: center;
}

.btn-submit {
  width: 100%;
  max-width: 300px;
  background-color: #007bff;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background-color: #0056b3;
}

/* ================= RESPONSIVE (Móvil) ================= */
@media (max-width: 768px) {
  .postulate-wrapper {
    padding-top: 90px; /* Un poco menos en móvil */
    align-items: flex-start;
  }
  
  .postulate-card {
    padding: 25px 20px; /* Menos padding lateral en móvil */
  }

  .form-grid {
    grid-template-columns: 1fr; /* 1 sola columna */
    gap: 15px;
  }
  
  .checkbox-row {
    flex-direction: column; /* Checkboxes uno debajo del otro en móvil */
    gap: 10px;
  }
  
  .btn-submit {
    max-width: 100%; /* Botón ancho completo en móvil */
  }
}


/* ================= AVISO DE PRIVACIDAD ================= */
.privacy-section {
  padding: 120px 20px 80px; /* Padding superior para librar el menú */
  background-color: #fff;
  min-height: 80vh;
  display: flex;
  justify-content: center;
}

.privacy-container {
  max-width: 900px;
  width: 100%;
}

.privacy-header {
  text-align: center;
  margin-bottom: 40px;
}

.privacy-logo {
  height: 80px;
  margin: 0 auto 20px;
  display: block;
}

.privacy-header h1 {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  color: #000; /* Negro puro como en la imagen */
  letter-spacing: 0.05em;
  margin: 0;
}

.privacy-content {
  font-family: "Times New Roman", Times, serif; /* Fuente serif clásica para documentos legales */
  font-size: 18px;
  line-height: 1.6;
  color: #000;
  text-align: justify; /* Texto justificado como en la imagen */
}

.privacy-content p {
  margin-bottom: 20px;
}

.privacy-list {
  list-style: none; /* Quitamos viñetas por defecto */
  padding: 0;
  margin: 0 0 20px 0;
}

.privacy-list li {
  margin-bottom: 15px;
  text-align: justify;
}

.privacy-content a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

.privacy-content a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .privacy-header h1 { font-size: 24px; }
  .privacy-content { font-size: 16px; }
}

/* ================= PÁGINA GRUPO GYA (NOSOTROS) ================= */

/* --- Héroe Fundador --- */
.about-hero {
  padding-top: 140px; /* Espacio para el menú fijo */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.about-hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
}

/* Marca de agua vertical "GyA" */
.watermark-vertical {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 120px;
  font-weight: 900;
  color: #f2f2f2; /* Color gris muy claro */
  user-select: none;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.founder-content {
  max-width: 500px;
  text-align: right; /* Texto alineado a la derecha como en la foto */
}

.founder-quote {
  font-size: 32px;
  font-weight: 900;
  color: var(--wine); /* Color vino */
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: none; /* Respetamos mayúsculas/minúsculas de la cita */
}

.founder-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.founder-role {
  font-weight: 400;
  color: #666;
}

.founder-image-wrapper {
  position: relative;
  z-index: 2;
}

.founder-img {
  width: 300px; /* Ajusta según el tamaño real de tu foto */
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Sombra suave */
}

/* --- Sección Corporativa --- */
.about-corp {
  padding: 60px 0;
}

.section-title-red {
  color: var(--wine);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.corp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.corp-img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.img-caption {
  font-size: 12px;
  color: #888; /* Gris claro para el pie de foto */
  margin-top: 10px;
  line-height: 1.4;
  font-style: italic;
}

.corp-text-col p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

.blue-text { color: #007bff; } /* Azul claro para resaltar */

/* --- Objetivos --- */
.about-objectives {
  padding: 40px 0 80px;
}

.objective-text-block {
  max-width: 900px; /* No ocupar todo el ancho para facilitar lectura */
}

.objective-text-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
  text-align: justify;
}

.blue-link {
  color: #007bff;
  text-decoration: none;
}
.blue-link:hover { text-decoration: underline; }

/* --- Cita Roja Grande --- */
.big-quote-section {
  padding: 40px 0 80px;
  text-align: center;
}

.big-red-quote {
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  color: var(--wine);
  text-transform: uppercase;
  line-height: 1.2;
}

/* --- Footer Simple Links --- */
.simple-footer {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 40px 0;
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  border-top: 1px solid #eee;
}

.simple-footer a { color: #888; }
.simple-footer a:hover { color: var(--wine); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .about-hero-container {
    flex-direction: column-reverse; /* Foto arriba en móvil, o abajo según prefieras */
    text-align: center;
  }
  
  .founder-content { text-align: center; }
  
  .watermark-vertical {
    display: none; /* Ocultar marca de agua en móvil para que no estorbe */
  }

  .corp-grid { grid-template-columns: 1fr; }
  
  .founder-quote { font-size: 24px; }
  .big-red-quote { font-size: 24px; }
}


/* ================= MODELO DE NEGOCIO ================= */

/* --- Hero y Marca de Agua --- */
.model-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.relative-container {
  position: relative;
}

/* Marca de agua vertical "Formación" */
.watermark-formation {
  position: absolute;
  left: -100px; /* Ajusta para salir de la pantalla o quedar al borde */
  top: 0;
  transform: rotate(-90deg);
  transform-origin: left top;
  font-size: 100px;
  font-weight: 900;
  color: #f4f4f4; /* Gris muy tenue casi blanco */
  text-transform: lowercase; /* O uppercase según prefieras, en la foto parece lowercase/capitalized */
  z-index: -1; /* Detrás del contenido */
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.model-gallery {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-img {
  width: 100%;
  max-width: 900px; /* Ancho máximo para que no se vea gigante */
  height: auto;
  border-radius: 2px;
}

.model-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: justify; /* O left, según prefieras */
}

.model-description p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
}

/* --- Beneficios e Incentivos --- */
.benefits-section {
  padding: 40px 0 80px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.list-title {
  color: var(--wine);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #444;
  line-height: 1.5;
}

.check-list li::before {
  content: "•"; /* Viñeta simple */
  color: #444;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* --- Infografía --- */
.process-section {
  padding: 40px 0 80px;
  background-color: #fff; /* Fondo blanco */
}

.text-center { text-align: center; }

.process-img {
  max-width: 800px; /* Controlamos el ancho para que no se pixelee si es angosta */
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .watermark-formation { display: none; } /* Ocultar en móvil */
  
  .benefits-grid {
    grid-template-columns: 1fr; /* Una sola columna en móvil */
    gap: 40px;
  }
  
  .model-description p { font-size: 16px; }
}

/* ================= BLOG SYSTEM ================= */

/* --- Layout General --- */
.blog-page-container {
  position: relative;
  min-height: 80vh;
}

.blog-watermark {
  position: fixed; /* Fijo para efecto cool o absolute */
  left: -40px;
  top: 200px;
  font-size: 120px;
  font-weight: 900;
  color: #f2f2f2;
  transform: rotate(-90deg);
  z-index: -1;
  pointer-events: none;
}

.blog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* Cards */
.blog-card-item {
  background: #fff;
  border: 1px solid #eee; /* Borde sutil */
  transition: transform 0.2s;
}

.blog-card-item:hover { transform: translateY(-5px); }

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-body h3 {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.3;
}
.blog-card-body h3 a { color: #333; }
.blog-card-body h3 a:hover { color: var(--red); }

.blog-author {
  font-size: 11px;
  color: #888;
  margin-bottom: 15px;
}

.btn-read-more {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
}
.btn-read-more:hover { background: #c4151b; }

/* Paginación */
.pagination {
  text-align: center;
  margin-bottom: 80px;
}
.page-num {
  padding: 5px 10px;
  margin: 0 2px;
  color: #333;
  font-weight: 700;
}
.page-num.active { color: var(--red); }

/* --- DETALLE BLOG --- */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Contenido 2/3, Sidebar 1/3 */
  gap: 60px;
  margin-bottom: 80px;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
}
.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.detail-img {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.detail-title {
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--wine);
  line-height: 1.1;
  margin-bottom: 10px;
}

.detail-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}
.detail-meta .author-name { font-weight: 700; color: #333; }

.detail-content {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

/* Banner CTA dentro del post */
.blog-banner-cta {
  margin: 40px 0;
  position: relative;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.banner-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Oscurecer imagen fondo */
}
.banner-content {
  position: relative;
  background: #333; /* Fallback */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.banner-overlay h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.banner-overlay h3 span { font-size: 32px; text-transform: uppercase; font-weight: 900; }

.btn-banner {
  background: #ff5722; /* Naranja como en foto */
  color: #fff;
  padding: 12px 24px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
}

/* Bio Box */
.author-bio-box {
  background: #f9f9f9;
  padding: 30px;
  margin-top: 40px;
  border-left: 4px solid var(--wine);
}
.author-bio-box h4 { margin: 0 0 10px 0; font-size: 18px; }
.author-bio-box p { font-size: 14px; margin-bottom: 10px; }

/* Sidebar */
.sidebar-widget { margin-bottom: 40px; }
.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #333;
}
.sidebar-widget ul { list-style: none; padding: 0; }
.sidebar-widget ul li { margin-bottom: 10px; }
.sidebar-widget ul li a { color: #666; font-size: 15px; }
.sidebar-widget ul li a:hover { color: var(--red); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  font-size: 12px;
  color: #888;
  background: #eee;
  padding: 4px 10px;
  border-radius: 2px;
}

/* Relacionados */
.related-section {
  background: #fff;
  padding: 60px 0;
  border-top: 1px solid #eee;
}
.related-title {
  text-align: center;
  color: var(--wine);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 40px;
}

/* Responsive Blog */
@media (max-width: 900px) {
  .blog-grid-3 { grid-template-columns: 1fr; }
  .blog-detail-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: 2; margin-top: 40px; }
  .blog-watermark { display: none; }
}

/* ================= BLOG LIST & SIDEBAR ================= */

/* Header del Blog */
.blog-page-header {
  padding-top: 140px;
  padding-bottom: 40px;
  text-align: center;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
}
.blog-main-title {
  color: var(--wine);
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 10px 0;
}
.blog-subtitle {
  color: #666;
  font-size: 16px;
}

/* Layout Principal (2 Columnas) */
.blog-page-content {
  position: relative;
  padding: 60px 0;
  min-height: 60vh;
}
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2 partes contenido, 1 parte sidebar */
  gap: 50px;
}

/* Grilla de Artículos */
.blog-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.blog-meta {
  font-size: 11px;
  color: #999;
  margin-bottom: 10px;
  font-weight: 600;
}
.blog-excerpt {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* --- ESTADO VACÍO (Empty State) --- */
.empty-state-box {
  text-align: center;
  background: #fff;
  border: 2px dashed #ddd;
  padding: 60px 40px;
  border-radius: 8px;
}
.empty-icon {
  font-size: 60px;
  margin-bottom: 20px;
  display: block;
}
.empty-state-box h2 {
  color: var(--wine);
  font-size: 24px;
  margin-bottom: 15px;
}
.empty-state-box p {
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
}

/* --- PAGINACIÓN --- */
.pagination-wrapper {
  margin-top: 50px;
  text-align: center;
  grid-column: span 2; /* Centrar en la grilla */
}
.pagination {
  display: inline-flex;
  gap: 5px;
  background: #f4f4f4;
  padding: 10px;
  border-radius: 30px;
}
.page-link {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
}
.page-link:hover {
  background: #ddd;
}
.page-link.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 5px rgba(237,28,36,0.3);
}

/* --- SIDEBAR --- */
.blog-sidebar {
  padding-left: 20px;
  border-left: 1px solid #eee;
}

/* Buscador */
.search-widget {
  display: flex;
  gap: 5px;
}
.search-widget input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.search-widget button {
  background: var(--wine);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 0 12px;
}

/* Lista Categorías */
.cat-list {
  list-style: none;
  padding: 0;
}
.cat-list li {
  border-bottom: 1px solid #f0f0f0;
}
.cat-list li a {
  display: block;
  padding: 10px 0;
  color: #555;
  font-size: 15px;
  transition: padding 0.2s;
}
.cat-list li a:hover {
  color: var(--red);
  padding-left: 5px;
}

/* Promo Box Sidebar */
.sidebar-promo {
  background: var(--wine);
  color: #fff;
  padding: 30px;
  text-align: center;
  border-radius: 4px;
  margin-top: 40px;
}
.sidebar-promo h4 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 10px 0;
}
.sidebar-promo p { color: #ddd; font-size: 13px; margin-bottom: 20px; }
.btn-promo {
  display: inline-block;
  background: #fff;
  color: var(--wine);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 12px;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { padding-left: 0; border-left: none; border-top: 1px solid #eee; padding-top: 40px; }
  .blog-grid-2 { grid-template-columns: 1fr; }
}


/* ================= OFICINAS ================= */

/* --- Intro --- */
.offices-hero {
  padding-top: 140px; /* Menú fijo */
  padding-bottom: 60px;
}

.offices-title {
  color: var(--wine);
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 30px;
  line-height: 1.2;
}

.offices-intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

.highlight-text {
  margin-top: 15px;
  font-weight: 600;
  color: #333;
}

.text-center { text-align: center; }

/* --- Grilla de Tarjetas --- */
.offices-list {
  padding: 0 0 80px;
}

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

/* Tarjeta Individual */
.office-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  transition: transform 0.2s;
}

.office-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Mapa (Embed) */
.map-wrapper {
  width: 100%;
  height: 250px;
  background: #eee;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Info Abajo */
.office-info {
  padding: 25px;
}

.office-info h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--wine);
  margin: 0 0 15px 0;
}

.office-info .address {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.office-info .phone {
  font-size: 15px;
  color: #333;
  font-weight: 700;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .offices-grid {
    grid-template-columns: 1fr 1fr; /* 2 columnas en tablets */
  }
}

@media (max-width: 768px) {
  .offices-title { font-size: 24px; }
  .offices-grid {
    grid-template-columns: 1fr; /* 1 columna en móvil */
  }
  .map-wrapper { height: 200px; }
}

/* Estilos para botones de compartir */
.share-section {
  display: flex;
  align-items: center;
  gap: 15px; /* Espacio entre botones */
  margin-top: 20px;
  font-size: 14px;
}

.share-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%; /* Los hace redondos */
  color: #fff !important; /* Texto blanco forzado */
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  transition: transform 0.2s;
}

.share-icon:hover {
  transform: translateY(-3px); /* Efecto de elevación al pasar el mouse */
  opacity: 0.9;
}

/* Colores Oficiales */
.fb { background-color: #3b5998; } /* Azul Facebook */
.li { background-color: #0077b5; } /* Azul LinkedIn */
.tw { background-color: #000000; } /* Negro X/Twitter */
.wa { background-color: #25d366; } /* Verde WhatsApp */


/* =========================================
   1. LANDING LIST (CATÁLOGO DE OPORTUNIDADES)
   Estilo: Dark Glassmorphism Immersivo
   ========================================= */

.dark-opportunities-wrapper {
  position: relative;
  background-color: #050505; /* Negro puro */
  min-height: 100vh;
  padding-top: 140px; /* Espacio para navbar fija */
  padding-bottom: 100px;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif; /* Asegura fuente moderna */
}

/* --- Fondo Animado (Blobs) --- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px); /* Difuminado suave */
  opacity: 0.5;
  z-index: 0;
  animation: floatBlob 12s infinite ease-in-out alternate;
}

.blob-1 { top: -10%; left: -10%; width: 600px; height: 600px; background: #5c0816; } /* Vino oscuro */
.blob-2 { bottom: 0%; right: -5%; width: 500px; height: 500px; background: #8a1018; } /* Rojo oscuro */
.blob-3 { top: 40%; left: 40%; width: 300px; height: 300px; background: #2b0308; opacity: 0.8; animation-duration: 18s; }

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -40px) scale(1.1); }
}

/* --- Contenedor Glass --- */
.glass-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.glass-header { margin-bottom: 60px; }

.glass-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(90deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-subtitle {
  font-size: 1.2rem;
  color: #999;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Grilla de Tarjetas --- */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px); /* Efecto vidrio real */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Rebote suave */
  display: flex;
  flex-direction: column;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(237, 28, 36, 0.5); /* Borde rojo al hover */
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.glass-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* Rellena el espacio sin deformar */
  object-position: center top; /* <--- CLAVE: Enfoca siempre la parte de arriba (caras) */
  transition: transform 0.6s ease;
}

.glass-card:hover .glass-card-img img { transform: scale(1.1); }

.glass-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.glass-card-content h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.glass-card-content p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-glass {
  align-self: flex-start;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: color 0.3s;
}

.btn-glass:hover { color: var(--red); }


/* =========================================
   2. LANDING DETAIL (PÁGINA DE VENTA)
   Estilo: Editorial Clean & High Readability
   ========================================= */

/* --- Hero Section Parallax --- */
.landing-hero {
  position: relative;
  height: 65vh; /* Altura inmersiva */
  min-height: 500px;
  background-attachment: fixed; /* Efecto Parallax (Fijo al scrollear) */
  background-position: center 20%;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.landing-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8)); /* Gradiente dramático */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}

.landing-title {
  color: #fff;
  font-size: 3.2rem; /* Grande e impactante */
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  max-width: 900px;
  margin-bottom: 15px;
}

.landing-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 35px;
}

/* --- Contenido Editorial (Lectura Perfecta) --- */
.container-narrow {
  max-width: 760px; /* Ancho óptimo para lectura humana */
  margin: 0 auto;
  padding: 60px 20px;
}

.landing-content {
  font-family: 'Georgia', serif; /* O una sans-serif muy limpia como Inter */
  color: #333;
  font-size: 1.15rem; /* 18px+ para no cansar la vista */
  line-height: 1.8; /* Espaciado generoso entre líneas */
}

/* Títulos dentro del texto */
.landing-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #1a1a1a;
  font-weight: 800;
  margin-top: 50px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.landing-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: var(--wine);
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 15px;
}

/* Párrafos */
.landing-content p {
  margin-bottom: 25px;
  color: #444;
}

/* Negritas */
.landing-content strong {
  color: #000;
  font-weight: 700;
}

/* Listas atractivas */
.landing-content ul {
  list-style: none; /* Quitamos puntos feos */
  padding: 0;
  margin: 30px 0;
}

.landing-content li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.landing-content li::before {
  content: '✓'; /* Checkmark */
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--red); /* Check rojo */
  font-weight: 900;
  font-size: 1.2rem;
}

/* Citas (Blockquotes) */
.landing-content blockquote {
  border-left: 4px solid var(--wine);
  background: #fcfcfc;
  padding: 30px;
  margin: 40px 0;
  font-style: italic;
  font-size: 1.3rem;
  color: #555;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* --- CTA Box Final --- */
.landing-cta-box {
  background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
  border: 1px solid #eee;
  padding: 60px 40px;
  text-align: center;
  border-radius: 12px;
  margin-top: 60px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.landing-cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--wine), var(--red));
}

.landing-cta-box h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: #222;
}

/* Botón Sólido Mejorado */
.btn--solid {
  background-color: var(--red);
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px; /* Botón píldora */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 10px 20px rgba(237, 28, 36, 0.3);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn--solid:hover {
  background-color: var(--wine);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(114, 47, 55, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .landing-title { font-size: 2.2rem; }
  .glass-title { font-size: 2.5rem; }
  .container-narrow { padding: 40px 20px; }
  .landing-content { font-size: 1.05rem; }
}

.badge-glass {
  /* Fondo semitransparente con tinte rojo */
  background: rgba(237, 28, 36, 0.15); 
  
  /* Borde rojo brillante */
  border: 1px solid rgba(237, 28, 36, 0.6);
  
  /* Texto blanco puro para contraste */
  color: #fff;
  
  /* Sombra (Glow) roja sutil */
  box-shadow: 0 0 10px rgba(237, 28, 36, 0.3);
  
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 800; /* Más grueso */
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
  display: inline-block;
  margin-bottom: 20px;
}

/* --- FORZAR TEXTO NEGRO EN CONTENIDO --- */

/* Para el contenido de Landings y Blogs */
.landing-content, 
.ck-content { 
  color: #000000 !important; /* Negro absoluto obligatorio */
}

/* Asegurar que los párrafos, listas y encabezados hereden el negro */
.landing-content p, 
.landing-content li, 
.landing-content h2, 
.landing-content h3,
.ck-content p,
.ck-content li {
  color: #000000 !important;
}

/* Opcional: Si quieres que las negritas resalten más aún */
.landing-content strong,
.ck-content strong {
  color: #000000;
  font-weight: 900;
}


/* =============================================================================
   NUEVOS ESTILOS - BASE MODERNA
   Actualizacion de diseno UI/UX - Grupo GYA
   ============================================================================= */

/* --- VARIABLES ACTUALIZADAS --- */
:root {
  --gya-wine: #8B1A32;
  --gya-wine-dark: #6B1426;
  --gya-wine-light: #A52A42;
  --gya-red: #ED1C24;
  --gya-gold: #C9A227;
  --gya-text: #222222;
  --gya-text-light: #666666;
  --gya-bg: #ffffff;
  --gya-bg-light: #f8f9fa;
  --gya-border: #e2e8f0;
  --gya-shadow: rgba(0, 0, 0, 0.1);
  --gya-shadow-lg: rgba(0, 0, 0, 0.15);
  --gya-transition: 0.3s ease;
  --gya-radius: 8px;
  --gya-radius-lg: 16px;
}

/* --- SKIP LINK (Accesibilidad) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gya-wine);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--gya-radius) var(--gya-radius);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--gya-transition);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gya-gold);
  outline-offset: 2px;
}

/* --- NAV MEJORADO --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all var(--gya-transition);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px var(--gya-shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 50px;
  width: auto;
  transition: transform var(--gya-transition);
}

.brand:hover img {
  transform: scale(1.05);
}

/* Menu Links */
.menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-link {
  position: relative;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gya-text-light);
  border-radius: var(--gya-radius);
  transition: all var(--gya-transition);
}

.menu-link:hover {
  color: var(--gya-wine);
  background: rgba(139, 26, 50, 0.05);
}

.menu-link.active {
  color: var(--gya-wine);
}

.menu-link.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gya-wine);
  border-radius: 2px;
}

/* CTA Button in Nav */
.menu-link--cta {
  background: linear-gradient(135deg, var(--gya-wine) 0%, var(--gya-wine-dark) 100%);
  color: #fff !important;
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 4px 15px rgba(139, 26, 50, 0.3);
}

.menu-link--cta:hover {
  background: linear-gradient(135deg, var(--gya-wine-light) 0%, var(--gya-wine) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 26, 50, 0.4);
}

.menu-link--cta i {
  margin-right: 6px;
}

/* --- HAMBURGER BUTTON (Mobile) --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--gya-text);
  margin: 3px 0;
  border-radius: 2px;
  transition: all var(--gya-transition);
}

.hamburger:hover .hamburger-line {
  background: var(--gya-wine);
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--gya-transition);
}

.mobile-menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu-overlay.is-active .mobile-menu-content {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gya-bg-light);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  color: var(--gya-text);
  cursor: pointer;
  transition: all var(--gya-transition);
}

.mobile-menu-close:hover {
  background: var(--gya-wine);
  color: #fff;
}

.mobile-nav {
  flex: 1;
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
}

.mobile-link {
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--gya-text);
  border-bottom: 1px solid var(--gya-border);
  transition: all var(--gya-transition);
}

.mobile-link:hover {
  color: var(--gya-wine);
  padding-left: 8px;
}

.mobile-link--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--gya-wine) 0%, var(--gya-wine-dark) 100%);
  color: #fff !important;
  border-radius: 50px;
  border: none;
  text-align: center;
}

.mobile-link--cta i {
  margin-right: 8px;
}

.mobile-menu-footer {
  padding: 24px;
  background: var(--gya-bg-light);
  text-align: center;
}

.mobile-menu-footer p {
  margin: 0 0 16px;
  color: var(--gya-text);
  font-weight: 600;
}

.mobile-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.mobile-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: var(--gya-wine);
  font-size: 18px;
  transition: all var(--gya-transition);
  box-shadow: 0 2px 8px var(--gya-shadow);
}

.mobile-social a:hover {
  background: var(--gya-wine);
  color: #fff;
  transform: translateY(-2px);
}

/* --- FOOTER MODERNO --- */
.footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  color: #fff;
  padding: 60px 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  padding-right: 20px;
}

.footer-logo {
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: all var(--gya-transition);
}

.social-link:hover {
  background: var(--gya-wine);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gya-wine);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: all var(--gya-transition);
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-contact li i {
  color: var(--gya-wine);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--gya-transition);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--gya-transition);
}

.footer-legal a:hover {
  color: #fff;
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.3);
}

/* --- WHATSAPP FLOTANTE --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--gya-transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  }
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablet Landscape */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-contact {
    grid-column: span 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-contact .footer-title {
    grid-column: span 2;
  }

  .menu {
    gap: 4px;
  }

  .menu-link {
    padding: 8px 10px;
    font-size: 11px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .footer-brand {
    grid-column: span 2;
  }

  .footer-contact {
    grid-column: span 2;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1;
  }

  .footer-contact {
    display: block;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 28px;
    bottom: 20px;
    right: 20px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .nav-inner {
    padding: 12px 16px;
  }

  .brand img {
    height: 40px;
  }

  .footer {
    padding: 40px 0 0;
  }

  .footer-title {
    font-size: 13px;
  }

  .footer-links a,
  .footer-contact li,
  .footer-desc {
    font-size: 13px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 16px;
    right: 16px;
  }
}

/* --- ANIMACIONES SCROLL (Fade In) --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- BOTONES MEJORADOS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gya-red) 0%, var(--gya-wine) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--gya-transition);
  box-shadow: 0 4px 15px rgba(139, 26, 50, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 26, 50, 0.4);
  background: linear-gradient(135deg, var(--gya-wine-light) 0%, var(--gya-wine-dark) 100%);
}

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

/* Button Variants */
.btn--outline {
  background: transparent;
  border: 2px solid var(--gya-wine);
  color: var(--gya-wine);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--gya-wine);
  color: #fff;
  box-shadow: 0 6px 20px rgba(139, 26, 50, 0.3);
}

.btn--white {
  background: #fff;
  color: var(--gya-wine);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
  background: var(--gya-bg-light);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 14px;
  border-radius: 50px;
}

/* --- CARDS MEJORADAS --- */
.card {
  background: #fff;
  border-radius: var(--gya-radius-lg);
  box-shadow: 0 4px 20px var(--gya-shadow);
  overflow: hidden;
  transition: all var(--gya-transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--gya-shadow-lg);
}

/* --- INPUTS MEJORADOS --- */
.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--gya-text);
  background: #fff;
  border: 2px solid var(--gya-border);
  border-radius: var(--gya-radius);
  transition: all var(--gya-transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gya-wine);
  box-shadow: 0 0 0 4px rgba(139, 26, 50, 0.1);
}

.form-control::placeholder {
  color: #aaa;
}

/* --- UTILIDADES --- */
.text-wine { color: var(--gya-wine) !important; }
.text-red { color: var(--gya-red) !important; }
.bg-wine { background-color: var(--gya-wine) !important; }
.bg-light { background-color: var(--gya-bg-light) !important; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.py-section { padding: 80px 0; }

@media (max-width: 768px) {
  .py-section { padding: 50px 0; }
}

/* --- PRINT STYLES --- */
@media print {
  .nav,
  .footer,
  .whatsapp-float,
  .hamburger,
  .mobile-menu-overlay {
    display: none !important;
  }

  main {
    padding-top: 0 !important;
  }
}

/* =============================================================================
   MEJORAS ADICIONALES DE DISENO - V2
   ============================================================================= */

/* --- HERO SECTION MEJORADA --- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 26, 50, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-title {
  position: relative;
  background: linear-gradient(135deg, var(--gya-wine) 0%, var(--gya-wine-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-box {
  position: relative;
  border: 2px solid rgba(139, 26, 50, 0.2);
  border-radius: var(--gya-radius-lg);
  background: linear-gradient(145deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.hero-box:hover {
  border-color: rgba(139, 26, 50, 0.4);
  box-shadow: 0 25px 80px rgba(139, 26, 50, 0.12);
  transform: translateY(-5px);
}

/* --- SECTION TITLES MEJORADOS --- */
.h2-big,
.section-title,
.blog-title,
.cta-box h2 {
  position: relative;
}

.section-title-decorated {
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}

.section-title-decorated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gya-wine) 0%, var(--gya-red) 100%);
  border-radius: 2px;
}

/* --- ICONOS SECTION MEJORADA --- */
.icons {
  background: linear-gradient(180deg, #fff 0%, var(--gya-bg-light) 100%);
  position: relative;
}

.icon-img {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
}

.icon-grid > div:hover .icon-img {
  transform: scale(1.1) translateY(-8px);
  filter: drop-shadow(0 15px 30px rgba(139, 26, 50, 0.15));
}

.icon-label {
  transition: all 0.3s ease;
}

.icon-grid > div:hover .icon-label {
  color: var(--gya-wine);
  transform: translateY(4px);
}

/* --- FUTURE SECTION EFECTOS --- */
.future-imgwrap {
  border-radius: var(--gya-radius-lg);
  overflow: hidden;
  transition: all 0.5s ease;
}

.future-imgwrap:hover {
  transform: scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
}

.future-imgwrap img {
  transition: transform 0.8s ease;
}

.future-imgwrap:hover img {
  transform: scale(1.05);
}

/* --- CAREER SECTION EFECTOS --- */
.career-imgwrap {
  border-radius: var(--gya-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: all 0.5s ease;
}

.career-imgwrap:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

/* --- RESULTS SECTION MEJORADA --- */
.results-frame {
  border-radius: var(--gya-radius-lg);
  background: linear-gradient(145deg, #fff 0%, #fefefe 100%);
  border: 2px solid rgba(139, 26, 50, 0.15);
  transition: all 0.4s ease;
}

.results-frame:hover {
  border-color: rgba(139, 26, 50, 0.3);
  box-shadow: 0 20px 60px rgba(139, 26, 50, 0.08);
}

.results-card {
  border-radius: var(--gya-radius-lg);
  background: linear-gradient(135deg, var(--gya-wine) 0%, var(--gya-wine-dark) 100%);
  transition: all 0.4s ease;
}

.results-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(139, 26, 50, 0.4);
}

/* --- BLOG CARDS MEJORADAS --- */
.blog-card {
  border-radius: var(--gya-radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.blog-img {
  overflow: hidden;
  border-radius: var(--gya-radius) var(--gya-radius) 0 0;
}

.blog-img img {
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.08);
}

/* --- CTA BOX MEJORADO --- */
.cta-box {
  border-radius: var(--gya-radius-lg);
  background: linear-gradient(145deg, #fff 0%, #fafafa 100%);
  border: 2px solid rgba(139, 26, 50, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gya-wine) 0%, var(--gya-red) 50%, var(--gya-gold) 100%);
}

.cta-box:hover {
  border-color: rgba(139, 26, 50, 0.4);
  box-shadow: 0 20px 60px rgba(139, 26, 50, 0.1);
  transform: translateY(-3px);
}

/* --- DOTS PATTERN MEJORADO --- */
.dots {
  opacity: 0.6;
  transition: all 0.4s ease;
}

.future-imgwrap:hover .dots,
.career-imgwrap:hover .dots {
  opacity: 1;
  transform: scale(1.1);
}

/* --- SCROLL ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 0.8s ease forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.6s ease forwards;
}

/* Delay classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* --- GRADIENT TEXT UTILITY --- */
.gradient-text {
  background: linear-gradient(135deg, var(--gya-wine) 0%, var(--gya-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- GLASS EFFECT UTILITY --- */
.glass-effect {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- GLOW EFFECT --- */
.glow-wine {
  box-shadow: 0 0 30px rgba(139, 26, 50, 0.3);
}

.glow-wine:hover {
  box-shadow: 0 0 50px rgba(139, 26, 50, 0.5);
}

/* --- LOADING SKELETON --- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--gya-radius);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- BADGE STYLES --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
}

.badge-wine {
  background: rgba(139, 26, 50, 0.1);
  color: var(--gya-wine);
}

.badge-success {
  background: rgba(72, 187, 120, 0.1);
  color: #38a169;
}

.badge-warning {
  background: rgba(236, 201, 75, 0.2);
  color: #b7791f;
}

/* --- DIVIDER STYLES --- */
.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gya-border), transparent);
}

.divider-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gya-text-light);
}

/* --- TOOLTIP --- */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 8px 14px;
  background: var(--gya-text);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  border-radius: var(--gya-radius);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

/* --- FOCUS VISIBLE (Accesibilidad) --- */
*:focus-visible {
  outline: 3px solid var(--gya-wine);
  outline-offset: 2px;
}

/* --- SELECTION COLOR --- */
::selection {
  background: rgba(139, 26, 50, 0.2);
  color: var(--gya-wine-dark);
}

/* --- SCROLLBAR CUSTOM --- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gya-bg-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gya-wine-light), var(--gya-wine));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gya-wine), var(--gya-wine-dark));
}