/* ==========================================================================
   Design System & Style tokens (Grupo Armenta - Fernando Armenta Landing)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Roboto:wght@400;500&display=swap');

:root {
    --font-kanit: 'Kanit', sans-serif;
    --font-outfit: 'Outfit', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    
    /* Colors */
    --color-primary-blue: #1D7FBE;
    --color-light-blue: #17A5C0;
    --color-purple: #6155F5;
    --color-dark-purple: #57398B;
    --color-text-dark: #1A1A1A;
    --color-text-body: #212529;
    --color-text-muted: rgba(33, 37, 41, 0.75);
    --color-light-bg: linear-gradient(110.89deg, #F5F3FF 0%, #EFF6FF 100%);
    --color-dark-bg: linear-gradient(110.89deg, #57398B 0%, #57398B 100%);
}

/* ==========================================================================
   Base Elements & Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-kanit);
    background-color: #ffffff;
    color: var(--color-text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout container */
.page-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background: #FFFFFF;
    position: relative;
}

/* Custom Header / Navbar disabled to use global site menu */
/*
.navbar {
    width: 100%;
    height: 80px;
    background: #FFFFFF;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    padding: 0 100px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-img {
    width: 38px;
    height: 38px;
}

.logo-text {
    font-family: var(--font-kanit);
    font-weight: 600;
    font-size: 15.2px;
    letter-spacing: 2.5px;
    color: var(--color-text-dark);
}
*/

/* Section 1: Hero Area */
.section-hero {
    background: #FFFFFF;
    position: relative;
    z-index: 1;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-hero .container {
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1500px;
    padding-left: 150px; /* Cargar más a la derecha */
}

.hero-left {
    flex: 1;
    max-width: 580px;
    min-width: 320px;
    padding-right: 20px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right {
    flex: 1.3;
    max-width: 760px;
    min-width: 350px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: flex-end;
    position: relative;
    z-index: 1;
}

/* Giant Background Text */
.giant-title {
    font-family: var(--font-kanit);
    font-weight: 900;
    font-size: 110px;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.giant-title .blue-text {
    color: #1B7FBE;
    display: block;
}

.giant-title .purple-text {
    color: #57398B;
    display: block;
}

/* Hero Portrait */
.portrait-container {
    width: 100%;
    max-width: 760px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 1;
    bottom: -15px; /* Un poco más arriba */
    transform: scale(1.58);
    transform-origin: bottom center;
}

.portrait-img {
    width: 100%;
    height: auto;
    max-height: 1400px;
    object-fit: contain;
    display: block;
}

/* Hero Bio Content */
.hero-bio {
    margin-top: 0;
}

.hero-name {
    font-family: var(--font-kanit);
    font-weight: 600;
    font-size: 24px;
    color: #57398B;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.hero-role {
    font-family: var(--font-kanit);
    font-weight: 600;
    font-size: 16px;
    color: #1D7FBE;
    margin-bottom: 15px;
}

.hero-desc {
    font-family: var(--font-kanit);
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 30px;
}

/* Actions Row & Back Button */
.hero-actions-row {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alineado totalmente a la derecha */
    width: 100%;
    margin-bottom: 30px;
}

.btn-back {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #F1F3F5;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: #57398B;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-back:hover {
    background: #E2E8F0;
    color: #1B7FBE;
}

.btn-back i {
    width: 24px;
    height: 24px;
}

/* Pill Button */
.btn-conecta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 40px;
    background: #6750A4;
    border: none;
    outline: none;
    border-radius: 100px;
    color: #FFFFFF;
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    margin-left: auto; /* Alineado a la derecha */
}

.btn-conecta:hover {
    background: #57398B;
}

/* Section 2: Experience Summary (Light gradient bg) */
.section-experience {
    background: var(--color-light-bg);
    padding: 80px 0;
    position: relative;
    z-index: 5; /* Pasa por encima del corte inferior de la foto del hero */
    overflow: hidden;
}

.experience-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.experience-right {
    flex: 2;
    min-width: 300px;
}

/* Big counter */
.counter-wrapper {
    text-align: center;
}

.giant-number {
    font-family: var(--font-kanit);
    font-weight: 600;
    font-size: 300px;
    line-height: 1.0;
    color: #6155F5;
    display: block;
}

.counter-label {
    font-family: var(--font-kanit);
    font-weight: 300;
    font-size: 28px;
    line-height: 1.4;
    color: var(--color-text-muted);
    margin-top: -20px;
}

/* Info content on the right */
.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.experience-badge img {
    width: 24px;
    height: 24px;
}

.experience-badge span {
    font-family: var(--font-kanit);
    font-weight: 600;
    font-size: 13.6px;
    letter-spacing: 1.5px;
    color: #1D7FBE;
}

.experience-title {
    font-family: var(--font-kanit);
    font-weight: 600;
    font-size: 48px;
    line-height: 1.2;
    color: #212529;
    margin-bottom: 20px;
}

.experience-subtitle {
    font-family: var(--font-kanit);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.experience-paragraphs p {
    font-family: var(--font-kanit);
    font-weight: 300;
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* Section 3: Areas of Expertise (Dark background) */
.section-areas {
    background: var(--color-dark-purple);
    padding: 80px 0;
    color: #FFFFFF;
}

.areas-header {
    margin-bottom: 60px;
}

.areas-tag {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 15.59px;
    letter-spacing: 2.22px;
    text-transform: uppercase;
    color: #CB30E0;
    margin-bottom: 10px;
    display: block;
}

.areas-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 40px;
    color: #F2F2F7;
    margin-bottom: 20px;
}

.areas-divider {
    width: 89px;
    height: 3px;
    background: #2563EB;
}

/* Areas Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    column-gap: 60px;
    row-gap: 40px;
}

.area-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1.28px solid #E2E8F0;
    padding-bottom: 15px;
}

.area-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.area-number {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 18px;
    color: #CB30E0;
}

.area-line {
    width: 25px;
    height: 3px;
    background: #7C3AED;
}

.area-name {
    font-family: var(--font-outfit);
    font-weight: 600;
    font-size: 23px;
    color: #FFFFFF;
}

/* Section 4: Quote Panel */
.section-quote {
    padding: 80px 0;
    background: #FFFFFF;
}

.quote-card {
    width: 100%;
    max-width: 1280px;
    background: linear-gradient(90deg, #F5F3FF 0%, #EFF6FF 100%);
    border-radius: 32px;
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.quote-symbol {
    font-family: var(--font-outfit);
    font-weight: 900;
    font-size: 96px;
    line-height: 20px;
    color: #2563EB;
    opacity: 0.15;
    margin-bottom: 20px;
}

.quote-text {
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 44px;
    line-height: 1.3;
    color: #0F172A;
    margin-bottom: 0;
}

.quote-highlight {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.quote-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 4px;
    background: #7C3AED;
    border-radius: 2px;
}

/* Section 5: Parallax/CTA Banner (Identical to index.php CTA) */
.section-cta {
    background-image: url('../assets/img/cta-2.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 85px 0 75px;
    color: #FFFFFF;
    position: relative;
}

.cta-left {
    flex: 2;
    min-width: 300px;
}

.cta-right {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: flex-end;
}

.cta-tag {
    font-family: var(--font-kanit);
    font-weight: 300;
    font-size: 13.6px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #B8C4D9;
    margin-bottom: 10px;
    display: block;
}

.cta-title {
    font-family: var(--font-kanit);
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.cta-desc {
    font-family: var(--font-kanit);
    font-weight: 300;
    font-size: 16px;
    color: #B8C4D9;
    margin-bottom: 30px;
}

/* Follow Us Row */
.follow-section {
    margin-top: 30px;
}

.follow-title {
    font-family: var(--font-kanit);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.social-icons-row {
    display: flex;
    gap: 15px;
}

.social-icon-circle {
    width: 41px;
    height: 41px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: border-color 0.3s, background 0.3s;
}

.social-icon-circle:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.social-icon-circle svg {
    width: 20px;
    height: 20px;
}

/* CTA Outline Button */
.btn-cta-outline {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 50px;
    border: 1px solid #FFFFFF;
    border-radius: 50px;
    color: #FFFFFF;
    font-family: var(--font-kanit);
    font-weight: 500;
    font-size: 17.6px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.btn-cta-outline:hover {
    background: #FFFFFF;
    color: #0E2A52;
}

/* Custom Footer Section disabled to use global site footer */
/*
.footer-purple {
    background: #57398B;
    padding: 60px 100px 40px;
    color: #FFFFFF;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-link {
    font-family: var(--font-kanit);
    font-weight: 500;
    font-size: 15.2px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
}

.footer-logo {
    width: 48px;
    height: 48px;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-privacy-links {
    font-family: var(--font-kanit);
    font-weight: 300;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-privacy-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-copyright {
    font-family: var(--font-kanit);
    font-weight: 300;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
}
*/

/* ==========================================================================
   Responsive Adaptations (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1200px) {
    .section-hero .container {
        padding-left: 40px;
        padding-right: 40px;
        gap: 40px;
    }
    .portrait-container {
        transform: scale(1.35);
    }
    .giant-title {
        font-size: 90px;
    }
    .giant-number {
        font-size: 240px;
    }
    .quote-card {
        padding: 60px 50px;
    }
}

@media (max-width: 991px) {
    .page-container {
        padding-top: 80px !important;
    }
    .section-hero {
        min-height: auto;
        padding: 30px 15px 0;
        overflow: hidden;
    }
    .section-hero .container {
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
        min-height: auto;
        gap: 30px;
        max-width: 100%;
    }
    .hero-left {
        max-width: 100%;
        min-width: 100%;
        padding-right: 0;
        text-align: center;
        align-items: center;
    }
    .giant-title {
        font-size: 64px;
        text-align: center;
        margin-bottom: 20px;
    }
    .hero-actions-row {
        justify-content: center !important;
        width: 100%;
        margin-bottom: 20px;
    }
    .btn-conecta {
        margin: 0 auto;
    }
    .hero-bio {
        text-align: center;
        margin-top: 0;
    }
    .hero-name {
        font-size: 22px;
    }
    .hero-role {
        font-size: 15px;
    }
    .hero-desc {
        text-align: center;
        font-size: 16px;
        margin: 0 auto 20px;
        max-width: 100%;
    }
    .hero-right {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        justify-content: center;
        align-items: center;
        align-self: center;
        margin-top: 20px;
    }
    .portrait-container {
        transform: scale(1.1);
        transform-origin: bottom center;
        bottom: 0;
        max-width: 420px;
        margin: 0 auto;
    }
    .portrait-img {
        max-height: 520px;
        width: auto;
        max-width: 100%;
    }

    /* Section 2: Experience */
    .section-experience {
        padding: 60px 15px;
    }
    .section-experience .container {
        flex-direction: column;
        gap: 40px !important;
    }
    .experience-left {
        width: 100%;
        min-width: 100%;
    }
    .giant-number {
        font-size: 180px;
        line-height: 1;
    }
    .counter-label {
        font-size: 22px;
        margin-top: -10px;
    }
    .experience-right {
        width: 100%;
        min-width: 100%;
        text-align: center;
    }
    .experience-badge {
        justify-content: center;
        margin-bottom: 15px;
    }
    .experience-title {
        font-size: 38px;
        text-align: center;
        line-height: 1.2;
    }
    .experience-subtitle {
        font-size: 19px;
        text-align: center;
    }
    .experience-paragraphs p {
        font-size: 16px;
        text-align: left;
    }

    /* Section 3: Areas */
    .section-areas {
        padding: 60px 15px;
    }
    .areas-header {
        text-align: center;
        margin-bottom: 40px;
    }
    .areas-divider {
        margin: 0 auto;
    }
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Section 4: Quote */
    .section-quote {
        padding: 60px 15px;
    }
    .quote-card {
        padding: 50px 30px;
        border-radius: 24px;
    }
    .quote-symbol {
        font-size: 70px;
        margin-bottom: 10px;
    }
    .quote-text {
        font-size: 28px;
        line-height: 1.35;
    }

    /* Section 5: CTA */
    .section-cta {
        padding: 60px 15px;
    }
    .cta-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .section-cta .row > div {
        text-align: center !important;
    }
    .section-cta [style*="transform"] {
        transform: none !important;
    }
    .section-cta [style*="padding-top"] {
        padding-top: 0 !important;
    }
    .cta-title {
        font-size: 24px;
        line-height: 1.3;
    }
    .cta-title br {
        display: none;
    }
    .cta-desc {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .icons-rrss-white {
        justify-content: center !important;
        margin-bottom: 10px;
    }
    .section-cta .order-3 {
        margin-top: 40px !important;
        padding-top: 10px;
    }
    .btn-cta-outline {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .giant-title {
        font-size: 46px;
        letter-spacing: -1px;
    }
    .btn-conecta {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
    }
    .portrait-container {
        transform: scale(1.05);
        max-width: 300px;
    }
    .portrait-img {
        max-height: 380px;
    }
    .giant-number {
        font-size: 130px;
    }
    .counter-label {
        font-size: 18px;
        margin-top: -5px;
    }
    .experience-title {
        font-size: 28px;
    }
    .experience-subtitle {
        font-size: 16px;
    }
    .areas-title {
        font-size: 28px;
    }
    .area-name {
        font-size: 19px;
    }
    .quote-card {
        padding: 35px 20px;
        border-radius: 18px;
    }
    .quote-symbol {
        font-size: 50px;
    }
    .quote-text {
        font-size: 20px;
    }
    .cta-tag {
        font-size: 12px;
    }
    .cta-title {
        font-size: 21px;
    }
    .btn-cta-outline {
        width: 100%;
        max-width: 240px;
        padding: 12px 25px;
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .giant-title {
        font-size: 38px;
    }
    .giant-number {
        font-size: 110px;
    }
    .quote-text {
        font-size: 18px;
    }
}
