/* ===================================================================
   CentraGlobal Consulting - CSS Oficial (Réplica de Arquitectura Educational Template)
   Dominio: centrodigital.icu
   Rutas relativas limpias (sin barras iniciales)
   =================================================================== */

:root {
    --template-primary: #0f172a;
    --template-secondary: #1e293b;
    --template-accent: #0284c7;
    --template-accent-hover: #0369a1;
    --template-light: #f8fafc;
    --template-white: #ffffff;
    --template-text: #475569;
    --template-border: #e2e8f0;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--template-white);
    color: var(--template-text);
    line-height: 1.8;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Aviso Google Ads Topbar */
.top-disclaimer-bar {
    background-color: #fefce8;
    border-bottom: 1px solid #fef08a;
    color: #854d0e;
    font-size: 0.75rem;
    padding: 0.5rem 0;
    text-align: center;
}

.top-disclaimer-bar p {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header Top Info (Estilo Referencia) */
.header-top {
    background-color: var(--template-primary);
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #1e293b;
}

.header-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact-info {
    display: flex;
    gap: 2rem;
}

.header-contact-info span i {
    color: var(--template-accent);
    margin-right: 5px;
}

.domain-badge {
    background-color: var(--template-accent);
    color: var(--template-white);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Navbar Principal Estilo Referencia */
.main-header {
    background-color: var(--template-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 95px;
}

.logo-area a {
    text-decoration: none;
}

.logo-area h1 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--template-primary);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-area h1 span {
    color: var(--template-accent);
}

.logo-area small {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.75rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--template-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--template-accent);
}

.btn-template-primary {
    background-color: var(--template-primary);
    color: var(--template-white);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: background-color 0.2s;
    display: inline-block;
}

.btn-template-primary:hover {
    background-color: var(--template-accent);
}

/* Hero Slider Section */
.hero-slider-section {
    background-size: cover;
    background-position: center;
    padding: 10rem 0;
    text-align: center;
    color: var(--template-white);
}

.hero-subtitle-tag {
    display: inline-block;
    background-color: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-content-center h2 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content-center p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    color: #cbd5e1;
}

.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-template-accent {
    background-color: var(--template-accent);
    color: var(--template-white);
    padding: 0.9rem 2.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: background-color 0.2s;
}

.btn-template-accent:hover {
    background-color: var(--template-accent-hover);
}

.btn-template-border {
    background-color: transparent;
    color: var(--template-white);
    border: 2px solid var(--template-white);
    padding: 0.9rem 2.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-template-border:hover {
    background-color: var(--template-white);
    color: var(--template-primary);
}

/* Features Boxes Grid */
.features-boxes-section {
    padding: 5rem 0;
    background-color: var(--template-light);
    border-bottom: 1px solid var(--template-border);
}

.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -8rem;
    position: relative;
    z-index: 10;
}

.feature-box-item {
    background-color: var(--template-white);
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid var(--template-border);
    transition: transform 0.2s;
}

.feature-box-item:hover {
    transform: translateY(-5px);
}

.feature-box-item.active-box {
    background-color: var(--template-primary);
    color: var(--template-white);
    border-color: var(--template-primary);
}

.feature-box-item.active-box h3 {
    color: var(--template-white);
}

.feature-box-item.active-box p {
    color: #94a3b8;
}

.feature-box-item.active-box .icon-circle {
    background-color: var(--template-accent);
    color: var(--template-white);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background-color: #e0f2fe;
    color: var(--template-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem auto;
}

.feature-box-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--template-primary);
    margin-bottom: 1rem;
}

.feature-box-item p {
    font-size: 0.95rem;
    color: var(--template-text);
}

/* About Intro Section */
.about-intro-section {
    padding: 7rem 0;
    background-color: var(--template-white);
}

.grid-two-columns {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.section-tag {
    color: var(--template-accent);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.75rem;
}

.about-text-content h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--template-primary);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.about-text-content p {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.about-features-list {
    margin-top: 2rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--template-primary);
    margin-bottom: 0.75rem;
}

.check-item i {
    color: var(--template-accent);
    font-size: 1.1rem;
}

.responsive-img-radius {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* CTA Banner Section */
.cta-banner-section {
    background-color: var(--template-primary);
    padding: 5rem 0;
    color: var(--template-white);
}

.cta-flex-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: #94a3b8;
    font-size: 1.05rem;
}

/* Footer */
.main-footer {
    background-color: #090d16;
    color: var(--template-white);
    padding: 6rem 0 2rem 0;
}

.footer-grid-3 {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-widget h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-widget h3 span {
    color: var(--template-accent);
}

.footer-widget p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-domain {
    color: var(--template-accent) !important;
    font-weight: 600;
    font-size: 0.85rem !important;
}

.footer-widget h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu-links {
    list-style: none;
}

.footer-menu-links li {
    margin-bottom: 0.75rem;
}

.footer-menu-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-menu-links a:hover {
    color: var(--template-white);
}

.footer-bottom-bar {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

.disclaimer-mini {
    font-style: italic;
}

@media (max-width: 968px) {
    .features-grid-3, .grid-two-columns, .footer-grid-3, .cta-flex-box, .bottom-flex, .header-top-flex {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .main-nav {
        display: none;
    }
    .features-grid-3 {
        margin-top: 2rem;
    }
    .hero-content-center h2 {
        font-size: 2.2rem;
    }
    .header-contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}