:root {
    --primary-color: #0F172A;
    --accent-color: #10B981;
    --text-color: #F8FAFC;
    --text-muted: #94A3B8;
    --card-bg: #1E293B;
    --white: #FFFFFF;
    --gold: #F59E0B;
    --danger: #EF4444;
    --font-main: 'Inter', sans-serif;
    --spacing-container: 1200px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: var(--nav-height);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

a {
    text-decoration: none;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #059669;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: rgba(51, 65, 85, 0.6);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav-links li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-links li a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-nav {
    padding: 8px 18px !important;
    font-size: 0.85rem !important;
    color: var(--primary-color) !important;
    border-radius: 8px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ─── Hero Section ─── */
.hero {
    position: relative;
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)),
                url('https://images.unsplash.com/photo-1556910103-1c02745a30bf?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-image-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 550px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    filter: drop-shadow(0 20px 60px rgba(16, 185, 129, 0.15));
    animation: heroFloat 6s ease-in-out infinite;
}

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

/* ─── Sections ─── */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ─── Social Proof ─── */
.social-proof {
    padding: 60px 0;
    background: linear-gradient(135deg, #0d1f14 0%, #112a1c 50%, #0F172A 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.testimonial-card {
    display: flex;
    align-items: stretch;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 10rem;
    color: rgba(16, 185, 129, 0.06);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 600;
}

.testimonial-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-body blockquote p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 1rem;
    color: var(--white);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.author-link {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.author-link:hover {
    opacity: 0.8;
}

/* ─── What We Do ─── */
.what-we-do {
    background-color: #0F172A;
    padding: 100px 0;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-col {
    flex: 1;
}

.text-col h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.text-col .lead {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-list i {
    color: var(--accent-color);
    margin-top: 5px;
}

.image-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* ─── Platform Showcase (replaces placeholder) ─── */
.platform-showcase {
    width: 100%;
    max-width: 400px;
    background: var(--card-bg);
    border: 1px solid #334155;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.platform-showcase:hover {
    transform: translateY(-5px);
}

.showcase-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 28px;
    border-bottom: 1px solid #334155;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.showcase-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.showcase-platforms {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.platform-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s;
}

.platform-pill:hover {
    transform: translateX(4px);
}

.platform-pill.uber {
    background: rgba(6, 199, 85, 0.1);
    border: 1px solid rgba(6, 199, 85, 0.3);
    color: #06C755;
}

.platform-pill.rappi {
    background: rgba(255, 100, 51, 0.1);
    border: 1px solid rgba(255, 100, 51, 0.3);
    color: #FF6433;
}

.platform-pill.didi {
    background: rgba(255, 120, 0, 0.1);
    border: 1px solid rgba(255, 120, 0, 0.3);
    color: #FF7800;
}

.platform-icon-ue,
.platform-icon-rappi,
.platform-icon-didi {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.platform-icon-ue {
    background: #06C755;
    color: #fff;
}

.platform-icon-rappi {
    background: #FF6433;
    color: #fff;
}

.platform-icon-didi {
    background: #FF7800;
    color: #fff;
}

.showcase-stats {
    padding: 20px 28px 24px;
    border-top: 1px solid #334155;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mini-stat i {
    color: var(--accent-color);
    width: 16px;
    text-align: center;
}

.mini-stat strong {
    color: var(--white);
}

/* ─── Comparison Table ─── */
.comparison-section {
    background-color: #172033;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #334155;
}

.comparison-table th {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--white);
    width: 25%;
}

.comparison-table .col-us {
    color: var(--accent-color);
    font-weight: 700;
    background-color: rgba(16, 185, 129, 0.05);
    border-radius: 8px 8px 0 0;
}

.comparison-table .highlight {
    color: var(--accent-color);
    font-weight: 700;
    background-color: rgba(16, 185, 129, 0.05);
}

.comparison-cards {
    display: none;
}

/* ─── Service Matrix ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.icon-box {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ─── Operational Health ─── */
.operational-health {
    background: linear-gradient(to right, #0f172a, #1e293b);
    border-top: 1px solid #334155;
    border-bottom: 1px solid #334155;
}

.health-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.health-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    width: 100%;
}

.health-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.health-item i {
    font-size: 2.5rem;
    color: var(--gold);
    flex-shrink: 0;
}

.health-item h3 {
    margin-bottom: 10px;
}

.health-item p {
    color: var(--text-muted);
}

/* ─── About / Quiénes Somos ─── */
.about-section {
    background: #0F172A;
}

.about-card {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid #334155;
    border-radius: 20px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.about-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.about-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
}

.about-text h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.about-title {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.7;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ─── Pricing ─── */
.pricing-section {
    background: #172033;
}

.single-plan-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.single-plan-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.15);
    overflow: hidden;
}

.single-plan-header {
    background: linear-gradient(135deg, #0d1f14 0%, #112a1c 100%);
    padding: 36px 40px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.25);
    text-align: center;
}

.plan-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.single-plan-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.single-plan-sub {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.single-plan-body {
    padding: 32px 40px;
}

.single-plan-list {
    list-style: none;
}

.single-plan-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    color: var(--text-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 14px;
}

.single-plan-list li:last-child {
    border-bottom: none;
}

.single-plan-list li i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.report-note {
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-note i {
    color: var(--accent-color);
    flex-shrink: 0;
}

/* Sidebar */
.single-plan-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.platform-block {
    background-color: var(--card-bg);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 28px;
}

.platforms-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 600;
}

.platform-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.platform-tag {
    background-color: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* Add-on Callout */
.addon-callout {
    text-align: center;
    background: linear-gradient(135deg, #0d1f14 0%, #112a1c 100%);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 16px;
    padding: 28px 24px;
}

.addon-price {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 6px;
}

.addon-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-size: 1rem;
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
}

.currency {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ─── FAQ Section ─── */
.faq-section {
    background: #0F172A;
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid #334155;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.open {
    border-color: var(--accent-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-main);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── Footer ─── */
footer {
    padding: 60px 0 20px;
    border-top: 1px solid #334155;
    background-color: #0B1120;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.5rem;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.dot {
    color: var(--accent-color);
}

.footer-link {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #475569;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

    .hero-image {
        max-width: 350px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Mobile nav */
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px 20px;
        gap: 4px;
        border-bottom: 1px solid #334155;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: 12px 16px;
        font-size: 1rem;
        display: block;
    }

    .btn-nav {
        margin-top: 8px;
        text-align: center;
        display: block !important;
    }

    /* Content */
    .content-row {
        flex-direction: column;
    }

    .comparison-table-wrapper {
        overflow-x: scroll;
    }

    /* Testimonial */
    .testimonial-card {
        flex-direction: column;
        padding: 28px;
        gap: 24px;
    }

    .testimonial-metric {
        min-width: unset;
        flex-direction: row;
        gap: 12px;
        padding: 16px 20px;
    }

    .metric-number {
        font-size: 2.5rem;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
    }

    /* About */
    .about-card {
        flex-direction: column;
        padding: 32px;
        gap: 24px;
    }

    /* Pricing */
    .single-plan-wrapper {
        grid-template-columns: 1fr;
    }

    .single-plan-sidebar {
        position: static;
    }

    .single-plan-header {
        padding: 28px 24px;
    }

    .single-plan-body {
        padding: 24px;
    }

    .single-plan-price {
        font-size: 2.2rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

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

    .hero-image {
        max-width: 280px;
    }

    .metric-number {
        font-size: 2rem;
    }

    .platform-showcase {
        max-width: 100%;
    }
}