/* 1. CARGAMOS LAS FUENTES LOCALES */
@font-face {
    font-family: 'Made Tommy';
    src: url('../fonts/MadeTommy-Bold.otf') format('opentype'); 
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'The Sans';
    src: url('../fonts/TheSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 2. ESTILOS GLOBALES BLANCO Y NEGRO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'The Sans', sans-serif; 
    background-color: #ffffff; 
    color: #000000; 
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Made Tommy', sans-serif; 
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

/* HEADER Y NAVEGACIÓN GLOBAL */
header {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 4px solid #333333;
}

header h1 {
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 0;
}

.global-nav {
    background-color: #f9f9f9;
    text-align: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eeeeee;
}

.global-nav a {
    color: #000000;
    text-decoration: none;
    font-family: 'Made Tommy', sans-serif;
    font-weight: bold;
    font-size: 0.85em;
    margin: 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.global-nav a:hover {
    color: #666666;
    transform: translateY(-2px);
}

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

/* ESTILOS DE BOTONES */
.btn {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Made Tommy', sans-serif;
    border: 2px solid #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn-outline-dark {
    display: inline-block;
    background-color: transparent;
    color: #000000;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Made Tommy', sans-serif;
    border: 2px solid #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-outline-dark:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-back {
    display: inline-block;
    margin-bottom: 20px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #000000;
}

/* SECCIÓN PORTADA (GRID 10 FOTOS) */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px;
    margin: 40px 0;
}

a.concept-box {
    text-decoration: none;
    cursor: pointer;
    position: relative;
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #000; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

a.concept-box:hover {
    transform: translateY(-5px);
}

a.concept-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

a.concept-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); 
    z-index: 2;
    transition: background 0.3s ease;
}

a.concept-box:hover::after {
    background: rgba(0, 0, 0, 0.4); 
}

a.concept-box span {
    position: relative;
    z-index: 3;
    color: #ffffff;
    font-family: 'Made Tommy', sans-serif;
    font-size: 1.1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 10px;
}

/* NAVEGACIÓN INFERIOR DIVIDIDA (Ahora 3 columnas) */
.split-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.nav-card {
    background-color: #ffffff;
    border: 2px solid #000000;
    padding: 40px 30px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-card:hover {
    background-color: #000000;
    color: #ffffff;
}

.nav-card:hover h2, .nav-card:hover p {
    color: #ffffff;
}

.nav-card .btn {
    width: 100%;
}

/* ESTILOS DE LANDINGS INTERIORES */
.sub-page {
    max-width: 825px;
}

.hero-section {
    text-align: center;
    padding: 0 0 40px 0;
    margin-bottom: 30px;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 30px;
    border: 1px solid #eeeeee;
}

.value-props {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.prop-card {
    background: #fcfcfc;
    padding: 20px;
    border-left: 5px solid #000000;
    border-radius: 0 4px 4px 0;
    border-top: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.form-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #000000;
    text-align: center;
}

.iframe-container {
    margin-top: 20px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #eeeeee;
}

/* ESTILOS FOOTER Y FORMULARIOS DUALES */
.footer-image-wrapper {
    width: 100%;
    margin-top: 40px;
    line-height: 0;
    background-color: #000;
}
.footer-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.dual-forms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    border-top: 2px solid #000;
    padding-top: 40px;
}
.form-col h3 {
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .concept-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .dual-forms {
        grid-template-columns: 1fr;
    }
    .global-nav a {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .concept-grid {
        grid-template-columns: 1fr; 
    }
    a.concept-box {
        height: 150px;
    }
}