/* ==========================================================================
   Front Page Styles
   ========================================================================== */

/* --- Shared --- */
.fp-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.fp-section {
    padding: var(--space-section) 0;
}

.fp-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.fp-section-subtitle {
    font-size: 1.125rem;
    color: var(--color-body);
    max-width: 560px;
}

.fp-section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.fp-section-header .fp-section-subtitle {
    margin: 0 auto;
}

.fp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: var(--space-md);
}

.fp-link:hover {
    gap: 0.625rem;
}

.fp-link span {
    transition: var(--transition);
}

/* === SECTION 1: HERO === */
.fp-hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: var(--space-2xl) 0;
}

.fp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.fp-hero-eyebrow {
    color: var(--color-muted);
    animation: fadeInUp 0.6s ease both;
}

.fp-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.6s ease 0.15s both;
}

.fp-hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-body);
    max-width: 520px;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.3s both;
}

.fp-hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.45s both;
}

.fp-hero-image {
    animation: fadeInUp 0.8s ease 0.3s both;
}

.fp-hero-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    object-fit: cover;
}

/* === SECTION 2: CREDIBILITY BAR === */
.fp-credibility {
    background: var(--color-light);
    padding: var(--space-xl) 0;
}

.fp-credibility-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: var(--space-md);
}

.fp-credibility-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.fp-credibility-logos img {
    max-height: 45px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.5;
    transition: var(--transition);
}

.fp-credibility-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* === SECTION 3: MÉTODO SHAPE === */
.fp-shape {
    background: var(--color-white);
}

.fp-shape-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.fp-shape-logo {
    max-width: 180px;
    margin-bottom: var(--space-md);
}

.fp-shape-text p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.fp-shape-components {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.fp-shape-component {
    padding: var(--space-md);
    background: var(--color-light);
    border-radius: 8px;
}

.fp-shape-component h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--space-xs);
}

.fp-shape-component p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-body);
    margin: 0;
}

.fp-shape-image img {
    border-radius: 12px;
    width: 100%;
}

/* === SECTION 4: EMPRESAS === */
.fp-empresas {
    background: var(--color-light);
}

.fp-empresas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.fp-empresa-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.fp-empresa-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.fp-empresa-logo {
    height: 80px;
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.fp-empresa-logo img {
    max-height: 60px;
    width: auto;
}

.fp-empresa-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--space-xs);
}

.fp-empresa-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-body);
}

/* === SECTION 5: CONFERENCIAS === */
.fp-conferencias {
    background: var(--color-white);
}

.fp-conferencias-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.fp-conferencias-image img {
    border-radius: 12px;
    width: 100%;
    box-shadow: var(--shadow-card);
}

.fp-conferencias-text p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.fp-conferencias-list {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.fp-conferencias-list li {
    position: relative;
    padding-left: 1.25rem;
    padding-bottom: 0.625rem;
    font-size: 0.9375rem;
    color: var(--color-body);
}

.fp-conferencias-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.fp-conferencias-list li em {
    color: var(--color-muted);
}

/* === SECTION 6: MANIFIESTO === */
.fp-manifiesto {
    background: var(--color-dark);
    padding: var(--space-3xl) 0;
}

.fp-manifiesto-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.fp-manifiesto-quote {
    font-size: 6rem;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.3;
    position: absolute;
    top: -2.5rem;
    left: -1rem;
    font-family: Georgia, serif;
}

.fp-manifiesto blockquote {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-white);
    margin: 0;
}

.fp-manifiesto cite {
    display: block;
    margin-top: var(--space-md);
    font-size: 1rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.5);
}

/* === SECTION 7: BLOG === */
.fp-blog {
    background: var(--color-white);
}

.fp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.fp-blog-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.fp-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.fp-blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

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

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

.fp-blog-card-body {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fp-blog-card-date {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: var(--space-xs);
}

.fp-blog-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-xs);
}

.fp-blog-card-title a {
    color: var(--color-dark);
    text-decoration: none;
}

.fp-blog-card-title a:hover {
    color: var(--color-primary);
}

.fp-blog-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-body);
    flex: 1;
}

.fp-blog-card .fp-link {
    margin-top: auto;
    padding-top: var(--space-sm);
}

/* === SECTION 8: CTA === */
.fp-cta {
    background: var(--color-light);
}

.fp-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.fp-cta-content .fp-section-subtitle {
    margin: 0 auto var(--space-lg);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsive === */
@media (max-width: 992px) {
    .fp-hero-title {
        font-size: 2.75rem;
    }

    .fp-shape-inner,
    .fp-conferencias-inner {
        gap: var(--space-xl);
    }

    .fp-empresas-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .fp-blog-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .fp-hero {
        min-height: auto;
        padding: var(--space-xl) 0;
    }

    .fp-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fp-hero-title {
        font-size: 2.25rem;
    }

    .fp-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .fp-hero-buttons {
        justify-content: center;
    }

    .fp-hero-image {
        order: -1;
    }

    .fp-hero-image img {
        max-width: 300px;
        margin: 0 auto;
    }

    .fp-section-title {
        font-size: 1.75rem;
    }

    .fp-shape-inner {
        grid-template-columns: 1fr;
    }

    .fp-shape-image {
        order: -1;
    }

    .fp-shape-components {
        grid-template-columns: 1fr;
    }

    .fp-conferencias-inner {
        grid-template-columns: 1fr;
    }

    .fp-manifiesto blockquote {
        font-size: 1.5rem;
    }

    .fp-manifiesto-quote {
        font-size: 4rem;
        top: -1.5rem;
    }

    .fp-credibility-logos {
        gap: var(--space-xl);
    }

    .fp-credibility-logos img {
        max-height: 35px;
    }
}

/* ThePulse / ShapeMethod text logo fallback */
.fp-empresa-text-logo {
    display: inline-block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #e73b1d;
    line-height: 1;
}

/* Conferencias: layout single column with image below text */
.fp-conferencias-inner {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.fp-conferencias-text .fp-conferencias-image {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.fp-conferencias-text .fp-conferencias-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero: stack person photo + conference image */
.fp-hero-image {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.fp-hero-conference-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.fp-hero-conference-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero text white over background image */
.fp-hero .fp-hero-eyebrow,
.fp-hero .fp-hero-title,
.fp-hero .fp-hero-subtitle {
    color: #fff !important;
}
.fp-hero .fp-hero-eyebrow {
    color: rgba(255,255,255,0.9) !important;
}
.fp-hero .btn-outline {
    color: #fff !important;
    border-color: #fff !important;
    background: transparent !important;
}
.fp-hero .btn-outline:hover {
    background: #fff !important;
    color: #e73b1d !important;
}

/* Hero buttons Elementor styling */
.fp-hero .elementor-button-wrapper {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.fp-hero .elementor-widget-button .elementor-button {
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    letter-spacing: 0.3px;
    min-width: 200px;
    text-align: center;
    transition: all .25s ease;
}
.fp-hero .elementor-widget-button .elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
/* Red primary */
.fp-hero .elementor-widget-button:first-child .elementor-button,
.fp-hero .elementor-widget-button .elementor-button[style*="e73b1d"] {
    background: #e73b1d !important;
    color: #fff !important;
    border: 2px solid #e73b1d !important;
}
/* Transparent outline (second button) */
.fp-hero .elementor-widget-button .elementor-button[style*="transparent"] {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}
.fp-hero .elementor-widget-button .elementor-button[style*="transparent"]:hover {
    background: #fff !important;
    color: #e73b1d !important;
    border-color: #fff !important;
}

/* Hero buttons display inline */
.fp-hero .elementor-widget-button {
    display: inline-block !important;
    width: auto !important;
}
.fp-hero .elementor-widget-button .elementor-widget-container {
    display: inline-block;
}
