:root {
    --primary-color: #1A1A4B; /* Azul oscuro */
    --secondary-color: #E67E22; /* Naranja */
    --text-color: #333;
    --light-bg: #FDFBF7; /* Crema claro */
    --white: #FFFFFF;
    --accent-green: #27AE60;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

p {
    text-align: justify;
}

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

/* Header & Nav */
header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    font-weight: 700;
}

.logo .gpb {
    color: var(--secondary-color);
    font-size: 2.5rem;
    line-height: 1;
}

.logo .growth {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-left: 5px;
}

.logo .sub-logo {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    padding: 0;
    background-color: var(--light-bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 600px;
}

.hero-image {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.hero-content {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--secondary-color);
}

.badge {
    display: inline-block;
    background-color: rgba(230, 126, 34, 0.1);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.5rem;
    color: #777;
    font-style: italic;
    margin-bottom: 30px;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
    text-align: justify;
}

.stats {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: #777;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, background-color 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    margin-right: 20px;
}

.btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

/* Servicios Section */
.servicios-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.desafio h3, .solucion h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.desafio p, .desafio ul li {
    text-align: justify;
}

.desafio ul {
    list-style: none;
    margin-bottom: 30px;
}

.desafio ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.desafio ul li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.highlight-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.highlight-text strong {
    color: var(--accent-green);
}

.btn-whatsapp {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Formatos Image Styles */
.formatos-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.formatos-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

th {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
}

td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 0.85rem;
}

td.label {
    background-color: #f9f9f9;
    font-weight: 700;
    color: #999;
    text-align: left;
}

/* Temas Section */
.temas-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.temas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.temas-content-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.temas-content-center h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.temas-content-center p {
    margin: 10px 0;
    line-height: 1.6;
    color: #666;
}

.temas-grid-2x3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.temas-button-container {
    text-align: center;
}

.temas-grid-vertical {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.temas-image-full {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.temas-image-full img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.temas-content-below {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.temas-content-below p {
    margin: 0;
    line-height: 1.6;
}

.temas-content-below h3 {
    margin: 0 0 10px 0;
}

.quote-box {
    background-color: var(--white);
    padding: 30px;
    border-left: 5px solid var(--accent-green);
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.temas-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.temas-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.temas-right {
    display: flex;
    flex-direction: column;
}

.temas-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.temas-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.tema-item {
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.tema-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tema-item h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-weight: 700;
    line-height: 1.4;
}

.tema-title {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 8px 0;
}

.tema-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 8px 0 0 0;
}

.diagram-placeholder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.diagram-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.btn-orange {
    background-color: var(--secondary-color);
    color: var(--white);
    margin-top: 30px;
    display: inline-block;
}

/* Sobre Mi Section */
.sobre-mi-section {
    padding: 100px 0;
    background-color: var(--white);
}

.sobre-mi-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-mi-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.sobre-mi-content .name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.sobre-mi-content p {
    margin-bottom: 20px;
    color: #555;
}

.sobre-mi-image img {
    width: 100%;
    border-radius: 10px;
}

/* Herramientas Section */
.herramientas-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.white {
    color: var(--white) !important;
}

.section-subtitle-center {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.2rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background-color: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background-color: rgba(255,255,255,0.15);
}

.card h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.card p {
    font-size: 0.9rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.card-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
}

/* Equipo Page Styles */
.equipo-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d6b 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.equipo-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.equipo-hero-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.equipo-profiles {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.profile-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 50px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.profile-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.profile-image {
    background-color: #f0ede8;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.profile-content {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-label {
    display: inline-block;
    background-color: #FFF3E0;
    color: var(--secondary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    width: fit-content;
}

.profile-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.profile-role {
    font-size: 0.95rem;
    color: #888;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.5;
}

.profile-description {
    margin-bottom: 30px;
}

.profile-description p {
    margin-bottom: 15px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

.profile-description p:last-child {
    margin-bottom: 0;
}

.profile-model {
    background-color: #f9f7f4;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.profile-model h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.model-item {
    background-color: var(--white);
    padding: 18px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.model-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.model-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* Footer */
footer {
    padding: 60px 0 40px;
    background-color: var(--light-bg);
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.footer-info h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-info p {
    margin: 10px 0;
    font-size: 0.95rem;
    text-align: center;
}

.footer-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-info a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 0.85rem;
    color: #999;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .servicios-grid, .temas-grid, .sobre-mi-grid, .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        grid-template-columns: 1fr;
    }
    
    .profile-content {
        padding: 40px 35px;
    }
    
    .profile-content h2 {
        font-size: 1.8rem;
    }
    
    .model-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .equipo-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        width: 100%;
        margin-bottom: 10px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    
    .logo img {
        width: auto !important;
        max-width: 100%;
        height: 50px !important;
        object-fit: contain;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .nav-links li {
        margin-left: 0;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 8px 12px;
        background-color: #f5f5f5;
        border-radius: 5px;
        display: inline-block;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    
    .btn-primary {
        margin-right: 0;
        width: 100%;
        text-align: center;
        padding: 18px 30px;
    }
    
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 18px 30px;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .stats {
        gap: 30px;
        flex-direction: row;
    }
    
    .stat-item {
        flex-direction: column;
    }
    
    .temas-grid-2x3 {
        grid-template-columns: 1fr;
    }
    
    .servicios-grid {
        gap: 30px;
    }
    
    .sobre-mi-grid {
        gap: 30px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }
    
    .profile-content {
        padding: 30px 25px;
    }
    
    .profile-content h2 {
        font-size: 1.6rem;
    }
    
    .profile-role {
        font-size: 0.85rem;
    }
    
    .profile-description p {
        font-size: 0.9rem;
    }
    
    .profile-model {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .profile-model h3 {
        font-size: 1rem;
    }
    
    .model-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .model-item {
        padding: 15px;
    }
    
    .equipo-hero h1 {
        font-size: 2rem;
    }
    
    .equipo-hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 0;
    }
    
    nav {
        padding: 0 15px;
    }
    
    .logo img {
        height: 40px !important;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .section-title-center {
        font-size: 1.8rem;
    }
    
    .stats {
        flex-direction: row;
        gap: 20px;
    }
}
