/* ====== Variables de color ====== */
:root {
  --color-primario: #1A2E5D;   /* Azul profundo */
  --color-secundario: #CFAE4D; /* Dorado cálido */
  --color-acento: #00C4B3;     /* Turquesa */
  --color-fondo: #f8f9fa;
  --color-texto: #333;
}

/* ====== General ====== */
body {
  font-family: 'Segoe UI', sans-serif;
  color: var(--color-texto);
  background-color: var(--color-fondo);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--color-primario);
}

a {
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: var(--color-acento);
}

.linea-decorativa {
  display: block;
  width: 120px;      /* Más ancha */
  height: 6px;       /* Más gruesa */
  margin:  auto; /* Más espacio arriba y abajo */
  margin-bottom: 20px;
  background: linear-gradient(90deg, #CFAE4D, #00C4B3);
  border-radius: 3px;
}

/* ====== Hero ====== */
.hero {
  background: url('.//src/img/hero.png') no-repeat center center/cover;
  font-size: 8rem;
  position: relative;
  color: white;
  padding: 140px 20px;
  text-align: center;
  min-height: 100vh; /* Ocupa toda la altura de la pantalla */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra el contenido verticalmente */
  align-items: center;     /* Centra horizontalmente */
  padding: 4rem 2rem;      /* Espaciado interno */
  text-align: center;      /* Asegura alineación en medio */
}
.hero::after {
  content: "";
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(26, 46, 93, 0.9); /* Azul profundo semi-transparente */
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 5.5rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #CFAE4D, #00C4B3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 0;
  padding-bottom: 0;
}
.fs3{
  font-family: sans-serif;   
  font-size: 2rem;           
  font-weight: 800;                   
  line-height: 1.5;                   
  text-transform: uppercase;          
  letter-spacing: 2px;               
  color: #ffffff;  
}
.lead{
    font-size: 1.5rem;
}

.hero .btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  background: var(--color-secundario);
  border: none;
}
.hero .btn:hover {
  background: var(--color-acento);
  color: #fff;
}

/* ====== Proyectos ====== */
#proyectos .card {
  border: none;
  border-radius: 15px;
  transition: 0.3s ease;
  overflow: hidden; /* evita que el contenido se salga */
}

#proyectos .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#proyectos .card:hover .card-title{
  background: linear-gradient(90deg, #CFAE4D, #00C4B3); /* dorado → azul */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}


#proyectos .card-title {
  color: var(--color-primario);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

#proyectos h2{
  font-size: 3rem;
}


/* ==== Texto con degradado (ejemplo para títulos/destacados) ==== */
.text-success,
.text-warning {
  background: linear-gradient(90deg, #CFAE4D, #00C4B3); /* dorado → azul */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==== Modal personalizado para proyectos ==== */
#proyectos .modal-body {
  padding: 0; /* quita márgenes internos */
}

#proyectos .modal-body iframe {
  width: 100% !important;
  height: 80vh; /* ocupa el 80% de la altura de la pantalla */
  border: none;
  display: block;
}

#proyectos .modal-dialog.modal-xl {
  max-width: 95%; /* modal casi fullscreen */
}

#proyectos .modal-content {
  border-radius: 15px;
  overflow: hidden;
}
#proyectos .text-muted{
  font-size: 1.3rem;
  color: #1A2E5D;
}



/*==== MODALS ====*/
.modal-body iframe {
  width: 100%;
  height: 80vh; /* 80% de la pantalla */
  border: none;
  display: block;
}

.modal-dialog.modal-xl {
  max-width: 95%;
}

.modal-content {
  border-radius: 15px;
  overflow: hidden;
}
.btn-recorrido {
  background-color: #0DCAF0; 
  color: #fff;
  border: none;
  font-weight: 600;
}

.btn-recorrido:hover {
  background: linear-gradient(90deg, #CFAE4D, #00C4B3);
  color: #fff;
}

.badge-custom {
  background-color:var(--color-acento);
  color: white;
}
.btn-recorrido {
  background-color:var(--color-acento);
  color: white;
}


.certificado-thumb {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.certificado-thumb:active {
    transform: scale(2); /* Se agranda al hacer clic */
    cursor: zoom-out;
}
.modal-body .recon img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 50%;
  height: auto;
}





/* ====== Planes ====== */
.pricing {
  background: #f1f3f6;
}
.pricing .card {
  border: 2px solid transparent;
  border-radius: 15px;
  transition: all 0.3s ease;
}
.pricing .card:hover {
  border-color: var(--color-acento);
  transform: scale(1.05);
}
.pricing .card-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.pricing .btn {
  width: 100%;
  border-radius: 30px;
  padding: 10px;
  font-weight: 600;
}
#Planes h2{
  font-size: 3rem;
}

#Planes .text-success{
  background: linear-gradient(90deg, #CFAE4D, #00C4B3); /* dorado → azul */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

#Planes .text-escencial{
  color: var(--color-acento);
}
#Planes .btn-escencial{
  background-color: #00C4B3;
  color: white;
}
#Planes .text-premium{
  color: var(--color-primario)
}
#Planes .btn-premium{
  background-color: var(--color-primario);
  color: white;
}
#Planes .btn-Profesional{
  background-color: #CFAE4D;
  color: white;
}
#Planes .text-yellow{
  color: #CFAE4D;
}
#Planes .blue{
  color: #1A2E5D;
}
#Planes .border-Blue{
  border: 2.5px solid var(--color-primario)
}
#Planes .border-Yellow{
  border: 2.5px solid var(--color-secundario)
}
#Planes .border-Turqueza{
  border: 2.5px solid var(--color-acento)
}
#Planes h6{
  font-size: 1.3rem;
  font-weight:bold;
}
#Planes h6{
  font-size: 1.2rem;
  font-weight: bold;
}
/* ====== Contacto ====== */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.contact-card i {
  font-size: 1.5rem;
  color: #1A2E5D; /* Azul profundo */
}

.contact-card p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}
#contacto h2{
  font-size: 3rem;
}
#contacto .text-muted{
  font-size: 1.3rem;
  color: #1A2E5D;
}
.link-clean {
  color: inherit;          /* Hereda el color del texto padre */
  text-decoration: none;   /* Quita el subrayado */
}

.link-clean:hover {
  text-decoration: none;   /* Sin subrayado al pasar el mouse */
  color: inherit;          /* Evita que cambie de color al hover */
}


/* ====== Footer ====== */
footer {
  background: var(--color-primario);
  color: white;
  padding: 50px 20px;
}
footer h5, footer h6 {
  color: var(--color-acento);
}
footer a {
  color: var(--color-secundario);
}
footer a:hover {
  color: white;
}
footer ul li {
  margin-bottom: 8px;
}
footer .text-center {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
  margin-top: 30px;
  font-size: 0.9rem;
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem auto;
  max-width: 900px;
}
.logo {
  margin-bottom: 1rem;
}

.logo img {
  max-width: 180px;  /* tamaño del logo */
  height: auto;
  display: block;
}

