/*
Theme Name: GNS Advisory
Theme URI: https://gnsgroupadvisory.com
Description: Tema personalizado y optimizado para GNS Group Advisory
Author: GNS Development Team
Author URI: https://gnsgroupadvisory.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gns-advisory
Tags: landing-page, modern, clean, responsive, business

This theme is designed specifically for GNS Group Advisory.
Optimized for performance and conversion.
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: #000;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    color: #000;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   Layout Container
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ==========================================================================
   Accessibility - Skip Link
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 12px 24px;
    z-index: 100000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 4px 4px;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    clip: auto !important;
    display: block;
    height: auto;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Header - Hidden by default on landing page ONLY
   ========================================================================== */

/* Ocultar header solo en la página principal (landing) */
.home .site-header,
.page-template-front-page .site-header {
    display: none;
}

/* Mostrar header en el blog y otras páginas */
.blog .site-header,
.archive .site-header,
.page .site-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

/* Header transparente para single posts (hero fullscreen) */
.single .site-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.single .site-header .nav-menu li a {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.single .site-header .nav-menu li a:hover,
.single .site-header .nav-menu li a:focus {
    color: rgba(255, 255, 255, 0.8);
}

/* Header con scroll en single posts */
.single .site-header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.single .site-header.scrolled .nav-menu li a {
    color: #1a1a1a;
    text-shadow: none;
}

.single .site-header.scrolled .nav-menu li a:hover,
.single .site-header.scrolled .nav-menu li a:focus {
    color: #333;
}

.site-header.visible {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.main-navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
    color: #333;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-navigation {
    flex: 1;
    min-width: 200px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-menu li a:hover,
.footer-menu li a:focus {
    color: #fff;
}

.footer-contact {
    flex: 1;
    min-width: 200px;
    text-align: right;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: #fff;
}

.footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    margin: 0;
    font-size: 0.85rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-legal a:hover,
.footer-legal a:focus {
    color: #fff;
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-menu {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Custom Styles - Ready for customization
   ========================================================================== */
