:root {
    --bg: #efede8;
    --surface: #faf8f3;
    --surface-strong: #ffffff;
    --surface-dark: #202321;
    --text: #202320;
    --muted: #666b66;
    --line: rgba(23, 33, 43, 0.08);
    --brand: #556b5d;
    --brand-dark: #2f3a34;
    --accent: #8c8476;
    --accent-soft: #e4e0d8;
    --success: #1d8f5f;
    --shadow: 0 24px 60px rgba(17, 29, 38, 0.12);
}

/* RDO premium finish */
.rdo-page .rdo-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(215, 194, 161, 0.28), transparent 34%),
        linear-gradient(135deg, #202320, #3d4a42 58%, #756f63);
    color: #fffaf1;
}

.rdo-page .rdo-hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.rdo-page .rdo-brand,
.rdo-page .rdo-hero-actions {
    position: relative;
    z-index: 1;
}

.rdo-page .rdo-brand img {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.rdo-page .rdo-hero .section-chip {
    background: rgba(255, 255, 255, 0.16);
    color: #fff4dc;
}

.rdo-page .rdo-hero p {
    color: rgba(255, 250, 241, 0.84);
}

.rdo-page .rdo-hero .btn-primary,
.rdo-page .rdo-hero .btn-secondary {
    background: #fff4dc;
    color: #202320;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.rdo-page .rdo-hero .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
    color: #fffaf1;
}

.rdo-page .rdo-stat-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 241, 232, 0.96));
}

.rdo-page .rdo-panel {
    position: relative;
    overflow: hidden;
}

.rdo-page .rdo-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--brand), var(--accent));
}

.rdo-alert {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(140, 132, 118, 0.16);
    border: 1px solid rgba(140, 132, 118, 0.28);
    color: #3b352d;
    font-weight: 800;
}

.rdo-occurrence-list {
    display: grid;
    gap: 14px;
}

.rdo-occurrence-public {
    display: grid;
    gap: 10px;
}

.rdo-occurrence-public strong,
.rdo-photo-timestamp {
    color: var(--muted);
    font-size: 0.9rem;
}

.rdo-photo-card {
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.rdo-photo-timestamp {
    display: block;
    margin-top: 10px;
}

.rdo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(12, 18, 24, 0.85);
}

.rdo-lightbox[hidden] {
    display: none !important;
}

.rdo-lightbox img {
    max-width: min(1100px, 100%);
    max-height: calc(100vh - 120px);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.rdo-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    border: none;
    border-radius: 999px;
    padding: 12px 16px;
    background: #fff4dc;
    color: #202320;
    font-weight: 800;
    cursor: pointer;
}

.rdo-page .rdo-whatsapp-box .btn {
    width: 100%;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(85, 107, 93, 0.14), transparent 22%),
        radial-gradient(circle at bottom right, rgba(140, 132, 118, 0.14), transparent 22%),
        linear-gradient(180deg, #f5f2eb, #ece8df);
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: min(1280px, calc(100% - 20px));
    margin: 14px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 250, 242, 0.84);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: 24px;
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
}

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

.brand strong,
.hero h1,
.hero-card h2,
.section-heading h2,
.intro-copy h2,
.cta-grid h2,
.contact-copy h2 {
    font-family: 'Sora', sans-serif;
}

.brand span,
.header-phone,
.section-heading p,
.intro-copy p,
.service-card p,
.testimonial-card p,
.contact-copy p,
.lead-form label span,
.field-grid input,
.field-grid textarea,
.text-link,
.site-footer p,
.site-footer a {
    color: var(--muted);
}

.logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.main-nav,
.header-actions,
.hero-actions,
.trust-strip,
.footer-grid,
.cta-grid {
    display: flex;
    align-items: center;
}

.main-nav {
    gap: 18px;
}

.main-nav a {
    font-weight: 700;
}

.header-actions {
    gap: 12px;
}

.header-phone {
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-weight: 800;
}

.btn:hover,
.floating-whatsapp:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fffdf8;
    box-shadow: 0 16px 36px rgba(15, 95, 115, 0.24);
}

.btn-secondary {
    background: rgba(85, 107, 93, 0.08);
    border: 1px solid rgba(85, 107, 93, 0.15);
    color: var(--accent);
}

.section-chip {
    display: inline-flex;
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(0.68) brightness(0.72) contrast(0.88);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 23, 31, 0.9), rgba(16, 23, 31, 0.64)),
        linear-gradient(180deg, rgba(16, 23, 31, 0.18), rgba(16, 23, 31, 0.34));
}

.page-hero {
    position: relative;
    min-height: 46vh;
    display: grid;
    align-items: end;
    padding: 130px 0 40px;
    overflow: hidden;
}

.project-hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 23, 31, 0.38), rgba(16, 23, 31, 0.84));
}

.page-hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-hero-copy {
    position: relative;
    z-index: 1;
    color: #fff7ef;
    display: grid;
    gap: 18px;
}

.page-hero-copy h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1.02;
    max-width: 14ch;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

.page-hero-copy p {
    color: rgba(255, 247, 239, 0.82);
    max-width: 64ch;
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.hero-grid,
.intro-grid,
.contact-grid,
.testimonials-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 150px 0 100px;
}

.hero-copy {
    color: #fff7ef;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 5.8vw, 5.4rem);
    line-height: 0.98;
    margin: 20px 0 18px;
    max-width: 11ch;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.38);
}

.hero-copy p,
.hero-card p,
.hero-card li {
    color: rgba(255, 247, 239, 0.82);
    font-size: 1.06rem;
    line-height: 1.75;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.hero-actions {
    gap: 12px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.trust-strip {
    gap: 12px;
    flex-wrap: wrap;
}

.trust-strip span,
.hero-card,
.metric-card,
.service-card,
.project-card,
.testimonial-card,
.lead-form {
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.trust-strip span {
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card {
    align-self: end;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    padding: 28px;
    color: #fff7ef;
}

.hero-card h2 {
    font-size: 1.8rem;
    margin: 18px 0 14px;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.hero-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 10px;
}

.section {
    padding: 92px 0;
}

.soft-section {
    background: rgba(255, 255, 255, 0.44);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(23, 33, 43, 0.05);
}

.intro-grid,
.contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
}

.intro-copy,
.contact-copy {
    display: grid;
    gap: 18px;
    align-content: start;
}

.intro-copy h2,
.section-heading h2,
.cta-grid h2,
.contact-copy h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.06;
    max-width: 16ch;
}

.metric-stack,
.services-grid,
.projects-grid,
.testimonials-list,
.faq-list,
.listing-grid,
.detail-layout {
    display: grid;
    gap: 18px;
}

.metric-stack,
.services-grid,
.listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card,
.service-card,
.testimonial-card,
.lead-form,
.faq-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    padding: 24px;
}

.metric-card h3,
.service-card h3,
.service-card h2,
.project-copy h3 {
    font-size: 1.26rem;
    margin-bottom: 10px;
}

.section-heading {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.services-grid {
    margin-top: 26px;
}

.service-card {
    min-height: 210px;
}

.projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 390px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-copy {
    position: absolute;
    inset: auto 18px 18px 18px;
    background: rgba(17, 29, 38, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    color: white;
    padding: 18px;
}

.project-copy span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
}

.project-link {
    margin-top: 12px;
    display: inline-flex;
    color: #ffd89f;
    font-weight: 800;
}

.proposal-search-layout,
.proposal-view-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: start;
}

.proposal-search-layout {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
}

.proposal-results {
    display: grid;
    gap: 18px;
}

.proposal-card {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
}

.proposal-card.empty {
    align-content: center;
    min-height: 220px;
}

.proposal-card-head,
.proposal-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.proposal-badge {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.82rem;
    border: 1px solid transparent;
}

.proposal-badge.pending {
    background: rgba(243, 170, 71, 0.18);
    border-color: rgba(243, 170, 71, 0.38);
    color: #8a4e11;
}

.proposal-badge.approved {
    background: rgba(29, 143, 95, 0.14);
    border-color: rgba(29, 143, 95, 0.3);
    color: #136643;
}

.proposal-badge.rejected {
    background: rgba(15, 95, 115, 0.14);
    border-color: rgba(15, 95, 115, 0.26);
    color: #8c3f16;
}

.signature-preview {
    display: grid;
    gap: 10px;
    padding-top: 8px;
}

.signature-preview img {
    max-width: 260px;
    max-height: 120px;
    object-fit: contain;
}

.proposal-list-block {
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(23, 32, 51, 0.1);
}

.proposal-list-block strong {
    color: #1b2d3b;
}

.proposal-list-block ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: #425166;
}

.proposal-feedback {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(212, 161, 47, 0.18);
    color: #73510c;
    border: 1px solid rgba(212, 161, 47, 0.32);
}

.proposal-page .site-header {
    width: min(1280px, calc(100% - 28px));
}

.proposal-section {
    padding-top: 44px;
}

.proposal-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 24px;
}

.proposal-main-card,
.proposal-side-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.proposal-side-card {
    position: sticky;
    top: 110px;
}

.proposal-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.proposal-fact {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 239, 232, 0.88));
    border: 1px solid rgba(23, 32, 51, 0.08);
}

.proposal-fact span {
    color: #6a7480;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.proposal-fact strong {
    color: #17212b;
    font-size: 1rem;
    line-height: 1.45;
}

.proposal-highlight {
    display: grid;
    gap: 8px;
    padding: 20px 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #1e3444, #2d5066);
    color: #fff7ef;
    box-shadow: 0 18px 40px rgba(30, 52, 68, 0.18);
}

.proposal-highlight span {
    color: rgba(255, 247, 239, 0.78);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proposal-highlight strong {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1;
}

.proposal-copy-block {
    display: grid;
    gap: 8px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(23, 32, 51, 0.1);
}

.proposal-copy-block strong {
    color: #1d2c3d;
}

.proposal-copy-block p {
    color: #3b495b;
    line-height: 1.75;
}

.proposal-status-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.proposal-action-row,
.proposal-client-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-small {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.88rem;
}

.proposal-response-panel {
    display: grid;
    gap: 14px;
    margin-top: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 32, 51, 0.08);
}

.modal-open {
    overflow: hidden;
}

.proposal-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 20px;
}

.proposal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 17, 31, 0.66);
    backdrop-filter: blur(6px);
}

.proposal-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
}

.proposal-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(23, 32, 51, 0.08);
    color: #172033;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.modal-panel {
    margin-top: 0;
    background: #f8fafc;
    box-shadow: 0 30px 80px rgba(9, 17, 31, 0.25);
}

.proposal-response-panel label {
    display: grid;
    gap: 8px;
    color: #27364a;
    font-weight: 700;
}

.proposal-response-panel input,
.proposal-response-panel textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(23, 32, 51, 0.14);
    padding: 12px 14px;
    font: inherit;
    color: #172033;
    background: #fff;
}

.proposal-response-panel textarea {
    min-height: 130px;
    resize: vertical;
}

.signature-canvas-shell {
    display: grid;
    gap: 10px;
}

.signature-canvas-shell canvas {
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
    border: 1px dashed rgba(23, 32, 51, 0.2);
    background: #fff;
    min-height: 180px;
}

.proposal-error {
    color: #a43d12;
    font-size: 0.92rem;
}

.is-hidden {
    display: none !important;
}

.testimonials-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
}

.testimonials-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-list {
    grid-template-columns: 1fr;
}

.faq-card summary {
    cursor: pointer;
    list-style: none;
    font-weight: 800;
    color: var(--text);
}

.faq-card summary::-webkit-details-marker {
    display: none;
}

.faq-card p {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.testimonial-card strong {
    display: block;
    margin-top: 18px;
}

.cta-band {
    background: linear-gradient(135deg, #2b342e, #48554d);
    color: #fff7ef;
}

.cta-grid {
    justify-content: space-between;
    gap: 20px;
}

.cta-grid p {
    margin-top: 12px;
    color: rgba(255, 247, 239, 0.82);
    max-width: 58ch;
}

.lead-form {
    display: grid;
    gap: 22px;
}

.detail-layout {
    grid-template-columns: 1.15fr 0.85fr;
}

.detail-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field-grid label {
    display: grid;
    gap: 8px;
}

.field-grid .full {
    grid-column: 1 / -1;
}

.field-grid input,
.field-grid textarea {
    min-height: 56px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px;
    background: #fff;
    color: var(--text);
}

.field-grid textarea {
    min-height: 160px;
    resize: vertical;
}

.form-status {
    padding: 14px 16px;
    border-radius: 18px;
    font-weight: 700;
}

.form-status.success {
    background: rgba(29, 143, 95, 0.12);
    color: var(--success);
    border: 1px solid rgba(29, 143, 95, 0.24);
}

.form-status.error {
    background: rgba(15, 95, 115, 0.12);
    color: var(--brand-dark);
    border: 1px solid rgba(15, 95, 115, 0.22);
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.text-link {
    font-weight: 800;
    color: var(--brand-dark);
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #7be495);
    color: #083b24;
    font-weight: 800;
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.26);
}

.site-footer {
    padding: 24px 0 40px;
}

.footer-grid {
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(23, 33, 43, 0.08);
    padding-top: 24px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rdo-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(85, 107, 93, 0.12), transparent 26%),
        linear-gradient(180deg, #f6f1e8, #ebe6dc);
}

.rdo-shell {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 48px;
    display: grid;
    gap: 22px;
}

.rdo-hero,
.rdo-panel,
.rdo-stat-card,
.rdo-empty {
    border: 1px solid rgba(23, 33, 43, 0.08);
    background: rgba(255, 252, 247, 0.92);
    box-shadow: 0 24px 60px rgba(17, 29, 38, 0.08);
    backdrop-filter: blur(16px);
}

.rdo-hero,
.rdo-panel,
.rdo-empty {
    border-radius: 28px;
    padding: 28px;
}

.rdo-empty {
    min-height: calc(100vh - 96px);
    display: grid;
    place-items: center;
    text-align: center;
    gap: 18px;
}

.rdo-empty-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.rdo-hero,
.rdo-brand,
.rdo-hero-actions,
.rdo-team-row,
.rdo-summary-item,
.rdo-panel-head {
    display: flex;
}

.rdo-hero,
.rdo-panel-head {
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.rdo-brand {
    gap: 18px;
    align-items: center;
}

.rdo-brand img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 22px;
    background: #fff;
    padding: 10px;
}

.rdo-brand h1,
.rdo-panel h2,
.rdo-empty h1 {
    font-family: 'Sora', sans-serif;
}

.rdo-brand h1,
.rdo-empty h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.02;
    margin: 8px 0 10px;
}

.rdo-brand p,
.rdo-whatsapp-box p,
.rdo-empty p {
    color: var(--muted);
    line-height: 1.7;
    max-width: 72ch;
}

.rdo-hero-actions {
    gap: 12px;
    flex-wrap: wrap;
}

.rdo-summary-grid,
.rdo-layout,
.rdo-info-grid,
.rdo-photo-grid {
    display: grid;
    gap: 18px;
}

.rdo-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rdo-stat-card {
    border-radius: 24px;
    padding: 22px;
}

.rdo-stat-card span,
.rdo-info-grid span,
.rdo-history-item span,
.rdo-summary-item span,
.rdo-team-row span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
}

.rdo-stat-card strong,
.rdo-info-grid strong,
.rdo-history-item strong,
.rdo-summary-item strong,
.rdo-team-row strong {
    font-size: 1.06rem;
    line-height: 1.45;
}

.rdo-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    align-items: start;
}

.rdo-main,
.rdo-sidebar,
.rdo-team-list,
.rdo-summary-list,
.rdo-history-list,
.rdo-whatsapp-box {
    display: grid;
    gap: 18px;
}

.rdo-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rdo-table-wrap {
    overflow: auto;
}

.rdo-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.rdo-table th,
.rdo-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(23, 33, 43, 0.08);
    text-align: left;
    vertical-align: top;
}

.rdo-table th {
    font-size: 0.84rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rdo-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(85, 107, 93, 0.12);
    color: var(--brand-dark);
    font-weight: 800;
}

.rdo-comments {
    padding: 18px;
    border-radius: 22px;
    background: rgba(85, 107, 93, 0.08);
    line-height: 1.8;
}

.rdo-photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.rdo-photo-card {
    display: grid;
    gap: 10px;
}

.rdo-photo-card img {
    width: 100%;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
    border-radius: 22px;
}

.rdo-photo-card figcaption {
    color: var(--muted);
    font-size: 0.92rem;
}

.rdo-team-row,
.rdo-summary-item {
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(85, 107, 93, 0.08);
}

.rdo-history-item {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(140, 132, 118, 0.12);
}

.rdo-whatsapp-box textarea {
    width: 100%;
    min-height: 150px;
    border: 1px solid rgba(23, 33, 43, 0.08);
    border-radius: 22px;
    background: #fffdf9;
    padding: 16px 18px;
    color: var(--text);
    resize: vertical;
}

@media (max-width: 1080px) {
    .site-header,
    .hero-grid,
    .intro-grid,
    .contact-grid,
    .testimonials-grid,
    .projects-grid,
    .listing-grid,
    .metric-stack,
    .services-grid,
    .testimonials-list,
    .detail-layout,
    .proposal-search-layout,
    .proposal-view-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .proposal-side-card {
        position: static;
    }

    .proposal-layout,
    .proposal-facts {
        grid-template-columns: 1fr;
    }

    .rdo-summary-grid,
    .rdo-layout,
    .rdo-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .hero-copy h1 {
        max-width: none;
    }

    .site-header {
        padding: 16px;
        border-radius: 20px;
    }

    .brand {
        width: 100%;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

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

    .section {
        padding: 72px 0;
    }

    .proposal-main-card,
    .proposal-side-card,
    .detail-card {
        padding: 22px;
        border-radius: 24px;
    }

    .proposal-modal {
        padding: 14px;
    }

    .proposal-modal-close {
        top: 10px;
        right: 10px;
    }

    .floating-whatsapp {
        min-width: 56px;
        padding: 0 14px;
        font-size: 0;
    }

    .floating-whatsapp::before {
        content: "WA";
        font-size: 0.95rem;
    }

    .rdo-shell {
        width: calc(100% - 16px);
        padding: 18px 0 30px;
    }

    .rdo-hero,
    .rdo-panel,
    .rdo-empty {
        padding: 22px;
        border-radius: 22px;
    }

    .rdo-hero,
    .rdo-brand {
        flex-direction: column;
        align-items: start;
    }

    .rdo-brand img {
        width: 78px;
        height: 78px;
    }
}

/* RDO premium finish override */
.rdo-page .rdo-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(215, 194, 161, 0.28), transparent 34%),
        linear-gradient(135deg, #202320, #3d4a42 58%, #756f63);
    color: #fffaf1;
}

.rdo-page .rdo-hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.rdo-page .rdo-brand,
.rdo-page .rdo-hero-actions {
    position: relative;
    z-index: 1;
}

.rdo-page .rdo-hero .section-chip {
    background: rgba(255, 255, 255, 0.16);
    color: #fff4dc;
}

.rdo-page .rdo-hero p {
    color: rgba(255, 250, 241, 0.84);
}

.rdo-page .rdo-hero .btn-primary,
.rdo-page .rdo-hero .btn-secondary {
    background: #fff4dc;
    color: #202320;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.rdo-page .rdo-hero .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
    color: #fffaf1;
}

.rdo-page .rdo-stat-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 241, 232, 0.96));
}

.rdo-page .rdo-panel {
    position: relative;
    overflow: hidden;
}

.rdo-page .rdo-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--brand), var(--accent));
}

.rdo-alert {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(140, 132, 118, 0.16);
    border: 1px solid rgba(140, 132, 118, 0.28);
    color: #3b352d;
    font-weight: 800;
}
