/* Hide Bootstrap modals until JS opens them */
.modal {
    display: none !important;
}

.modal.show {
    display: flex !important;
}

:root {
    --teal: #0d9488;
    --teal-d: #0a7069;
    --teal-l: #14b8a6;
    --dark: #0f172a;
    --navy: #1a2744;
    --mid: #334155;
    --light: #f8fafc;
    --muted: #94a3b8;
    --white: #ffffff;
    --danger: #ef4444;
    --warn: #f59e0b;
    --ok: #22c55e;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: #1e293b;
    padding-top: 64px;
}

/* ── Social bar ──────────────────────────────────────── */
.ca-social {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
}

.ca-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(13, 148, 136, .85);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s;
}

.ca-social a:hover {
    background: var(--teal-d);
}

/* ── WhatsApp button ────────────────────────────────── */
.ca-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

.ca-wa img {
    width: 56px;
    height: 56px;
    display: block;
    border-radius: 50%;
}

/* ── HERO ────────────────────────────────────────────── */
.ca-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #0f2a2a 50%, #0a3a35 100%);
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
}

.ca-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, .18) 0%, transparent 70%);
}

.ca-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.ca-hero-badge {
    display: inline-block;
    background: rgba(13, 148, 136, .2);
    color: var(--teal-l);
    border: 1px solid rgba(13, 148, 136, .4);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ca-hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 16px;
}

.ca-hero h1 span {
    color: var(--teal-l);
}

.ca-hero p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.ca-hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ca-btn-primary {
    background: var(--teal);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: .95rem;
    transition: background .2s, transform .15s;
    display: inline-block;
}

.ca-btn-primary:hover {
    background: var(--teal-d);
    transform: translateY(-2px);
    color: #fff;
}

.ca-btn-outline {
    background: transparent;
    color: var(--teal-l);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: .95rem;
    border: 2px solid rgba(13, 148, 136, .5);
    transition: all .2s;
    display: inline-block;
}

.ca-btn-outline:hover {
    border-color: var(--teal-l);
    background: rgba(13, 148, 136, .08);
    color: var(--teal-l);
}

/* ── Hero mockup: Profitability Analysis ─────────────── */
.ca-mockup {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.ca-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ca-mockup-title {
    color: #e2e8f0;
    font-size: .85rem;
    font-weight: 600;
}

.ca-mockup-dots {
    display: flex;
    gap: 5px;
}

.ca-mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ca-mockup-dots span:nth-child(1) {
    background: #ef4444;
}

.ca-mockup-dots span:nth-child(2) {
    background: #f59e0b;
}

.ca-mockup-dots span:nth-child(3) {
    background: #22c55e;
}

.ca-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .78rem;
}

.ca-table thead th {
    color: var(--muted);
    font-weight: 600;
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ca-table tbody td {
    padding: 8px 8px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.ca-table tbody tr:last-child td {
    border-bottom: none;
}

.ca-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
}

.ca-badge-ok {
    background: rgba(34, 197, 94, .15);
    color: #4ade80;
}

.ca-badge-warn {
    background: rgba(245, 158, 11, .15);
    color: #fbbf24;
}

.ca-badge-bad {
    background: rgba(239, 68, 68, .15);
    color: #f87171;
}

.ca-mockup-summary {
    margin-top: 14px;
    padding: 10px 12px;
    background: rgba(13, 148, 136, .1);
    border: 1px solid rgba(13, 148, 136, .25);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.ca-mockup-summary .ca-stat {
    text-align: center;
}

.ca-mockup-summary .ca-stat-n {
    font-size: 1rem;
    font-weight: 700;
    color: var(--teal-l);
}

.ca-mockup-summary .ca-stat-l {
    font-size: .65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ca-insight {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(245, 158, 11, .08);
    border-left: 3px solid var(--warn);
    border-radius: 4px;
}

.ca-insight p {
    color: #fbbf24;
    font-size: .72rem;
    line-height: 1.5;
}

/* ── SECTION WRAPPER ─────────────────────────────────── */
.ca-section {
    padding: 72px 24px;
}

.ca-section-alt {
    background: #f1f5f9;
}

.ca-section-dark {
    background: var(--dark);
}

.ca-section-navy {
    background: var(--navy);
}

.ca-container {
    max-width: 1100px;
    margin: 0 auto;
}

.ca-section-label {
    display: inline-block;
    background: rgba(13, 148, 136, .1);
    color: var(--teal);
    border: 1px solid rgba(13, 148, 136, .25);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ca-section-label-white {
    background: rgba(255, 255, 255, .1);
    color: #7dd3cc;
    border-color: rgba(255, 255, 255, .15);
}

.ca-section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
}

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

.ca-section-sub {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 620px;
}

.ca-section-sub-white {
    color: #94a3b8;
}

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

.ca-center .ca-section-sub {
    margin: 0 auto;
}

/* ── PAIN GRID ───────────────────────────────────────── */
.ca-pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.ca-pain-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid var(--danger);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.ca-pain-card .ca-pain-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.ca-pain-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.ca-pain-card p {
    font-size: .85rem;
    color: #64748b;
    line-height: 1.6;
}

/* ── STATS ROW ───────────────────────────────────────── */
.ca-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.ca-stat-card {
    text-align: center;
    padding: 28px 16px;
    background: rgba(13, 148, 136, .06);
    border-radius: 12px;
    border: 1px solid rgba(13, 148, 136, .15);
}

.ca-stat-card .ca-big {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--teal);
    line-height: 1;
}

.ca-stat-card p {
    font-size: .82rem;
    color: #475569;
    margin-top: 8px;
    line-height: 1.5;
}

/* ── PROCESS ─────────────────────────────────────────── */
.ca-process {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0;
    margin-top: 48px;
    position: relative;
}

.ca-process::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, var(--teal), var(--teal-l));
    opacity: .3;
    z-index: 0;
}

.ca-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 16px;
}

.ca-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 0 6px rgba(13, 148, 136, .15);
}

.ca-step h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.ca-step p {
    font-size: .82rem;
    color: #64748b;
    line-height: 1.6;
}

/* ── DELIVERABLES ────────────────────────────────────── */
.ca-deliver-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.ca-deliver-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    border-top: 3px solid var(--teal);
}

.ca-deliver-card .ca-deliver-icon {
    width: 44px;
    height: 44px;
    background: rgba(13, 148, 136, .1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.ca-deliver-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.ca-deliver-card p {
    font-size: .83rem;
    color: #64748b;
    line-height: 1.6;
}

/* ── WHO IS THIS FOR ──────────────────────────────────── */
.ca-who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.ca-who-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 20px;
}

.ca-who-card .ca-who-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.ca-who-card h3 {
    font-size: .9rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.ca-who-card p {
    font-size: .8rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* ── WHY US ───────────────────────────────────────────── */
.ca-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.ca-why-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, .04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
}

.ca-why-card .ca-check {
    width: 28px;
    height: 28px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ca-why-card div h4 {
    font-size: .9rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.ca-why-card div p {
    font-size: .8rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* ── TESTIMONIALS ────────────────────────────────────── */
.ca-testimony-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.ca-testimony-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
    position: relative;
}

.ca-testimony-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 4rem;
    line-height: 1;
    color: var(--teal);
    opacity: .18;
    font-family: Georgia, serif;
}

.ca-testimony-card p {
    font-size: .85rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.ca-testimony-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ca-testimony-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}

.ca-testimony-name {
    font-weight: 700;
    font-size: .85rem;
    color: #1e293b;
}

.ca-testimony-role {
    font-size: .75rem;
    color: var(--muted);
}

/* ── FAQ ──────────────────────────────────────────────── */
.ca-faq-list {
    margin-top: 40px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ca-faq-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    overflow: hidden;
}

.ca-faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 20px;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ca-faq-q::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--teal);
    flex-shrink: 0;
    transition: transform .25s;
}

.ca-faq-item.open .ca-faq-q::after {
    transform: rotate(45deg);
}

.ca-faq-a {
    display: none;
    padding: 0 20px 18px;
    font-size: .85rem;
    color: #475569;
    line-height: 1.7;
}

.ca-faq-item.open .ca-faq-a {
    display: block;
}

/* ── CTA + CONTACT ───────────────────────────────────── */
.ca-cta-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}

.ca-cta-left h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.ca-cta-left p {
    color: #94a3b8;
    font-size: .92rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.ca-cta-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.ca-cta-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: .88rem;
    text-decoration: none;
    transition: color .2s;
}

.ca-cta-contact a:hover {
    color: var(--teal-l);
}

.ca-cta-contact a span {
    width: 34px;
    height: 34px;
    background: rgba(13, 148, 136, .15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-l);
    font-size: .9rem;
    flex-shrink: 0;
}

.ca-form {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 28px;
}

.ca-form input,
.ca-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    padding: 10px 14px;
    color: #e2e8f0;
    font-family: inherit;
    font-size: .88rem;
    margin-bottom: 12px;
    outline: none;
    transition: border-color .2s;
}

.ca-form input::placeholder,
.ca-form textarea::placeholder {
    color: #64748b;
}

.ca-form input:focus,
.ca-form textarea:focus {
    border-color: rgba(13, 148, 136, .5);
}

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

.ca-form button {
    width: 100%;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.ca-form button:hover {
    background: var(--teal-d);
}

.ca-form .ca-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ca-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .83rem;
    margin-bottom: 12px;
    display: none;
}

.ca-alert-ok {
    background: rgba(34, 197, 94, .1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, .2);
}

.ca-alert-err {
    background: rgba(239, 68, 68, .1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, .2);
}

/* ── FOOTER ───────────────────────────────────────────── */
.ca-footer {
    background: #020617;
    padding: 52px 24px 0;
}

.ca-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.ca-footer-brand img {
    height: 36px;
    margin-bottom: 12px;
}

.ca-footer-brand p {
    font-size: .82rem;
    color: #64748b;
    line-height: 1.6;
}

.ca-footer-col h5 {
    font-size: .82rem;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.ca-footer-col a {
    display: block;
    font-size: .82rem;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color .2s;
}

.ca-footer-col a:hover {
    color: var(--teal-l);
}

.ca-footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ca-footer-bottom p {
    font-size: .78rem;
    color: #475569;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
    .ca-hero-inner {
        grid-template-columns: 1fr;
    }

    .ca-process::before {
        display: none;
    }

    .ca-cta-wrap {
        grid-template-columns: 1fr;
    }

    .ca-stats {
        grid-template-columns: 1fr 1fr;
    }

    .ca-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .ca-form .ca-form-row {
        grid-template-columns: 1fr;
    }

    .ca-footer-inner {
        grid-template-columns: 1fr;
    }
}
