/*
Theme Name: Inspiro Child
Template: inspiro
*/
/* HEADER PERSONALIZADO */
.site-header,
.site-header:before,
.site-header:after,
.site-header .navbar,
.site-header .header-inner,
.site-header .header-widgets-wrapper,
.site-header .header-inner .header-widgets-wrapper {
    background: transparent !important;
    box-shadow: none !important;
}

.site-header .navbar {
    background: transparent !important;
}

.header-cta-buttons {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 0.2rem;
    flex-wrap: wrap;
}

.site-header {
    position: relative;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.top-btn-primary.header-btn,
.top-btn-secondary.header-btn {
    background: rgba(59, 130, 246, 0.22);
    color: #0f172a;
    border: 1px solid rgba(59, 130, 246, 0.82);
    backdrop-filter: blur(10px);
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.top-btn-primary.header-btn,
.top-btn-secondary.header-btn {
    display: none !important;
}

.top-btn-primary.header-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.28);
}

.top-btn-secondary.header-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.95);
}

.custom-header {
    max-width: 900px;
    margin: 20px auto 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    box-shadow: none;
    color: #111;
}

.custom-title {
    margin: 0;
    font-size: 2rem;
}

.custom-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.top-btn-primary,
.top-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.custom-buttons {
    display: flex;
    gap: 14px;
}

.top-btn-primary {
    background: #2563eb;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.header-menu-link {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.temas-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3125em 0 0.1875em;
    border-radius: 0;
    font-family: "Onest", sans-serif;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.2s ease border-color, 0.2s ease color;
}

.temas-nav-button:hover,
.temas-nav-button:focus {
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8); 
    opacity: 0.85;
}

.top-btn-secondary {
    border: 2px solid #1e293b;
    color: #1e293b;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

/* HERO MODERNO */
.hero {
    position: relative;
    height: 420px; /* altura más elegante */
    max-width: 1200px;
    margin: 0 auto 50px auto;
    border-radius: 14px;
    overflow: hidden;
    background-image: url("/wp-content/themes/inspiro-child/assets/img/gorkhe1980-birds-2194905.jpg");
    background-size: cover;
    background-position: center;
}

.page-hero {
    min-height: 520px;
    border-radius: 0;
    background-position: center top;
}

.page-hero .hero-content {
    align-items: center;
    padding: 3rem 20px;
    text-align: center;
}


.hero-pretitle {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.hero-title {
    font-size: clamp(2.75rem, 4vw, 4.5rem);
    margin-bottom: 1rem;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin: 0;
}

.section-title p {
    max-width: 720px;
    margin: 1rem auto 0 auto;
    color: #475569;
    line-height: 1.75;
}

.highlight-box {
    border-radius: 22px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.06);
    padding: 1.8rem;
    margin-top: 2rem;
}

.cta-banner {
    background: #0f172a;
    color: white;
    border-radius: 22px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin-top: 3rem;
}

.cta-banner h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.6rem, 2.5vw, 2.15rem);
}

.cta-banner p {
    margin: 0 0 1.5rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.82);
}

.cta-banner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
}

#cta h3 {
    color: #ffffff !important;
}

@media (max-width: 720px) {
    .page-hero {
        min-height: 420px;
    }
    .page-hero .hero-content {
        padding: 2rem 16px;
    }
}

/* Overlay con gradiente profesional */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.25)
    );
    z-index: 1;
}

/* Contenido centrado */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

/* Título del Hero */
.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

/* Subtítulo */
.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    color: #e2e8f0;
    max-width: 700px;
}

/* Alinear párrafos al ancho de la imagen de portada */
section {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

section h2 {
    max-width: 900px;
    margin: 0 auto 1rem auto;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    text-align: center;
}

section p {
    max-width: 760px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.8;
    text-align: center;
}

#articulos ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
    text-align: center;
}

#articulos li {
    margin-bottom: 0.9rem;
}

#articulos a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

#articulos a:hover {
    color: #1d4ed8;
    text-decoration: underline;
    text-decoration-color: rgba(29, 78, 216, 0.85);
}

section .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

section .card {
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: 22px;
    padding: 26px 24px;
    background: #f8fafc;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
}

section .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.08);
}

section .card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

section .card p {
    margin: 0;
    color: #334155;
    line-height: 1.75;
}

/* Mejor contraste del menú al hacer scroll */
.site-header.headroom,
.site-header.headroom--not-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.site-header.headroom .navbar,
.site-header.headroom--not-top .navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    color: #ffffff !important;
}

.site-header.headroom .navbar a,
.site-header.headroom--not-top .navbar a,
.site-header.headroom .navbar-nav a,
.site-header.headroom--not-top .navbar-nav a,
.site-header.headroom .navbar-toggle .icon-bar,
.site-header.headroom--not-top .navbar-toggle .icon-bar,
.site-header.headroom .navbar-nav .menu-item-has-children .svg-icon,
.site-header.headroom--not-top .navbar-nav .menu-item-has-children .svg-icon,
.site-header.headroom .sb-search-button-open .sb-icon-search .svg-icon,
.site-header.headroom--not-top .sb-search-button-open .sb-icon-search .svg-icon {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.site-header.headroom .navbar-nav a:hover,
.site-header.headroom--not-top .navbar-nav a:hover {
    opacity: 0.85;
}


.page-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-overlay {
    pointer-events: none;
}


.page-hero {
    position: relative;
    min-height: 520px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
    border-radius: 14px;
    overflow: hidden;
    background-image: url("/wp-content/themes/inspiro-child/assets/img/gorkhe1980-birds-2194905.jpg");
    background-size: cover;
    background-position: center;
    z-index: 1;
}


#keywords {
    text-align: center;
    margin-top: 40px;
}

.keyword-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.keyword {
    background: #f2f2f2;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.2s;
}

.keyword:hover {
    background: #ddd;
}
