/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0052CC;
    --secondary-color: #FFD700;
    --dark-blue: #003399;
    --light-blue: #4A90E2;
    --text-dark: #2C3E50;
    --text-light: #ECF0F1;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-medium: #DEE2E6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.cta-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem 0;
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.hero-icon i {
    color: var(--secondary-color);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    color: var(--dark-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #25D366;
    color: var(--white);
}

.btn-primary:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.hero-features {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.feature-item span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Servicios Section */
.servicios {
    padding: 5rem 0;
    background: var(--gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.servicio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.servicio-icon i {
    font-size: 2rem;
    color: var(--white);
}

.servicio-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.servicio-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.servicio-features {
    list-style: none;
    text-align: left;
}

.servicio-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.servicio-features i {
    color: #25D366;
    font-size: 1rem;
}

/* Contacto Section */
.contacto {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
}

/* Contacto Destacado */
.contacto-destacado {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contacto-hero-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 3px solid transparent;
    transition: var(--transition);
}

.contacto-hero-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.whatsapp-card {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
}

.whatsapp-card h3,
.whatsapp-card p {
    color: var(--white);
}

.contacto-hero-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.3);
}

.contacto-hero-icon i {
    font-size: 3rem;
    color: var(--white);
}

.whatsapp-icon {
    background: var(--white);
}

.whatsapp-icon i {
    color: #25D366;
}

.contacto-hero-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contacto-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Números Principales */
.numeros-principales {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.numero-grande {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.25rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.numero-grande:hover {
    background: var(--dark-blue);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.numero-grande i {
    font-size: 1.8rem;
}

/* WhatsApp Grid */
.whatsapp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.whatsapp-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: #128C7E;
    padding: 1.25rem 1rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: #F0F0F0;
}

.whatsapp-btn i {
    font-size: 2rem;
}

/* Sección Secundaria */
.contacto-secondary {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Columna de Información */
.contacto-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-box:hover {
    box-shadow: var(--shadow-lg);
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-light);
}

.info-box-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-box-header h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

.info-content {
    color: var(--text-dark);
}

.info-content p {
    margin: 0.5rem 0;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.info-badge i {
    color: #25D366;
}

/* Botón de Dirección/Google Maps */
.direccion-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.direccion-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.direccion-btn i {
    font-size: 1.2rem;
}

/* Social Button */
.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #1877F2;
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.social-btn i {
    font-size: 2rem;
}

.social-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.social-name {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Horario */
.horario-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-weight: bold;
}

.horario-badge i {
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.horario-text {
    font-size: 1.1rem;
}

.horario-text small {
    opacity: 0.7;
}

/* Garantías */
.garantias-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-blue) 100%);
    color: var(--white);
}

.garantias-box .info-box-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.garantias-box .info-box-header i,
.garantias-box .info-box-header h4 {
    color: var(--white);
}

.garantias-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.garantia-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

.garantia-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Formulario Mejorado */
.contacto-form-column {
    display: flex;
    align-items: flex-start;
}

.form-card-new {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-dark);
    opacity: 0.8;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select {
    padding: 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.btn-submit {
    background: #25D366;
    color: var(--white);
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-submit:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-submit i {
    font-size: 1.5rem;
}

.form-note {
    text-align: center;
    color: var(--text-dark);
    opacity: 0.8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note i {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: bold;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.footer-tagline {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-location {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-location i {
    color: var(--secondary-color);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 0.9;
}

.footer-link:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer-links .separator {
    color: var(--white);
    opacity: 0.5;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--secondary-color);
}

.footer-copy {
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-features {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    /* Contacto Responsive */
    .contacto-destacado {
        grid-template-columns: 1fr;
    }

    .contacto-secondary {
        grid-template-columns: 1fr;
    }

    .whatsapp-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .numero-grande {
        font-size: 1.2rem;
    }

    .contacto-hero-icon {
        width: 80px;
        height: 80px;
    }

    .contacto-hero-icon i {
        font-size: 2.5rem;
    }

    .form-card-new {
        padding: 1.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-icon {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .contacto-hero-card {
        padding: 2rem 1.5rem;
    }

    .form-header h3 {
        font-size: 1.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.servicio-card,
.info-card {
    animation: fadeIn 0.6s ease-out;
}