/* Estilos para la sección Conócenos */
:root{
      --light-bg: rgba(245, 245, 245, 0.85); /* Fondo semitransparente */
      --title-font: 'Georgia', serif;
      --text-font: 'Havana', sans-serif;
}

body {
  position: relative;
}
/* Sección About (renombrada) */
.cn-about-section {
  padding: 60px 20px;
  background-color: var(--light-bg);
  margin: 40px 0;
  margin-bottom: 0;
  position: relative;
  z-index: 0;
  margin-bottom: 0;
}

.cn-about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cn-about-header {
  text-align: center;
  margin-bottom: 40px;
}

.cn-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.cn-about-content {
  padding: 20px;
}

.cn-about-text {
  margin-bottom: 30px;
}

/* Featured (renombrado) */
.cn-features-box {
  background-color: var(--light-bg);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cn-features-title {
  font-size: 1.5rem;
  color: #0d486e;
  margin-bottom: 20px;
  font-family: 'PT Serif', serif;
}

.cn-features-list {
  list-style: none;
  padding: 0;
}

.cn-feature-item {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.6;
}

.cn-feature-icon {
  margin-right: 15px;
  font-size: 1.3rem;
  color: #1a7ab3;
}

.cn-about-image {
  position: relative;
}

.cn-image-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

.cn-featured-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.cn-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(13,72,110,0.1), rgba(13,72,110,0.3));
}
/* Sección Misión y Visión */
.mission-vision {
  padding: 60px 20px;
  background-color: var(--light-bg);
}

.mv-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mv-card {
  background-color: var(--light-bg);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mv-icon {
  font-size: 2.5rem;
  color: white;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-card .mv-icon {
  background: linear-gradient(135deg, #1a7ab3, #0d486e);
}

.vision-card .mv-icon {
  background: linear-gradient(135deg, #6e48aa, #9d50bb);
}

.mv-card h3 {
  font-size: 1.8rem;
  color: #0d486e;
  margin-bottom: 20px;
  font-family: 'PT Serif', serif;
}

.mv-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* Sección Historia */
.history-section {
  padding: 60px 20px;
  background-color: var(--light-bg);
  margin-top: 0;
}

.history-container {
  max-width: 1200px;
  margin: 0 auto;
}

.history-header {
  text-align: center;
  margin-bottom: 40px;
}

.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.history-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.history-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.history-text {
  padding: 20px;
}

.history-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.history-text p strong {
  color: #0d486e;
}

/* Sección Valores */
.values-section {
  padding: 60px 20px;
  background-color: var(--light-bg);
}

.values-container {
  max-width: 1200px;
  margin: 0 auto;
}

.values-header {
  text-align: center;
  margin-bottom: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: var(--light-bg);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.value-icon {
  font-size: 2rem;
  color: #1a7ab3;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.5rem;
  color: #0d486e;
  margin-bottom: 15px;
  font-family: 'PT Serif', serif;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Sección CTA */
.cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0d486e 0%, #1a7ab3 100%);
  text-align: center;
  color: white;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: 'PT Serif', serif;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  z-index: -1;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  z-index: 0;
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background-color: white;
  color: #0d486e;
}

.cta-btn.primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.cta-btn.secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn.secondary:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid,
  .history-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .mv-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* ESTILOS ESPECÍFICOS PARA PÁGINA CONÓCENOS */

/* Hero Section Compacto */
.cn-hero-section {
  top: 80px;  
  height: 120px;
  z-index: -1;
  position: relative;
  height: 30vh; /* Altura reducida a 1/3 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0px;
  
}

.cn-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-color: rgb(13, 71, 110);
  clip-path: polygon(0% 0%, 100% 0%, 70% 100%, 0% 100%);
  background-position: center;
  z-index: 1;
  filter: brightness(50%);
}

.cn-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.cn-hero-title {
  font-family: 'PT Serif', 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
  font-weight: bold;
}

.cn-hero-highlight {
  color: #ffffff;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(255, 255, 255, 0.3);
}

.cn-hero-subtitle {
  font-family: 'Crimson Text', serif;
  font-size: 1.3rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .cn-hero-section {
    height: 25vh;
  }
  
  .cn-hero-title {
    font-size: 2rem;
  }
  
  .cn-hero-subtitle {
    font-size: 1.1rem;
  }
}

.hero-spacer {
  height: 20px;
  width: 100%;
  pointer-events: none; /* Permite interactuar con el hero a través de este elemento */
}

section:target {
  animation: highlight 1.5s ease;
}

@keyframes highlight {
  0% { background-color: rgba(13, 72, 110, 0.1); }
  100% { background-color: transparent; }
}

/* Aplicar Georgia a todos los títulos */
h1, h2, h3, h4, h5, h6,
.cn-hero-content h1, 
.section-title, 
.cn-features-title, 
.mv-card h3, 
.value-card h3, 
.cta-container h2,
.footer-section h3 {
  font-family: var(--title-font);
  font-weight: 700; /* Negrita para títulos */
}

/* Aplicar Havana al texto normal */
body, p, li, 
.lead-text, 
.cn-feature-item span, 
.mv-card p, 
.history-text p, 
.value-card p,
.cta-container p,
.contact-info p,
.footer-links a {
  font-family: var(--text-font);
  font-weight: 400;
  line-height: 1.6; /* Mejor legibilidad */
}
