:root {
    --primary: #0071bc;
    --secondary: #29abe2;
    --accent: #ff6b35;
    --dark: #1a3a53;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 113, 188, 0.3);
}

.btn:hover {
    background: #005a9c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 113, 188, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    box-shadow: 0 4px 15px rgba(41, 171, 226, 0.3);
}

.btn-secondary:hover {
    background: #1f9fd1;
    box-shadow: 0 6px 20px rgba(41, 171, 226, 0.4);
}

.btn-accent {
    background: var(--accent);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-accent:hover {
    background: #e55a2a;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-hero-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.2rem;
    padding: 18px 40px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 113, 188, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 113, 188, 0.5);
    background: linear-gradient(135deg, #005a9c, var(--primary));
}

.btn-hero-cta:hover::before {
    left: 100%;
}

.btn-hero-cta:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 188, 0.4);
}

section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Header & Navigation */
header {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btns {
    display: flex;
    gap: 12px;
}

.nav-btns .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Ocultar botones móviles en desktop */
.nav-btn-mobile {
    display: none;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu i {
    transition: all 0.3s ease;
}

/* Highlight for "sólo 3 pasos" text */
.highlight-steps {
    color: var(--primary);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.highlight-steps::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.05);
    }
}

@media (max-width: 768px) {
    .highlight-steps::after {
        height: 2px;
    }
}

@media (max-width: 576px) {
    .highlight-steps {
        font-weight: 800;
    }
    
    .highlight-steps::after {
        height: 2px;
        bottom: -1px;
    }
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f4ff 100%);
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
    z-index: 2;
    max-width: 40%;
}

.hero-text h1 {
    margin-bottom: 2rem;
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-text .btn {
    margin-top: 1rem;
}

.hero-animation {
    flex: 1;
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
}

.steps-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
    transition: all 0.6s ease;
    opacity: 0;
    z-index: 1;
}

/* Desktop/Tablet behavior */
@media (min-width: 769px) {
    .step {
        transform: translateX(50px);
    }

    .step.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 3;
    }

    .step.prev {
        opacity: 0;
        transform: translateX(-50px);
    }
}

/* Mobile behavior */
@media (max-width: 768px) {
    .step {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
    }

    .step.active {
        opacity: 1;
        transform: translateX(-50%);
        z-index: 3;
    }

    .step.prev {
        opacity: 0;
        transform: translateX(-50%);
    }

    .step:not(.active) {
        display: none;
    }
}

/* Indicadores de puntos */
.step-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    position: relative;
    z-index: 5;
}

.step-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 113, 188, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

.step-indicator:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

/* Flechas de navegación */
.step-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary);
    font-size: 1.2rem;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-nav:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.step-nav.prev {
    left: -60px;
}

.step-nav.next {
    right: -60px;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.step-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: var(--accent);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><circle cx="400" cy="400" r="300" fill="%230071bc" opacity="0.05"/><circle cx="550" cy="300" r="150" fill="%2329abe2" opacity="0.08"/><circle cx="300" cy="500" r="100" fill="%23ff6b35" opacity="0.05"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

/* Services Section */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 113, 188, 0.15);
    border-color: var(--secondary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: rgba(0, 113, 188, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Pricing Section */
.pricing {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 113, 188, 0.2);
}

.pricing-card.featured {
    border: 2px solid var(--secondary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.price {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.pricing-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--success);
    margin-right: 10px;
}

/* Testimonials Section */
.testimonials {
    background: white;
    padding: 80px 0;
}

.testimonials-animation {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.testimonials-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: all 0.6s ease;
    opacity: 0;
    z-index: 1;
}

.testimonial:before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: rgba(0, 113, 188, 0.1);
    font-family: serif;
}

/* Desktop/Tablet behavior */
@media (min-width: 769px) {
    .testimonial {
        transform: translateX(50px);
    }

    .testimonial.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 3;
    }

    .testimonial.prev {
        opacity: 0;
        transform: translateX(-50px);
    }
}

/* Mobile behavior */
@media (max-width: 768px) {
    .testimonial {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
    }

    .testimonial.active {
        opacity: 1;
        transform: translateX(-50%);
        z-index: 3;
    }

    .testimonial.prev {
        opacity: 0;
        transform: translateX(-50%);
    }

    .testimonial:not(.active) {
        display: none;
    }
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.author-info p {
    margin: 0;
    color: var(--gray);
    font-size: 1rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f4ff 100%);
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 113, 188, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
}

.contact-icon .fa-whatsapp {
    color: #25D366;
}

.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.whatsapp-link:hover {
    color: #128C7E;
    text-decoration: underline;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    gap: 10px;
}

.checkbox-container input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 1px;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-container a {
    color: var(--primary);
    text-decoration: underline;
}

.checkbox-container a:hover {
    color: var(--secondary);
}

.form-status {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    display: none;
    font-weight: 500;
}

.form-status.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #155724;
    display: block;
}

.form-status.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #721c24;
    display: block;
}

#submitBtn {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#submitBtn.loading {
    color: transparent;
}

#submitBtn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#btnIcon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

#submitBtn:hover #btnIcon {
    transform: translateX(3px);
}

/* Whatsapp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float a:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* Notarius link styling */
.notarius-link {
    color: var(--primary) !important;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0, 113, 188, 0.1);
    transition: all 0.3s ease;
    font-weight: 600;
}

.notarius-link:hover {
    background: rgba(0, 113, 188, 0.2);
    transform: translateY(-1px);
}

.notarius-link strong {
    font-weight: 700;
}

/* WhatsApp link styling in contact section */
.whatsapp-link {
    color: #25d366 !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    color: #20ba5a !important;
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-links h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.footer-links h4 {
    color: white;
    text-align: center;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-links li {
        margin-left: 20px;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }
    
    .nav-btns .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 70px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
      .hero-text {
        max-width: 100%;
    }
    
    .hero-text h1 {
        margin-bottom: 1.5rem;
    }
    
    .hero-text p {
        margin: 0 auto 2rem;
    }
    
    .hero-text .btn {
        margin-top: 0.5rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .hero-animation {
        width: 100%;
        height: 400px;
    }

    .steps-container {
        max-width: 320px;
        height: 350px;
    }

    .step {
        padding: 25px 20px;
    }

    .step-nav.prev {
        left: -50px;
    }

    .step-nav.next {
        right: -50px;
    }
    
    /* Navegación móvil */
    .nav-btns {
        display: none;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.show {
        right: 0;
    }
    
    .nav-links li {
        margin: 0 0 15px 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        font-size: 1.1rem;
    }
    
    .nav-btn-mobile {
        display: block !important;
        margin-top: 15px;
    }
    
    .nav-btn-mobile .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 1rem;
        margin-bottom: 10px;
        display: block;
    }
    
    .mobile-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .hero {
        padding-top: 90px;
        padding-bottom: 50px;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .hero-animation {
        height: 350px;
    }

    .steps-container {
        max-width: 280px;
        height: 300px;
    }

    .step {
        padding: 20px 15px;
    }

    .step h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .step-nav {
        width: 40px;
        height: 40px;
    }

    .step-nav.prev {
        left: -45px;
    }    .step-nav.next {
        right: -45px;
    }    .step-indicators {
        margin-top: 25px;
        z-index: 5;
    }

    .step-indicator {
        width: 10px;
        height: 10px;
    }

    .btn-hero-cta {
        font-size: 1.1rem;
        padding: 16px 32px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 15px;
    }
    
    nav {
        padding: 10px 0;
    }
    
    .logo {
        font-size: 1.4rem;
    }
      .hero {
        padding-top: 80px;
    }
    
    .hero-text h1 {
        margin-bottom: 1.2rem;
    }
    
    .hero-text p {
        margin-bottom: 1.8rem;
    }
    
    .hero-text .btn {
        margin-top: 0.5rem;
    }
    
    .nav-links {
        width: 90%;
        padding: 70px 25px 25px;
    }
    
    .nav-btn-mobile .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .btn-hero-cta {
        font-size: 1rem;
        padding: 14px 28px;
        width: auto;
        margin-bottom: 0;
    }
}

/* Flechas de navegación para testimonials */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary);
    font-size: 1.2rem;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-nav:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
    left: -60px;
}

.testimonial-nav.next {
    right: -60px;
}

/* Indicadores de puntos para testimonials */
.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 113, 188, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

.testimonial-indicator:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

/* Responsive adjustments for testimonials navigation */
@media (max-width: 768px) {
    .testimonial-nav {
        display: none;
    }
    
    .testimonials-animation {
        height: 320px;
    }
    
    .testimonials-container {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .testimonial {
        padding: 30px 20px;
    }
    
    .testimonial:before {
        font-size: 4rem;
        top: 15px;
        left: 20px;
    }
}

/* Media queries específicas para altura de pantalla */
/* Para pantallas con poca altura (menos de 800px de altura) */
@media screen and (max-height: 800px) {
    .hero {
        padding-top: 90px;
        padding-bottom: 50px;
        min-height: 100vh;
    }
    
    .hero-animation {
        height: 320px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}

/* Para pantallas muy bajas (menos de 700px de altura) */
@media screen and (max-height: 700px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 30px;
    }
    
    .hero-animation {
        height: 250px;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    h1 {
        font-size: 2.4rem;
        margin-bottom: 0.8rem;
    }
}

/* Media query específico para resoluciones como 1300x768 */
@media screen and (min-width: 1200px) and (max-height: 800px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 50px;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .hero-animation {
        height: 320px;
    }
    
    .step {
        padding: 25px;
    }
    
    .steps-container {
        height: 300px;
        max-width: 320px;
    }
}

/* Para pantallas ultra anchas con poca altura */
@media screen and (min-width: 1400px) and (max-height: 900px) {
    .hero {
        padding-top: 160px;
        padding-bottom: 60px;
    }
    
    .hero-animation {
        height: 380px;
    }
}
