:root {
    --bg: #f7f1e7;
    --surface: #fffaf1;
    --surface-2: #efe4d3;
    --ink: #1d1b17;
    --muted: #6b6258;
    --gold: #b88945;
    --gold-dark: #8c642d;
    --charcoal: #25231f;
    --footer-bg: #171613;
    --whatsapp: #1f8f4d;
    --line-color: #d8cfc2;
    --line: var(--line-color);
    --radius: 28px;
    --image-radius: 42px;
    --button-radius: 40px;
    --container: 1180px;
    --section-space: 92px;
    --header-height: 82px;
    --logo-height: 52px;
    --base-size: 16px;
    --h1-max: 68px;
    --h2-max: 52px;
    --h3-size: 24px;
    --menu-size: 14px;
    --button-size: 14px;
    --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --heading-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow: 0 22px 60px rgba(29, 27, 23, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--body-font);
    font-size: var(--base-size);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand-wrap { display: flex; align-items: center; min-width: 110px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .08em; }
.brand img, .brand-wrap .custom-logo { max-height: var(--logo-height); width: auto; }
.brand-wrap .custom-logo-link { display: inline-flex; align-items: center; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; background: var(--charcoal); color: #fff; display: grid; place-items: center; font-weight: 900; }
.main-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.main-nav a { font-size: var(--menu-size); font-weight: 700; color: var(--muted); }
.main-nav a:hover { color: var(--ink); }
.header-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--button-radius);
    padding: 13px 22px;
    font-weight: 800;
    font-size: var(--button-size);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.header-cta, .btn-primary { background: var(--charcoal); color: #fff; box-shadow: 0 12px 26px rgba(37,35,31,.18); }
.btn-primary:hover, .header-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 34px rgba(37,35,31,.24); }
.btn-secondary { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.45); }
.btn-light { background: #fff; color: var(--ink); }
.nav-toggle { display: none; background: transparent; border: 0; font-size: 28px; }
.hero-section { padding: 92px 0 76px; position: relative; overflow: hidden; }
.hero-section:before {
    content: "";
    position: absolute;
    width: 620px; height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,137,69,.25), transparent 68%);
    right: -140px; top: -180px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; position: relative; }
.eyebrow { display: inline-block; color: var(--gold-dark); text-transform: uppercase; font-size: 12px; letter-spacing: .18em; font-weight: 900; margin-bottom: 14px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font); line-height: 1.06; margin: 0 0 18px; letter-spacing: -.04em; }
h1 { font-size: clamp(42px, 6vw, var(--h1-max)); max-width: 900px; }
h2 { font-size: clamp(30px, 4.2vw, var(--h2-max)); }
h3 { font-size: var(--h3-size); }
p { color: var(--muted); margin: 0 0 22px; }
.hero-copy p { font-size: calc(var(--base-size) * 1.125); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row span { padding: 10px 14px; background: rgba(255,255,255,.54); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--muted); }
.hero-visual { min-height: 590px; position: relative; }
.visual-card { position: absolute; border: 1px solid rgba(255,255,255,.44); box-shadow: var(--shadow); }
.visual-main {
    inset: 0 44px 0 40px;
    border-radius: 42px;
    background:
        linear-gradient(135deg, rgba(37,35,31,.15), rgba(184,137,69,.22)),
        linear-gradient(145deg, #d1c1aa, #7b6f62 54%, #312f2b);
    display: flex;
    align-items: flex-end;
    padding: 34px;
    color: #fff;
    font-weight: 900;
    font-size: 24px;
}
.visual-main:before {
    content: "";
    position: absolute;
    inset: 26px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 28px;
}
.visual-small { background: rgba(255,250,241,.92); backdrop-filter: blur(12px); border-radius: 22px; padding: 20px 24px; font-weight: 900; max-width: 230px; }
.visual-small.top { top: 54px; left: 0; }
.visual-small.bottom { right: 0; bottom: 66px; }
.stats-strip { padding: 0 0 36px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats-grid div { background: var(--charcoal); color: #fff; border-radius: 24px; padding: 24px; }
.stats-grid strong { display: block; font-size: 34px; line-height: 1; }
.stats-grid span { color: rgba(255,255,255,.65); font-size: 14px; font-weight: 700; }
.section { padding: var(--section-space) 0; }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading.narrow { max-width: 620px; text-align: center; margin-inline: auto; }
.section-heading.between { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.card-grid { display: grid; gap: 22px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.service-card, .project-card, .contact-card, .form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-card { padding: 28px; min-height: 295px; display: flex; flex-direction: column; align-items: flex-start; }
.service-number { display: inline-flex; color: var(--gold); font-weight: 900; margin-bottom: 26px; }
.service-card a { margin-top: auto; color: var(--gold-dark); font-weight: 900; }
.split-section { background: var(--surface-2); }
.split-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 62px; align-items: center; }
.image-panel { min-height: 560px; border-radius: var(--image-radius); background: linear-gradient(145deg, #b9a07d, #5b554d 60%, #2c2a27); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.image-panel:after { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(255,255,255,.22); border-radius: 28px; }
.check-list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; }
.check-list li { background: rgba(255,255,255,.5); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font-weight: 800; }
.check-list li:before { content: "✓"; color: var(--gold-dark); margin-right: 10px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-grid div { padding: 28px; border-radius: 26px; background: rgba(255,255,255,.5); border: 1px solid var(--line); }
.process-grid span { font-weight: 900; color: var(--gold-dark); }
.project-card { overflow: hidden; transition: transform .2s ease; }
.project-card:hover { transform: translateY(-5px); }
.project-card img, .project-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: linear-gradient(135deg, #ddd0bd, #746b61); }
.project-card-body { padding: 24px; }
.text-link { color: var(--gold-dark); font-weight: 900; }
.cta-band { background: var(--charcoal); color: #fff; padding: 70px 0; }
.cta-band p { color: rgba(255,255,255,.72); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.page-hero { padding: 96px 0 70px; background: linear-gradient(135deg, var(--surface-2), var(--bg)); }
.page-hero p { max-width: 740px; font-size: calc(var(--base-size) * 1.125); }
.content-wrap { max-width: 880px; }
.content-wrap :where(p, li) { font-size: calc(var(--base-size) * 1.125); }
.content-wrap a { color: var(--gold-dark); font-weight: 800; }
.service-list { display: grid; gap: 18px; }
.service-row { display: grid; grid-template-columns: 74px 1fr auto; gap: 24px; align-items: center; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.service-row span { color: var(--gold-dark); font-weight: 900; }
.service-row h2 { font-size: clamp(26px, 3vw, var(--h2-max)); }
.service-row a { font-weight: 900; color: var(--gold-dark); }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 24px; align-items: start; }
.contact-card, .form-card { padding: 32px; }
.single-featured { margin-bottom: 36px; border-radius: 32px; overflow: hidden; }
.site-footer { padding: 72px 0 28px; background: var(--footer-bg); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 42px; }
.footer-brand { font-size: 28px; font-weight: 900; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.68); }
.site-footer h3 { font-size: 17px; letter-spacing: .02em; }
.site-footer a { display: block; margin: 8px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.56); }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 99; background: var(--whatsapp); color: #fff; border-radius: var(--button-radius); padding: 13px 18px; font-weight: 900; box-shadow: 0 18px 42px rgba(0,0,0,.25); }
@media (max-width: 980px) {
    .header-cta { display: none; }
    .nav-toggle { display: block; }
    .main-nav { position: absolute; left: 20px; right: 20px; top: var(--header-height); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); display: none; }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
    .hero-grid, .split-grid, .contact-grid, .cta-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 470px; }
    .card-grid.four, .card-grid.three, .process-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .section-heading.between { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .container { width: min(100% - 28px, 1180px); }
    .hero-section { padding: 58px 0 46px; }
    .card-grid.four, .card-grid.three, .process-grid, .stats-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 390px; }
    .visual-main { inset: 0; }
    .visual-small { display: none; }
    .service-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .section { padding: 64px 0; }
}
.post-list { display: grid; gap: 24px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-card-image img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.post-card-body { padding: 28px; }
.pagination-wrap { margin-top: 34px; }
.pagination-wrap .nav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pagination-wrap a, .pagination-wrap span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; }

/* Editable homepage and real image support */
.hero-media {
    position: relative;
    min-height: 590px;
}
.hero-media img {
    width: 100%;
    height: 590px;
    object-fit: cover;
    border-radius: var(--image-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.5);
}
.hero-media:after {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 28px;
    pointer-events: none;
}
.image-panel.has-real-image {
    background: none;
}
.image-panel.has-real-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}
.editable-home > .wp-block-group:first-child.hero-section {
    margin-top: 0;
}
.editable-home .wp-block-group,
.editable-home .wp-block-columns,
.editable-home .wp-block-cover,
.editable-home .wp-block-image,
.editable-home .wp-block-buttons {
    box-sizing: border-box;
}
.editable-home .container {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}
.editable-home .wp-block-group.hero-section,
.editable-home .wp-block-group.section,
.editable-home .wp-block-group.cta-band {
    margin-block-start: 0;
}
.editable-home .hero-grid.wp-block-columns {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 72px;
}
.editable-home .hero-grid.wp-block-columns > .wp-block-column {
    flex-basis: auto !important;
}
.editable-home .hero-photo img,
.editable-home .section-photo img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--image-radius);
    box-shadow: var(--shadow);
}
.editable-home .hero-photo img {
    height: 590px;
}
.editable-home .section-photo img {
    min-height: 520px;
}
.editable-home .wp-block-buttons .wp-block-button__link {
    border-radius: var(--button-radius);
    padding: 13px 22px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
}
.editable-home .wp-block-button.is-style-fill .wp-block-button__link,
.editable-home .wp-block-button__link {
    background: var(--charcoal);
    color: #fff;
}
.editable-home .wp-block-button.is-style-outline .wp-block-button__link {
    background: rgba(255,255,255,.45);
    border: 1px solid var(--line);
    color: var(--ink);
}
.editable-home .service-card,
.editable-home .process-grid > .wp-block-group,
.editable-home .stats-grid > .wp-block-group {
    margin-block-start: 0;
}
.editable-home .stats-grid > .wp-block-group {
    background: var(--charcoal);
    color: #fff;
    border-radius: 24px;
    padding: 24px;
}
.editable-home .stats-grid strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}
.editable-home .stats-grid p {
    color: rgba(255,255,255,.65);
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}
.editable-home .cta-band .wp-block-button__link {
    background: #fff;
    color: var(--ink);
}
.builder-page-content {
    padding: 0;
}
.builder-page-content > *:first-child {
    margin-top: 0;
}

@media (max-width: 980px) {
    .hero-media,
    .hero-media img {
        min-height: 470px;
        height: 470px;
    }
    .editable-home .hero-grid.wp-block-columns {
        grid-template-columns: 1fr;
    }
    .editable-home .hero-photo img {
        height: 470px;
    }
}
@media (max-width: 640px) {
    .hero-media,
    .hero-media img,
    .editable-home .hero-photo img {
        min-height: 390px;
        height: 390px;
    }
    .editable-home .section-photo img,
    .image-panel.has-real-image img {
        min-height: 360px;
        height: 360px;
    }
}

/* Accessibility and global editing support */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.screen-reader-text:focus {
    top: 10px;
    left: 10px;
    z-index: 9999;
    width: auto;
    height: auto;
    clip: auto;
    padding: 10px 14px;
    background: #fff;
    color: #000;
    border-radius: 8px;
}
:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}
button, input, select, textarea { font: inherit; }
.admin-bar .site-header { top: 32px; }
.hero-copy h1 { max-width: 720px; }
.page-hero h1 { max-width: 980px; }
.editable-page > :where(.wp-block-group, .wp-block-cover, .wp-block-columns),
.editable-home > :where(.wp-block-group, .wp-block-cover, .wp-block-columns) { margin-block-start: 0; }
.alignwide { width: min(var(--container), calc(100% - 40px)); max-width: none; margin-inline: auto; }
.alignfull { width: 100%; max-width: none; }

/* About and proof sections */
.mission-card, .value-card, .empty-state {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.mission-card { padding: 26px; margin-top: 30px; }
.mission-card p { margin-bottom: 0; }
.value-card { padding: 30px; }
.values-section { background: var(--surface-2); }
.empty-state { grid-column: 1 / -1; padding: 34px; text-align: center; }
.empty-state p { margin-bottom: 0; }

/* Projects */
.project-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 12px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.project-card-body p { margin-bottom: 16px; }
.project-view-link { color: var(--gold-dark); font-weight: 900; }
.project-shortcode-grid.columns-1 { grid-template-columns: 1fr; }
.project-shortcode-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.project-shortcode-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.project-shortcode-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.project-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 40px;
}
.project-details-grid div {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) * .7);
}
.project-details-grid dt {
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.project-details-grid dd { margin: 6px 0 0; font-weight: 800; }
.project-content { margin-bottom: 34px; }

/* Contact form */
.contact-page-content { margin-bottom: 42px; }
.contact-card a:not(.btn) { color: var(--gold-dark); font-weight: 800; }
.form-row { display: grid; gap: 18px; }
.form-row.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 14px; font-weight: 800; }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-notice { margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; font-weight: 800; }
.form-notice.success { background: #e2f4e8; color: #155b31; border: 1px solid #9bd5ad; }
.form-notice.error { background: #fce8e6; color: #8c261f; border: 1px solid #e7aaa5; }

/* Footer menus */
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin: 0; }
.footer-menu a { display: block; margin: 8px 0; }
.site-footer a:hover { color: #fff; }

@media (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}
@media (max-width: 980px) {
    .project-shortcode-grid.columns-3,
    .project-shortcode-grid.columns-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .form-row.two-columns,
    .project-details-grid,
    .project-shortcode-grid.columns-2,
    .project-shortcode-grid.columns-3,
    .project-shortcode-grid.columns-4 { grid-template-columns: 1fr; }
    .floating-whatsapp { right: 14px; bottom: 14px; }
}
