:root {
    --magenta: #E6007E;
    --magenta-dark: #B80065;
    --purple: #4C1B63;
    --purple-deep: #2E1140;
    --ink: #211132;
    --paper: #FFFFFF;
    --mist: #F7F4FA;
    --line: #E7E1ED;
    --muted: #6B6178;
    --radius: 16px;
    --shadow: 0 12px 32px -16px rgba(46, 17, 64, 0.28);
    --font-display: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--mist);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

button {
    font-family: inherit;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 3px solid var(--magenta);
    outline-offset: 3px;
}

/* ---------- Top bar ---------- */
.topbar {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
    background: linear-gradient(135deg, var(--magenta), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 13px;
    color: var(--muted);
    border-left: 1px solid var(--line);
    padding-left: 12px;
}

.contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.contact strong {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--purple);
}

.contact .hours {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.35;
}

.phone-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--mist);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hero {
    background: var(--mist);
    padding: 56px 0 64px;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.hero .wrap {
    position: relative;
    z-index: 2;
    max-width: 1180px;
}

.hero-content {
    width: 60%;
    max-width: 60%;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 48%;
    max-width: 620px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 1;
}

.hero-bg-img img {
    height: 100%;
    max-height: 520px;
    width: 100%;
    object-fit: cover;
    object-position: left bottom;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--magenta-dark);
    background: #FCE6F1;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--magenta);
}

h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(32px, 4.2vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
    color: var(--purple-deep);
}

h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--magenta), #FF5FA8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lede {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 46ch;
    margin: 0 0 28px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid var(--magenta);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item .ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}

.trust-item span {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.4;
}

/* Signature hero graphic: interlocking pieces = "incorporación" */
.hero-art {
    position: relative;
    height: 340px;
}

.hero-art svg {
    width: 100%;
    height: 100%;
}

.hero-art .float {
    position: absolute;
    background: var(--paper);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 12px 14px;
    font-size: 12.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-art .float span.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #26C281;
}

.hero-art .f1 {
    top: 6%;
    left: 0;
}

.hero-art .f2 {
    bottom: 8%;
    right: 2%;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-art .piece {
        transition: transform .6s ease;
    }

    .hero-art:hover .piece {
        transform: translateY(-4px);
    }
}

/* ---------- Steps ---------- */
.steps {
    padding: 64px;
    background: var(--paper);
    border-radius: 32px;
    box-shadow: var(--shadow);
    margin-top: -42px;
    overflow: visible;
    z-index: 1;
    position: relative;
    max-width: 1024px;
}

.section-head {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-head .kicker {
    font-size: 13px;
    font-weight: 700;
    color: var(--magenta-dark);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    color: var(--purple-deep);
    margin: 8px 0 0;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

.step-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(230, 0, 126, 0.3);
    box-shadow: 0 16px 32px -16px rgba(76, 27, 99, 0.12);
}

.step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.step-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--magenta), var(--purple));
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px -3px rgba(230, 0, 126, 0.35);
}

.step-ic {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--mist);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.step-card:hover .step-ic {
    background: #FCE6F1;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--purple-deep);
    line-height: 1.35;
}

.step-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.step-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -21px;
    color: var(--magenta);
    opacity: 0.4;
    font-size: 18px;
    font-weight: bold;
    z-index: 2;
}

@media (min-width:860px) {
    .step-arrow {
        display: block;
    }
}

/* ---------- Main Content Layout (Selector + Help side-by-side) ---------- */
.content-section {
    background: var(--mist);
    padding: 64px 0;
    width: 100%;
}

.content-layout {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

@media (min-width: 992px) {
    .content-layout {
        display: grid;
        grid-template-columns: 1fr 280px;
        gap: 32px;
        align-items: start;
    }

    .selector {
        padding: 0;
    }

    .selector .section-head {
        text-align: left;
        margin-bottom: 28px;
        margin-left: 0;
    }

    .help {
        padding: 0;
    }

    .help-head {
        text-align: left;
        margin-bottom: 28px;
    }
}

/* ---------- Entity selector (Side by Side Cards) ---------- */
.selector {
    padding: 0;
}

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

@media (max-width: 1200px) {
    .entity-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.entity-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.entity-card:hover {
    transform: translateY(-4px);
    border-color: var(--magenta);
    box-shadow: 0 12px 28px -12px rgba(230, 0, 126, 0.2);
}

.entity-card-head {
    margin-bottom: 14px;
}

.entity-card-head .ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), var(--purple-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.entity-card-head h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--purple-deep);
    margin: 0 0 6px;
    line-height: 1.3;
}

.entity-card-head .desc {
    font-size: 12.8px;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}

.entity-card-body {
    margin-bottom: 18px;
    flex: 1;
    border-top: 1px dashed var(--line);
    padding-top: 14px;
    margin-top: 12px;
}

.entity-card-body .docs-title {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--magenta-dark);
    margin: 0 0 10px;
}

.entity-card-body .docs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.entity-card-body .docs li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12.5px;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.35;
}

.entity-card-body .docs li::before {
    content: '✓';
    color: var(--magenta);
    font-weight: 700;
    flex-shrink: 0;
}

.entity-card-foot .btn {
    width: 100%;
    padding: 11px 14px;
    font-size: 13.5px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn-primary {
    background: var(--magenta);
    color: #fff;
}

.btn-primary:hover {
    background: var(--magenta-dark);
}

.btn-ghost {
    background: var(--paper);
    color: var(--purple);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--purple);
}

/* ---------- Help panel (Stacked Column) ---------- */
.help {
    padding: 0;
}

.help-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.help-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    background: var(--paper);
    transition: border-color .15s ease, transform .15s ease, box-shadow 0.15s ease;
}

.help-card:hover {
    border-color: var(--magenta);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.help-card .ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--mist);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14.5px;
    color: var(--purple-deep);
    margin-bottom: 4px;
}

.help-card span {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.4;
}

margin-bottom: 4px;
}

.help-card span {
    font-size: 12.8px;
    color: var(--muted);
    line-height: 1.4;
}

/* ---------- Footer ---------- */
footer {
    background: var(--purple-deep);
    color: #fff;
    padding: 40px 0;
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

footer .f-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
}

footer .f-hours {
    font-size: 13px;
    opacity: .75;
    margin-top: 4px;
}

.f-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.f-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.f-socials a:hover {
    background: var(--magenta);
    transform: translateY(-3px);
}

/* ---------- Chat launcher (UI scaffold only) ---------- */
.chat-launcher {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 40;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    background: linear-gradient(135deg, var(--magenta), var(--purple));
    box-shadow: 0 14px 28px -10px rgba(230, 0, 126, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-panel {
    position: fixed;
    bottom: 94px;
    right: 24px;
    z-index: 40;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: var(--paper);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    overflow: hidden;
    display: none;
}

.chat-panel.open {
    display: block;
}

.chat-panel .chat-head {
    background: linear-gradient(135deg, var(--purple), var(--purple-deep));
    color: #fff;
    padding: 16px 18px;
}

.chat-panel .chat-head strong {
    display: block;
    font-size: 14.5px;
}

.chat-panel .chat-head span {
    font-size: 12px;
    opacity: .8;
}

.chat-panel .chat-body {
    padding: 16px 18px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.chat-panel .chat-body p {
    margin: 0 0 10px;
}

@media (max-width:900px) {
    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-art {
        height: 220px;
        order: -1;
    }

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

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

    .entity-head {
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .trust-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}