:root {
    --ll-navy: #0d2b57;
    --ll-navy-deep: #071a34;
    --ll-gold: #d0a24a;
    --ll-gold-soft: #f1ddaf;
    --ll-cream: #f7f3ea;
    --ll-ink: #11233f;
    --ll-mist: #dfe8f2;
    --ll-white: #ffffff;
    --ll-shadow: 0 24px 60px rgba(10, 26, 50, 0.14);
    --ll-radius-xl: 32px;
    --ll-radius-lg: 22px;
    --ll-radius-md: 16px;
    --ll-max: 1180px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 108px;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ll-ink);
    background:
        radial-gradient(circle at top left, rgba(208, 162, 74, 0.12), transparent 28%),
        linear-gradient(180deg, #fcfbf8 0%, #f1efe8 100%);
}

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

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

.ll-shell {
    min-height: 100vh;
}

.ll-container {
    width: min(var(--ll-max), calc(100% - 2rem));
    margin: 0 auto;
}

.ll-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(247, 243, 234, 0.82);
    border-bottom: 1px solid rgba(13, 43, 87, 0.08);
}

.ll-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.ll-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.ll-brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 22px rgba(10, 26, 50, 0.12);
}

.ll-brand-copy {
    display: flex;
    flex-direction: column;
}

.ll-brand-copy strong {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--ll-navy);
}

.ll-brand-copy span {
    font-size: 0.95rem;
    color: rgba(17, 35, 63, 0.75);
}

.ll-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.ll-nav a {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: rgba(17, 35, 63, 0.82);
    font-size: 0.95rem;
}

.ll-nav a:hover,
.ll-nav a:focus-visible {
    background: rgba(13, 43, 87, 0.08);
    outline: none;
}

.ll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ll-btn:hover,
.ll-btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.ll-btn-primary {
    background: linear-gradient(135deg, var(--ll-navy) 0%, #163f78 100%);
    color: var(--ll-white);
    box-shadow: 0 14px 30px rgba(13, 43, 87, 0.24);
}

.ll-btn-secondary {
    background: rgba(13, 43, 87, 0.08);
    color: var(--ll-navy);
}

.ll-btn-accent {
    background: linear-gradient(135deg, var(--ll-gold) 0%, #e5b95f 100%);
    color: var(--ll-navy-deep);
}

.ll-hero {
    padding: 4.4rem 0 3rem;
    scroll-margin-top: 108px;
}

.ll-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2rem;
    align-items: stretch;
}

.ll-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(208, 162, 74, 0.16);
    color: var(--ll-navy);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
}

.ll-hero-copy {
    padding: 1rem 0 0.5rem;
}

.ll-hero-copy h1 {
    margin: 1rem 0 1rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.95;
    color: var(--ll-navy-deep);
}

.ll-hero-copy p {
    margin: 0;
    max-width: 58ch;
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(17, 35, 63, 0.82);
}

.ll-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.7rem 0;
}

.ll-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.ll-stat {
    padding: 1rem 1.1rem;
    border-radius: var(--ll-radius-md);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(13, 43, 87, 0.07);
    box-shadow: 0 12px 28px rgba(10, 26, 50, 0.08);
}

.ll-stat strong {
    display: block;
    font-size: 1.7rem;
    color: var(--ll-navy-deep);
}

.ll-stat span {
    color: rgba(17, 35, 63, 0.72);
    font-size: 0.92rem;
}

.ll-visual-card {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    border-radius: var(--ll-radius-xl);
    background:
        linear-gradient(180deg, rgba(7, 26, 52, 0.08), rgba(7, 26, 52, 0.28)),
        var(--ll-white);
    box-shadow: var(--ll-shadow);
}

.ll-visual-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: saturate(0.98);
}

.page-lawyer .ll-visual-card::before {
    background-image: url("./infografia-lawyer.png");
}

.page-client .ll-visual-card::before {
    background-image: url("./infografia-client.png");
}

.ll-visual-overlay {
    position: absolute;
    inset: auto 1.3rem 1.3rem 1.3rem;
    padding: 1.2rem 1.25rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(7, 26, 52, 0.92), rgba(13, 43, 87, 0.86));
    color: var(--ll-white);
    box-shadow: 0 18px 36px rgba(7, 26, 52, 0.34);
}

.ll-visual-overlay strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1rem;
    color: var(--ll-gold-soft);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ll-visual-overlay p {
    margin: 0;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.ll-section {
    padding: 1.8rem 0 4rem;
    scroll-margin-top: 108px;
}

.ll-section-head {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.7rem;
}

.ll-section-head h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    color: var(--ll-navy-deep);
}

.ll-section-head p {
    margin: 0;
    max-width: 64ch;
    line-height: 1.75;
    color: rgba(17, 35, 63, 0.74);
}

.ll-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.ll-card {
    position: relative;
    overflow: hidden;
    padding: 1.35rem;
    border-radius: var(--ll-radius-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(13, 43, 87, 0.08);
    box-shadow: 0 16px 35px rgba(10, 26, 50, 0.08);
}

.ll-card::after {
    content: "";
    position: absolute;
    inset: auto 1.35rem 0 1.35rem;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ll-gold) 0%, transparent 100%);
}

.ll-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.1rem;
    color: var(--ll-navy);
}

.ll-card p,
.ll-card li {
    color: rgba(17, 35, 63, 0.78);
    line-height: 1.7;
}

.ll-card ul {
    margin: 0;
    padding-left: 1.1rem;
}

.ll-band {
    padding: 2rem;
    border-radius: var(--ll-radius-xl);
    background: linear-gradient(125deg, var(--ll-navy-deep), var(--ll-navy) 55%, #1f4f93 100%);
    color: var(--ll-white);
    box-shadow: var(--ll-shadow);
}

.ll-band-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.4rem;
    align-items: start;
}

.ll-band h2,
.ll-band h3 {
    margin-top: 0;
}

.ll-band h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.3rem, 4vw, 3.3rem);
}

.ll-band p,
.ll-band li {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.75;
}

.ll-band ul {
    margin: 0.8rem 0 0;
    padding-left: 1.1rem;
}

.ll-pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ll-price-card {
    padding: 1.3rem;
    border-radius: var(--ll-radius-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ll-price-card strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ll-gold-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ll-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.ll-list-card {
    padding: 1.35rem;
    border-radius: var(--ll-radius-lg);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(13, 43, 87, 0.08);
}

.ll-list-card ol,
.ll-list-card ul {
    margin: 0;
    padding-left: 1.1rem;
}

.ll-list-card li + li {
    margin-top: 0.65rem;
}

.ll-cta {
    padding: 4rem 0 5rem;
    scroll-margin-top: 108px;
}

.ll-cta-panel {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 1.3rem;
    padding: 1.5rem;
    border-radius: var(--ll-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 234, 0.94));
    box-shadow: var(--ll-shadow);
    border: 1px solid rgba(13, 43, 87, 0.08);
}

.ll-form-card {
    padding: 1.4rem;
    border-radius: 24px;
    background: var(--ll-white);
    border: 1px solid rgba(13, 43, 87, 0.08);
}

.ll-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ll-field {
    display: grid;
    gap: 0.45rem;
}

.ll-field.span-2 {
    grid-column: span 2;
}

.ll-field label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ll-navy);
}

.ll-field input,
.ll-field select,
.ll-field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(13, 43, 87, 0.12);
    background: #fbfaf6;
    font: inherit;
    color: var(--ll-ink);
}

.ll-field textarea {
    min-height: 132px;
    resize: vertical;
}

.ll-field input:focus,
.ll-field select:focus,
.ll-field textarea:focus {
    outline: 2px solid rgba(208, 162, 74, 0.45);
    border-color: rgba(208, 162, 74, 0.8);
}

.ll-form-note {
    margin-top: 0.9rem;
    color: rgba(17, 35, 63, 0.68);
    font-size: 0.9rem;
    line-height: 1.65;
}

.ll-form-message {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(208, 162, 74, 0.14);
    color: var(--ll-navy);
    display: none;
}

.ll-form-message.is-visible {
    display: block;
}

.ll-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid rgba(13, 43, 87, 0.08);
    color: rgba(17, 35, 63, 0.66);
}

.ll-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.ll-footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .ll-hero-grid,
    .ll-band-grid,
    .ll-cta-panel,
    .ll-split {
        grid-template-columns: 1fr;
    }

    .ll-card-grid,
    .ll-pricing {
        grid-template-columns: 1fr;
    }

    .ll-visual-card {
        min-height: 520px;
    }
}

@media (max-width: 720px) {
    .ll-topbar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .ll-brand {
        justify-content: center;
    }

    .ll-nav {
        justify-content: center;
    }

    .ll-stat-row,
    .ll-form-grid {
        grid-template-columns: 1fr;
    }

    .ll-field.span-2 {
        grid-column: auto;
    }

    .ll-hero {
        padding-top: 3.3rem;
    }

    .ll-visual-card {
        min-height: 400px;
    }
}

/* ── JotForm AI Agent — modal conversacional ────────────────────────────── */
[data-ll-agent-block][hidden] { display: none !important; }

.ll-agent-sep {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: rgba(17,35,63,.38);
    font-size: .8rem;
    font-weight: 500;
    margin: .25rem 0;
}
.ll-agent-sep::before,
.ll-agent-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(17,35,63,.12);
}

#ll-agent-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(7,26,52,.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
#ll-agent-modal[hidden] { display: none !important; }

.ll-agent-modal-card {
    width: min(520px, 100%);
    height: min(680px, 90vh);
    background: #fff;
    border-radius: var(--ll-radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 32px 80px rgba(7,26,52,.38);
}
.ll-agent-modal-close {
    position: absolute;
    top: .7rem;
    right: .7rem;
    z-index: 10;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: rgba(13,43,87,.12);
    cursor: pointer;
    font-size: .9rem;
    color: var(--ll-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    line-height: 1;
}
.ll-agent-modal-close:hover { background: rgba(13,43,87,.24); }

#ll-agent-iframe {
    flex: 1;
    border: none;
    width: 100%;
}
