/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@300;400;700&display=swap');
.big-img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}
:root {
    --primary-blue: #007bff;
    --secondary-blue: #0a214d;
    --light-blue: #e0f2fe;
    --text-color: #333;
    --light-text: #f0f8ff;
    --dark-grey: #4a4a4a;
    --accent-lines: #c7d2fe;
}



body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

video {
    width: 100%;
    min-height: 300px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: block;
}


.logo_size {
    width: 50px;
    height: auto;
}

.hex-image {
    overflow-x: hidden;
}

.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

section {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0 80px 0;
    border-bottom: 1px solid #334155;
    text-align: center;
}

/* --- Header --- */


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-blue);
}

.logo i {
    font-size: 2rem;
    margin-right: 10px;
    color: var(--primary-blue);
}

/* --- Hero Section --- */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 50px 0;
    position: relative;
    z-index: 5;
    gap: 40px;
}

.image-gallery {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 600px;
    height: 600px;
}

.hex-image {
    position: absolute;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.hex-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-image {
    width: 400px;
    height: 400px;
    top: 50px;
    left: 200px;
    z-index: 2;
    transform: rotate(0deg);
}

.secondary-image {
    width: 250px;
    height: 250px;
    bottom: 0px;
    left: 0px;
    z-index: 1;
    transform: rotate(0deg);
}

.content-text {
    text-align: left;
    max-width: 450px;
}

.tagline {
    color: var(--dark-grey);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 1.1;
    color: var(--secondary-blue);
    margin-bottom: 20px;
}

.description {
    font-size: 1.1rem;
    color: var(--dark-grey);
    margin-bottom: 30px;
}

.website-link {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 3px;
}

/* --- Footer --- */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0 20px 0;
    position: relative;
    z-index: 10;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--dark-grey);
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-blue);
}

/* --- Formas de Fondo Decorativas (Shared Styles) --- */
.shape {
    position: absolute;
    background-color: var(--accent-lines);
    opacity: 0.2;
    z-index: 0;
}

.circle {
    border-radius: 50%;
}

.hex {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shape.small {
    width: 30px;
    height: 30px;
}

.shape.medium {
    width: 50px;
    height: 50px;
}

.shape.large {
    width: 70px;
    height: 70px;
}

/* Posicionamiento específico de las formas del header */
.header-shapes .circle.top-right {
    width: 20px;
    height: 20px;
    top: 50px;
    right: 50px;
    background-color: var(--primary-blue);
    opacity: 0.1;
}

.header-shapes .hex.top-mid {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 200px;
    background-color: var(--primary-blue);
    opacity: 0.15;
}

.header-shapes .hex.top-left {
    width: 60px;
    height: 60px;
    top: 0px;
    left: 250px;
    background-color: var(--primary-blue);
    opacity: 0.1;
}

/* Posicionamiento específico de las formas del footer */
.footer-shapes .hex.bottom-left.blue-dark {
    width: 80px;
    height: 80px;
    bottom: -30px;
    left: -30px;
    background-color: #0a214d;
    /* Azul oscuro del diseño */
    opacity: 0.8;
}

.footer-shapes .hex.bottom-left.blue-light {
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 40px;
    background-color: #0d3663;
    /* Un poco más claro */
    opacity: 0.7;
}

.footer-shapes .hex.bottom-left.blue-darker {
    width: 50px;
    height: 50px;
    bottom: 50px;
    left: 80px;
    background-color: #1a4e8d;
    /* Otro tono de azul */
    opacity: 0.6;
}

.footer-shapes .circle.bottom-right {
    width: 25px;
    height: 25px;
    bottom: 10px;
    right: 100px;
    background-color: var(--primary-blue);
    opacity: 0.1;
}

.footer-social-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-social-content p {
    text-align: center;
}

.footer-social-container {
    display: flex;
    gap: 100px;
}


.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    background-color: var(--accent-lines);
    opacity: 0.3;
}

.hero-section::before {
    width: 150px;
    height: 2px;
    top: 100px;
    left: 0;
    transform: rotate(45deg);
    transform-origin: top left;
}

.hero-section::after {
    width: 100px;
    height: 1px;
    top: 250px;
    right: 0;
}



.problem-section {
    background-color: #ffffff;
    padding: 80px 20px;
    font-family: 'Montserrat', sans-serif;
}

.problem-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.problem-header .eyebrow {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.problem-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin: 10px 0;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 50px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.problem-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 15px;
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.problem-card.highlight {
    border-top: 5px solid var(--primary);
}

.hex-icon {
    width: 60px;
    height: 60px;
    background: var(--dark);
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    font-size: 1.5rem;
}

.problem-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.problem-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.problem-footer {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--dark);
}




/* --- Shared Module Section Styles --- */
.module-section {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
}

.module-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.module-header {
    text-align: center;
    margin-bottom: 60px;
}

.module-header .eyebrow {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.module-header h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin: 0;
    line-height: 1.2;
}

.module-header .underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
}

.module-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.module-text {
    flex: 1;
    text-align: left;
}

.module-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-blue);
    /* Usamos el azul oscuro para coherencia */
    margin-bottom: 20px;
}

.module-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--dark-grey);
}

.module-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.module-text ul li {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--dark-grey);
    display: flex;
    align-items: flex-start;
}

.module-text ul li i {
    color: var(--accent);
    /* Un verde brillante para los checks */
    margin-right: 10px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.module-image {
    flex: 1;
    position: relative;
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.module-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.4), rgba(16, 185, 129, 0.4));
    opacity: 0.3;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--secondary-blue);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-3px);
}

.btn-primary i {
    margin-left: 10px;
}

/* --- Background Shapes for Modules --- */
.module-bg-shape {
    position: absolute;
    background-color: var(--accent-lines);
    /* Usamos el color de las líneas para estas formas */
    opacity: 0.1;
    z-index: 0;
}

.module-bg-shape.hex-medium {
    width: 80px;
    height: 80px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.module-bg-shape.circle-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* Ideation specific shapes */
.ideation-module .module-bg-shape.top-left {
    top: 50px;
    left: 50px;
}

.ideation-module .module-bg-shape.bottom-right {
    bottom: 50px;
    right: 50px;
    background-color: var(--primary);
    /* Un poco más de color aquí */
    opacity: 0.15;
}



/* Projections module specific shapes */
.projections-module .module-bg-shape.top-left {
    top: 40px;
    left: 40px;
    background-color: var(--secondary-blue);
    opacity: 0.1;
}

.projections-module .module-bg-shape.bottom-right {
    bottom: 60px;
    right: 60px;
    background-color: var(--dark);
    opacity: 0.18;
}

/* Ajustes de colores para las imágenes de los módulos para hacerlas distintas */
.ideation-module .module-image .image-overlay {
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.6), rgba(16, 185, 129, 0.6));
}

.costs-module .module-image .image-overlay {
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.6), rgba(37, 99, 235, 0.6));
}

.projections-module .module-image .image-overlay {
    background: linear-gradient(45deg, rgba(15, 23, 42, 0.6), rgba(37, 99, 235, 0.6));
}


/* --- Responsive Adjustments --- */
@media screen and (min-width: 992px) {

    .hero-section {
        flex-direction: row;
    }

    .image-gallery {
        z-index: 1;
    }

    .content-text {      
        z-index: 99;
    }
}