:root {
    --turquoise-light: #00d4ff;
    --turquoise-main: #00bcd4;
    --turquoise-dark: #0097a7;
    --orange-light: #ff9800;
    --orange-main: #ff6b35;
    --orange-dark: #e65100;
    --primary-gradient: linear-gradient(135deg, #00d4ff 0%, #00bcd4 100%);
    --secondary-gradient: linear-gradient(135deg, #ff9800 0%, #ff6b35 100%);
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #ff6b35 100%);
    --glow-color: rgba(0, 212, 255, 0.5);
    --glow-orange: rgba(255, 107, 53, 0.5);
    --text-primary: #ffffff;
    --text-dark: #2c3e50;
    --text-secondary: #34495e;
    --bg-card: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 188, 212, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}
/* Header mejorado con navegación */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    max-height: 50px;
    width: auto;
    filter: drop-shadow(0 0 15px var(--glow-color));
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.header-nav a:hover {
    color: var(--turquoise-main);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--turquoise-main);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-cta {
    padding: 10px 25px;
    background: var(--secondary-gradient);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--glow-orange);
}

/* Hero Section mejorado */
.section-1 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 140px 20px 80px;
    background: transparent !important;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    opacity: 1 !important;
    filter: brightness(0.65);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.35) 0%, rgba(0, 151, 167, 0.45) 100%);
    z-index: -1;
    pointer-events: none;
}

.section-1::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 152, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-1 h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.6);
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.button {
    position: relative;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    color: white;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-gradient);
    z-index: -1;
    transition: all 0.4s ease;
}

.button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--glow-orange);
}

/* Trust badges - NUEVO */
.trust-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 20px;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--turquoise-main);
}

/* Sección de Servicios mejorada */
.section-2 {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 50%, #ffffff 100%);
    padding: 120px 20px;
    z-index: 1;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00bcd4 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 188, 212, 0.1);
    display: block;
    text-decoration: none;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 188, 212, 0.25);
    border-color: var(--turquoise-main);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-description {
    position: relative;
    padding: 30px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.95);
    z-index: 2;
}

/* Secciones de contenido optimizadas */
.content-section {
    position: relative;
    padding: 100px 20px;
    background: #ffffff;
}

.content-section.alternate {
    background: linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-container.reverse {
    direction: rtl;
}

.content-container.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.content-text h3 {
    font-size: 1.5rem;
    color: var(--turquoise-main);
    margin: 30px 0 15px;
    font-weight: 600;
}

.content-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.content-text ul li {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.content-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange-main);
    font-weight: bold;
    font-size: 1.3rem;
}

.content-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
    loading: lazy;
}

.content-image:hover img {
    transform: scale(1.05);
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
    font-size: 1.4rem;
}

/* Features grid mejorado */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 188, 212, 0.15);
    border-color: var(--turquoise-main);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* CTA Section mejorada */
.cta-section {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}
