/* Variables CSS para colores y fuentes */
:root {
    /* Tema Oscuro (por defecto y fijo para Header/Footer) */
    --primary-color: rgb(255, 185, 0); /* Amarillo vibrante */
    --secondary-color: rgb(0, 0, 0); /* Negro puro */
    --dark-bg: rgb(18, 18, 18); /* Gris muy oscuro para secciones */
    --medium-dark-bg: rgb(30, 30, 30); /* Gris oscuro para elementos */
    --light-text: rgb(180, 180, 180); /* Gris claro para texto secundario (sobre fondos oscuros) */
    --medium-text: rgb(50, 50, 50);
    --dark-text: rgb(5, 5, 5);
    --white-text: rgb(255, 255, 255); /* Blanco puro para texto principal */
    --border-color: rgba(253, 216, 53, 0.2); /* Borde sutil amarillo */
    --gradient-start: rgb(30, 30, 30);
    --gradient-end: rgb(0, 0, 0);

    /* Variables para Tema Claro (aplicadas solo al body.light-theme y contenido principal) */
    --light-theme-bg: rgb(240, 240, 240); /* Fondo claro principal del body */
    --light-theme-element-bg: rgb(255, 255, 255); /* Fondo de elementos en tema claro (blanco puro) */
    --light-theme-text-dark: rgb(30, 30, 30); /* Texto oscuro para títulos en tema claro */
    --light-theme-text-medium: rgb(80, 80, 80); /* Texto medio para párrafos en tema claro */
    --light-theme-border-color: rgba(0, 0, 0, 0.1); /* Borde sutil oscuro para tema claro */
    --light-theme-primary-color-soft: rgb(255, 185, 0); /* Amarillo más suave para tema claro */


    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Tema Claro - Solo afecta al body y contenido principal, NO a header/footer */
body.light-theme {
    background-color: var(--light-theme-bg);
    color: var(--light-theme-text-dark); /* Color de texto principal para el body en tema claro */
}


/* Estilos globales del cuerpo */
body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--light-theme-bg); /* Por defecto: tema oscuro */
    color: var(--light-theme-text-dark); /* Color de texto por defecto para el body */
    line-height: 1.6;
    overflow-x: hidden; /* Evita el scroll horizontal */
    padding-top: 80px; /* Espacio para el header fijo */
    -webkit-font-smoothing: antialiased; /* Mejorar renderizado de fuentes */
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.5s ease, color 0.5s ease; /* Transición suave del tema */
}

/* Eliminar text-decoration de todos los enlaces por defecto */
a {
    text-decoration: none;
}

/* Contenedor principal para centrar el contenido */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.botones_accion{
    text-align: center; 
    margin-top: 18px;
    margin-bottom: 20px;
}
/* Header - Siempre oscuro */
.header {
    
    background-color: var(--secondary-color); /* Fijo en negro */
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: none; /* No transicionar el header con el tema */
}

.header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevent logo from shrinking on smaller screens */
}

.logo {
    height: 65px;
    width: auto;
    margin-right: 15px;
    animation: rotateIn 1s ease-out;
}

@keyframes rotateIn {
    from { transform: rotateY(90deg) scale(0.8); opacity: 0; }
    to { transform: rotateY(0deg) scale(1); opacity: 1; }
}

.brand-name {
    color: var(--primary-color); /* Fijo en amarillo */
    font-size: 2.5em;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(253, 216, 53, 0.3);
    transition: none; /* No transicionar el brand-name con el tema */
    white-space: nowrap; /* Prevent text wrapping */
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.nav-item {
    background: none;
    border: none;
    color: var(--white-text); /* Fijo en gris claro */
    font-size: 1.15em;
    font-weight: 500;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    text-decoration: none; /* Asegura que los enlaces de navegación no tengan subrayado */
}
/* No hay reglas body.light-theme para .nav-item para mantenerlo oscuro */

.nav-item i {
    margin-right: 10px;
    font-size: 1.3em;
    color: var(--primary-color); /* Fijo en amarillo */
    transition: none; /* No transicionar el icono con el tema */
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color); /* Fijo en amarillo */
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--white-text); /* Fijo en blanco */
    transform: translateY(-2px);
}
.nav-item.active {
    color: var(--white-text); /* Fijo en blanco */
    transform: translateY(-2px);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

/* Iconos de redes sociales en el header (solo visibles en PC) */
.header-social-icons {
    display: flex; /* Por defecto visible en desktop */
    gap: 15px;
    margin-left: 20px; /* Espacio entre nav y social icons */
    flex-shrink: 0; /* Prevent icons from shrinking */
}

.header-social-icons a {
    color: var(--white-text); /* Fijo en gris claro */
    font-size: 1.4em;
    transition: color 0.3s ease, transform 0.2s ease;
}

.header-social-icons a:hover {
    color: var(--primary-color); /* Fijo en amarillo */
    transform: translateY(-3px) scale(1.1);
}

.hamburger-menu {
    display: none; /* Oculto por defecto en desktop */
    background: none;
    border: none;
    color: var(--primary-color); /* Fijo en amarillo */
    font-size: 2em;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent hamburger from shrinking */
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

/* Botón de alternancia de tema */
.theme-toggle-button {
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    color: var(--primary-color); /* Color del icono, siempre amarillo */
    margin-left: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.theme-toggle-button:hover {
    transform: scale(1.1);
}

.theme-toggle-button .light-icon {
    display: block; /* Visible por defecto (tema oscuro) */
}

.theme-toggle-button .dark-icon {
    display: none; /* Oculto por defecto (tema oscuro) */
}

body.light-theme .theme-toggle-button .light-icon {
    display: none; /* Ocultar sol en tema claro */
}

body.light-theme .theme-toggle-button .dark-icon {
    display: block; /* Mostrar luna en tema claro */
}


/* Contenido principal - Se adapta al tema */
.main-content {
    min-height: calc(100vh - 100px - 200px); /* Ajusta según la altura de tu footer y header */
    background-color: var(--secondary-color); /* Por defecto: tema oscuro */
    color: var(--white-text); /* Por defecto: tema oscuro */
    transition: background-color 0.5s ease, color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .main-content {
    background-color: var(--light-theme-bg);
    color: var(--light-theme-text-dark);
}


/* Espaciado entre secciones (ahora directamente en las secciones HTML) */
.section-spacing {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Clase para secciones con fondo blanco (se adapta al tema) */
.light-section {
    background-color: var(--light-theme-element-bg); /* Blanco puro en tema claro, blanco en tema oscuro */
    color: var(--light-theme-text-dark); /* Texto oscuro en tema claro, oscuro en tema oscuro */
    transition: background-color 0.5s ease, color 0.5s ease; /* Transición suave del tema */
}
body:not(.light-theme) .light-section { /* Cuando el body NO tiene light-theme, esta sección es blanca */
    background-color: var(--white-text);
    color: var(--light-theme-text-dark); /* Mismo color de texto para que sea legible sobre blanco */
}


.light-section .section-title h2 {
    color: var(--light-theme-text-dark); /* Títulos oscuros */
}
.light-section .section-title h2::after {
    background-color: var(--primary-color); /* Underline amarillo */
}
.light-section .section-title p {
    color: var(--light-theme-text-medium); /* Subtítulo gris medio */
}

/* === AJUSTE DE COLORES DE TEXTO PARA SECCIONES CLARAS === */
.light-section h1,
.light-section h2,
.light-section h3,
.light-section h4 {
    color: var(--light-theme-text-dark); /* Títulos en secciones claras */
}
.light-section p,
.light-section ul,
.light-section ol,
.light-section li,
.light-section .card-description,
.light-section .feature-item p {
    color: var(--light-theme-text-medium); /* Texto de párrafo y lista gris medio en sección blanca */
}
/* ========================================================= */

.light-section .card { /* Tarjetas dentro de sección blanca */
    background-color: var(--light-theme-element-bg);
    border: 1px solid var(--light-theme-border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Ensures image doesn't overflow on hover scale */
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease, border-color 0.5s ease; /* Transición suave del tema */
    display: flex;
    flex-direction: column;
}
body:not(.light-theme) .light-section .card { /* Cuando el body NO tiene light-theme, esta tarjeta es blanca */
    background-color: var(--white-text);
    border-color: rgba(0, 0, 0, 0.1);
}


.light-section .card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 15px var(--light-theme-primary-color-soft); /* Sombra con glow */
}
body:not(.light-theme) .light-section .card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(253, 216, 53, 0.4);
}


.light-section .card-title {
    color: var(--light-theme-text-dark); /* Títulos de tarjeta oscuros */
}

/* Estilo para los feature-item dentro de light-section para que parezcan tarjetas */
.light-section .feature-item {
    background-color: var(--light-theme-element-bg);
    border: 1px solid var(--light-theme-border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px; /* Bordes redondeados como tarjetas */
    padding: 30px; /* Espaciado interno */
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease, border-color 0.5s ease; /* Transición suave del tema */
    display: flex; /* Para organizar contenido */
    flex-direction: column; /* Contenido apilado */
    align-items: center; /* Centrar contenido */
    text-align: center; /* Centrar texto */
}
body:not(.light-theme) .light-section .feature-item { /* Cuando el body NO tiene light-theme, esta tarjeta es blanca */
    background-color: var(--white-text);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-section .feature-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px var(--light-theme-primary-color-soft); /* Sombra con glow */
}
body:not(.light-theme) .light-section .feature-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(253, 216, 53, 0.5);
}

.light-section .feature-item i {
    color: var(--primary-color); /* Iconos amarillos (siempre el primary-color del tema actual) */
    font-size: 3em; /* Tamaño grande para iconos */
    margin-bottom: 20px; /* Espacio debajo del icono */
    transition: color 0.5s ease; /* Transición suave del tema */
}
.light-section .feature-item h3 {
    color: var(--light-theme-text-dark); /* Títulos de feature oscuros */
    font-size: 1.8em; /* Tamaño de título */
    margin-bottom: 10px;
}
.light-section .feature-item p {
    color: var(--light-theme-text-medium); /* Texto de párrafo gris medio */
    font-size: 1em;
    line-height: 1.6;
}


/* Secciones de página (ahora son partes directas del flujo, no absolutas) */
.page-section {
    width: 100%; /* Ocupa el ancho completo */
}

/* Sección "¿Por Qué Elegirnos?" (fondo claro) */
.why-choose-us-section {
    /* Ya hereda de .light-section, no necesita más estilos de fondo aquí */
}


/* Títulos de sección (Global) */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 3.2em;
    font-weight: 800;
    color: var(--primary-color); /* Se adapta al tema del body */
    margin-bottom: 15px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    transition: color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .section-title h2 {
    color: var(--light-theme-text-dark);
}


.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color); /* Se adapta al tema del body */
    border-radius: 2px;
    transition: background-color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .section-title h2::after {
    background-color: var(--light-theme-primary-color-soft);
}


.section-title p {
    font-size: 1.4em;
    color: var(--light-text); /* Se adapta al tema del body */
    max-width: 800px;
    margin: 0 auto;
    transition: color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .section-title p {
    color: var(--light-theme-text-medium);
}


/* Hero Section */
.hero-section {
    position: relative;
    height: calc(100dvh - 70px); /* Altura completa de la ventana */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--white-text);
    padding: 20px;
}



.hero-content {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 70dvh;
    position: relative;
    transition: opacity 0.5s ease-in-out; /* Para las transiciones del slider */
}
/* Clase para fade out del contenido del hero */
.hero-content.fade-out {
    opacity: 0;
}


.cta-button {
    background-color: var(--primary-color); /* Se adapta al tema del body */
    color: var(--secondary-color); /* Se adapta al tema del body */
    font-weight: 700;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: inline-block;
    animation: bounceIn 1.2s ease-out;
    border: 2px solid transparent;
}
body.light-theme .cta-button {
    background-color: var(--light-theme-primary-color-soft);
    color: var(--light-theme-text-dark); /* Texto oscuro en botón en tema claro */
}


.cta-button:hover {
    background-color: var(--secondary-color); /* Se adapta al tema del body */
    color: var(--primary-color); /* Se adapta al tema del body */
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(253, 216, 53, 0.8); /* Sombra con glow fuerte */
    border-color: var(--primary-color); /* Se adapta al tema del body */
}
body.light-theme .cta-button:hover {
    background-color: var(--light-theme-element-bg);
    color: var(--light-theme-primary-color-soft);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 25px var(--light-theme-primary-color-soft);
    border-color: var(--light-theme-primary-color-soft);
}


/* Slider de banner */
.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.slider-nav-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5); /* Se adapta al tema del body */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
body.light-theme .dot {
    background-color: rgba(0, 0, 0, 0.3);
}


.dot.active {
    background-color: var(--primary-color); /* Se adapta al tema del body */
    transform: scale(1.2);
}
body.light-theme .dot.active {
    background-color: var(--light-theme-primary-color-soft);
}


/* Cuadrícula de tarjetas (servicios, noticias) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 80px;
}

/* Base card style */
.card {
    background-color: var(--medium-dark-bg); /* Se adapta al tema del body */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease, border-color 0.5s ease; /* Transición suave del tema */
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color); /* Se adapta al tema del body */
}
body.light-theme .card {
    background-color: var(--light-theme-element-bg);
    border-color: var(--light-theme-border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(253, 216, 53, 0.4); /* Sombra más pronunciada y luminosa */
    background-color: var(--dark-bg); /* Se adapta al tema del body */
}
body.light-theme .card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 25px var(--light-theme-primary-color-soft);
    background-color: var(--light-theme-bg);
}


.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--primary-color); /* Se adapta al tema del body */
    margin: 0; /* Remove default margin */
    font-family: var(--font-heading);
    transition: color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .card-title {
    color: var(--light-theme-text-dark);
}


/* Estilos específicos para secciones de contenido (Nosotros, Trámites, Contacto) */
.content-block {
    display: flex;
    flex-direction: column;
    background-color: var(--medium-dark-bg); /* Se adapta al tema del body */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 50px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color); /* Se adapta al tema del body */
    transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease; /* Transición suave del tema */
}
body.light-theme .content-block {
    background-color: var(--light-theme-element-bg);
    border-color: var(--light-theme-border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


.content-block h3 {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--primary-color); /* Se adapta al tema del body */
    margin-bottom: 10px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 10px;
    transition: color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .content-block h3 {
    color: var(--light-theme-text-dark);
}

.content-block h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color); /* Se adapta al tema del body */
    border-radius: 2px;
    transition: background-color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .content-block h3::after {
    background-color: var(--light-theme-primary-color-soft);
}


.content-block h4 {
    font-size: 2em;
    font-weight: 600;
    color: var(--medium-text); /* Se adapta al tema del body */
    margin-bottom: 10px;
    font-family: var(--font-heading);
    transition: color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .content-block h4 {
    color: var(--light-theme-text-dark);
}

/*=========================
	Story CSS
===========================*/
.story{
    width: 80%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
	padding:auto;
}
.story .story-content{}
.story .single-story {
	position:relative;
	margin-top:55px;
}

.story .story-content::before {
	position: absolute;
	content: "";
	left: 60px;
	top: 0;
	height: 100%;
	width: 4px;
	background: var(--primary-color);
}
.story .single-story span {
	display: block;
	font-size: 20px;
	font-weight: 600;
	position: absolute;
	left: 0;
	top: 0;
	background: #333;
	color: #fff;
	border-radius: 3px;
	height: 35px;
	width: 40px;
	text-align: center;
	line-height: 35px;
}
.story .single-story span::before {
	position: absolute;
	content: "";
	left: 53px;
	top: 9px;
	height: 18px;
	width: 18px;
	background: var(--primary-color);
	border-radius: 100%;
}
.story .single-story span::after {
	position: absolute;
	content: "";
	border: 10px solid #333;
	left: 40px;
	top: 7px;
	border-right: 10px solid transparent;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	
}
.story .single-story h3 {
	font-size: 24px;
	font-weight: 600;
	color:#000;
	padding-bottom: 3px;
}
.story .single-story p{
	color:#000c;
	font-size:15px;
}
.story .single-story p:before {
	position: absolute;
    content: "";
    left: -28px;
    top: 13px;
    height: 10px;
    width: 10px;
    background: #fff;
    border-radius: 100%;
}
.story .single-story .p2 {
	margin-top: 15px;
}
/*=========================
	End Story CSS
===========================*/

/* === AJUSTE DE COLORES DE TEXTO PARA BLOQUES DE CONTENIDO OSCUROS === */
.content-block p,
.content-block ul,
.content-block ol,
.content-block li {
    color: var(--light-text); /* Se adapta al tema del body */
    font-size: 1.1em;
    line-height: 1.9;
    margin-bottom: 20px;
    transition: color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .content-block p,
body.light-theme .content-block ul,
body.light-theme .content-block ol,
body.light-theme .content-block li {
    color: var(--light-theme-text-medium);
}
/* ==================================================================== */

.content-block ul,
.content-block ol {
    padding-left: 30px;
}

.content-block li {
    margin-bottom: 12px;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
}

.responsive-image {
    padding: auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
}

/* Sección de Contacto */
.contact-grid {
    display: grid;
    /* Por defecto, dos columnas para PC */
    grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
    gap: 20px;
}

.contact-info-block,
.contact-form-block {
    background-color: var(--medium-dark-bg); /* Se adapta al tema del body */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 20px;
    margin-bottom: 0; /* Eliminar margin-bottom para que se peguen si es necesario */
    border: 1px solid var(--border-color); /* Se adapta al tema del body */
    transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease; /* Transición suave del tema */
}
body.light-theme .contact-info-block,
body.light-theme .contact-form-block {
    background-color: var(--light-theme-element-bg);
    border-color: var(--light-theme-border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


.contact-info-block h3,
.contact-form-block h3 {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color); /* Se adapta al tema del body */
    margin-bottom: 35px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 10px;
    transition: color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .contact-info-block h3,
body.light-theme .contact-form-block h3 {
    color: var(--light-theme-text-dark);
}

.contact-info-block h3::after,
.contact-form-block h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color); /* Se adapta al tema del body */
    border-radius: 2px;
    transition: background-color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .contact-info-block h3::after,
body.light-theme .contact-form-block h3::after {
    background-color: var(--light-theme-primary-color-soft);
}


.contact-info-block p {
    font-size: 1.15em;
    color: var(--light-text); /* Se adapta al tema del body */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    transition: color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .contact-info-block p {
    color: var(--light-theme-text-medium);
}


.contact-info-block .icon-small {
    font-size: 1.5em;
    color: var(--primary-color); /* Se adapta al tema del body */
    margin-right: 20px;
    width: 30px;
    text-align: center;
    transition: color 0.5s ease; /* Transición suave del tema */
}

.social-links-contact {
    margin-top: 20px;
    display: flex;
    gap: 25px;
    justify-content: flex-start;
}

.social-icon-contact {
    color: var(--primary-color); /* Se adapta al tema del body */
    font-size: 2.5em;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon-contact:hover {
    color: var(--white-text); /* Se adapta al tema del body */
    transform: translateY(-5px) scale(1.15);
}
body.light-theme .social-icon-contact:hover {
    color: var(--light-theme-text-dark);
}


/* Formulario de contacto */
.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 1.1em;
    color: var(--primary-color); /* Se adapta al tema del body */
    margin-bottom: 8px;
    font-weight: 500;
    transition: color 0.5s ease; /* Transición suave del tema */
}
body.light-theme .form-group label {
    color: var(--light-theme-text-dark);
}


.form-group input[type="text"],
.form-group input[type="email"],
.form-group .subject,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color); /* Se adapta al tema del body */
    border-radius: 10px;
    background-color: var(--secondary-color); /* Se adapta al tema del body */
    color: var(--white-text); /* Se adapta al tema del body */
    font-size: 1.05em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease; /* Transición suave del tema */
}
body.light-theme .form-group input,
body.light-theme .form-group .subject,
body.light-theme .form-group textarea {
    background-color: var(--light-theme-bg); /* Fondo de input más claro en tema claro */
    color: var(--light-theme-text-dark); /* Texto oscuro en input en tema claro */
    border-color: var(--light-theme-border-color);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group .subject:focus,
.form-group textarea:focus {
    border-color: var(--primary-color); /* Se adapta al tema del body */
    outline: none;
    box-shadow: 0 0 0 4px rgba(253, 216, 53, 0.4); /* Se adapta al tema del body */
    background-color: var(--dark-bg); /* Se adapta al tema del body */
}
body.light-theme .form-group input:focus,
body.light-theme .form-group .subject:focus,
body.light-theme .form-group textarea:focus {
    box-shadow: 0 0 0 4px var(--light-theme-primary-color-soft);
    background-color: var(--light-theme-bg);
}


.submit-button {
    background-color: var(--primary-color); /* Se adapta al tema del body */
    color: var(--secondary-color); /* Se adapta al tema del body */
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, color 0.3s ease; /* Transición suave del tema */
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
body.light-theme .submit-button {
    background-color: var(--light-theme-primary-color-soft);
    color: var(--light-theme-text-dark); /* Texto oscuro en botón en tema claro */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.submit-button:hover {
    background-color: var(--secondary-color); /* Se adapta al tema del body */
    color: var(--primary-color); /* Se adapta al tema del body */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(253, 216, 53, 0.6); /* Sombra con glow */
    border: 1px solid var(--primary-color); /* Se adapta al tema del body */
}
body.light-theme .submit-button:hover {
    background-color: var(--light-theme-element-bg);
    color: var(--light-theme-primary-color-soft);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 15px var(--light-theme-primary-color-soft);
    border-color: var(--light-theme-primary-color-soft);
}


/* SweetAlert2 custom styles */
.swal2-popup {
    background-color: var(--medium-dark-bg) !important; /* Se adapta al tema del body */
    color: var(--white-text) !important; /* Se adapta al tema del body */
    border: 1px solid var(--border-color) !important; /* Se adapta al tema del body */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    border-radius: 15px !important;
}
body.light-theme .swal2-popup {
    background-color: var(--light-theme-element-bg) !important;
    color: var(--light-theme-text-dark) !important;
    border-color: var(--light-theme-border-color) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}


.swal2-title {
    color: var(--primary-color) !important; /* Se adapta al tema del body */
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
}
body.light-theme .swal2-title {
    color: var(--light-theme-text-dark) !important;
}


.swal2-content {
    color: var(--light-text) !important; /* Se adapta al tema del body */
    font-family: var(--font-body) !important;
}
body.light-theme .swal2-content {
    color: var(--light-theme-text-medium) !important;
}


.swal2-confirm-button {
    background-color: var(--primary-color) !important; /* Se adapta al tema del body */
    color: var(--secondary-color) !important; /* Se adapta al tema del body */
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 10px 25px !important;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease !important;
}
body.light-theme .swal2-confirm-button {
    background-color: var(--light-theme-primary-color-soft) !important;
    color: var(--light-theme-text-dark) !important;
}


.swal2-confirm-button:hover {
    background-color: var(--secondary-color) !important; /* Se adapta al tema del body */
    color: var(--primary-color) !important; /* Se adapta al tema del body */
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(253, 216, 53, 0.6) !important;
    border: 1px solid var(--primary-color) !important; /* Se adapta al tema del body */
}
body.light-theme .swal2-confirm-button:hover {
    background-color: var(--light-theme-element-bg) !important;
    color: var (--light-theme-primary-color-soft) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 0 10px var(--light-theme-primary-color-soft) !important;
    border-color: var(--light-theme-primary-color-soft) !important;
}


/* Footer - Siempre oscuro */
.footer {
    background-color: var(--dark-bg); /* Fijo en gris muy oscuro */
    color: var(--light-text); /* Fijo en gris claro */
    padding: 40px 20px 20px; /* Reducir padding para más compacto */
    font-size: 1.1em;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(253, 216, 53, 0.1);
    transition: none; /* No transicionar el footer con el tema */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Ajustar minmax para más compacto */
    gap: 25px; /* Reducir el gap para hacerlo más compacto */
    margin-bottom: 25px; /* Reducir el margin-bottom */
}

.footer-col h3 {
    font-size: 1.6em; /* Ligeramente más pequeño */
    font-weight: 700;
    color: var(--primary-color); /* Fijo en amarillo */
    margin-bottom: 15px; /* Reducir margin-bottom */
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 8px; /* Reducir padding-bottom */
}
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px; /* Más pequeño */
    height: 2px; /* Más delgado */
    background-color: var(--primary-color); /* Fijo en amarillo */
    border-radius: 1px;
}

.footer-col p, .footer-col li {
    font-size: 0.9em; /* Ligeramente más pequeño para compactar */
    line-height: 2em; /* Reducir line-height */
    margin-bottom: 5px; /* Compactar enlaces */
}

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

.footer-col a {
    color: var(--light-text); /* Fijo en gris claro */
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
}

.footer-col a:hover {
    color: var(--primary-color); /* Fijo en amarillo */
}

.footer-col .fas, .footer-col .fab {
    margin-right: 8px; /* Reducir margen para compactar */
    color: var(--primary-color); /* Fijo en amarillo */
}

.social-links-footer {
    margin-top: 15px; /* Reducir margen superior */
    display: flex;
    gap: 20px; /* Aumentar espacio entre iconos para visibilidad */
    justify-content: flex-start;
    font-size: 2em;
}

.social-icon-footer {
    color: var(--primary-color); /* Fijo en amarillo */
    font-size: 2.5em; /* Aumentar tamaño para visibilidad */
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon-footer:hover {
    color: var(--white-text); /* Fijo en blanco */
    transform: translateY(-3px) scale(1.1);
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px; /* Reducir padding superior */
    margin-top: 15px; /* Reducir margen superior */
    text-align: center;
    color: var(--light-text); /* Fijo en gris claro */
    font-size: 0.85em; /* Más pequeño */
}


/* Botones fijos (Back to Top, WhatsApp) */
.fixed-button {
    position: fixed;
    background-color: var(--primary-color); /* Se adapta al tema del body */
    color: var(--secondary-color); /* Se adapta al tema del body */
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease, color 0.3s ease; /* Transición suave del tema */
    z-index: 999;
}
body.light-theme .fixed-button {
    background-color: var(--light-theme-primary-color-soft);
    color: var(--light-theme-text-dark); /* Texto oscuro en botón en tema claro */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.fixed-button:hover {
    background-color: var(--white-text); /* Se adapta al tema del body */
    color: var(--primary-color); /* Se adapta al tema del body */
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(253, 216, 53, 0.8); /* Sombra con glow fuerte */
}
body.light-theme .fixed-button:hover {
    background-color: var(--light-theme-element-bg);
    color: var(--light-theme-primary-color-soft);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 15px var(--light-theme-primary-color-soft);
}


/* Botón "Volver arriba" */
#back-to-top {
    bottom: 100px;
    right: 35px;
    opacity: 0;
    visibility: hidden;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Botón de WhatsApp */
#whatsapp-button {
    bottom: 30px;
    right: 35px;
}

/* Iconos de Redes Sociales Fijos para Móvil */
.fixed-mobile-socials {
    display: none; /* Oculto por defecto en desktop */
    flex-direction: column;
    position: fixed;
    bottom: 30px; /* Ajusta según el botón de WhatsApp */
    left: 20px; /* Posición en la izquierda */
    z-index: 998; /* Un poco menos que los botones principales */
    gap: 15px;
}

.fixed-mobile-socials a {
    background-color: var(--medium-dark-bg); /* Se adapta al tema del body */
    color: var(--primary-color); /* Se adapta al tema del body */
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease; /* Transición suave del tema */
}
body.light-theme .fixed-mobile-socials a {
    background-color: var(--light-theme-element-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.fixed-mobile-socials a:hover {
    background-color: var(--dark-bg); /* Se adapta al tema del body */
    color: var(--white-text); /* Se adapta al tema del body */
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(253, 216, 53, 0.8);
}
body.light-theme .fixed-mobile-socials a:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 15px var(--light-theme-primary-color-soft);
    background-color: var(--light-theme-bg);
    color: var(--light-theme-primary-color-soft);
}


/* Animaciones CSS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}


/* Accordion Styles (for procedures.html and other pages) */
.accordion-container {
    margin-top: 50px; /* Espacio superior para el contenedor de acordeones */
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden; /* Ensures content doesn't spill during transition */
    border: 1px solid var(--border-color); /* Inherits from theme */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Inherits from theme */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
body.light-theme .accordion-item {
    border-color: var(--light-theme-border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    background-color: var(--medium-dark-bg); /* Inherits from theme */
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between; /* Pushes title left, icon right */
    align-items: center;
    transition: background-color 0.3s ease;
}
body.light-theme .accordion-header {
    background-color: var(--light-theme-element-bg);
}

.accordion-header h3, .accordion-header h4 { /* Apply to both h3 and h4 */
    font-size: 1.2em; /* Default size for accordion headers */
    font-weight: 700;
    color: var(--primary-color); /* Inherits from theme */
    margin: 0; /* Remove default margin */
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}
body.light-theme .accordion-header h3, body.light-header h4 {
    color: var(--light-theme-text-dark); /* Darker text for header in light theme */
}

.accordion-icon {
    font-size: 1.2em;
    color: var(--primary-color); /* Inherits from theme */
    transition: transform 0.3s ease, color 0.3s ease;
}
body.light-theme .accordion-icon {
    color: var(--light-theme-text-medium);
}


.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    background-color: var(--light-theme-element-bg); /* Inherits from theme */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-in-out, padding 0.7s ease-in-out, opacity 0.7s ease-in-out;
    opacity: 0;
    padding: 0px 50px; /* Initial padding, will expand */
}
.accordion-content img {
  display: block;
  margin: 24px auto;
  max-width: 80%;
  height: auto;
}
body.light-theme .accordion-content {
    background-color: var(--light-theme-bg);
}

.accordion-content.active {
    background-color: var(--light-theme-element-bg); /* Inherits from theme */
    max-height: 1500px; /* A large enough value to accommodate content */
    opacity: 1;
    padding: 20px 20px; /* Final padding when active */
}

/* Adjustments for content inside accordion */
.accordion-content .sub-section h4 {
    font-size: 1.6em; /* Smaller h4 for sub-sections */
    color: var(--primary-color); /* Inherits from theme */
    margin-top: 30px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}
body.light-theme .accordion-content .sub-section h4 {
    color: var(--light-theme-text-dark);
}

.accordion-content p,
.accordion-content ul,
.accordion-content ol,
.accordion-content li {
    color: var(--light-text); /* Inherits from theme */
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}
body.light-theme .accordion-content p,
body.light-theme .accordion-content ul,
body.light-theme .accordion-content ol,
body.light-theme .accordion-content li {
    color: var(--light-theme-text-medium);
}

/* List item with check icon */
ul {
    list-style: none; /* Remove default bullet */
    padding-left: 0; /* Remove default padding */
}

ul li {
    position: relative;
    padding-left: 30px; /* Space for the icon */
    margin-bottom: 10px;
}

ul li::before {
    font-family: "Font Awesome 6 Free"; /* Font Awesome font family */
    font-weight: 900; /* Solid icon */
    content: "\f00c"; /* Unicode for check-circle icon */
    color: var(--primary-color); /* Checkmark color */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1em;
    line-height: inherit; /* Align with text line height */
    transition: color 0.3s ease;
}
body.light-theme ul li::before {
    color: var(--light-theme-primary-color-soft);
}


.accordion-content ol {
    padding-left: 25px; /* Keep default numbering indentation */
}

.accordion-content li {
    margin-bottom: 8px;
}

.accordion-content .cta-button {
    margin-top: 20px;
    width: auto; /* Allow button to size naturally */
    display: inline-block; /* Ensure it's not full width */
}

/* Specific styles for cards as accordions */
.card.accordion-item {
    display: block; /* Override flex for card, as accordion header/content will handle flex */
    padding: 0; /* Remove padding from card, accordion-header/content will have it */
    background-color: var(--medium-dark-bg); /* Use medium-dark-bg for card background */
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
body.light-theme .card.accordion-item {
    background-color: var(--light-theme-element-bg);
    border-color: var(--light-theme-border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card.accordion-item .accordion-header {
    background-color: transparent; /* Make header background transparent to show card background */
    padding: 20px 30px; /* Adjust padding for card header */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Separator for header */
}
body.light-theme .card.accordion-item .accordion-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.card.accordion-item .accordion-header h3 {
    font-size: 1.6em; /* Adjust card title size in accordion header */
}

.card.accordion-item .accordion-content {
    background-color: transparent; /* Make content background transparent to show card background */
    padding: 0; /* Initial padding */
}

.card.accordion-item .accordion-content.active {
    padding: 20px 30px; /* Final padding for card content */
}

.card.accordion-item .card-link {
    display: inline-block; /* Ensure link is inline-block */
    margin-top: 15px; /* Space above link */
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}
body.light-theme .card.accordion-item .card-link {
    color: var(--light-theme-text-dark); /* Darker link in light theme */
}
.card.accordion-item .card-link:hover {
    color: var(--white-text);
}
body.light-theme .card.accordion-item .card-link:hover {
    color: var(--light-theme-primary-color-soft);
}

/* =========================
   MENÚ DE NAVEGACIÓN - VISTA MÓVIL
   ========================= */
@media (max-width: 768px) {
  .navigation {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100vw;
    background: var(--secondary-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 0;
    z-index: 1001;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  .navigation.active {
    max-height: 500px;
    padding: 15px 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  }
  .header{
    padding: auto;
  }
  .logo {
    margin-left: 15px;
    padding-left: 0px;
    height: 50px;
  }
  .nav-item {
    width: 100%;
    padding: 18px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 1.15em;
    color: var(--light-text);
    background: none;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s, color 0.2s;
  }
  .nav-item:last-child {
    border-bottom: none;
  }
  .nav-item:hover,
  .nav-item.active {
    background: var(--primary-color);
    color: var(--secondary-color);
  }
  .nav-item i {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-right: 10px;
  }
  .hamburger-menu {
    display: block;
    position: relative;
    z-index: 1100;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2em;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s;
  }
  .hamburger-menu.active {
    color: var(--white-text);
    transform: scale(1.1);
  }
  .header-social-icons {
    display: none;
  }
  .hero-section {
    height: calc(100dvh - 90px);
  }
  .hero-content {
   height: 60vh; 
  }
.hero-subtitle {
    font-size: 1.4em;
}

  .story{
    width: 100%;
}
.section-title h2 {
    font-size: 2em;
}
.hero-title {
    font-size: 2.5em;
}
.accordion-header h3, .accordion-header h4 { /* Apply to both h3 and h4 */
    font-size: 1.1em;
    }
    .contact-info-block,
    .contact-form-block{
        font-size: 0.8em;
        padding: 10px;
        margin: 10px;
    }
    .contact-info-block,
    .contact-info-block .social-links-contact{
        align-items: center;
        justify-content: center;
    }
}

/* =========================
   STORY SECTION - TEMA CLARO Y OSCURO
   ========================= */
.story {
  background: var(--light-theme-bg);
  color: var(--light-theme-text-dark);
}


.story .single-story {
	position:relative;
	margin-top:30px;
}
.story .single-story .inner-content{
	margin-left:85px;
	position:relative;
}
.story .story-content{
	position:relative;
}

.single-story h3 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 1.2em;
  margin-bottom: 8px;
}
.single-story p, .single-story .p2 {
  color: var(--light-theme-text-medium);
  font-size: 1em;
}
body:not(.light-theme) .story {
  background: var(--secondary-color);
  color: var(--white-text);
}
body:not(.light-theme) .single-story h3 {
  color: var(--primary-color);
}
body:not(.light-theme) .single-story p, 
body:not(.light-theme) .single-story .p2 {
  color: var(--light-text);
}

/* =========================
   TEMA CLARO POR DEFECTO
   ========================= */
body {
  background: var(--light-theme-bg);
  color: var(--light-theme-text-dark);
}
body:not(.light-theme) {
  background: var(--secondary-color);
  color: var(--white-text);
}

.center{
    align-items: center;
    justify-content: center;
    text-align: center;
}

