/**
 * Bottom-section redesign (option E — editorial split layout).
 * Namespaced with rd- prefixes; does not touch legacy calculator styles.
 * Palette unchanged: #00708F / #006F8D / #008AA9 / #00B5D6 / #B2D4DD / #53687D.
 */

.rd-sec {
    background: #fff;
    padding: 96px 0;
    border-bottom: 1px solid rgba(0, 112, 143, .14);
    font-family: "VerbCondRegular", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.65;
}

.rd-sec.rd-tint {
    background: linear-gradient(180deg, rgba(178, 212, 221, .18), rgba(178, 212, 221, .38));
}

.rd-wrap {
    width: 1080px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.rd-split {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    align-items: start;
}

.rd-left {
    position: sticky;
    top: 48px;
}

.rd-eyebrow {
    font-family: "VerbCondMedium";
    font-size: 14px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #00B5D6;
    margin-bottom: 16px;
}

.rd-sec h1 {
    font-size: 46px;
    line-height: 1.05;
}

.rd-left p {
    font-size: 19px;
    margin: 20px 0 0;
    color: #53687D;
}

.rd-left p a {
    color: #008AA9;
}

.rd-left .rd-lead {
    font-family: "VerbCondMedium";
    color: #00708F;
}

.rd-rows {
    display: flex;
    flex-direction: column;
}

.rd-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 112, 143, .16);
}

.rd-row:first-child {
    border-top: none;
    padding-top: 0;
}

.rd-row .rd-idx {
    font-family: "VerbCondRegular-Bold";
    font-size: 17px;
    color: #00B5D6;
    padding-top: 4px;
}

.rd-row h3 {
    margin-bottom: 10px;
}

.rd-row p {
    margin: 0 0 12px;
    color: #53687D;
    font-size: 17.5px;
}

.rd-row p:last-child {
    margin: 0;
}

.rd-row p a {
    color: #008AA9;
}

.rd-row .rd-note {
    color: #00708F;
    font-family: "VerbCondMedium";
}

.rd-row details {
    margin-top: 2px;
    display: flex;
    flex-direction: column-reverse;
}

.rd-row details summary {
    cursor: pointer;
    font-family: "VerbCondMedium";
    font-size: 16px;
    color: #008AA9;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rd-row details summary::-webkit-details-marker {
    display: none;
}

.rd-row details summary::before {
    content: "+";
    font-family: "VerbCondRegular-Bold";
    width: 20px;
    height: 20px;
    border-radius: 99px;
    border: 1px solid #008AA9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.rd-row details[open] summary::before {
    content: "\2212";
}

.rd-row details p {
    margin: 12px 0;
}

.rd-arrow {
    font-family: "VerbCondMedium";
    text-decoration: none;
}

.rd-arrow::after {
    content: " \2192";
}

/* footer */
.rd-footer {
    background: #fff;
    padding: 64px 0 40px;
    font-size: 16px;
    color: #53687D;
    font-family: "VerbCondRegular", Arial, sans-serif;
    line-height: 1.6;
}

.rd-footer .rd-wrap {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 44px;
}

.rd-footer .rd-caption {
    font-family: "VerbCondMedium";
    font-size: 13px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #00B5D6;
    margin-bottom: 12px;
}

.rd-footer a {
    color: #00708F;
}

.rd-footer img {
    max-width: 130px;
}

.rd-footer .rd-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(0, 112, 143, .14);
    margin-top: 18px;
    padding-top: 18px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 900px) {
    .rd-split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .rd-left {
        position: static;
    }

    .rd-sec h1 {
        font-size: 36px;
    }

    .rd-footer .rd-wrap {
        grid-template-columns: 1fr;
    }
}

/**
 * Intelia lookup block (results view) — funnels approx valuations to
 * Intelia's precise, automatic company valuation. Deep-links to
 * intelia.lv/{company name or reg number}.
 */
.rd-intelia {
    width: 622px;
    max-width: 100%;
    margin: 56px auto 0;
    padding: 24px 28px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #B2D4E1;
    box-shadow: 0 18px 44px -30px rgba(0, 112, 143, .4);
    text-align: left;
    font-family: "VerbCondRegular", Arial, sans-serif;
    color: #00708F;
}

.rd-intelia-eyebrow {
    font-family: "VerbCondMedium";
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #008AA9;
    margin-bottom: 6px;
}

.rd-intelia-title {
    font-family: "VerbCondRegular-Bold";
    font-size: 22px;
    color: #006F8D;
    margin-bottom: 6px;
}

.rd-intelia-desc {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.4;
    color: #53687D;
    max-width: 58ch;
}

.rd-intelia-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rd-intelia-input {
    flex: 1;
    min-width: 220px;
    padding: 12px 14px;
    border: 1.5px solid #B2D4E1;
    border-radius: 10px;
    font-family: "VerbCondRegular", Arial, sans-serif;
    font-size: 16px;
    color: #00708F;
}

.rd-intelia-input:focus {
    outline: none;
    border-color: #00B5D6;
}

.rd-intelia-btn {
    background: #00708F;
    color: #fff;
    font-family: "VerbCondMedium";
    font-size: 16px;
    padding: 12px 26px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}

.rd-intelia-btn:hover {
    background: #006F8D;
}

.rd-partner-links {
    margin-top: 16px;
}

.rd-intelia-logo {
    display: inline-block;
    font-family: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #00708F;
    text-decoration: none;
}

.rd-intelia-logo:hover {
    color: #006F8D;
}
