﻿/* ============================================================
   INITIUM — Sales Intelligence for Healthcare Markets
   style.css
   ============================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
    --green-1: #1a6b3c;
    --green-2: #2d8653;
    --green-3: #3fa06a;
    --green-4: #c6e6d4;
    --green-5: #eaf5ef;
    --green-6: #f3faf6;
    --text-primary: #0d1f0f;
    --text-secondary: #3d5040;
    --text-muted: #7a9480;
    --border: #d4e6da;
    --border-light: #e8f2ec;
    --bg: #ffffff;
    --bg-soft: #f8fbf9;
    --radius: 8px;
    --radius-lg: 12px;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Source Serif 4', Georgia, serif;
    --sidebar-width: 240px;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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


/* ════════════════════════════════════════════════════════════
   LAYOUT — Top bar
════════════════════════════════════════════════════════════ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1000;
}

.topbar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

    .topbar-brand .brand-name {
        font-family: var(--font-display);
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--green-1);
        letter-spacing: -0.01em;
    }

    .topbar-brand .brand-sub {
        font-size: 0.64rem;
        font-weight: 500;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: var(--text-muted);
    }


/* ════════════════════════════════════════════════════════════
   LAYOUT — Hamburger button
════════════════════════════════════════════════════════════ */
.hamburger {
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.5px;
    cursor: pointer;
    border-radius: var(--radius);
    border: none;
    background: transparent;
    padding: 6px;
    transition: background 0.15s;
}

    .hamburger:hover {
        background: var(--green-5);
    }

    .hamburger span {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--text-secondary);
        border-radius: 2px;
        transition: transform 0.3s, opacity 0.3s;
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }


/* ════════════════════════════════════════════════════════════
   LAYOUT — Sidebar / Drawer
════════════════════════════════════════════════════════════ */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13,31,15,0.3);
    backdrop-filter: blur(2px);
    z-index: 990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

    .sidebar-overlay.visible {
        opacity: 1;
        pointer-events: all;
    }

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: #fff;
    border-right: 1px solid var(--border);
    z-index: 995;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    padding-top: 56px;
    overflow-y: auto;
}

    .sidebar.open {
        transform: translateX(0);
    }

.sidebar-header {
    padding: 20px 20px 12px;
    border-bottom: 1px solid var(--border-light);
}

    .sidebar-header p {
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

.sidebar nav {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .sidebar nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.88rem;
        font-weight: 500;
        color: var(--text-secondary);
        padding: 9px 12px;
        border-radius: var(--radius);
        transition: background 0.15s, color 0.15s;
    }

        .sidebar nav a:hover,
        .sidebar nav a.active {
            background: var(--green-5);
            color: var(--green-1);
        }

        .sidebar nav a .nav-icon {
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            opacity: 0.7;
            flex-shrink: 0;
        }


body.menu-open {
    overflow: hidden;
}


/* ════════════════════════════════════════════════════════════
   LAYOUT — Scroll progress bar
════════════════════════════════════════════════════════════ */
.scroll-indicator {
    position: fixed;
    top: 56px;
    right: 0;
    width: 3px;
    background: var(--border-light);
    height: calc(100vh - 56px);
    z-index: 800;
}

.scroll-progress {
    width: 100%;
    background: var(--green-2);
    transition: height 0.1s;
}


/* ════════════════════════════════════════════════════════════
   LAYOUT — Page container
════════════════════════════════════════════════════════════ */
.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 32px 80px;
}

@media (max-width: 640px) {
    .page {
        padding: 72px 20px 60px;
    }
}


/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-light);
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-2);
    background: var(--green-5);
    border: 1px solid var(--green-4);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.28;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

    .hero h1 em {
        font-style: italic;
        color: var(--green-1);
    }

.hero-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 6px;
}

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


/* ════════════════════════════════════════════════════════════
   SECTIONS
════════════════════════════════════════════════════════════ */
.section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-light);
}

    .section:last-of-type {
        border-bottom: none;
    }

.section-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--green-2);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .section-label::before {
        content: '';
        display: block;
        width: 16px;
        height: 1px;
        background: var(--green-3);
    }

.section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

    .section h2.sub-heading {
        font-size: clamp(1.1rem, 2vw, 1.4rem);
        margin-top: 32px;
    }

.section p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 12px;
}

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

    .section p.chart-title {
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--text-muted);
        margin-bottom: 12px;
        line-height: 1.4;
    }

.section strong {
    color: var(--text-primary);
    font-weight: 600;
}


/* ════════════════════════════════════════════════════════════
   READ MORE TOGGLE
════════════════════════════════════════════════════════════ */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-1);
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 0;
    margin-top: 8px;
    transition: gap 0.2s;
    font-family: var(--font-body);
}

    .read-more-btn:hover {
        gap: 9px;
    }

    .read-more-btn svg {
        transition: transform 0.25s;
        flex-shrink: 0;
    }

    .read-more-btn.open svg {
        transform: rotate(90deg);
    }

.expandable {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.35s;
}

    .expandable.open {
        max-height: 5000px;
        opacity: 1;
    }

.expandable-inner {
    padding-top: 20px;
}

.read-more-btn .alert-group-title {
    padding: 0;
    margin: 0;
}

.alert-group .read-more-btn {
    width: auto;
    max-width: 100%;
}

/* ════════════════════════════════════════════════════════════
   INFO BOX (green callout)
════════════════════════════════════════════════════════════ */
.info-box {
    background: linear-gradient(135deg, var(--green-6) 0%, var(--green-5) 100%);
    border: 1px solid var(--green-4);
    border-left: 3px solid var(--green-2);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin: 20px 0;
}

    .info-box p {
        font-size: 0.9rem;
        color: var(--text-secondary);
        margin: 0;
        line-height: 1.7;
    }

        .info-box p + p {
            margin-top: 8px;
        }


/* ════════════════════════════════════════════════════════════
   ALERT CATEGORIES
════════════════════════════════════════════════════════════ */
.alert-group {
    margin: 10px 0;
}

.alert-group-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-1);
    padding: 8px 0 6px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.alert-list {
    list-style: none;
}

    .alert-list li {
        font-size: 0.88rem;
        color: var(--text-secondary);
        padding: 5px 0 5px 16px;
        position: relative;
        line-height: 1.5;
        border-bottom: 1px solid var(--border-light);
    }

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

        .alert-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 12px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--green-3);
        }

.alert-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.alert-list.check-list li::before {
    display: none;
}

@media (max-width: 640px) {
    .alert-group-title {
        text-align: left;
    }
}

/* ════════════════════════════════════════════════════════════
   CPV TABLE
════════════════════════════════════════════════════════════ */
.cpv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
    margin: 12px 0;
}

    .cpv-table td {
        padding: 7px 12px;
        border-bottom: 1px solid var(--border-light);
        color: var(--text-secondary);
    }

        .cpv-table td:first-child {
            font-family: 'DM Mono', 'Courier New', monospace;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--green-1);
            white-space: nowrap;
            width: 120px;
        }

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

.cpv-code {
    font-family: 'DM Mono', 'Courier New', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green-1) !important;
    white-space: nowrap;
    width: 120px;
}

/* ════════════════════════════════════════════════════════════
   EXAMPLE CARDS (Medición)
════════════════════════════════════════════════════════════ */
.examples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 20px 0;
}

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

.example-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    border-left: 3px solid var(--green-2);
}

    .example-card h4 {
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 10px;
        line-height: 1.4;
    }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--green-5);
    color: var(--green-1);
    border: 1px solid var(--green-4);
}


/* ════════════════════════════════════════════════════════════
   DONUT CHARTS
════════════════════════════════════════════════════════════ */
.chart-wrap {
    margin: 32px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.chart-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-align: center;
}

.chart-canvas-wrap {
    width: 100%;
    max-width: 850px;
    position: relative;
}

    .chart-canvas-wrap canvas {
        width: 100% !important;
        height: auto !important;
    }


/* ════════════════════════════════════════════════════════════
   PROYECTOS LIST
════════════════════════════════════════════════════════════ */
.proyectos-list {
    margin: 16px 0;
}

.proyecto-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

    .proyecto-item:last-child {
        border-bottom: none;
    }

.proyecto-num {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    width: 28px;
    transition: color 0.2s;
}

.proyecto-item:hover .proyecto-num {
    color: var(--green-3);
}

.proyecto-text h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.proyecto-text p {
    font-size: 0.87rem;
    color: var(--text-secondary);
    margin: 0;
}


/* ════════════════════════════════════════════════════════════
   SECTOR PILLS
════════════════════════════════════════════════════════════ */
.sector-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 12px 0;
}

.sector-pill {
    font-size: 0.76rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--green-5);
    color: var(--green-1);
    border: 1px solid var(--green-4);
}


/* ════════════════════════════════════════════════════════════
   USER ROLES
════════════════════════════════════════════════════════════ */
.roles-list {
    margin: 12px 0;
}

.sector-roles {
    display: grid;
    gap: 6px 70px;
    margin-top: 10px;
    justify-content: center;
}

.role-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.88rem;
}

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

.role-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 100px;
    flex-shrink: 0;
    min-width: 72px;
    text-align: center;
}

    .role-badge.admin {
        background: var(--green-1);
        color: #fff;
    }

    .role-badge.consulta {
        background: #fff3e8;
        color: #c46310;
        border: 1px solid #f0c999;
    }

    .role-badge.num {
        background: var(--green-5);
        color: var(--green-1);
        border: 1px solid var(--green-4);
    }

.role-name {
    color: var(--text-secondary);
}


/* ════════════════════════════════════════════════════════════
   DELIVERY OPTIONS
════════════════════════════════════════════════════════════ */
.options-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.option-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background: var(--bg-soft);
}

    .option-pill svg {
        color: var(--green-2);
    }


/* ════════════════════════════════════════════════════════════
   PRICING TABLE
════════════════════════════════════════════════════════════ */
.pricing-wrap {
    margin: 20px auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 520px;
}

.pricing-head {
    display: grid;
    grid-template-columns: 140px 140px 160px;
    background: var(--green-1);
    color: #fff;
    padding: 11px 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-row {
    display: grid;
    grid-template-columns: 140px 140px 160px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
    transition: background 0.15s;
}

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

    .pricing-row:hover {
        background: var(--green-6);
    }

    .pricing-row.highlight {
        background: #fff8f0;
        border-left: 3px solid #e07b1a;
        padding-left: 17px;
    }

    .pricing-row .pr-plan {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .pricing-row .pr-total {
        font-family: var(--font-display);
        font-size: 1.05rem;
        font-weight: 400;
        color: var(--green-1);
    }

    .pricing-row.highlight .pr-total {
        color: #c46310;
    }

    .pricing-row .pr-user {
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    .pricing-row .pr-plan {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-primary);
        font-family: 'Nunito Sans', sans-serif;
    }

    .pricing-row .pr-total {
        font-family: 'Nunito Sans', sans-serif;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--green-1);
        text-align: right;
    }

    .pricing-row.highlight .pr-total {
        color: #c46310;
    }

    .pricing-row .pr-user {
        font-family: 'Nunito Sans', sans-serif;
        font-size: 0.8rem;
        color: var(--text-muted);
        text-align: right;
    }

@media (max-width: 560px) {
    .pricing-head {
        display: none;
    }

    .pricing-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 2px;
        padding: 14px 16px;
    }

        .pricing-row.highlight {
            padding-left: 13px;
        }

        .pricing-row .pr-plan {
            font-size: 0.88rem;
            margin-bottom: 2px;
        }

        .pricing-row .pr-total {
            font-size: 1.1rem;
            font-weight: 600;
        }

        .pricing-row .pr-user::before {
            content: 'Coste por usuario: ';
            color: var(--text-muted);
            font-size: 0.75rem;
        }

        .pricing-row .pr-user {
            font-size: 0.75rem;
            color: var(--text-secondary);
        }
}


/* ════════════════════════════════════════════════════════════
   CONDITIONS GRID
════════════════════════════════════════════════════════════ */
.conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}

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

.condition-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
}

    .condition-card h4 {
        font-size: 0.84rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 5px;
    }

    .condition-card p {
        font-size: 0.8rem;
        color: var(--text-secondary);
        margin: 0;
        line-height: 1.55;
    }

    .condition-card.full {
        grid-column: 1 / -1;
    }


/* ════════════════════════════════════════════════════════════
   CONTACT FORM
════════════════════════════════════════════════════════════ */
.contact-section {
    padding: 30px 0 0;
}

.contact-form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .form-field label {
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--text-secondary);
        letter-spacing: 0.03em;
    }

    .form-field input,
    .form-field textarea {
        font-family: var(--font-body);
        font-size: 0.9rem;
        color: var(--text-primary);
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 10px 14px;
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
        resize: vertical;
    }

        .form-field input:focus,
        .form-field textarea:focus {
            border-color: var(--green-2);
            box-shadow: 0 0 0 3px rgba(45,134,83,0.1);
        }

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-1);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.2s, transform 0.15s;
}

    .btn-submit:hover {
        background: var(--green-2);
        transform: translateY(-1px);
    }

.form-success {
    margin-top: 60px;
    padding: 16px 20px;
    background: var(--green-5);
    border: 1px solid var(--green-4);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    color: var(--green-1);
    font-weight: 500;
}

.val-error {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #c0392b;
    margin-top: 4px;
}

    .val-error::before {
        content: '';
        display: inline-flex;
        flex-shrink: 0;
        width: 13px;
        height: 13px;
        min-width: 13px;
        border: 1.4px solid #c0392b;
        margin-right: 5px;
        border-radius: 50%;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 5v4M8 11v.5' stroke='%23c0392b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
    }

.input-error {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.10);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer {
    margin-top: 60px;
    padding: 32px 0 24px;
    border-top: 1px solid var(--border);
}

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

.footer-brand .brand-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--green-1);
}

.footer-brand .brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 2px;
}

.footer-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.8;
}

    .footer-info a {
        color: var(--green-2);
    }

        .footer-info a:hover {
            text-decoration: underline;
        }

.footer-copy {
    width: 100%;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.phone-wrap {
    display: flex;
}

.prefix-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    height: 40px;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 14px;
    white-space: nowrap;
    min-width: 88px;
    user-select: none;
    position: relative;
    font-family: var(--font-body);
}

    .prefix-btn:hover {
        background: var(--bg-soft);
    }

    .prefix-btn .arrow {
        font-size: 10px;
        color: var(--text-muted);
        margin-left: auto;
    }

.phone-input {
    flex: 1;
    height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--bg);
    color: var(--text-primary);
    outline: none;
    font-family: var(--font-body);
}

    .phone-input:focus {
        border-color: var(--green-2);
        box-shadow: 0 0 0 3px rgba(45,134,83,0.1);
    }

.dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 240px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

    .dropdown.open {
        display: block;
    }

.dd-search {
    padding: 8px;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background: #fff;
}

    .dd-search input {
        width: 100%;
        padding: 5px 8px;
        font-size: 13px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: var(--bg-soft);
        outline: none;
        font-family: var(--font-body);
        box-sizing: border-box;
    }

.dd-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
}

    .dd-item:hover, .dd-item.selected {
        background: var(--green-5);
    }

    .dd-item .name {
        flex: 1;
    }

    .dd-item .code {
        color: var(--text-muted);
        font-size: 12px;
    }
/* ══════════════════════════════════════════════════
   NUEVOS ESTILOS — cambios word 2026
══════════════════════════════════════════════════ */

/* Sector checkboxes — dos columnas */
.sector-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 6px 70px;
    margin-top: 10px;
    justify-content: center;
}

.sector-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: default;
}

    .sector-check input[type="checkbox"] {
        accent-color: var(--green-2);
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        cursor: default;
    }

.option-check input[type="checkbox"],
.alert-list.check-list li input[type="checkbox"] {
    accent-color: var(--green-2);
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    pointer-events: none;
    cursor: default;
    margin-top: 2px;
}

/* Check-list: lista con iconos cuadrado en lugar de bullet */
.alert-list.check-list {
    list-style: none;
    padding-left: 0;
}

    .alert-list.check-list li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 3px 0;
    }

/* Checkbox sin marcar */
.cb-unchecked {
    flex-shrink: 0;
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 1.5px solid var(--text-muted);
    border-radius: 2px;
    margin-top: 2px;
    background: transparent;
}

/* Checkbox con X — ítems excluidos */
.cb-excluded {
    color: #aaa !important;
}

.cb-x {
    flex-shrink: 0;
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 1.5px solid #bbb;
    border-radius: 2px;
    margin-top: 2px;
    background: transparent;
    position: relative;
}

    .cb-x::before,
    .cb-x::after {
        content: '';
        position: absolute;
        width: 7px;
        height: 1.5px;
        background: #bbb;
        top: 4px;
        left: 1px;
    }

    .cb-x::before {
        transform: rotate(45deg);
    }

    .cb-x::after {
        transform: rotate(-45deg);
    }

/* Info-box con icono bombilla */
.info-box-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.bulb-icon {
    color: var(--green-2);
    flex-shrink: 0;
}

/* Canal de entrega en columna */
.options-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.option-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: default;
}

/* Nunito Sans para números de pricing */
.nunito {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
}

.pricing-head span:not(:first-child),
.pr-total,
.pr-user {
    text-align: right;
}

/* Footer dos columnas */

.logo-claients {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #1FA84F;
    font-size: 24px;
    text-decoration: underline;
}

.logo-delegbcn {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #808080;
    font-size: 24px;
}

.azul-deleg {
    color: #72cdef;
}

.footer-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.footer-col-left {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

    .footer-col-left a {
        color: var(--text-secondary);
    }

        .footer-col-left a:hover {
            color: var(--green-2);
        }

.footer-col-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand-info {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

    .footer-brand-info strong {
        color: var(--text-primary);
    }

    .footer-brand-info a {
        color: var(--green-2);
    }

.footer-activity {
    color: var(--text-muted);
    font-size: 0.78rem;
}

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

    .sector-checkboxes {
        grid-template-columns: 1fr;
    }
}


.hero-style-heading {
    font-size: 30px !important;
}

    .hero-style-heading em,
    .hero-style-heading strong {
        color: var(--green-1) !important;
    }

.form-title {
    display: flex;
    align-items: center;
}

.logo-form {
    margin-left: 8px;
    max-width: 120px;
    max-height: 43px;
}

@media (max-width: 469px) {
    .form-title {
        font-size: 1.313rem;
    }

    .logo-form {
        max-width: 100px;
    }
}
