/* ============================================
   CSS Variables - SEAL Color Palette
   ============================================ */
:root {
    --gris: #4A5656;
    --celeste: #51A8DB;
    --aqua: #6EBEB5;
    --gris-claro: #D7E7E8;
    --azul-banner: #012B5F;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--azul-banner);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Header
   ============================================ */
.header {
    padding: 0.25rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gris-claro);
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 175px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 4rem 0;
    background: var(--azul-banner);
    min-height: calc(100vh - 200px);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(81, 168, 219, 0.2);
    border: 1px solid var(--celeste);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--celeste);
    width: fit-content;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--aqua);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.hero h1 span {
    color: var(--aqua);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gris-claro);
    line-height: 1.8;
}

.hero-highlight {
    background: rgba(110, 190, 181, 0.15);
    border-left: 4px solid var(--aqua);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.hero-highlight p {
    color: var(--white);
    font-weight: 500;
    font-size: 1.0625rem;
    font-style: italic;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-banner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-banner img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 5rem 0;
    background: var(--azul-banner);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(81, 168, 219, 0.2);
    color: var(--celeste);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--gris-claro);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--celeste);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:nth-child(2)::before { background: var(--aqua); }
.service-card:nth-child(3)::before { background: var(--gris-claro); }
.service-card:nth-child(4)::before { background: linear-gradient(90deg, var(--celeste), var(--aqua)); }

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--celeste);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--celeste);
    color: white;
    font-size: 1.5rem;
}

.service-card:nth-child(2) .service-icon { background: var(--aqua); }
.service-card:nth-child(3) .service-icon { background: var(--gris); }
.service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, var(--celeste), var(--aqua)); }

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.0625rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--gris-claro);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   Topics Section
   ============================================ */
.topics {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--azul-banner) 0%, rgba(1, 43, 95, 0.95) 100%);
}

.topics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.topics-content h2 {
    margin-bottom: 2rem;
}

.topics-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.topics-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.topics-list li:hover {
    background: rgba(81, 168, 219, 0.15);
    border-color: var(--celeste);
    transform: translateX(8px);
}

.topic-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--celeste) 0%, var(--aqua) 100%);
    border-radius: 10px;
    color: white;
}

.topic-icon svg {
    width: 20px;
    height: 20px;
}

.topics-list span {
    font-size: 0.9375rem;
    color: var(--white);
    font-weight: 500;
}

.topics-aside {
    position: sticky;
    top: 2rem;
}

.approach-card {
    background: linear-gradient(135deg, rgba(81, 168, 219, 0.2) 0%, rgba(110, 190, 181, 0.2) 100%);
    border: 1px solid rgba(110, 190, 181, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.approach-card h3 {
    color: var(--aqua);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.approach-card > p {
    color: var(--gris-claro);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.approach-highlight {
    background: rgba(1, 43, 95, 0.5);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(110, 190, 181, 0.2);
}

.approach-highlight p {
    color: var(--white);
    font-weight: 500;
    margin: 0;
    font-size: 1rem;
    font-style: italic;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: 5rem 0;
    background: var(--azul-banner);
}

.cta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--celeste), var(--aqua), var(--celeste));
}

.cta h2 {
    margin-bottom: 0.75rem;
}

.cta p {
    font-size: 1.125rem;
    color: var(--gris-claro);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp svg {
    width: 22px;
    height: 22px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9375rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--celeste);
}

.btn-secondary svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-copy {
    font-size: 0.875rem;
    color: var(--white);
    margin: 0;
}

/* ============================================
   WhatsApp Float
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    opacity: 0.3;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
    position: relative;
    z-index: 1;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-banner {
        order: -1;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .topics-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .topics-aside {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .logo {
        height: 120px;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-whatsapp,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.875rem;
    }

    .service-card {
        padding: 1.5rem 1.25rem;
    }

    .topics-list li {
        padding: 0.875rem 1rem;
    }
}

/* ============================================
   Gallery Slider Section - Clean Version
   ============================================ */
.gallery-slider {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--azul-banner) 0%, rgba(1, 43, 95, 0.95) 100%);
}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    box-sizing: border-box;
}

.slide img {
    display: block;
    max-width: 100%;
    max-height: 550px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
}

.slide-title {
    margin: 1.5rem 0 0 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    padding: 0.75rem 1.5rem;
    background: rgba(81, 168, 219, 0.2);
    border-radius: var(--radius-full);
    border: 1px solid rgba(81, 168, 219, 0.3);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--celeste);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(81, 168, 219, 0.5);
}

.slider-dot.active {
    background: var(--celeste);
    transform: scale(1.2);
}

/* Tablet */
@media (max-width: 768px) {
    .gallery-slider {
        padding: 2rem 0;
    }

    .slide {
        padding: 0;
    }

    .slide img {
        max-height: none;
        width: 100%;
        border-radius: 0;
    }

    .slide-title {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        margin-top: 1rem;
    }

    .slider-dots {
        margin-top: 1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .gallery-slider {
        padding: 1.5rem 0;
    }

    .slide img {
        max-height: none;
        width: 100%;
    }

    .slide-title {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }

    .slider-dots {
        gap: 0.5rem;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

