/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BASE TIPOGRÁFICA
========================= */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #3F3F3F;
padding-left: 8px;
padding-right: 8px;
padding-bottom: 8px;
padding-top: 8px;
  
}

h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

h1{
  font-family: 'Playfair Display', serif;
  font-weight: 100;
  letter-spacing: 0.01em;
 font-size: 18px;margin-left:42px;
}
/* =========================
   TEXTO
========================= */
p {
  font-size: 1.05rem;
  color: #4A4A4A;
  margin-bottom: 1.3rem;
}

.split-text p,
.card p {
  max-width: 520px;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background-color: #2d1344;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: .1rem .1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 100px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}

.nav-menu a {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
}

.nav-menu a:hover {
  color: #E6DCF5;
}

.nav-cta {
  color: #1FAFB5;
  font-weight: 500;
}

/* =========================
   HERO
========================= */
.hero-purple {
  background-color: #5A2D82;
}

.hero {
  padding: 5.5rem 2rem;
}

.hero-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.hero-text h1 {
  color: #F5F0FA;
  margin-bottom: 1.2rem;
}

.hero-text p {
  color: #E6DCF5;
  font-size: 1.1rem;
  max-width: 480px;
}

.hero-image img {
  width: 100%;
}

/* =========================
   BOTONES
========================= */
.btn {
  display: inline-block;
  padding: 0.95rem 1.9rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: #1FAFB5;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #17979C;
}

/* =========================
   SECCIONES
========================= */
.section {
  padding: 5rem 2rem;
  padding-right: 33px;
  padding-left: 33px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3.5rem;
}

/* =========================
   SPLIT
========================= */
.split {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split-image,
.split-text {
  flex: 1;
}

.split-image img {
  width: 100%;
  border-radius: 8px;
}

/* =========================
   CARDS
========================= */
.cards {
  background-color: #fafafa;
}

.card-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
}

.card {
  background-color: #ffffff;
  padding: 2.2rem;
  border-radius: 8px;
}

.card h3 {
  margin-bottom: 0.8rem;
}

.card a {
  display: inline-block;
  margin-top: 1.1rem;
  color: #5A2D82;
  text-decoration: none;
  font-weight: 500;
}
/* El contenedor de la imagen */
.card-image {
  width: 100%;
  height: 350px; /* Definimos una altura fija vertical */
  overflow: hidden; /* Esto corta lo que sobre de la imagen */
  display: block;
}

/* La imagen dentro del contenedor */
.card-image img {
  width: 100%;
  height: 100%; /* Obligamos a la imagen a medir lo mismo que el contenedor */
  object-fit: cover; /* ESTO es lo que evita que se deforme o se salga */
  object-position: center; /* Centra la parte importante de la foto */
  display: block;
}
/* =========================
   CTA FINAL
========================= */
.cta-final {
  text-align: center;
}

/* =========================
   FOOTER
========================= */


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .hero-content,
  .split {
    flex-direction: column;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}
/* Estilo base para el footer */
footer {
    background: linear-gradient(135deg, #4b2c71 0%, #2e1a47 100%);
    color: #e0d7ff; /* Lavanda suave para contraste espiritual */
    padding: 60px 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    border-top: 2px solid #b39ddb;
}

/* Contenedor interno */
footer > div {
    max-width: 100%;
    margin: auto;
}

/* Ajuste del Logo */
footer img {
    max-width: 160px;
    filter: drop-shadow(0 0 10px rgba(179, 157, 219, 0.3));
    margin-bottom: 3px;
}

/* Párrafos y textos */
footer p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
    font-weight: 300;
    color:#a59feefd;
}

/* Enlaces espirituales */
footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid rgba(179, 157, 219, 0.4);
    transition: all 0.3s ease;
}

footer a:hover {
    color: #b39ddb;
    border-bottom: 1px solid #b39ddb;
}

/* Resaltados en negrita */
footer strong {
    color: #ffffff;
    font-weight: 600;
}

/* Espaciado para el copyright y redes */
footer p:last-of-type {
    margin-top: 10px;
    color: white;
}

header h1{
text-align: center; color: 22px;
}
header {
text-align: center;
}

header img {
  height: 160px; /* Ajusta el tamaño a tu gusto */
  width: auto;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
}

.social-pre-footer {
    background-color: #fdfbf7; /* Color crema espiritual */
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid #eee6d8;
}

.social-container {
    max-width: 800px;
    margin: 0 auto;
}

.subtitle {
    display: block;
    letter-spacing: 4px;
    color: #a69b8d;
    font-size: 0.75rem;
    margin-bottom: 15px;
}

.social-pre-footer h2 {
    font-family: 'serif'; /* O la fuente que uses en tu web */
    font-weight: 300;
    color: #4a4a4a;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.social-item {
    text-decoration: none;
    color: #8c7e6a;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
}

.social-item:hover {
    color: #d4af37; /* Toque dorado al pasar el mouse */
    transform: translateY(-5px);
}

.social-item i {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.social-item span {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.spiritual-quote {
    margin-top: 50px;
    font-style: italic;
    color: #c4beaf;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .social-grid { gap: 30px; }
}


.social-pre-footer-images {
    background-color: #ffffff;
    padding: 70px 0;
    text-align: center;
}

.pre-title {
    color: #d4af37;
    letter-spacing: 5px;
    font-size: 0.8rem;
}

.icons-row {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin: 30px 0;
}

.icons-row img {
    width: 45px; /* Tamaño ideal para que no sature visualmente */
    height: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: sepia(1) saturate(0.5); /* Esto le da un tono orgánico a cualquier icono */
}

.icons-row img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.blessing {
    font-family: 'Crimson Text', serif;
    font-style: italic;
    color: #999;
    margin-top: 30px;
}


/* Estética de Mentalidad Recta: Orden, Luz y Suavidad */
.social-portal {
    background: linear-gradient(to bottom, #ffffff, #f3ebff); /* Transición suave a morado claro */
    padding: 30px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
}

.portal-header h2 {
    font-weight: 300;
    letter-spacing: 2px;
    color: #4b2c6d; /* Morado profundo pero suave */
    margin: 10px 0 20px;
    font-size: 2rem;
}

.spiritual-tag {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.7rem;
    color: #9a81b9;
}

.divider {
    width: 40px;
    height: 1px;
    background: #9a81b9;
    margin: 0 auto 50px;
}

.glass-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px 20px;
    border-radius: 20px;
    text-decoration: none;
    min-width: 140px;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(75, 44, 109, 0.05);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(75, 44, 109, 0.1);
}

.icon-wrapper img {
    width: 40px; /* Ajusta según el tamaño de tus archivos .png */
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.glass-card span {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b528d;
    letter-spacing: 1px;
}

.final-mantra {
    margin-top: 60px;
    font-style: italic;
    color: #a694be;
    font-size: 0.9rem;
}

/* Responsivo para móviles */
@media (max-width: 600px) {
    .glass-grid { gap: 15px; }
    .glass-card { min-width: 120px; padding: 20px 10px; }
}
