/* ============================================================
   FACOMERCAI — Demo Gimnasio / Fitness
   Premium stylesheet (self-contained). Same structure & quality
   bar as the demo-taxes molde, re-skinned for fitness energy.
   Palette: deep athletic navy + electric lime + warm amber.
   Mobile-first, WCAG AA contrast.
   ============================================================ */

:root {
    /* Brand / vertical palette */
    --primary-navy: #0d1b2a;
    --primary-navy-2: #16263b;
    --accent-lime: #c8ff2d;
    --accent-lime-deep: #9fd400;
    --accent-amber: #ff8a3d;
    --accent-red: #ff3b5c;

    --text-dark: #1a2230;
    --text-muted: #5a6677;
    --text-light: #ffffff;

    --bg-white: #ffffff;
    --bg-light: #f4f6fa;
    --bg-dark: var(--primary-navy);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;

    --shadow-sm: 0 2px 8px rgba(13, 27, 42, 0.08);
    --shadow-md: 0 12px 32px rgba(13, 27, 42, 0.12);
    --shadow-lg: 0 24px 60px rgba(13, 27, 42, 0.22);

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

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

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 2px solid transparent;
    text-align: center;
    line-height: 1.1;
}

.btn:focus-visible {
    outline: 3px solid var(--accent-amber);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--accent-lime);
    color: var(--primary-navy);
}

.btn-primary:hover {
    background: var(--accent-lime-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(159, 212, 0, 0.4);
}

.btn-dark {
    background: var(--primary-navy);
    color: var(--text-light);
}

.btn-dark:hover {
    background: var(--primary-navy-2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--text-light);
}

.btn-whatsapp {
    background: #25D366;
    color: #073d23;
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--accent-lime);
}

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

.nav-links {
    display: none;
    list-style: none;
    gap: 1.75rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.lang-toggle {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--text-light);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.lang-toggle:hover {
    border-color: var(--accent-lime);
    color: var(--accent-lime);
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
}

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(200, 255, 45, 0.16), transparent 60%),
        linear-gradient(160deg, var(--primary-navy) 0%, var(--primary-navy-2) 100%);
    color: var(--text-light);
    padding: 3.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

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

.hero-subtitle {
    display: inline-block;
    background: rgba(200, 255, 45, 0.14);
    color: var(--accent-lime);
    border: 1px solid rgba(200, 255, 45, 0.35);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(2.1rem, 6vw, 3.4rem);
    letter-spacing: -1px;
    margin-bottom: 1.1rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent-lime);
}

.hero p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    max-width: 540px;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.badge i {
    color: var(--accent-lime);
}

.hero-image {
    position: relative;
}

@media (min-width: 900px) {
    .hero {
        padding: 5rem 0 5.5rem;
    }

    .hero .container {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

/* ---------- Photo frames (hero + case photos, real Pexels images) ---------- */
.photo-frame {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 240px;
    color: var(--text-muted);
    box-shadow: var(--shadow-md);
}

.photo-frame.dark {
    color: rgba(255, 255, 255, 0.8);
}

.photo-frame.ratio-43 {
    aspect-ratio: 4 / 3;
}

.photo-frame.ratio-11 {
    aspect-ratio: 1 / 1;
}

.photo-frame.ratio-169 {
    aspect-ratio: 16 / 10;
}

.photo-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Photo credit overlay (Pexels license requirement): dark pill behind
   white text guarantees contrast regardless of the underlying photo. */
.photo-frame .photo-credit {
    position: absolute;
    right: 8px;
    bottom: 6px;
    z-index: 2;
    font: 600 11px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    background: rgba(13, 27, 42, 0.55);
    padding: 3px 8px;
    border-radius: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.photo-frame .photo-credit:hover,
.photo-frame .photo-credit:focus-visible {
    color: #fff;
    text-decoration: underline;
    background: rgba(13, 27, 42, 0.72);
}

/* ---------- Sections ---------- */
.section {
    padding: 4rem 0;
}

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

.section-dark {
    background: var(--primary-navy);
    color: var(--text-light);
}

.section-super {
    color: var(--accent-lime-deep);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.82rem;
    display: block;
    margin-bottom: 0.85rem;
}

.section-dark .section-super {
    color: var(--accent-lime);
}

.section h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    color: var(--primary-navy);
    letter-spacing: -0.5px;
}

.section-dark h2 {
    color: var(--text-light);
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0.75rem auto 0;
}

.section-dark .section-lead {
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Features grid (lo que automatizamos) ---------- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13, 27, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-lime), var(--accent-lime-deep));
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
}

.feature-card h3 {
    color: var(--primary-navy);
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

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

.feature-card .feature-stat {
    display: inline-block;
    margin-top: 0.9rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--accent-lime-deep);
    background: rgba(159, 212, 0, 0.12);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

/* ---------- "Míralo funcionando" demo board ---------- */
.demo-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 3rem;
}

@media (min-width: 900px) {
    .demo-board {
        grid-template-columns: 1fr 1fr;
    }
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 1.1rem;
}

.kpi-card .kpi-value {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--accent-lime);
    line-height: 1;
}

.kpi-card .kpi-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.4rem;
}

.pipeline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.pipeline-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.9rem;
    font-weight: 700;
}

.pipe-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pipe-row:last-child {
    border-bottom: none;
}

.pipe-member {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
}

.pipe-member .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    flex-shrink: 0;
}

.pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
}

.pill-risk {
    background: rgba(255, 59, 92, 0.18);
    color: #ff8aa0;
}

.pill-ok {
    background: rgba(200, 255, 45, 0.16);
    color: var(--accent-lime);
}

.pill-warn {
    background: rgba(255, 138, 61, 0.18);
    color: var(--accent-amber);
}

/* ---------- Social proof / testimonials ---------- */
.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 800px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.case-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.case-card .case-body {
    padding: 1.5rem;
}

.case-super {
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-amber);
}

.case-card h3 {
    color: var(--primary-navy);
    font-size: 1.2rem;
    margin: 0.4rem 0 0.6rem;
}

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

.case-card .stars {
    color: var(--accent-amber);
    margin-top: 0.8rem;
    font-size: 0.9rem;
}

/* ---------- Pricing ---------- */
.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plan-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13, 27, 42, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.plan-card.featured {
    border: 2px solid var(--accent-lime-deep);
    box-shadow: var(--shadow-lg);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-lime);
    color: var(--primary-navy);
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
}

.plan-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0.35rem 0 1.1rem;
    min-height: 2.6em;
}

.plan-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
}

.plan-price small {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.plan-monthly {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-top: 0.25rem;
    line-height: 1;
}

.plan-monthly small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.plan-features li.plan-included {
    background: rgba(159, 212, 0, 0.12);
    border: 1px solid var(--accent-lime-deep);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.plan-features li.plan-included i {
    color: var(--accent-lime-deep);
}

.plan-entry {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.1rem 1.5rem;
    background: var(--bg-light);
    border: 1px dashed var(--accent-lime-deep);
    border-radius: 14px;
}

.plan-entry-main {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.plan-entry-name {
    font-weight: 800;
    color: var(--primary-navy);
}

.plan-entry-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-entry-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    white-space: nowrap;
}

.plan-entry-price small {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.plan-addons {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    padding: 0.45rem 0;
    font-size: 0.93rem;
    color: var(--text-dark);
}

.plan-features li i {
    color: var(--accent-lime-deep);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.plan-card .btn {
    width: 100%;
}

.plan-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-wrap {
    max-width: 760px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 0.9rem;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.1rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-sans);
}

.faq-q i {
    color: var(--accent-lime-deep);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

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

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.open .faq-a {
    max-height: 320px;
}

.faq-a p {
    padding: 0 1.25rem 1.2rem;
}

/* ---------- Final CTA band ---------- */
.cta-band {
    background:
        radial-gradient(900px 400px at 20% 120%, rgba(200, 255, 45, 0.18), transparent 60%),
        linear-gradient(135deg, var(--primary-navy), var(--primary-navy-2));
    color: var(--text-light);
    text-align: center;
}

.cta-band h2 {
    color: var(--text-light);
}

.cta-band .hero-actions {
    justify-content: center;
    margin-top: 2rem;
}

/* ---------- Footer ---------- */
.footer {
    background: #07111c;
    color: rgba(255, 255, 255, 0.75);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 720px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.footer .brand-line {
    font-size: 1.4rem;
    color: var(--accent-lime);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer p {
    max-width: 320px;
    margin: 0.9rem 0 1.25rem;
    font-size: 0.92rem;
}

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

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-lime);
}

.social-row {
    display: flex;
    gap: 1rem;
}

.social-row a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
}

.social-row a:hover {
    color: var(--accent-lime);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom i {
    color: var(--accent-lime);
    margin: 0 0.25rem;
}

/* ---------- Demo watermark ---------- */
.demo-watermark {
    position: fixed;
    top: 14px;
    right: -40px;
    transform: rotate(35deg);
    background: var(--accent-red);
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 1px;
    padding: 0.35rem 3rem;
    z-index: 200;
    pointer-events: none;
    box-shadow: var(--shadow-sm);
}

/* ---------- Chatbot widget ---------- */
.chatbot-widget {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 150;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-lime), var(--accent-lime-deep));
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.06);
}

.chatbot-window {
    position: absolute;
    bottom: 74px;
    right: 0;
    width: min(340px, calc(100vw - 2.5rem));
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none;
    flex-direction: column;
    max-height: 70vh;
}

.chatbot-window.open {
    display: flex;
}

.chatbot-header {
    background: var(--primary-navy);
    color: var(--text-light);
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header h3 {
    font-size: 0.98rem;
    display: inline;
}

.chatbot-header i {
    color: var(--accent-lime);
    margin-right: 0.4rem;
}

.chatbot-close {
    cursor: pointer;
    opacity: 0.8;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-body {
    padding: 1rem;
    overflow-y: auto;
    flex-grow: 1;
    background: var(--bg-light);
}

.chat-message {
    margin-bottom: 0.75rem;
    display: flex;
}

.chat-message p {
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    max-width: 85%;
}

.chat-message.bot p {
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.user p {
    background: var(--accent-lime);
    color: var(--primary-navy);
    font-weight: 600;
}

.chatbot-input {
    display: flex;
    border-top: 1px solid rgba(13, 27, 42, 0.08);
    padding: 0.6rem;
    gap: 0.5rem;
    background: var(--bg-white);
}

.chatbot-input input {
    flex-grow: 1;
    border: 1px solid #ccd4e0;
    border-radius: 999px;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    font-family: var(--font-sans);
}

.chatbot-input input:focus {
    outline: 2px solid var(--accent-lime-deep);
    border-color: transparent;
}

.chatbot-input button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--primary-navy);
    color: var(--text-light);
    cursor: pointer;
    flex-shrink: 0;
}

.chatbot-input button:hover {
    background: var(--primary-navy-2);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
