/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0086b7;
    --primary-green: #00a487;
    --accent-yellow: #ffff00;
    --accent-orange: #ff6132;
    --light-green: #48bd8d;
    --lighter-green: #a8eb9b;
    --light-blue: #00ace4;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: var(--bg-light);
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #00ace4 0%, #0086b7 100%);
    color: var(--white);
    padding: 100px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 13px 38px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 97, 50, 0.3);
    text-decoration: none;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

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

/* Product Sections */
.product-section {
    padding: 90px 0;
    background: var(--white);
    position: relative;
}

.product-section--alt {
    background: var(--bg-light);
}

.product-section--featured {
    background: linear-gradient(135deg, rgba(0, 164, 135, 0.05) 0%, rgba(72, 189, 141, 0.05) 100%);
    overflow: hidden;
}

.product-section--featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 164, 135, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.product-badge,
.product-type {
    display: block;
    width: fit-content;
    margin: 0 auto 20px;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-badge {
    background: linear-gradient(135deg, var(--accent-orange), #ff8c5a);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 97, 50, 0.3);
    animation: pulse 2s infinite;
}

.product-type {
    background: rgba(0, 134, 183, 0.1);
    color: var(--primary-blue);
}

.product-type--service {
    background: rgba(255, 97, 50, 0.1);
    color: var(--accent-orange);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-section h2 {
    font-size: 2.6rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-align: center;
}

.product-section--featured h2 {
    color: var(--primary-green);
}

.product-section .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.product-features--compact {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-feature {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}


.feature-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.feature-icon-large.green {
    background: linear-gradient(135deg, rgba(0, 164, 135, 0.1), rgba(72, 189, 141, 0.1));
    color: var(--primary-green);
}

.feature-icon-large.blue {
    background: linear-gradient(135deg, rgba(0, 134, 183, 0.1), rgba(0, 172, 228, 0.1));
    color: var(--primary-blue);
}

.feature-icon-large.teal {
    background: linear-gradient(135deg, rgba(0, 164, 135, 0.1), rgba(72, 189, 141, 0.1));
    color: var(--primary-green);
}

.feature-icon-large.orange {
    background: linear-gradient(135deg, rgba(255, 97, 50, 0.1), rgba(255, 140, 90, 0.1));
    color: var(--accent-orange);
}


.product-feature h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.product-feature p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.product-feature ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
}

.product-feature li {
    color: var(--text-light);
    padding: 6px 0;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-feature li:last-child {
    border-bottom: none;
}

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

.product-cta-block {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.product-cta-note {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.2rem;
}

/* Embedded Pricing Blocks */
.pricing-block {
    margin-top: 20px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.product-section--alt .pricing-block {
    border-top-color: rgba(0, 0, 0, 0.06);
}

.pricing-block-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.pricing-block-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.plan-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 15px;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan-card--featured {
    border-color: var(--primary-green);
    box-shadow: 0 12px 32px rgba(0, 164, 135, 0.15);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.plan-card h3,
.plan-card h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}

.plan-card--featured h3,
.plan-card--featured h4 {
    margin-top: 8px;
}

.plan-documents {
    text-align: center;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 24px;
}

.plan-price-single {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    flex-grow: 1;
    padding: 20px 16px;
    background: var(--bg-light);
    border-radius: 10px;
}

.plan-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.plan-price-period {
    font-size: 0.85rem;
    color: var(--text-light);
}

.plan-cta {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.about p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0086b7 0%, #00a487 100%);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-copy p {
    opacity: 0.9;
}

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .navbar .container {
        position: relative;
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0.5rem 0 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        margin-top: 0.5rem;
    }

    .nav-open .nav-menu {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        min-height: 44px;
        line-height: 1.4;
    }

    .nav-menu a::after {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 250px;
    }

    .hero-actions {
        justify-content: center;
    }

    .product-section,
    .about,
    .contact {
        padding: 56px 0;
    }

    .product-section h2 {
        font-size: 2rem;
    }

    .product-section .subtitle {
        font-size: 1.1rem;
        margin-bottom: 36px;
    }

    .product-features {
        gap: 24px;
        margin-bottom: 36px;
    }

    .product-feature {
        padding: 28px 20px;
    }

    .feature-icon-large {
        width: 80px;
        height: 80px;
        margin-bottom: 18px;
    }

    .about h2,
    .contact h2 {
        font-size: 2rem;
    }

    .contact h2 {
        margin-bottom: 32px;
    }

    .contact-info {
        gap: 20px;
    }

    .pricing-block-title {
        font-size: 1.5rem;
    }

    .pricing-grid {
        gap: 20px;
        margin-bottom: 36px;
    }

    .plan-card {
        padding: 28px 20px;
    }

    .btn-large {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

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

    .navbar .container {
        padding: 0.75rem 16px;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .btn-large {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .product-section,
    .about,
    .contact {
        padding: 48px 0;
    }

    .product-section h2,
    .about h2,
    .contact h2 {
        font-size: 1.75rem;
    }

    .product-feature h3 {
        font-size: 1.35rem;
    }

    .product-feature {
        padding: 24px 16px;
    }

    .feature-icon-large {
        width: 72px;
        height: 72px;
    }

    .pricing-block {
        padding-top: 28px;
    }

    .plan-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: max(15px, env(safe-area-inset-bottom, 0px));
        right: max(15px, env(safe-area-inset-right, 0px));
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

@media (hover: hover) {
    .product-feature:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 50px rgba(0, 164, 135, 0.2);
        border-color: var(--primary-green);
    }

    .product-feature:hover .feature-icon-large {
        transform: scale(1.15) rotate(10deg);
        color: var(--white);
    }

    .product-feature:hover .feature-icon-large.green,
    .product-feature:hover .feature-icon-large.teal {
        background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    }

    .product-feature:hover .feature-icon-large.blue {
        background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    }

    .product-feature:hover .feature-icon-large.orange {
        background: linear-gradient(135deg, var(--accent-orange), #ff8c5a);
    }

    .plan-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        border-color: var(--primary-blue);
    }

    .plan-card--featured:hover {
        border-color: var(--primary-green);
        box-shadow: 0 20px 50px rgba(0, 164, 135, 0.2);
    }

    .contact-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 97, 50, 0.4);
        color: var(--white);
    }

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
        background: linear-gradient(135deg, #128C7E, #25D366);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: max(25px, env(safe-area-inset-bottom, 0px));
    right: max(25px, env(safe-area-inset-right, 0px));
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float svg {
    width: 36px;
    height: 36px;
}

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

