* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul-cielo: #A8D8F0;
    --azul-agua: #5BA3D0;
    --azul-profundo: #2C5282;
    --negro-elegante: #2D3E50;
    --blanco: #ffffff;
    --gris-fondo: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gris-fondo);
    margin: 0;
    padding: 0;
}

/* ==================== HEADER ==================== */
header {
    background-color: var(--azul-profundo);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo img:hover {
    transform: scale(1.08);
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-nav {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    border: 2px solid var(--azul-agua);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--blanco) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-nav:hover {
    color: var(--azul-marino);
    border-color: var(--blanco);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.btn-nav:hover::after {
    opacity: 1;
}

.btn-nav.active {
    background: linear-gradient(135deg, var(--azul-agua) 0%, var(--azul-profundo) 100%);
    color: var(--blanco);
    border-color: var(--blanco);
    box-shadow: 0 8px 25px rgba(91, 163, 208, 0.6);
    transform: translateY(-2px);
}

.btn-nav.active::after {
    opacity: 0;
}

/* ==================== RESPONSIVE HEADER ==================== */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 40px;
    }
    
    .logo img {
        height: 55px;
    }
    
    .btn-nav {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 30px;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav-links {
        gap: 10px;
        flex-grow: 1;
        justify-content: flex-end;
    }
    
    .btn-nav {
        font-size: 13px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 0;
    }
    
    .header-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .btn-nav {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 320px) {
    .logo img {
        height: 40px;
    }
    
    .btn-nav {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* ==================== HERO CONTAINER ==================== */
.hero-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: transparent;
    margin: 0;
    padding: 0;
    display: block;
}

.hero-intro-text {
    position: absolute;
    top: 35%;
    left: 55%;
    transform: translateY(-50%);
    font-size: 56px;
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-style: italic;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.6;
    text-align: justify;
    max-width: 600px;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ==================== RESPONSIVE HERO ==================== */
@media (max-width: 1024px) {
    .hero-intro-text {
        font-size: 48px;
        left: 50%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-intro-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-intro-text {
        font-size: 28px;
        max-width: 90%;
        top: 45%;
        left: 50%;
    }
}

@media (max-width: 320px) {
    .hero-intro-text {
        font-size: 22px;
        max-width: 95%;
    }
}

.hero-container img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    background-color: var(--blanco);
    display: block;
    margin: 0;
    padding: 0;
}

.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
}

/* ==================== RESPONSIVE HERO IMAGE ==================== */
@media (max-width: 1024px) {
    .hero-container img {
        max-height: 450px;
    }
    
    .wave {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .hero-container img {
        max-height: 350px;
    }
    
    .wave {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero-container img {
        max-height: 280px;
        min-height: 250px;
    }
    
    .hero-intro-text {
        font-size: 24px;
        max-width: 85%;
        top: 48%;
        transform: translate(-50%, -50%);
    }
    
    .wave {
        height: 100px;
    }
}

@media (max-width: 320px) {
    .hero-container img {
        max-height: 200px;
        min-height: 180px;
    }
    
    .hero-intro-text {
        font-size: 18px;
        max-width: 90%;
        top: 50%;
    }
    
    .wave {
        height: 80px;
    }
}

/* ==================== INTRO TEXT SECTION ==================== */
.nosotros-section {
    background-color: var(--blanco);
    padding: 0 0 100px 0;
    margin: 0;
}

.nosotros-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 60px 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nosotros-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.15);
}

.nosotros-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nosotros-image:hover img {
    transform: scale(1.05);
}

.nosotros-text h2 {
    font-size: 48px;
    color: #003366;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.nosotros-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ==================== RESPONSIVE NOSOTROS ==================== */
@media (max-width: 1024px) {
    .nosotros-container {
        gap: 40px;
        padding: 50px 40px 0 40px;
    }

    .nosotros-text h2 {
        font-size: 40px;
    }

    .nosotros-text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .nosotros-section {
        padding: 60px 0;
    }

    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px 0 30px;
    }

    .nosotros-text h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .nosotros-text p {
        font-size: 15px;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .nosotros-container {
        padding: 30px 20px 0 20px;
        gap: 30px;
    }

    .nosotros-text h2 {
        font-size: 26px;
    }

    .nosotros-text p {
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .nosotros-text h2 {
        font-size: 22px;
    }

    .nosotros-text p {
        font-size: 13px;
    }
}

.nosotros-list {
    list-style: none;
    margin-top: 32px;
}

/* ==================== COMPROMISO SECTION ==================== */
.compromiso-section {
    background-color: #ffffff;
    padding: 80px 0;
    margin: 0;
}

.compromiso-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

/* mantener referencia de posicionamiento para la onda */
.compromiso-container {
    position: relative;
}

.compromiso-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.compromiso-text h2 {
    font-size: 48px;
    color: var(--azul-profundo);
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.compromiso-text p {
    font-size: 16px;
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 24px;
}

.compromiso-lista {
    list-style: none;
    margin: 32px 0;
    padding: 0;
}

.compromiso-lista li {
    font-size: 16px;
    color: #5a6c7d;
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.compromiso-lista li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--azul-agua);
    font-weight: 700;
    font-size: 18px;
}

.compromiso-image {
    position: relative;
    overflow: visible;
    margin-top: -20px;
    margin-bottom: -40px;
    z-index: 1;
}

.compromiso-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.compromiso-image:hover img {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 1024px) {
    .compromiso-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .compromiso-text h2 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .compromiso-container {
        padding: 0 30px;
    }

    .compromiso-content {
        gap: 40px;
    }

    .compromiso-text h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .compromiso-text p {
        font-size: 15px;
    }

    .compromiso-lista li {
        font-size: 15px;
        padding: 10px 0;
        padding-left: 24px;
    }
}

/* ==================== WAVE COMPROMISO ==================== */
.wave-compromiso {
    position: relative;
    width: 100vw;
    height: 200px;
    display: block;
    margin: -120px 0 0 0;
    padding: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    z-index: 3;
}

/* ==================== PRODUCCIÓN SECTION ==================== */
.produccion-section {
    background-color: #ffffff;
    padding: 80px 0;
    margin: 0;
}

.produccion-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.produccion-container h2 {
    font-size: 48px;
    color: #003366;
    margin-bottom: 60px;
    font-weight: 800;
    letter-spacing: -1px;
    text-align: center;
}

.produccion-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.produccion-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.produccion-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.produccion-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 45px rgba(0, 51, 102, 0.2);
}

.produccion-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.produccion-item:hover img {
    transform: scale(1.1);
}

.produccion-item h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #ffffff;
    margin: 0;
    padding: 15px 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.produccion-item:hover h4 {
    opacity: 1;
}

/* ==================== RESPONSIVE GALERÍA ==================== */
@media (max-width: 1024px) {
    .produccion-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .produccion-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .produccion-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .produccion-container h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .produccion-container {
        padding: 0 30px;
    }
    
    .produccion-item h4 {
        font-size: 14px;
        padding: 12px 10px;
    }
}

@media (max-width: 480px) {
    .produccion-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .produccion-container h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .produccion-container {
        padding: 0 20px;
    }
    
    .produccion-item h4 {
        font-size: 13px;
        padding: 10px 8px;
    }
}

@media (max-width: 320px) {
    .produccion-container h2 {
        font-size: 24px;
    }
}

.produccion-description {
    margin-top: 60px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.produccion-description h3 {
    font-size: 32px;
    color: var(--azul-profundo);
    margin-bottom: 16px;
    font-weight: 700;
}

.produccion-description p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.produccion-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.prod-feature {
    background-color: #f9f9f9;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--azul-agua);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.prod-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.15);
}

.prod-feature strong {
    display: block;
    font-size: 18px;
    color: var(--azul-profundo);
    margin-bottom: 10px;
}

.prod-feature p {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .produccion-features {
        grid-template-columns: 1fr;
    }

    .produccion-description h3 {
        font-size: 26px;
    }

    .produccion-description p {
        font-size: 16px;
    }
}

/* ==================== BOTELLON SECTION ==================== */
.botellon-section {
    margin-top: 80px;
    padding: 60px;
    background-color: var(--azul-profundo);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.botellon-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.botellon-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.botellon-image img {
    max-width: 380px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.botellon-text h3 {
    font-size: 40px;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.botellon-text p {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 24px;
}

.botella-features {
    list-style: none;
    margin: 32px 0;
    padding: 0;
}

.botella-features li {
    font-size: 16px;
    color: #5a6c7d;
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.botella-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--azul-agua);
    font-weight: 700;
    font-size: 16px;
}

/* ==================== BOTELLON - VARIANTE CLARA Y REVERSA ==================== */
.botellon-section--light {
    background-color: transparent;
    color: var(--azul-profundo);
    box-shadow: none;
}

.botellon-section--light .botellon-text h3 {
    color: var(--azul-profundo);
}

.botellon-section--light .botellon-text p {
    color: #555555;
}

.botellon-container--reverse .botellon-image {
    order: 2;
}

.botellon-container--reverse .botellon-text {
    order: 1;
    text-align: left;
}

@media (max-width: 1024px) {
    .botellon-container--reverse .botellon-image,
    .botellon-container--reverse .botellon-text {
        order: initial;
    }
}

@media (max-width: 1024px) {
    .botellon-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .botellon-text h3 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .botellon-container {
        padding: 0 30px;
    }

    .botellon-text h3 {
        font-size: 28px;
    }

    .botellon-text p {
        font-size: 15px;
    }

    .botella-features li {
        font-size: 15px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .produccion-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .produccion-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .produccion-container h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .produccion-container {
        padding: 0 30px;
    }
}

.nosotros-list li {
    font-size: 16px;
    color: #003366;
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
    font-weight: 600;
}

.nosotros-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-size: 20px;
    font-weight: bold;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .nosotros-container {
        gap: 40px;
        padding: 0 40px;
    }

    .nosotros-text h2 {
        font-size: 40px;
    }

    .nosotros-text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
    }

    .nosotros-section {
        padding: 60px 0;
    }

    .nosotros-text h2 {
        font-size: 32px;
    }
}

/* ==================== MAIN CONTENT ==================== */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px;
}

section {
    padding: 80px 0;
    text-align: center;
}

section h2 {
    font-size: 48px;
    color: var(--azul-marino);
    margin-bottom: 24px;
    font-weight: 800;
}

section p {
    font-size: 18px;
    color: #666;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .header-container {
        padding: 0 30px;
        flex-wrap: wrap;
        gap: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .btn-nav {
        font-size: 14px;
        padding: 8px 16px;
    }

    main {
        padding: 40px 30px;
    }

    section h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .btn-nav {
        font-size: 12px;
        padding: 6px 12px;
    }

    main {
        padding: 30px 20px;
    }

    section h2 {
        font-size: 24px;
    }
}

/* ==================== CONTENIDO MODERNO SECTION ==================== */
.contenido-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 100px 0;
    margin: 0;
}

.contenido-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.contenido-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--azul-agua) 0%, var(--azul-profundo) 100%);
    color: var(--blanco);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.contenido-content h2 {
    font-size: 56px;
    color: var(--azul-profundo);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--azul-profundo) 0%, var(--azul-agua) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contenido-highlight {
    font-size: 20px !important;
    color: var(--azul-agua);
    font-weight: 600;
    margin-bottom: 50px !important;
    line-height: 1.6;
}

.contenido-content p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contenido-content p strong {
    color: #003366;
    font-weight: 700;
}

/* ==================== CONTACTO SECTION ==================== */
.contacto-section {
    padding: 40px 0;
    background-color: var(--blanco);
}

.contacto-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.contacto-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    background-color: var(--blanco);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(44, 82, 130, 0.06);
    overflow: hidden;
}

.contacto-side {
    background-color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.contacto-logo {
    background-color: var(--azul-profundo);
    padding: 8px;
    border-radius: 10px;
    display: inline-block;
}

.contacto-logo img {
    width: 110px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.06));
    border-radius: 6px;
    background: transparent;
    padding: 0;
    display: block;
}

.contacto-form-wrap {
    padding: 12px 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contacto-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.form-group label {
    font-size: 13px;
}

.form-group input,
.form-group textarea {
    padding: 10px 12px;
    font-size: 14px;
}

.btn-submit {
    padding: 10px 20px;
}

.contacto-container h2 {
    font-size: 36px;
    color: var(--azul-profundo);
    text-align: center;
    margin-bottom: 8px;
    font-weight: 800;
}

.contacto-intro {
    text-align: center;
    color: #555;
    margin-bottom: 12px;
    font-size: 15px;
}

.contacto-form {
    background-color: var(--blanco);
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(44, 82, 130, 0.08);
}

.form-group {
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--azul-profundo);
    margin-bottom: 6px;
    font-size: 13px;
}

.form-group input,
.form-group textarea {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azul-agua);
    box-shadow: 0 0 0 3px rgba(91, 163, 208, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.btn-submit {
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--azul-profundo) 0%, #1a3a52 100%);
    color: var(--blanco);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.35);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(91, 163, 208, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ==================== RESPONSIVE CONTACTO ==================== */
@media (max-width: 1024px) {
    .contacto-container {
        padding: 0 40px;
    }

    .contacto-container h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .contacto-container {
        padding: 0 30px;
    }

    .contacto-container h2 {
        font-size: 28px;
    }

    .contacto-card {
        grid-template-columns: 1fr;
    }

    .contacto-side {
        padding: 18px;
    }

    .contacto-form-wrap {
        padding: 18px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contacto-container {
        padding: 0 20px;
    }

    .contacto-section {
        padding: 30px 0;
    }

    .contacto-container h2 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .contacto-intro {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .contacto-card {
        border-radius: 8px;
    }

    .contacto-side {
        padding: 12px;
    }

    .contacto-logo img {
        width: 80px;
    }

    .contacto-form-wrap {
        padding: 14px;
    }

    .form-group {
        margin-bottom: 8px;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 13px;
    }

    .btn-submit {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .contacto-container {
        padding: 0 15px;
    }

    .contacto-container h2 {
        font-size: 20px;
    }

    .contacto-logo img {
        width: 70px;
    }
}

/* ==================== FUNDADOR SECTION ==================== */
.fundador-section {
    padding: 60px 0;
    background-color: transparent;
}

.fundador-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.fundador-image img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--azul-agua);
}

.fundador-text {
    text-align: left;
}

.fundador-text h3 {
    font-size: 24px;
    color: var(--azul-profundo);
    margin: 0 0 6px 0;
    text-align: center;
}

.fundador-title {
    color: #5a6c7d;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.fundador-text p {
    color: #555;
    line-height: 1.6;
}

/* Estilos para la historia del fundador */
.fundador-story {
    margin-top: 25px;
}

.story-section {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid var(--azul-agua);
    padding: 15px 20px;
    background-color: rgba(168, 216, 240, 0.1);
    border-radius: 4px;
}

.story-section h4 {
    font-size: 16px;
    color: var(--azul-profundo);
    margin-bottom: 8px;
    font-weight: 700;
}

.story-section p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}

.story-section strong {
    color: var(--azul-profundo);
    font-weight: 600;
}

@media (max-width: 768px) {
    .fundador-container {
        flex-direction: column;
        text-align: left;
        padding: 0 30px;
    }

    .fundador-image img {
        width: 140px;
        height: 140px;
    }
}

.contenido-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 50px 0;
    padding: 40px 0;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
}

.feature-item {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.feature-item:hover {
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.feature-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--azul-agua) 0%, var(--azul-profundo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.feature-item p {
    font-size: 18px;
    color: #003366;
    margin: 0;
    font-weight: 700;
}

.feature-subtitle {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 8px;
    font-weight: 400;
}

.contenido-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--azul-agua) 0%, var(--azul-profundo) 100%);
    color: var(--blanco);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.contenido-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(74, 144, 226, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .contenido-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contenido-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contenido-container {
        padding: 0 30px;
    }

    .contenido-content h2 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .contenido-highlight {
        font-size: 18px !important;
    }

    .contenido-content p {
        font-size: 16px;
    }

    .feature-number {
        font-size: 36px;
    }

    .feature-icon {
        font-size: 36px;
    }
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: linear-gradient(135deg, var(--azul-profundo) 0%, #1a3a52 100%);
    color: #fff;
    padding: 60px 0 0 0;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

/* COLUMNA 1: BRAND */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-wrapper {
    display: inline-block;
    width: fit-content;
}

.footer-logo-wrapper img {
    height: 70px;
    width: auto;
    display: block;
    filter: brightness(1.1);
}

.footer-tagline {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255,255,255,0.2);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--azul-agua) 0%, var(--azul-profundo) 100%);
    transform: translateY(-3px);
    border-color: var(--azul-agua);
    box-shadow: 0 8px 20px rgba(91, 163, 208, 0.3);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

/* COLUMNA 2: INFORMACIÓN */
.footer-info h4 {
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 0;
}

.footer-list a:hover {
    color: #ffffff;
    padding-left: 6px;
}

/* COLUMNA 3: CONTACTO */
.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 24px;
    min-width: 28px;
    display: block;
    width: 28px;
    height: 28px;
    color: var(--azul-agua);
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 4px 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-item p {
    margin: 0;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.contact-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item a:hover {
    color: var(--azul-cielo);
}

/* DIVISOR */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    margin: 0;
}

/* FOOTER BOTTOM */
.footer-bottom {
    text-align: center;
    padding: 30px 60px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0 0 8px 0;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-made {
    color: rgba(255,255,255,0.6);
    font-size: 13px !important;
    font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 50px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }

    .footer-bottom {
        padding: 25px 30px;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-info h4,
    .footer-contact h4 {
        text-align: center;
    }

    .footer-list a:hover {
        padding-left: 0;
    }
}

/* ==================== GENTLE ANIMATIONS (JS targets .reveal/.is-visible) ==================== */

/* Estilo base para elementos que se van a animar */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms ease-out, transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

/* Estado visible - elemento ya animado */
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animación especial para imágenes */
.reveal img {
    opacity: 0.85;
    transform: scale(0.98);
    transition: opacity 900ms ease-out, transform 900ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-visible img {
    opacity: 1;
    transform: scale(1);
}

/* Retrasos para cascada */
.reveal:nth-child(1) { transition-delay: 50ms; }
.reveal:nth-child(2) { transition-delay: 100ms; }
.reveal:nth-child(3) { transition-delay: 150ms; }
.reveal:nth-child(4) { transition-delay: 200ms; }
.reveal:nth-child(5) { transition-delay: 250ms; }

/* Respetar preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
    .reveal img {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal.is-visible img {
        opacity: 1;
        transform: none;
    }
}
