@font-face {
    font-family: 'PPFormula';
    src: url('./font/PPFormula-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PPFormula';
    src: url('./font/PPFormula-Extrabold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #007BC2;
    --secondary-color: #545454;
    --dark-gray: #222;
    --white: #fff;
    --container-width: 1440px;
    --container-padding: 50px;
    --section-spacing: 100px;
    --content-spacing: 60px;
    --element-spacing: 30px;
    --box-shadow: 0 4px 4px rgba(0, 0, 0, 0.14);
    --border-radius-lg: 50px;
    --border-radius-md: 40px;
    --border-radius-sm: 10px;
    --font-primary: 'PPFormula', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

.top-header {
    background: var(--white);
    position: fixed;
    width: 100%;
    height: 110px;
    z-index: 100;
    box-shadow: var(--box-shadow);
}

.header-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 var(--container-padding);
}

.logo-placeholder {
    width: min(550px, 40vw);
    height: 100px;
    background: var(--primary-color);
    margin-top: -20px;
}

.cta-button-header {
   /*   width: min(376px, 30vw);*/
    height: 70px;
    background: transparent;
    border: 2px solid #545454;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: -5px;
    transition: all 0.3s ease;
    padding: 0 50px;
}

.cta-button-header:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-button-header span {
    color: #545454;
    font-size: clamp(16px, 2vw, 24px);
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.cta-button-header:hover span {
    color: var(--white);
}

.hero {
    position: relative;
    min-height: 100vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/fondo-background-azul.png') center/cover no-repeat;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: min(285px, 25vh) var(--container-padding) 0;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.hero-tags {
    display: flex;
    gap: 32px;
    margin-bottom: min(205px, 20vh);
    flex-wrap: wrap;
}

.tag {
    height: 86px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3%;
}

.tag-outline {
    /*width: min(658px, 100%);*/
    border: 2px solid var(--white);
    background: transparent;
}

.tag-filled {
    /*width: min(383px, 100%);*/
    background: var(--white);
}

.tag span {
    font-size: clamp(14px, 1.8vw, 22px);
    font-weight: normal;
    text-align: center;
}

.tag-outline span {
    color: var(--white);
}

.tag-filled span {
    color: var(--primary-color);
}

.hero-title {
    color: var(--white);
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 800;
    margin-left: min(62px, 5vw);
    margin-bottom: -20px;
    width: 100%;
    max-width: 1274px;
    font-family: var(--font-primary);
}

.hero-subtitle {
    color: var(--white);
    font-size: clamp(22px, 2.8vw, 36px);
    width: 100%;
    max-width: 1140px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 62px;
}

.subtitle-icon {
    width: 42px;
    height: 32px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .subtitle-icon {
        display: none;
    }
    
    .hero-subtitle {
        text-align: center;
        margin-left: 0;
        justify-content: center;
        margin-top: 20px;
    }
}

.scroll-icon {
    position: absolute;
    left: 70px;
    bottom: 149px;
    width: 82px;
    height: 64px;
    display: none;
}

@media (min-width: 768px) {
    .scroll-icon {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }
    
    .hero-content {
        padding-top: 200px;
    }
    
    .hero-tags {
        margin-bottom: 80px;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }

    .hero {
        min-height: 50vh;
        position: relative;
        z-index: 1;
    }
    
    .hero-content {
        padding: 85px 15px 60px;
        position: relative;
        z-index: 2;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(36px, 8vw, 50px);
        margin: 0 auto;
    }

    .hero-subtitle {
        margin-bottom: 20px;
        white-space: normal;
        font-size: clamp(14px, 2.8vw, 16px);
        line-height: 1.2;
    }

    .intro {
        margin-top: -30px;
        position: relative;
        z-index: 1;
    }

    .intro-content {
        padding-top: 40px;
        border-radius: 40px 40px 70px 70px;
    }

    .hero-tags {
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .tag {
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .top-header {
        height: 80px;
    }
    
    .logo-placeholder {
        height: 60px;
    }
    
    .cta-button-header {
        height: 40px;
        padding: 0 15px;
        width: auto;
        min-width: 120px;
        margin-top: -5px;
    }

    .cta-button-header span {
        font-size: 13px;
    }

    .header-content {
        padding: 0 20px;
    }
}

.intro {
    padding: 0 50px;
    margin-top: -67px;
    margin-bottom: var(--section-spacing);
    position: relative;
    z-index: 4;
}

.intro-content {
    max-width: 1340px;
    margin: 0 auto;
    background: var(--white);
    padding: 53px;
    border-radius: 0 0 70px 70px;
    box-shadow: var(--box-shadow);
}

.intro-title {
    margin-bottom: var(--content-spacing);
    width: 100%;
    max-width: 1258px;
    margin-left: 41px;
}

.intro-title h2 {
    color: var(--primary-color);
    font-size: clamp(26px, 3.8vw, 36px);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    min-height: 120px;
}

.title-underline {
    width: 176px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto;
}

.intro-text {
    color: var(--dark-gray);
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.6;
    max-width: 1258px;
    margin-left: 41px;
    margin-bottom: var(--element-spacing);
}

.sectors-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 27px;
    padding: 0 13px;
    margin-bottom: var(--content-spacing);
}

.sector-card {
    width: calc((100% - 54px) / 3);
    height: 290px;
    position: relative;
    background: var(--white);
    border-radius: 37px;
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);*/
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sector-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sector-card:hover .sector-image img {
    transform: scale(1.05);
}

.sector-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 58px;
    color: var(--white);
    z-index: 2;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.sector-card:hover .sector-icon {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.sector-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
   /* background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7));*/
    pointer-events: none;
}

.sector-card h3 {
    position: absolute;
    bottom: 30px;
    left: 47px;
    right: 47px;
    color: var(--white);
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: bold;
    text-align: center;
    z-index: 1;
    transition: transform 0.3s ease;
}

.sector-card:hover h3 {
    transform: translateY(-5px);
}

.intro-footer {
    color: var(--dark-gray);
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.6;
    max-width: 1258px;
    margin: 57px 41px 0;
    min-height: 99px;
}

.intro-highlight {
    color: var(--white);
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
    text-align: center;
    width: fit-content;
    margin: 40px auto 0;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--primary-color), #005a8f);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0, 123, 194, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 194, 0.3);
}

@media (max-width: 1200px) {
    .intro-content {
        padding: 40px 20px;
    }
    
    .intro-title,
    .intro-text,
    .intro-footer {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .sectors-grid {
        justify-content: center;
    }
    
    .sector-card {
        width: calc((100% - 27px) / 2);
    }
}

@media (max-width: 768px) {
    .intro {
        padding: 0 20px;
        margin-top: -50px;
    }
    
    .intro-content {
        padding: 30px 15px;
    }
    
    .intro-title,
    .intro-text,
    .intro-footer {
        margin-left: 15px;
        margin-right: 15px;
    }


    
    .sectors-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .sector-card {
        width: 100%;
        max-width: 392px;
        height: 240px;
    }
    
    .sector-card h3 {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    

}

@media (max-width: 480px) {
    .intro-content {
        padding: 20px 10px;
    }
    
    .intro-title,
    .intro-text,
    .intro-footer {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .sectors-grid {
        padding: 0 10px;
    }
}

.acompanyem {
    padding: 0 50px;
    margin-top: 100px;
    margin-bottom: var(--section-spacing);
}

.acompanyem-title {
    text-align: center;
    margin-bottom: var(--content-spacing);
}

.acompanyem-title h2 {
    color: var(--primary-color);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: bold;
    margin-bottom: 17px;
    line-height: 1.2;
    height: 60px;
}

.acompanyem-grid {
    max-width: 1299px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--element-spacing);
}

.acompanyem-item {
    display: flex;
    gap: 29px;
    margin-bottom: var(--element-spacing);
    transition: all 0.3s ease;
}

.acompanyem-item:hover {
    transform: translateX(10px);
}

.picto-container {
    width: 192px;
    height: 192px;
    background: #F5F5F5;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.picto-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0,123,194,0.05),
        transparent
    );
    transition: left 0.8s ease;
}

.acompanyem-item:hover .picto-container::before {
    left: 100%;
}

.picto {
    max-width: 100px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.item-content {
    flex: 1;
}

.item-content h3 {
    color: var(--primary-color);
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    height: auto;
}

.item-content p {
    color: var(--dark-gray);
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.6;
}



@media (max-width: 1200px) {
    .acompanyem-grid {
        gap: 20px;
    }
    
    .picto-container {
        width: 150px;
        height: 150px;
    }
    
    .picto {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 992px) {
    .acompanyem-grid {
        grid-template-columns: 1fr;
    }
    
    .item-content h3 {
        height: auto;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .acompanyem {
        padding: 0 20px;
        margin-top: 50px;
    }
    
    .acompanyem-title {
        margin-bottom: 80px;
    }
    
    .acompanyem-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .picto-container {
        width: 120px;
        height: 120px;
        border-radius: 30px;
    }
    
    .picto {
        width: 70px;
        height: 70px;
        max-width: 70px;
    }
}

footer {
    height: 263px;
    width: 100%;
    background: var(--white);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 41px var(--container-padding);
}

.footer-title {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-logos {
    width: 1248px;
    height: 115px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logos-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1300px) {
    .footer-logos {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    footer {
        height: auto;
        padding: 30px 0;
    }
    
    .footer-content {
        padding: 0 20px;
    }
    
    .footer-logos {
        height: auto;
    }
    
    .logos-image {
        width: 100%;
        height: auto;
    }
}

.ponent {
    position: relative;
    height: 977px;
    width: 100%;
    overflow: hidden;
    background: url('./img/fondo-azul-persona.png') center/cover no-repeat;
    box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.25);
    margin-top: 0;
}

.ponent-image {
    position: absolute;
    right: 46px;
    bottom: 0;
    width: 698px;
    height: 859px;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    animation: fadeInDelayed 1.2s ease-out forwards;
    animation-delay: 1s;
}

@keyframes fadeInDelayed {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ponent-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--content-spacing) var(--container-padding);
    color: var(--white);
}

.ponent .section-title {
    margin-bottom: 77px;
}

.ponent .section-title h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: bold;
    margin-bottom: 17px;
    line-height: 1.2;
    height: 60px;
}

.title-underline.white {
    background-color: var(--white);
    width: 176px;
    height: 4px;
    margin: 15px 0;
}

.ponent-intro {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: bold;
    max-width: 792px;
    margin-bottom: 61px;
    line-height: 1.4;
}

.requirements-list {
    max-width: 650px;
    margin-bottom: var(--content-spacing);
    position: relative;
    z-index: 3;
}

.requirement-item {
    display: flex;
    gap: 23px;
    align-items: flex-start;
    margin-bottom: var(--element-spacing);
    opacity: 0;
    animation: fadeUp 0.5s ease-out forwards;
}

.requirement-item:last-child {
    margin-bottom: 0;
}

.requirement-item:nth-child(1) { animation-delay: 0.3s; }
.requirement-item:nth-child(2) { animation-delay: 0.5s; }
.requirement-item:nth-child(3) { animation-delay: 0.7s; }

.checkbox-icon {
    flex-shrink: 0;
    width: 41px;
    height: 41px;
}

.requirement-item p {
    font-size: clamp(16px, 2.2vw, 22px);
    line-height: 1.6;
}

.checkbox-icon .fa-square-check {
    font-size: 2.5rem;
    color: white;
    transition: transform 0.2s ease;
}

.requirement-item:hover .checkbox-icon .fa-square-check {
    transform: scale(1.2);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ponent-footer {


    max-width: 588px;
    position: relative;
    z-index: 3;
}

@media (max-width: 1200px) {
    .ponent-image {
        right: 20px;
        width: 45%;
        height: auto;
    }
    
    .requirements-list,
    .ponent-footer {
        max-width: 50%;
    }
}

@media (max-width: 992px) {
    .ponent {
        height: auto;
        min-height: 977px;
        display: flex;
        flex-direction: column;
    }
    
    .ponent-content {
        order: 1;
        padding-bottom: 40px;
    }
    
    .ponent-image {
        position: relative;
        right: auto;
        order: 2;
        width: 80%;
        max-width: 400px;
        margin: 40px auto -4px;
        display: block;
        padding: 0 20px;
    }
    
    .requirements-list,
    .ponent-footer {
        max-width: 100%;
    }
    
    .ponent .section-title {
        text-align: center;
        padding-top: 40px;
    }
    
    .ponent .title-underline.white {
        margin: 15px auto;
    }
}

@media (max-width: 768px) {
    .intro,
    .acompanyem,
    .ponent-content {
        padding: 20px;
    }
    
    .intro-content {
        padding: 30px 20px;
    }
    
    .sectors-grid {
        gap: var(--element-spacing);
    }
    
    .requirement-item {
        gap: 15px;
    }
    
    .ponent-image {
        width: 70%;
        max-width: 300px;
    }
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-image {
    max-height: 60px;
    width: auto;
}

@media (max-width: 768px) {
    .logo {
        height: auto;
    }
    
    .logo-image {
        max-height: 40px;
    }
}

.cta-section {
    background-color: #222222;
    width: 100%;
    height: 262px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.cta-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: bold;
    line-height: 1.2;
    max-width: 820px;
}

.cta-button {
    width: 376px;
    height: 86px;
    background: var(--secondary-color);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.cta-button:hover {
    background: var(--primary-color);
}

.cta-button span {
    color: var(--white);
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: bold;
}

@media (max-width: 992px) {
    .cta-section {
        height: auto;
        padding: 40px 0;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 376px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 30px 0;
    }
    
    .cta-content {
        padding: 0 20px;
    }
    
    .cta-button {
        height: 70px;
    }
}

/* Reset para todos los párrafos */
p {
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: normal;
    line-height: 1.6;
}

/* Reset específico para tags */
.tag span {
    font-size: clamp(14px, 1.8vw, 22px);
    font-weight: normal;
}

/* Mantenemos tamaños específicos solo para títulos */
h1, h2, h3 {
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(22px, 2.8vw, 36px);
}

.intro-title h2,
.acompanyem-title h2,
.ponent .section-title h2 {
    font-size: clamp(26px, 3.8vw, 36px);
}

.intro-highlight {
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
}

.item-content h3 {
    font-size: clamp(22px, 2.8vw, 30px);
}

.cta-text {
    color: var(--white);
    font-size: clamp(26px, 3.8vw, 36px);
    line-height: 1.4;
    font-weight: normal;
}

.cta-text .text-bold {
    font-weight: 800;
}

.picto img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .tag {
        height: 70px;
    }
    
    .hero-tags {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .tag {
        height: 60px;
        min-width: 200px;
    }
    
    .tag span {
        font-size: clamp(12px, 4vw, 16px);
    }
}

@media (max-width: 768px) {
    .acompanyem-item {
        transform: none !important;
    }
    
    .picto-container::before {
        display: none;
    }
} 