/* ==========================================================================
   Ranjha Home Grants - base design system, ported verbatim from the v0 export
   (app/globals.css). Component additions for the working app are in app.css.
   ========================================================================== */

:root { --forest:#103c35; --forest-2:#174b42; --cream:#f8f7f2; --mint:#ddefe3; --gold:#d3ac65; --ink:#26332f; --muted:#718079; --line:#e6e9e2; --white:#fff; --blue:#dce9ef; --radius:18px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--cream); color:var(--ink); font-family:Arial, Helvetica, sans-serif; }
button, a { font:inherit; }
button { border:0; cursor:pointer; }
a { color:inherit; text-decoration:none; }
.app-shell { min-height:100vh; background:var(--cream); }
.public-page { overflow:hidden; }
.public-header { max-width:1320px; height:86px; padding:0 42px; margin:auto; display:flex; align-items:center; gap:32px; }
.brand { display:flex; align-items:center; gap:10px; color:var(--forest); font-weight:500; white-space:nowrap; }
.brand b { font-weight:800; }
.brand-mark { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:var(--forest); color:var(--mint); }
.brand-dark { color:#fff; }
.brand-dark .brand-mark { background:var(--mint); color:var(--forest); }
.public-nav { display:flex; align-items:center; gap:26px; margin-left:auto; color:#63726c; font-size:13px; }
.public-nav a:hover { color:var(--forest); }
.nav-call { display:none; }
.outline-button,.secondary-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 17px; border:1px solid #bdc9c0; border-radius:999px; color:var(--forest); background:transparent; font-weight:700; font-size:13px; }
.desktop-cta { margin-left:8px; }
.icon-button { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#fff; color:var(--forest); }
.menu-button { display:none; }
.hero-section { max-width:1320px; padding:48px 42px 76px; margin:auto; display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; }
.eyebrow,.eyebrow-label { color:#829089; font-size:10px; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.eyebrow { display:flex; align-items:center; gap:8px; color:var(--forest-2); }
.eyebrow-dot { width:7px; height:7px; border-radius:50%; background:var(--gold); }
h1,h2,h3,p { margin:0; } h1,h2,h3 { letter-spacing:-.045em; }
.hero-copy h1 { margin:22px 0 18px; color:var(--forest); font-size:clamp(42px,5vw,73px); line-height:.98; font-weight:700; }
em { color:#a1844e; font-style:normal; }
.hero-lead { max-width:470px; margin-bottom:28px; color:#6c7973; font-size:16px; line-height:1.65; }
.service-card { max-width:485px; padding:22px; border:1px solid #e4e9e0; border-radius:20px; background:#fff; box-shadow:0 14px 40px #153d3010; }
.service-card-heading { display:flex; justify-content:space-between; align-items:flex-start; color:var(--forest); }
.service-card-heading h2 { margin-top:7px; font-size:21px; }
.service-card-heading svg { color:var(--gold); }
.service-options { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; margin:18px 0; }
.service-option { min-height:70px; display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start; gap:8px; padding:11px; border:1px solid var(--line); border-radius:12px; color:#697770; background:#fff; text-align:left; font-size:12px; }
.service-option span { display:flex; flex-direction:column; gap:8px; } .service-option svg { color:var(--forest); } .service-option.selected { border-color:var(--forest); background:var(--mint); color:var(--forest); } .service-option.selected > svg { align-self:flex-end; }
.primary-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:13px 18px; border-radius:999px; background:var(--forest); color:#fff; font-size:13px; font-weight:700; }
.primary-button:hover { background:var(--forest-2); } .wide { width:100%; }
.fine-print { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:14px; color:#89938c; font-size:11px; }
.hero-image-wrap { position:relative; min-height:560px; }
.hero-image { width:100%; height:560px; display:block; object-fit:cover; border-radius:26px; filter:saturate(.8); }
.video-card { position:absolute; left:24px; bottom:24px; display:flex; align-items:center; gap:12px; min-width:240px; padding:13px; border-radius:14px; background:#ffffffed; box-shadow:0 10px 30px #153d3030; }
.play-button { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:var(--forest); color:#fff; font-size:11px; }
.video-card div:nth-child(2) { display:flex; flex:1; flex-direction:column; gap:4px; } .video-card span { color:#8a948d; font-size:9px; letter-spacing:.12em; font-weight:800; } .video-card strong { color:var(--forest); font-size:12px; }
.image-badge { position:absolute; top:24px; right:24px; display:flex; align-items:center; gap:9px; padding:11px 14px; border-radius:13px; background:var(--forest); color:#fff; } .image-badge svg { color:var(--gold); } .image-badge span { display:flex; flex-direction:column; } .image-badge b { font-size:15px; } .image-badge small { color:#c4d4c8; font-size:9px; }
.trust-row { max-width:1236px; margin:auto; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); display:flex; justify-content:space-between; color:#8b958f; font-size:9px; font-weight:800; letter-spacing:.14em; }
.service-preview { max-width:1236px; padding:95px 0 120px; margin:auto; display:grid; grid-template-columns:.7fr 1.3fr; gap:80px; } .section-intro h2 { margin:12px 0; color:var(--forest); font-size:42px; line-height:1; } .section-intro p { color:#78837c; line-height:1.6; }
.preview-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; } .preview-grid article { padding:28px; border:1px solid var(--line); border-radius:18px; background:#fff; } .icon-tile { width:44px; height:44px; display:grid; place-items:center; margin-bottom:35px; border-radius:12px; color:var(--forest); } .icon-tile.mint { background:var(--mint); } .icon-tile.gold { background:#f2e9d4; } article h3 { margin:10px 0; color:var(--forest); font-size:22px; } article p { min-height:75px; color:#78837c; font-size:13px; line-height:1.6; } article a,.text-button { display:inline-flex; align-items:center; gap:7px; padding:0; color:var(--forest); background:none; font-size:12px; font-weight:800; }
.sticky-mobile-bar { display:none; }
/* CRM */
.crm-page { min-height:100vh; display:flex; background:#f4f6f1; } .sidebar { width:244px; min-height:100vh; display:flex; flex-direction:column; padding:28px 18px 20px; background:var(--forest); color:#d7e6da; } .workspace-label { margin:54px 13px 14px; color:#7ca28a; font-size:9px; font-weight:800; letter-spacing:.16em; } .workspace-label span { margin-left:5px; padding:3px 5px; border-radius:4px; background:#2a5b4d; color:#a9d2b2; font-size:8px; } .side-nav { display:grid; gap:4px; } .side-nav button,.sidebar-bottom button { display:flex; align-items:center; gap:12px; width:100%; padding:12px 13px; border-radius:10px; color:#9db4a4; background:transparent; text-align:left; font-size:13px; } .side-nav button.active,.side-nav button:hover { background:#295a4d; color:#fff; } .side-nav button b { margin-left:auto; color:#b8dbc0; font-size:11px; } .sidebar-bottom { display:grid; gap:5px; margin-top:auto; } .sidebar-bottom .user-row { border-top:1px solid #2d5b4f; padding-top:17px; } .user-row span:nth-child(2) { display:flex; flex:1; flex-direction:column; gap:3px; } .user-row small { color:#7ca28a; font-size:10px; }
.crm-content { width:min(1050px,calc(100% - 244px)); padding:47px 52px 60px; margin:0 auto; } .crm-header { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:35px; } .crm-header h1 { margin-top:8px; color:var(--forest); font-size:31px; } .crm-actions { display:flex; align-items:center; gap:12px; } .notification { position:relative; } .notification::after { content:''; position:absolute; top:8px; right:9px; width:5px; height:5px; border:2px solid #fff; border-radius:50%; background:#d38c65; }
.avatar { width:36px; height:36px; display:grid; place-items:center; flex:none; border-radius:50%; background:#d9e6dc; color:var(--forest); font-size:11px; font-weight:800; } .avatar.small { width:29px; height:29px; font-size:9px; } .avatar.large { width:53px; height:53px; font-size:14px; } .avatar.mint { background:var(--mint); } .avatar.gold { background:#f2e8d1; } .avatar.blue { background:var(--blue); }
.dashboard-banner { position:relative; display:flex; justify-content:space-between; overflow:hidden; min-height:153px; padding:27px 32px; border-radius:20px; background:var(--forest); color:#fff; } .dashboard-banner .eyebrow-label { color:#99bba2; } .dashboard-banner h2 { margin:11px 0 8px; font-size:29px; } .dashboard-banner h2 em { color:#d5b470; } .dashboard-banner p { color:#b8cabe; font-size:13px; } .banner-orb { position:absolute; right:55px; top:-34px; width:170px; height:170px; display:grid; place-items:center; border:1px solid #6a9075; border-radius:50%; color:#d7e8d9; opacity:.65; } .stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:20px 0 42px; } .stat-card { min-height:143px; padding:16px; border-radius:15px; background:#fff; } .stat-card.mint { background:#e8f3e8; } .stat-card.gold { background:#f5eedf; } .stat-card.blue { background:#e7f0f2; } .stat-card.dark { background:#e6ece7; } .stat-icon { width:28px; height:28px; display:grid; place-items:center; margin-bottom:15px; border-radius:8px; background:#ffffffaa; color:var(--forest); } .stat-card > span { display:block; color:#718078; font-size:11px; } .stat-card strong { display:block; margin-top:8px; color:var(--forest); font-size:26px; letter-spacing:-.05em; } .stat-card small { color:#839088; font-size:10px; } .section-heading { display:flex; justify-content:space-between; align-items:end; margin-bottom:13px; } .section-heading h2 { margin-top:8px; color:var(--forest); font-size:22px; }
.lead-list { display:grid; gap:8px; } .lead-card { width:100%; display:flex; align-items:center; gap:13px; padding:14px; border:1px solid #e4e9e3; border-radius:14px; background:#fff; text-align:left; } .lead-card:hover { border-color:#b8cdbd; } .lead-main { display:flex; flex:1; flex-direction:column; gap:4px; } .lead-main strong { color:var(--forest); font-size:13px; } .lead-main small { color:#7d8982; font-size:11px; } .lead-meta { display:flex; align-items:center; gap:6px; }
.status-dot { width:7px; height:7px; display:inline-block; border-radius:50%; background:var(--gold); } .status-dot.mint { background:#68a97a; } .status-dot.blue { background:#72a6b7; } .status-pill { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border-radius:999px; font-size:10px; font-weight:800; } .mint-pill { background:var(--mint); color:var(--forest); }
.lead-topline { display:flex; align-items:center; justify-content:space-between; margin:-9px 0 18px; } .back-button { display:inline-flex; align-items:center; gap:6px; color:#74827b; background:none; font-size:12px; } .rotate-180 { transform:rotate(180deg); } .profile-card,.info-card,.timeline-card { padding:23px; border:1px solid #e3e9e1; border-radius:18px; background:#fff; } .profile-heading { display:flex; align-items:center; gap:14px; } .profile-heading > div { flex:1; } .profile-heading h2 { margin-top:7px; color:var(--forest); font-size:25px; } .profile-heading p { margin-top:4px; color:#7f8a83; font-size:12px; } .quick-actions { display:flex; gap:8px; margin-top:22px; padding-top:18px; border-top:1px solid var(--line); } .quick-actions button { flex:1; padding:11px 8px; font-size:11px; } .detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; margin-top:13px; } .card-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; } .card-heading h3 { color:var(--forest); font-size:15px; letter-spacing:-.02em; } .qualification-card .card-heading svg { color:#6ea47a; } .detail-row { display:flex; justify-content:space-between; gap:15px; padding:11px 0; border-top:1px solid #edf0eb; font-size:11px; } .detail-row span { color:#87918b; } .detail-row strong { color:#34443d; text-align:right; } .tag { padding:3px 7px; border-radius:5px; background:var(--mint); color:var(--forest) !important; } .verified-row { display:flex; align-items:center; gap:10px; padding:11px; border-radius:10px; background:#f1f7f1; color:var(--forest); font-size:12px; } .check-circle { width:23px; height:23px; display:grid; place-items:center; border-radius:50%; background:#76aa80; color:#fff; } .verified-row span:last-child { display:flex; flex-direction:column; gap:3px; } .verified-row small { color:#87968b; font-size:9px; } .qualification-card p { margin-top:15px; color:#718079; font-size:11px; line-height:1.6; } .timeline-card { margin-top:13px; } .timeline-item { position:relative; display:flex; gap:12px; padding:15px 0 0; } .timeline-item + .timeline-item { margin-top:10px; border-top:1px solid var(--line); } .timeline-icon { width:29px; height:29px; display:grid; place-items:center; flex:none; border-radius:50%; color:var(--forest); } .timeline-icon.mint { background:var(--mint); } .timeline-icon.gold { background:#f2e9d4; } .timeline-item strong { color:var(--forest); font-size:12px; } .timeline-item p { margin:6px 0; color:#718079; font-size:11px; line-height:1.5; } .timeline-item small { color:#9ba49f; font-size:10px; }
.appointment-card { grid-column:1 / -1; margin-top:13px; }
.gold-pill { background:#f5eedf; color:#8b6d35; }
.appointment-summary { display:flex; align-items:flex-start; gap:13px; padding:15px; border-radius:12px; background:#f1f7f1; color:var(--forest); }
.appointment-summary > svg { flex:none; color:#6ea47a; }
.appointment-summary div,.callback-row div { display:flex; flex-direction:column; gap:5px; }
.appointment-summary strong,.callback-row strong { font-size:13px; }
.appointment-summary small,.callback-row small { color:#7d8b82; font-size:10px; }
.appointment-actions { display:flex; align-items:center; gap:15px; margin-top:15px; }
.appointment-form { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:17px; padding-top:17px; border-top:1px solid var(--line); }
.appointment-form label { display:flex; flex-direction:column; gap:6px; color:#7d8982; font-size:10px; font-weight:800; }
.appointment-form input,.appointment-form select { width:100%; padding:11px 10px; border:1px solid #dfe6df; border-radius:9px; color:var(--ink); background:#fff; font-size:12px; }
.appointment-form .primary-button { grid-column:1 / -1; width:max-content; }
.saved-message { grid-column:1 / -1; color:#5d956a; font-size:11px; }
.callback-card { grid-column:1 / -1; }
.callback-row { display:flex; align-items:center; gap:12px; }
.callback-row > svg { color:var(--gold); }
.callback-row div { flex:1; }
.timeline-item { position:relative; display:flex; gap:12px; padding:13px 0 13px 2px; border-top:1px solid #edf0eb; }
.timeline-dot { width:9px; height:9px; flex:none; margin-top:4px; border-radius:50%; background:var(--gold); }
.timeline-dot.mint { background:#68a97a; }.timeline-dot.blue { background:#72a6b7; }
.timeline-item div { display:flex; flex-direction:column; gap:4px; }.timeline-item strong { color:var(--forest); font-size:11px; }.timeline-item small { color:#87918b; font-size:10px; }
.card-copy { margin-top:15px; color:#718079; font-size:11px; line-height:1.6; }
.bottom-nav { display:none; }
@media (max-width:850px) { .public-header { height:72px; padding:0 20px; } .public-header .brand { font-size:13px; } .public-nav { position:absolute; top:65px; left:14px; right:14px; z-index:10; display:none; flex-direction:column; align-items:stretch; gap:0; padding:8px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:0 14px 30px #123b251c; } .public-nav.open { display:flex; } .public-nav a { padding:13px; } .nav-call { display:flex; align-items:center; gap:8px; padding:13px; border-radius:9px; color:#fff; background:var(--forest); } .desktop-cta { display:none; } .menu-button { display:grid; margin-left:auto; } .hero-section { display:flex; flex-direction:column; gap:30px; padding:30px 20px 50px; } .hero-copy { width:100%; } .hero-copy h1 { font-size:46px; } .hero-lead { font-size:14px; } .hero-image-wrap { width:100%; min-height:auto; } .hero-image { height:330px; border-radius:20px; } .video-card { left:12px; bottom:12px; min-width:0; right:12px; } .image-badge { top:12px; right:12px; } .trust-row { padding:18px 20px; gap:14px; overflow:hidden; justify-content:flex-start; white-space:nowrap; font-size:8px; } .service-preview { display:block; padding:60px 20px 100px; } .section-intro { margin-bottom:30px; } .section-intro h2 { font-size:35px; } .preview-grid { grid-template-columns:1fr; } .preview-grid article p { min-height:0; margin-bottom:20px; } .sticky-mobile-bar { position:fixed; z-index:20; right:0; bottom:0; left:0; display:flex; gap:8px; padding:10px 14px 12px; background:#fff; box-shadow:0 -8px 22px #123b2517; } .sticky-mobile-bar button { flex:1; padding:13px 8px; border-radius:999px; background:var(--forest); color:#fff; font-size:11px; font-weight:700; } .sticky-mobile-bar button+button { border:1px solid var(--forest); color:var(--forest); background:#fff; }
 .crm-page { display:block; } .sidebar { display:none; } .crm-content { width:100%; padding:28px 16px 90px; } .crm-header { margin-bottom:23px; } .crm-header h1 { font-size:26px; } .crm-header .eyebrow-label { font-size:8px; } .crm-actions .icon-button { width:34px; height:34px; } .crm-actions .avatar { display:none; } .dashboard-banner { min-height:140px; padding:22px; } .dashboard-banner h2 { font-size:25px; } .banner-orb { right:-24px; width:145px; height:145px; } .stat-grid { grid-template-columns:1fr 1fr; gap:9px; margin:13px 0 30px; } .stat-card { min-height:130px; padding:13px; } .stat-card strong { font-size:23px; } .section-heading h2 { font-size:20px; } .lead-card { padding:13px 11px; } .bottom-nav { position:fixed; z-index:15; right:0; bottom:0; left:0; display:flex; justify-content:space-around; padding:9px 5px calc(9px + env(safe-area-inset-bottom)); border-top:1px solid #dfe7df; background:#fff; } .bottom-nav button { position:relative; display:flex; flex-direction:column; align-items:center; gap:4px; min-width:52px; color:#91a099; background:transparent; font-size:9px; } .bottom-nav button.active { color:var(--forest); } .bottom-nav button b { position:absolute; top:-3px; right:9px; min-width:14px; padding:2px 3px; border-radius:8px; background:var(--gold); color:#fff; font-size:8px; } .lead-topline { margin:-4px 0 14px; } .profile-card,.info-card,.timeline-card { padding:17px; border-radius:15px; } .profile-heading h2 { font-size:22px; } .quick-actions { gap:5px; } .quick-actions button { padding:11px 5px; } .detail-grid { grid-template-columns:1fr; } .detail-row { padding:10px 0; } .timeline-card .card-heading .text-button { font-size:0; } .timeline-card .card-heading .text-button svg { width:18px; height:18px; } }
@media (max-width:850px) { .appointment-card,.callback-card { grid-column:auto; } .appointment-form { grid-template-columns:1fr; } .appointment-form .primary-button,.saved-message { grid-column:auto; } .callback-row { align-items:flex-start; flex-wrap:wrap; } .callback-row .primary-button { margin-left:30px; } }
@media (max-width:420px) { .hero-copy h1 { font-size:39px; } .service-options { gap:5px; } .service-option { padding:9px 7px; font-size:10px; } .image-badge { transform:scale(.9); transform-origin:top right; } }
