/*
Theme Name: BASE
Theme URI: https://justbaseit.com
Author: BASE
Description: Block theme for B.A.S.E. Real Estate Services: contract-to-close and administrative support for real estate agents.
Version: 0.7.2
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: base-theme
*/

.base-hero { position: relative; overflow: hidden; }
.base-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(143,208,245,.35), rgba(143,208,245,0) 70%); pointer-events: none; }
.base-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 13px !important; font-weight: 700; color: var(--wp--preset--color--accent); }
.base-step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--charcoal); color: #fff; font-weight: 700; margin-bottom: 8px !important; }
.base-quote { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 28px !important; margin-bottom: 1.5rem; }
.base-quote p:first-child::before { content: "\201C"; font-size: 48px; line-height: 0; vertical-align: -18px; color: var(--wp--preset--color--accent); margin-right: 4px; }
.base-feature { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 28px !important; margin-bottom: 1.5rem; }
.base-portal-preview { border-radius: 16px; background: var(--wp--preset--color--charcoal); color: #e6eff6; padding: 28px !important; box-shadow: 0 30px 60px rgba(13,43,69,.25); }
.base-portal-preview .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; }
.base-portal-preview .row:last-child { border: 0; }
.base-portal-preview .ok { color: #9fd8b5; }
.base-portal-preview .due { color: #f1c27d; }
.wp-block-navigation a:hover { color: var(--wp--preset--color--accent); }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(8px); background: rgba(255,255,255,.94) !important; border-bottom: 1px solid var(--wp--preset--color--line); }
.wp-block-button.is-style-outline .wp-block-button__link { border-width: 1.5px; }
@media (max-width: 781px) { .base-hide-mobile { display: none !important; } }
.wp-block-site-logo img { height: auto; }
.base-policies h3 { margin-top: 1.75rem; }
.base-policies ul { padding-left: 1.2rem; }

/* v0.3: sticky frosted header, full-bleed home page */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--wp--preset--color--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header .wp-block-button__link { border-radius: 999px !important; }
.bh-main { max-width: none !important; }
.bh-main > .bh { margin: 0 !important; max-width: none !important; }
.home .wp-site-blocks > main { margin-block-start: 0 !important; }
.home .wp-site-blocks > footer { margin-block-start: 0 !important; }
.bh-main > .bh { margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
body { overflow-x: clip; }

/* v0.3: inner pages */
.bp-main { max-width: none !important; }
.bp-hero, .bp-cta { margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.bp-hero { background: radial-gradient(900px 400px at 85% -20%, rgba(143,208,245,.25), transparent 60%), #0d2b45; color: #c9dbe9; padding: 72px 24px 64px !important; margin-top: 0 !important; }
.bp-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.8rem); letter-spacing: -0.02em; margin: 0; }
.bp-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px !important; font-weight: 700; color: #8fd0f5; margin: 0 0 12px !important; }
.bp-body { padding: 64px 0 80px !important; }
.bp-body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2.6rem; }
.bp-body h3 { font-size: 1.2rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--wp--preset--color--line); }
.bp-body > .wp-block-post-content > p:first-child { font-size: 1.25rem; color: var(--wp--preset--color--muted); line-height: 1.6; }
.bp-body ul { padding-left: 0; list-style: none; }
.bp-body ul li { position: relative; padding-left: 28px; margin-bottom: .55rem; }
.bp-body ul li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: #e3f3ea; color: #3f9d67; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.base-policies { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 20px; padding: 8px 32px 28px !important; margin-top: 3rem !important; }
.bp-body .wp-block-button__link { border-radius: 999px; padding: 14px 26px; }
.bp-cta { background: radial-gradient(700px 300px at 20% 0%, rgba(143,208,245,.25), transparent 70%), #163d5e; color: #c9dbe9; padding: 64px 24px; margin-top: 0 !important; }
.bp-cta__in { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.bp-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 8px; }
.bp-cta p { margin: 0; }
.bp-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.bp-btn { display: inline-flex; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none !important; }
.bp-btn--gold { background: linear-gradient(135deg, #e2c48a, #c9a35c); color: #1b1a18 !important; }
.bp-btn--ghost { color: #fff !important; border: 1px solid rgba(255,255,255,.3); }
.page .wp-site-blocks > footer, .page .wp-site-blocks > main { margin-block-start: 0 !important; }
@media (max-width: 600px) { .bp-hero { padding: 48px 16px 40px !important; } .bp-cta { padding: 48px 16px; } .bp-btn { width: 100%; justify-content: center; } .base-policies { padding: 4px 18px 20px !important; } }
.page-slug-join .bp-cta, .page-slug-login .bp-cta, .page-slug-portal .bp-cta { display: none; }

/* v0.6: Blueprint identity */
body { font-family: "Inter", system-ui, sans-serif; }
.bp-btn--gold, .bp-btn--act { background: #b3321c !important; color: #fff !important; }
.bp-btn--gold:hover, .bp-btn--act:hover { background: #962914 !important; }
.wp-element-button, .wp-block-button__link { background: #b3321c; color: #fff; }
.wp-element-button:hover, .wp-block-button__link:hover { background: #e85532; color: #fff; }
.base-logo { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 "Sora", system-ui, sans-serif; letter-spacing: .02em; color: #0d2b45; text-decoration: none; }
.base-logo svg { width: 30px; height: 30px; flex: none; }
.base-logo small { display: block; font: 500 11.5px/1.25 "Inter", system-ui, sans-serif; color: #4b5b69; letter-spacing: 0; }
footer .base-logo { color: #fff; }
.base-hdr { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.base-hdr nav { display: flex; gap: 20px; margin-left: auto; font-size: 15px; font-weight: 500; flex-wrap: wrap; }
.base-hdr nav a { color: #0f1a24; text-decoration: none; }
.base-hdr nav a:hover { color: #1d5f8f; }
.base-hdr .bp-btn { padding: 10px 18px; border-radius: 10px; }
@media (max-width: 760px) { .base-hdr nav a.hide-sm, .base-logo small { display: none; } .base-hdr nav { gap: 14px; } }
.base-ftr { background: #0d2b45; color: #c9dbe9; font-size: 14.5px; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.base-ftr__in { max-width: 1200px; margin: 0 auto; padding: 52px max(5vw,16px) 36px; display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3,minmax(0,1fr)); gap: 28px; }
.base-ftr p { margin: 10px 0 0; }
.base-ftr b { display: block; color: #fff; margin-bottom: 8px; }
.base-ftr a, .base-ftr span { display: block; color: #c9dbe9; text-decoration: none; padding: 2px 0; }
.base-ftr a:hover { color: #fff; }
.base-ftr .base-logo { display: inline-flex; color: #fff; }
.base-ftr__legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; font-size: 13px; }
.base-ftr__legal a { display: inline; }
@media (max-width: 900px) { .base-ftr__in { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .base-ftr__in { grid-template-columns: minmax(0,1fr); } }

/* v0.7: the real BASE logo */
.base-logo img { height: 60px; width: auto; display: block; }
.base-logo--chip { background: #fff; border-radius: 10px; padding: 8px 10px; }
.base-logo--chip img { height: 44px; }
@media (max-width: 760px) { .base-logo img { height: 42px; } }
