/* CALEGAL.NET V15 — office-inspired, single design layer. */
:root{--cl15-ink:#1c3047;--cl15-blue:#18354f;--cl15-soft:#50657a;--cl15-muted:#6d7b89;--cl15-line:#e1e6eb;--cl15-surface:#f5f7f9;--cl15-accent:#ae8958}
html{scroll-behavior:smooth}
body.calegal-site{margin:0;background:#fff;color:var(--cl15-ink);font:16px/1.72 system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;overflow-x:hidden}
body.calegal-site *{box-sizing:border-box}
body.calegal-site .cl15-container{max-width:1220px;width:calc(100% - 64px);margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
body.calegal-site img{max-width:100%}
body.calegal-site a:focus-visible,body.calegal-site button:focus-visible,body.calegal-site summary:focus-visible{outline:3px solid #c7a672;outline-offset:3px}
body.calegal-site .skip-to-content{position:absolute;left:-9999px}
body.calegal-site .skip-to-content:focus{left:14px;top:14px;z-index:3000;padding:12px;background:white}
/* Header: light navigation with compact top information bar */
body.calegal-site .site-topbar{background:#17314a;color:#edf3f8;border:0;position:relative}
body.calegal-site .site-topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 0}
body.calegal-site .site-topbar-left,body.calegal-site .cl15-topbar-location{font-size:12px;color:#e7eef5;line-height:1.55}
body.calegal-site .site-topbar-actions{display:flex;gap:16px;align-items:center;flex:0 0 auto}
body.calegal-site .site-topbar-actions a{color:#fff!important;font-weight:600;font-size:12px!important;text-decoration:none;background:transparent;padding:0;border:0;white-space:nowrap}
body.calegal-site .site-header{position:relative;z-index:1050;background:#fff;border-bottom:1px solid var(--cl15-line);box-shadow:0 5px 20px rgba(23,44,66,.055)}
body.calegal-site .site-header .site-navbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:78px;padding:12px 0;flex-wrap:nowrap}
body.calegal-site .site-header .site-brand{max-width:215px;flex:0 0 auto;margin:0;padding:0}
body.calegal-site .site-header .site-brand img{width:210px;max-width:100%;height:auto}
body.calegal-site .site-header .site-nav-collapse{justify-content:flex-end;min-width:0}
body.calegal-site .site-header .site-nav-list{display:flex;align-items:center;flex-flow:row nowrap;gap:2px;margin:0;padding:0}
body.calegal-site .site-header .site-nav-list .nav-link,body.calegal-site .site-header .site-nav-list .site-nav-label{font-size:14px!important;font-weight:650!important;line-height:1.4;padding:12px 7px!important;color:var(--cl15-ink)!important;border-radius:5px;white-space:nowrap}
body.calegal-site .site-header .site-nav-list .nav-link:hover,body.calegal-site .site-header .site-nav-list .site-nav-label:hover{background:#edf2f5!important;color:#123047!important}
body.calegal-site .site-header .site-submenu-toggle{width:22px;flex:0 0 22px;margin:0}
body.calegal-site .site-header .site-dropdown-menu{background:#fff;min-width:230px;border:1px solid #dce4ea;border-top:3px solid var(--cl15-accent);box-shadow:0 18px 44px rgba(23,44,66,.14);z-index:1100}
body.calegal-site .site-header .site-dropdown-menu .dropdown-item{font-size:14px;color:var(--cl15-ink);padding:10px 12px}
/* Homepage uses a full-width content flow, never a boxed narrow shell */
body.page-home .site-main{background:#fff!important;padding:0!important;margin:0!important;max-width:none!important;overflow:visible!important}
body.page-home .cl15-home{width:100%;background:#fff;color:var(--cl15-ink)}
body.page-home .cl15-home h1,body.page-home .cl15-home h2,body.page-home .cl15-home h3{font-family:inherit;letter-spacing:-.047em;color:var(--cl15-ink)}
body.page-home .cl15-home p{line-height:1.8}
body.page-home .cl15-label{font-size:12px;color:#8b673c;font-weight:750;letter-spacing:.025em;margin:0 0 12px}
body.page-home .cl15-hero{background:linear-gradient(120deg,#f4f7fa 0%,#fff 74%);border-bottom:1px solid var(--cl15-line)}
body.page-home .cl15-hero-grid{display:grid;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);align-items:center;gap:clamp(24px,4vw,60px);padding:70px 0 76px}
body.page-home .cl15-hero-copy{min-width:0;padding:0}
body.page-home .cl15-hero h1{font-size:clamp(42px,4.5vw,58px);line-height:1.2;font-weight:790;margin:0 0 10px;color:#15334b}
body.page-home .cl15-hero-lead{font-size:clamp(21px,2.3vw,28px);font-weight:650;line-height:1.5!important;margin:0 0 18px;color:#2b4961;word-break:keep-all}
body.page-home .cl15-hero-text{font-size:16px;color:#485f73;line-height:1.85;max-width:620px;margin:0 0 26px;word-break:keep-all}
body.page-home .cl15-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 28px}
body.page-home .cl15-btn{display:inline-flex;justify-content:center;align-items:center;gap:20px;min-height:48px;padding:11px 21px;border-radius:8px;font-weight:700;font-size:14px;text-decoration:none;line-height:1.4;transition:background .15s,color .15s,transform .15s}
body.page-home .cl15-btn-primary{background:#17364e;border:1px solid #17364e;color:#fff}
body.page-home .cl15-btn-primary:hover{background:#2b4e69;color:#fff}
body.page-home .cl15-btn-outline{border:1px solid #afbfca;background:#fff;color:#1a405b}
body.page-home .cl15-btn-outline:hover{background:#f0f3f6;color:#1a405b}
body.page-home .cl15-hero-meta{display:flex;gap:14px 26px;flex-wrap:wrap;font-size:13px;color:#637688}
body.page-home .cl15-hero-meta span+span{border-left:1px solid #d5dde4;padding-left:26px}
body.page-home .cl15-hero-visual{position:relative;aspect-ratio:1.5/1;max-height:360px;min-width:0;border-radius:12px;background:#203a50;overflow:hidden;box-shadow:0 18px 45px rgba(20,40,57,.16)}
body.page-home .cl15-hero-visual>img{width:100%;height:100%;object-fit:cover;display:block}
body.page-home .cl15-hero-visual-caption{position:absolute;bottom:0;left:0;right:0;padding:34px 19px 16px;background:linear-gradient(transparent,rgba(7,23,38,.85));color:#f1f4f8;font-size:11px;letter-spacing:.04em}
body.page-home .cl15-hero-visual-caption span{display:block;font-size:12px;font-weight:750;letter-spacing:.1em}
/* slim service navigation */
body.page-home .cl15-quick{background:#fff;border-bottom:1px solid var(--cl15-line)}
body.page-home .cl15-quick-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
body.page-home .cl15-quick-list a{min-width:0;padding:18px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-right:1px solid var(--cl15-line);font-size:14px;font-weight:700;color:#24425b;text-decoration:none}
body.page-home .cl15-quick-list a:first-child{border-left:1px solid var(--cl15-line)}
body.page-home .cl15-quick-list a:hover{background:#f5f8fa}
body.page-home .cl15-quick-list span{color:#a58152}
body.page-home .cl15-section{padding:72px 0}
body.page-home .cl15-section-head{display:flex;justify-content:space-between;align-items:end;gap:22px;margin:0 0 26px}
body.page-home .cl15-section-head h2,body.page-home .cl15-guide h2,body.page-home .cl15-about h2,body.page-home .cl15-faq-intro h2{font-size:clamp(27px,3vw,36px);line-height:1.3;font-weight:760;margin:0}
body.page-home .cl15-section-head>p{font-size:14px;max-width:350px;color:#657687;margin:0}
body.page-home .cl15-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.page-home .cl15-card{position:relative;min-width:0;display:grid;grid-template-columns:27px minmax(0,1fr) 120px;align-items:start;gap:12px;background:#fff;border:1px solid #dce5eb;border-radius:12px;padding:26px;box-shadow:0 8px 25px rgba(19,44,66,.035)}
body.page-home .cl15-card:hover{border-color:#b9cbd7;box-shadow:0 12px 29px rgba(19,44,66,.075)}
body.page-home .cl15-card-index{font-size:12px;font-weight:800;color:#9a7547;padding-top:4px}
body.page-home .cl15-card-copy{min-width:0}
body.page-home .cl15-card-eyebrow{font-size:12px;color:#6e7c8c;line-height:1.45;margin:0 0 4px}
body.page-home .cl15-card h3{font-size:22px;line-height:1.4;margin:0 0 14px;font-weight:740}
body.page-home .cl15-card h3 a{color:#17374e;text-decoration:none}
body.page-home .cl15-card-description{font-size:14px;line-height:1.85;color:#486074}
body.page-home .cl15-card-description p{margin:0 0 14px;line-height:1.85}
body.page-home .cl15-card-description a{color:#245473;text-decoration:underline;text-decoration-color:#cbd8e2;text-underline-offset:3px}
body.page-home .cl15-text-link{font-size:14px;font-weight:750;text-decoration:none;color:#17435f;display:inline-flex;gap:12px;align-items:center}
body.page-home .cl15-text-link:hover{color:#8b673c}
body.page-home .cl15-card-image{width:120px;height:92px;border-radius:8px;overflow:hidden;background:#e1e6e9;display:block}
body.page-home .cl15-card-image img{width:100%;height:100%;object-fit:cover;display:block}
/* comparable to CA Legal Office three-step process, but using CALEGAL.NET's visit workflow */
body.page-home .cl15-guide{background:#f2f5f7;padding:62px 0;border-block:1px solid var(--cl15-line)}
body.page-home .cl15-guide-grid{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr);gap:52px;align-items:start}
body.page-home .cl15-guide-heading>p:last-child{font-size:15px;color:#546b7e;margin:16px 0 0}
body.page-home .cl15-guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.page-home .cl15-guide-steps>div{padding:22px;border:1px solid #dfe6eb;border-radius:10px;background:#fff;min-width:0}
body.page-home .cl15-guide-steps span{font-size:12px;display:block;font-weight:800;color:#a27c4f;margin-bottom:14px}
body.page-home .cl15-guide-steps strong{display:block;font-size:17px;color:#17364d;margin-bottom:8px}
body.page-home .cl15-guide-steps p{font-size:13px;color:#556b7e;line-height:1.75;margin:0}
body.page-home .cl15-about{background:#fff;border-bottom:1px solid var(--cl15-line)}
body.page-home .cl15-about-grid{display:grid;grid-template-columns:minmax(200px,.4fr) minmax(0,.6fr);gap:80px}
body.page-home .cl15-about .cl15-text-link{margin-top:22px}
body.page-home .cl15-about-copy{font-size:15px;color:#4b6275}
body.page-home .cl15-about-copy p{margin:0 0 15px}
body.page-home .cl15-faq-section{background:#fff}
body.page-home .cl15-faq-grid{display:grid;grid-template-columns:minmax(200px,.34fr) minmax(0,.66fr);gap:65px}
body.page-home .cl15-faq-list{border-top:1px solid #cfdce3}
body.page-home .cl15-faq{border-bottom:1px solid #dce6ea}
body.page-home .cl15-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:15px;line-height:1.7;color:#1c3b53;font-weight:700;padding:17px 2px}
body.page-home .cl15-faq summary::-webkit-details-marker{display:none}
body.page-home .cl15-faq-icon{font-size:20px;color:#8c765a;line-height:1;font-weight:400;flex:none}
body.page-home .cl15-faq[open] .cl15-faq-icon{transform:rotate(45deg)}
body.page-home .cl15-faq-answer{color:#4c6174;font-size:14px;line-height:1.85;padding:0 28px 20px 2px}
body.page-home .cl15-contact-cta{background:#1c3b55;color:#fff;padding:45px 0}
body.page-home .cl15-cta-grid{display:flex;align-items:center;justify-content:space-between;gap:32px}
body.page-home .cl15-contact-cta .cl15-label{color:#e8c998}
body.page-home .cl15-contact-cta h2{font-size:26px;font-weight:740;color:#fff;margin:0 0 9px}
body.page-home .cl15-contact-cta p:not(.cl15-label){font-size:14px;line-height:1.6;color:#e7eff5;margin:0 0 5px}
body.page-home .cl15-cta-grid>div:last-child{display:flex;flex-direction:column;align-items:start;gap:10px}
body.page-home .cl15-btn-white{background:#fff;border:1px solid #fff;color:#183c56}
body.page-home .cl15-btn-white:hover{color:#183c56;background:#eef4f8}
body.page-home .cl15-cta-phone{color:#fff;font-size:14px;text-decoration:none}
/* Inner public site, minimal visual treatment, preserving content and forms */
body.page-public.page-inner .site-main{background:#f8fafb;padding-bottom:64px}
body.page-public.page-inner .ca-premium-hero{position:relative;display:flex;align-items:center;min-height:190px;background:#1e3b53;color:#fff;overflow:hidden;isolation:isolate}
body.page-public.page-inner .ca-premium-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
body.page-public.page-inner .ca-premium-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,30,46,.91),rgba(13,30,46,.58) 60%,rgba(13,30,46,.22));z-index:-1}
body.page-public.page-inner .ca-premium-hero-inner{max-width:1220px;width:calc(100% - 64px);margin:0 auto;padding:42px 0}
body.page-public.page-inner .ca-premium-hero-kicker{font-size:12px;color:#f5dcb3;margin:0 0 8px}
body.page-public.page-inner .ca-premium-hero-title{font-size:clamp(26px,3.3vw,40px);line-height:1.3;color:#fff;margin:0}
body.page-public.page-inner .ca-premium-hero-subtitle{font-size:14px;line-height:1.65;color:#edf3f8;margin:10px 0 0}
body.page-public.page-inner .site-main>.container{max-width:1220px;width:calc(100% - 64px);margin:26px auto 0;background:#fff;padding:clamp(22px,4vw,42px);border:1px solid #e0e6eb;border-radius:12px;box-shadow:0 8px 25px rgba(18,43,65,.04)}
body.page-public.page-inner .site-main>.container img{max-width:100%;height:auto}
body.page-public.page-inner .site-main>.container :is(h1,h2,h3){color:#1e3b53}
body.page-public.page-inner .site-main>.container p,body.page-public.page-inner .site-main>.container li{line-height:1.85}
/* Footer: single 3-column grid, with all text visibly light */
body.calegal-site .cl15-footer{background:#142b40;color:#eaf0f6;padding:58px 0 25px;margin:0}
body.calegal-site .cl15-footer-top{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.75fr) minmax(0,.95fr);gap:clamp(28px,5vw,70px);align-items:start}
body.calegal-site .cl15-footer-small{font-size:12px;color:#e1c396;letter-spacing:.05em;margin:0 0 13px}
body.calegal-site .cl15-footer h2{font-size:27px;font-weight:750;color:#fff;margin:0 0 13px;line-height:1.3}
body.calegal-site .cl15-footer h3{font-size:15px;font-weight:750;color:#fff;margin:4px 0 15px}
body.calegal-site .cl15-footer p{font-size:14px;color:#d9e4ee;line-height:1.9;margin:0 0 10px}
body.calegal-site .cl15-footer a{color:#ecf3f8;text-decoration:none}
body.calegal-site .cl15-footer a:hover{color:#e3c79f}
body.calegal-site .cl15-footer-menu nav{display:grid;grid-template-columns:1fr 1fr;gap:7px 16px}
body.calegal-site .cl15-footer-menu a{font-size:14px;line-height:1.75}
body.calegal-site .cl15-footer-office .cl15-footer-location{font-size:14px;font-weight:750}
body.calegal-site .cl15-footer-bottom{display:flex;align-items:end;justify-content:space-between;gap:24px;border-top:1px solid rgba(255,255,255,.17);padding-top:22px;margin-top:30px}
body.calegal-site .cl15-footer-bottom p{font-size:12px;color:#c9d9e5;margin:0;line-height:1.8}
/* Clear responsive behavior: avoid fixed columns and clipped page margins */
@media(max-width:1199.98px){
 body.calegal-site .site-header .site-brand{max-width:178px}
 body.calegal-site .site-header .site-brand img{width:178px}
 body.calegal-site .site-header .site-nav-list .nav-link,body.calegal-site .site-header .site-nav-list .site-nav-label{font-size:13px!important;padding:10px 4px!important}
 body.page-home .cl15-guide-grid{grid-template-columns:1fr;gap:28px}
}
@media(max-width:991.98px){
 body.calegal-site .site-header .site-navbar{flex-wrap:wrap}
 body.calegal-site .site-header .site-nav-collapse{flex-basis:100%;width:100%;max-height:72vh;overflow-y:auto;padding-top:12px}
 body.calegal-site .site-header .site-nav-list{flex-direction:column;align-items:stretch;width:100%;background:#fff;gap:0}
 body.calegal-site .site-header .site-nav-list>.nav-item{width:100%}
 body.calegal-site .site-header .site-nav-pair{display:flex;justify-content:space-between;width:100%}
 body.calegal-site .site-header .site-nav-list .nav-link,body.calegal-site .site-header .site-nav-list .site-nav-label{font-size:15px!important;padding:12px 10px!important}
 body.calegal-site .site-header .site-submenu-toggle{width:44px;flex:0 0 44px}
 body.calegal-site .site-header .site-dropdown-menu{box-shadow:none;max-width:none;width:100%;position:static!important}
 body.page-home .cl15-hero-grid{grid-template-columns:1fr;gap:28px;padding:48px 0 55px}
 body.page-home .cl15-hero-visual{max-height:310px}
 body.page-home .cl15-guide-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.page-home .cl15-about-grid,body.page-home .cl15-faq-grid{grid-template-columns:1fr;gap:30px}
 body.calegal-site .cl15-footer-top{grid-template-columns:1fr 1fr;gap:30px}
 body.calegal-site .cl15-footer-identity{grid-column:1/-1}
}
@media(max-width:720px){
 body.calegal-site .cl15-container,body.page-public.page-inner .ca-premium-hero-inner,body.page-public.page-inner .site-main>.container{width:calc(100% - 36px)}
 body.calegal-site .site-topbar-inner{flex-direction:column;align-items:flex-start;gap:6px;padding:9px 0}
 body.calegal-site .site-topbar-actions{flex-wrap:wrap;gap:13px}
 body.calegal-site .site-header .site-brand,body.calegal-site .site-header .site-brand img{max-width:195px;width:195px}
 body.page-home .cl15-section{padding:54px 0}
 body.page-home .cl15-hero-grid{padding:46px 0 48px}
 body.page-home .cl15-hero h1{font-size:40px}
 body.page-home .cl15-hero-lead{font-size:22px}
 body.page-home .cl15-hero-visual{aspect-ratio:1.6/1;max-height:none}
 body.page-home .cl15-quick-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.page-home .cl15-quick-list a{border-bottom:1px solid var(--cl15-line)}
 body.page-home .cl15-section-head{display:block}
 body.page-home .cl15-section-head>p{margin-top:12px}
 body.page-home .cl15-service-grid{grid-template-columns:1fr}
 body.page-home .cl15-guide{padding:52px 0}
 body.page-home .cl15-guide-steps{grid-template-columns:1fr}
 body.page-home .cl15-cta-grid{align-items:flex-start;flex-direction:column}
 body.calegal-site .cl15-footer{padding:48px 0 24px}
 body.calegal-site .cl15-footer-top{grid-template-columns:1fr;gap:32px}
 body.calegal-site .cl15-footer-identity{grid-column:auto}
 body.calegal-site .cl15-footer-bottom{display:block}
 body.calegal-site .cl15-footer-bottom p+p{margin-top:16px}
}
@media(max-width:420px){
 body.page-home .cl15-card{grid-template-columns:22px minmax(0,1fr);padding:19px;gap:10px}
 body.page-home .cl15-card-image{display:none}
 body.page-home .cl15-hero-actions{align-items:stretch}
 body.page-home .cl15-btn{width:100%}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
