/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #25D366;
    --green-dark: #1EBE5A;
    --green-light: #E8F8EE;
    --green-glow: rgba(37, 211, 102, 0.15);
    --dark: #0F1419;
    --dark-2: #1A2332;
    --gray-900: #1C1C1E;
    --gray-800: #2C2C2E;
    --gray-700: #3A3A3C;
    --gray-600: #48484A;
    --gray-500: #636366;
    --gray-400: #8E8E93;
    --gray-300: #C7C7CC;
    --gray-200: #E5E5EA;
    --gray-100: #F2F2F7;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.text-green {
    color: var(--green);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--green);
    background: var(--green-light);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========== TOP BAR ========== */
.topbar {
    background: var(--dark);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 40px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.topbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    padding: 6px 24px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.topbar__cta:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
}

.topbar__icon {
    width: 16px;
    height: 16px;
}

.topbar__text {
    font-size: 13px;
    letter-spacing: 1px;
}

.topbar__text strong {
    font-weight: 800;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar--scrolled {
    box-shadow: var(--shadow-md);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar__logo-img {
    height: 40px;
    width: auto;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar__link:hover {
    color: var(--dark);
    background: var(--gray-100);
}

.navbar__link--active {
    color: var(--green);
}

.navbar__link--cta {
    background: var(--green);
    color: var(--white);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 100px;
}

.navbar__link--cta:hover {
    background: var(--green-dark);
    color: var(--white);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 50%, var(--green-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--green);
    background: var(--green-light);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero__title {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.08;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn--primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn--primary:hover {
    background: var(--green-dark);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-200);
}

.btn--outline:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Hero Trust */
.hero__trust {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero__trust-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.hero__trust-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.hero__trust-label {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
}

/* Hero Image */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 60px var(--green-glow);
    object-fit: cover;
}

/* ========== WHY SECTION ========== */
.why-section {
    padding: 100px 0;
    background: var(--white);
}

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

.why-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    background: var(--white);
}

.why-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 30px var(--green-glow);
    transform: translateY(-4px);
}

.why-card__icon {
    width: 48px;
    height: 48px;
    background: var(--green-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--green);
}

.why-card__icon svg {
    width: 24px;
    height: 24px;
}

.why-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.why-card__text {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========== SERVICES ========== */
.services-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__number {
    font-size: 48px;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
    margin-bottom: 16px;
}

.service-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card__text {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========== SECURITY ========== */
.security-section {
    padding: 100px 0;
    background: var(--white);
}

.security__inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.security__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.security__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.security__check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: var(--green);
    margin-top: 2px;
}

.security__item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.security__item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

.security__partners {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.partner-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
}

.partner-logo-img {
    max-width: 160px;
    height: auto;
    margin: 0 auto 16px;
}

.partner-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========== HOW IT WORKS ========== */
.how-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
}

.how-section .section-tag {
    background: rgba(37, 211, 102, 0.15);
}

.how-section .section-title {
    color: var(--white);
}

.how-section .section-desc {
    color: var(--gray-400);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.step-card__number {
    position: absolute;
    top: 0;
    right: 24px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(37, 211, 102, 0.08);
    line-height: 1;
}

.step-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(37, 211, 102, 0.12);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--green);
}

.step-card__icon svg {
    width: 28px;
    height: 28px;
}

.step-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card__text {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

.step-connector {
    width: 40px;
    color: var(--green);
    flex-shrink: 0;
    opacity: 0.4;
}

/* ========== CLIENTS ========== */
.clients-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.client-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.client-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 30px var(--green-glow);
    transform: translateY(-4px);
}

.client-card__aptos {
    font-size: 48px;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
    margin-bottom: 4px;
}

.client-card__label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    font-weight: 600;
    margin-bottom: 12px;
}

.client-card__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

/* ========== COUNTER ========== */
.counter-section {
    padding: 80px 0;
    background: var(--green);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.counter-item__number {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.counter-item__label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ========== CONTACT ========== */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.contact__method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact__method:hover {
    border-color: var(--green);
    background: var(--green-light);
}

.contact__method-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

.contact__method-icon svg {
    width: 20px;
    height: 20px;
}

.contact__method-icon--wa {
    background: var(--green);
    color: var(--white);
}

.contact__method strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.contact__method span {
    font-size: 14px;
    color: var(--gray-500);
}

/* Contact Form */
.contact__form-wrap {
    position: sticky;
    top: 100px;
}

.contact__form {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
}

.contact__form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

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

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-glow);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.form-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.form-message--success {
    background: var(--green-light);
    color: var(--green-dark);
    border: 1px solid var(--green);
}

.form-message--error {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    padding: 64px 0 0;
    color: var(--gray-400);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__mascota {
    width: 120px;
    height: auto;
    margin-bottom: 12px;
}

.footer__logo {
    width: 120px;
    height: auto;
    margin-bottom: 16px;
    filter: brightness(10);
}

.footer__desc {
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

.footer__links h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer__links li {
    margin-bottom: 8px;
}

.footer__links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--green);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: var(--gray-600);
}

/* ========== WHATSAPP FLOATING ========== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

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

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__tooltip {
    position: absolute;
    right: 72px;
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--dark);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ========== ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        max-width: 100%;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__trust {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__image {
        max-width: 300px;
        margin: 0 auto;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security__inner {
        grid-template-columns: 1fr;
    }

    .security__partners {
        position: static;
        flex-direction: row;
    }

    .partner-card {
        flex: 1;
    }

    .contact__inner {
        grid-template-columns: 1fr;
    }

    .contact__form-wrap {
        position: static;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .navbar__menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    .navbar__menu.active {
        display: flex;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__trust {
        flex-direction: column;
        gap: 16px;
    }

    .hero__trust-divider {
        width: 40px;
        height: 1px;
    }

    .section-title {
        font-size: 30px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
        width: 40px;
        height: 40px;
    }

    .security__partners {
        flex-direction: column;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .counter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .counter-item__number {
        font-size: 36px;
    }

    .contact__form {
        padding: 24px;
    }
}
