
/* Unified 508 Drafting Co. design system across homepage and service pages. */
:root{--ink:#071c2a;--navy:#0b1928;--teal:#37d3ba;--text:#f5fbff;--muted:#c5d9e3}
html{scroll-behavior:smooth}body{background-color:#071d2b!important;color:var(--text)!important}
.site-header{position:relative!important;z-index:100!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;padding:18px max(5vw,22px)!important;background:rgba(7,23,36,.94)!important;border-bottom:1px solid rgba(205,240,250,.18)!important;overflow:visible!important}
.brand{font-weight:800!important;font-size:clamp(19px,2.1vw,25px)!important;letter-spacing:1.5px!important;color:#fff!important;text-decoration:none!important;white-space:nowrap}.brand span{color:var(--teal)}
.site-nav{display:flex!important;align-items:center!important;gap:clamp(12px,2vw,25px)!important;flex-wrap:wrap!important}.site-nav a,.site-nav summary{color:#e5f5fa!important;font-size:14px!important;font-weight:600!important;text-decoration:none!important;cursor:pointer!important;margin:0!important}.site-nav a:hover,.site-nav summary:hover{color:var(--teal)!important}.service-menu{position:relative}.service-menu summary{list-style:none}.service-menu summary::-webkit-details-marker{display:none}.menu-panel{position:absolute;top:calc(100% + 14px);left:-18px;min-width:235px;padding:9px;background:#0b2435;border:1px solid rgba(158,220,231,.32);border-radius:10px;box-shadow:0 14px 35px #0007;display:grid;gap:3px;z-index:150}.menu-panel a{padding:11px 12px!important;border-radius:6px}.menu-panel a:hover{background:#173e4d}.header-cta{background:var(--teal)!important;color:#082133!important;text-decoration:none!important;font-weight:800!important;padding:12px 17px!important;border-radius:6px!important;white-space:nowrap;font-size:13px}
.site-footer{background:#061824!important;color:#d6e6ed!important;padding:55px max(5vw,22px) 24px!important;border-top:1px solid rgba(195,233,241,.2)!important;position:relative!important;z-index:2!important}.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1.25fr;gap:45px;max-width:1240px;margin:0 auto 40px}.site-footer h3{font-size:14px;text-transform:uppercase;letter-spacing:1.4px;color:var(--teal);margin:0 0 16px}.site-footer p{font-size:15px;line-height:1.7;color:#c4d5df;max-width:350px}.site-footer a:not(.brand){display:block;color:#dceaf1!important;text-decoration:none!important;font-size:14px;margin:0 0 12px}.site-footer a:hover{color:var(--teal)!important}.footer-bottom{border-top:1px solid #ffffff26;padding-top:20px;max-width:1240px;margin:auto;color:#a7bfcc;font-size:12px;line-height:1.6}
/* The bottom of the homepage must stay navy, not white. */
#faq,#drafting-service-pages{background:transparent!important;color:#f4fbff!important}#faq p,#drafting-service-pages p{color:#d5e3ea!important}#faq .card,#drafting-service-pages .card{background:rgba(225,241,248,.13)!important;color:#f4fbff!important;border:1px solid rgba(235,250,255,.27)!important;backdrop-filter:blur(14px)}
/* Service pages use the same navy, softened survey-drawing backdrop as home. */
body.service-page{min-height:100vh;background:#071d2b url('/survey-drawing-background.jpg') center center / cover fixed no-repeat!important}body.service-page:before{content:'';position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(5,19,30,.86),rgba(5,19,30,.70) 70%,rgba(5,19,30,.62));z-index:0}body.service-page>*{position:relative;z-index:1}body.service-page main{max-width:1160px!important;margin:0 auto!important;padding:75px max(5vw,22px) 90px!important;color:#f4fbff!important;background:transparent!important}body.service-page h1{font-size:clamp(38px,5vw,65px)!important;line-height:1.1!important;color:#fff!important}body.service-page h2{color:#fff!important;margin-top:55px!important}body.service-page p,body.service-page .intro{color:#dcebf1!important;line-height:1.75!important}body.service-page .eyebrow{color:var(--teal)!important}body.service-page .cards{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(235px,1fr))!important;gap:20px!important}body.service-page .card,body.service-page .note{background:rgba(225,241,248,.12)!important;border:1px solid rgba(235,250,255,.25)!important;border-radius:10px!important;color:#f5fbff!important;backdrop-filter:blur(14px);box-shadow:0 12px 30px #0002}body.service-page .card p,body.service-page .note{color:#e2edf2!important}body.service-page main a{color:var(--teal)}body.service-page .button{background:var(--teal)!important;color:#092334!important;border-radius:6px!important;padding:15px 23px!important;font-weight:700!important;display:inline-block!important;text-decoration:none!important}body.service-page main nav{display:flex;gap:12px;flex-wrap:wrap}body.service-page main nav a{border:1px solid #8cbac25c;padding:12px;border-radius:6px;background:#092b3ab5;text-decoration:none}
@media(max-width:850px){.site-header{flex-wrap:wrap!important}.site-nav{order:3;width:100%;justify-content:flex-start}.header-cta{margin-left:auto}.footer-grid{grid-template-columns:1fr 1fr;gap:28px}}
@media(max-width:550px){.site-nav{gap:13px!important}.site-nav a,.site-nav summary{font-size:12px!important}.header-cta{font-size:11px;padding:10px!important}.footer-grid{grid-template-columns:1fr}.menu-panel{left:0;min-width:220px}.site-header{padding:15px 18px!important}}

/* Search-friendly, accessible service FAQs */
#frequently-asked-questions{margin-top:3rem}#frequently-asked-questions details{background:#fff;color:#182c3b;border:1px solid #dbe4e9;border-radius:8px;padding:14px 18px;margin:12px 0}#frequently-asked-questions summary{cursor:pointer;font-weight:700}#frequently-asked-questions details p{margin-bottom:0}nav[aria-label="Breadcrumb"]{font-size:.85rem;margin-bottom:1rem}a:focus-visible,summary:focus-visible{outline:3px solid #37d3ba;outline-offset:3px}

/* Consistent site-wide vertical rhythm and accessible header contact stack */
:root{--section-space:clamp(64px,7vw,100px);--section-title-gap:clamp(16px,2vw,24px);--section-content-gap:clamp(24px,3vw,36px)}
.header-actions{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;flex-shrink:0}
.header-actions .header-cta{display:block;text-align:center;width:100%;margin:0!important}
.header-phone{color:#e4f7fa!important;font-weight:700!important;font-size:13px!important;line-height:1.35!important;letter-spacing:.015em;text-decoration:none!important;white-space:nowrap}
.header-phone:hover,.footer-phone:hover{color:var(--teal)!important;text-decoration:underline!important}
/* Align section boundaries and headings, without altering page semantics */
body:not(.service-page)>section{padding-top:var(--section-space)!important;padding-bottom:var(--section-space)!important;margin-top:0!important;margin-bottom:0!important}
body:not(.service-page)>section>.eyebrow{margin:0 0 12px!important}
body:not(.service-page)>section>h2{margin:0 0 var(--section-content-gap)!important;line-height:1.18!important}
body:not(.service-page)>section>h1{margin-top:0!important}
body:not(.service-page)>section>.grid,body:not(.service-page)>section>.cards{margin-top:var(--section-content-gap)!important}
body:not(.service-page)>section p{line-height:1.7}
body:not(.service-page)>section .card h3{margin-top:0}
body.service-page main{padding-top:var(--section-space)!important;padding-bottom:var(--section-space)!important}
body.service-page main h2{margin-top:var(--section-space)!important;margin-bottom:var(--section-title-gap)!important}
body.service-page main h1{margin-bottom:var(--section-title-gap)!important}
body.service-page main .cards{margin-top:var(--section-content-gap)!important}
body.service-page main .card h3{margin-top:0!important}
body.service-page #frequently-asked-questions{margin-top:var(--section-space)!important}
body.service-page #frequently-asked-questions h2{margin-top:0!important}
body.service-page #frequently-asked-questions details{background:rgba(225,241,248,.12)!important;color:#f5fbff!important;border-color:rgba(235,250,255,.25)!important;backdrop-filter:blur(14px)}
body.service-page #frequently-asked-questions details p{color:#dcebf1!important}
body.service-page #frequently-asked-questions summary{color:#f5fbff!important}
.site-footer .footer-phone{display:inline-block!important;color:#dceaf1!important;margin-top:12px!important}
@media(max-width:850px){.header-actions{margin-left:auto}.site-nav{order:3}}
@media(max-width:550px){:root{--section-space:56px;--section-content-gap:24px}.header-actions{gap:5px}.header-phone{font-size:12px!important}.site-header{gap:12px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}


/* Header v2: fixed two-row composition. Desktop: brand / navigation / quote, then phone below quote. */
.site-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-rows:auto auto!important;column-gap:clamp(12px,2vw,28px)!important;row-gap:3px!important;align-items:center!important;padding:15px clamp(18px,3vw,48px)!important;min-width:0!important}
.site-header>.brand{grid-column:1;grid-row:1 / 3;min-width:0!important;font-size:clamp(18px,1.8vw,24px)!important;letter-spacing:.035em!important}
.site-header>.site-nav{grid-column:2;grid-row:1 / 3;order:initial!important;width:auto!important;justify-content:center!important;flex-wrap:nowrap!important;gap:clamp(12px,1.4vw,23px)!important;min-width:0!important}
.site-header>.header-actions{grid-column:3;grid-row:1 / 3;align-self:center!important;display:flex!important;flex-direction:column!important;gap:6px!important;align-items:stretch!important;margin:0!important;min-width:max-content!important}
.site-header .header-cta{display:block!important;width:auto!important;white-space:nowrap!important;text-align:center!important;padding:10px 16px!important;font-size:13px!important;line-height:1.2!important}
.site-header .header-phone{display:block!important;text-align:center!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important;line-height:1.2!important;letter-spacing:.01em!important}
.mobile-navigation{display:none}
/* Prevent long headings and cards from widening narrow screens. */
html,body{max-width:100%;overflow-x:clip}
img,video,svg,iframe{max-width:100%;height:auto}
.grid,.cards,.footer-grid{min-width:0}
.grid>*,.cards>*,.footer-grid>*{min-width:0;overflow-wrap:break-word}
body:not(.service-page)>section{padding-left:clamp(18px,5vw,70px)!important;padding-right:clamp(18px,5vw,70px)!important}
body.service-page main{width:100%;max-width:1160px!important;padding-left:clamp(18px,5vw,70px)!important;padding-right:clamp(18px,5vw,70px)!important}
body.service-page .cards,.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important}
body.service-page main h1,.hero h1{font-size:clamp(32px,5.2vw,70px)!important;overflow-wrap:break-word}
body.service-page main h2,section h2{font-size:clamp(25px,3.5vw,42px)!important}
@media(max-width:1050px){
 .site-header{grid-template-columns:minmax(0,1fr) auto auto!important;column-gap:12px!important}
 .site-header>.site-nav{gap:11px!important}
 .site-header>.site-nav a,.site-header>.site-nav summary{font-size:12px!important}
 .site-header>.brand{font-size:18px!important}
 .site-header .header-cta{padding:10px 12px!important;font-size:12px!important}
}
@media(max-width:790px){
 .site-header{grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-rows:auto auto!important;gap:4px 10px!important;padding:12px 16px!important}
 .site-header>.brand{grid-column:1;grid-row:1 / 3;font-size:clamp(14px,3vw,20px)!important;letter-spacing:0!important;white-space:normal!important;line-height:1.15!important}
 .site-header>.site-nav{display:none!important}
 .site-header>.mobile-navigation{display:block!important;grid-column:2;grid-row:1 / 3;position:relative;align-self:center;z-index:300}
 .mobile-navigation summary{list-style:none;cursor:pointer;color:#e5f5fa;border:1px solid #ffffff45;border-radius:6px;display:flex;align-items:center;justify-content:center;width:38px;height:40px;font-size:21px}
 .mobile-navigation summary::-webkit-details-marker{display:none}
 .mobile-navigation-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(280px,calc(100vw - 32px));background:#0b2435;border:1px solid #7ab7c855;border-radius:9px;padding:8px;box-shadow:0 12px 30px #0008;display:grid;gap:1px}
 .mobile-navigation-panel a{color:#effbff!important;padding:12px!important;text-decoration:none!important;font-size:14px!important;border-radius:5px}
 .mobile-navigation-panel a:hover,.mobile-navigation-panel a:focus{background:#194456}
 .site-header>.header-actions{grid-column:3;grid-row:1 / 3;gap:5px!important}
 .site-header .header-cta{font-size:clamp(10px,2.5vw,12px)!important;padding:9px 10px!important}
 .site-header .header-phone{font-size:clamp(10px,2.4vw,12px)!important}
 .hero{min-height:0!important}
 .hero p{font-size:clamp(16px,3vw,20px)!important}
 .footer-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important}
}
@media(max-width:380px){
 .site-header{padding:12px 10px!important;column-gap:7px!important}
 .site-header>.brand{font-size:14px!important}
 .mobile-navigation summary{width:32px;height:36px;font-size:18px}
 .site-header .header-cta{font-size:10px!important;padding:9px 7px!important}
 .site-header .header-phone{font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* 508 Drafting Co. header v3: two equal-width action buttons, full-width visible nav. */
.site-header{display:block!important;padding:14px clamp(14px,3.5vw,48px) 10px!important;background:#071d2a!important;position:relative!important;z-index:50!important;border-bottom:1px solid rgba(211,237,245,.18)!important}
.site-header .header-top{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(8px,2vw,16px)!important;max-width:620px!important;margin:0 auto 13px!important;align-items:stretch!important}
.site-header .header-top>a{display:flex!important;justify-content:center!important;align-items:center!important;min-width:0!important;min-height:46px!important;width:100%!important;margin:0!important;padding:9px 8px!important;border-radius:6px!important;box-sizing:border-box!important;text-decoration:none!important;text-align:center!important;white-space:nowrap!important;font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(12px,2.6vw,17px)!important;font-weight:800!important;line-height:1.15!important;letter-spacing:0!important}
.site-header .header-cta{background:#32cbb7!important;color:#082333!important}
.site-header .header-phone{background:#ffd400!important;color:#071d2a!important}
.site-header .header-top>a:focus-visible,.header-nav a:focus-visible,.header-nav summary:focus-visible{outline:3px solid #ffd400!important;outline-offset:3px!important}
.site-header .header-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:center!important;gap:0!important;width:100%!important;max-width:1000px!important;margin:0 auto!important;padding:0!important;min-width:0!important;justify-content:stretch!important;order:initial!important}
.site-header .header-nav>a,.site-header .header-nav summary{display:flex!important;justify-content:center!important;align-items:center!important;gap:4px!important;width:100%!important;min-height:42px!important;padding:9px 3px!important;margin:0!important;font-size:clamp(12px,2.5vw,15px)!important;font-weight:500!important;letter-spacing:.01em!important;text-decoration:none!important;color:#dcebf1!important;cursor:pointer!important;white-space:nowrap!important;list-style:none!important;line-height:1.2!important}
.site-header .header-nav>a:hover,.site-header .header-nav summary:hover{color:#32cbb7!important}
.site-header .header-services{position:relative!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.site-header .header-services>summary::-webkit-details-marker{display:none!important}
.site-header .header-service-links{position:absolute!important;z-index:500!important;top:100%!important;left:50%!important;transform:translateX(-50%)!important;display:grid!important;width:min(280px,calc(100vw - 30px))!important;max-width:unset!important;padding:7px!important;border:1px solid #446273!important;border-radius:8px!important;background:#0c293a!important;box-shadow:0 12px 25px #0008!important}
.site-header .header-services:not([open])>.header-service-links{display:none!important}
.site-header .header-service-links>a{display:block!important;padding:12px!important;color:#e8f4f8!important;text-decoration:none!important;font-size:14px!important;border-radius:4px!important;white-space:normal!important}
.site-header .header-service-links>a:hover{background:#174455!important}
.brand-banner{position:relative!important;z-index:2!important;padding:clamp(22px,4vw,38px) clamp(18px,5vw,70px) 0!important;max-width:1300px!important;margin:auto!important;text-align:left!important}
.brand-banner>a{color:#ffd400!important;text-decoration:none!important;font-weight:900!important;letter-spacing:.035em!important;font-size:clamp(27px,5.2vw,44px)!important;line-height:1.13!important;display:inline-block!important}
.hero{padding-top:clamp(35px,6vw,75px)!important}
body.service-page main{padding-top:clamp(24px,4vw,48px)!important}
@media(max-width:500px){.site-header{padding:12px 12px 7px!important}.site-header .header-top{margin-bottom:7px!important;gap:8px!important}.site-header .header-top>a{min-height:44px!important;font-size:clamp(11px,3.25vw,15px)!important;padding:9px 4px!important}.site-header .header-nav>a,.site-header .header-nav summary{min-height:44px!important;font-size:clamp(11px,3.1vw,14px)!important}.brand-banner{padding-top:23px!important}.brand-banner>a{font-size:clamp(27px,8vw,36px)!important}}
@media(max-width:320px){.site-header .header-top>a{font-size:10px!important}.site-header .header-nav>a,.site-header .header-nav summary{font-size:10px!important}}


/* v9: shared section rhythm and footer alignment across every page */
:root{--unified-section-space:clamp(64px,7vw,100px);--unified-inner-gap:clamp(24px,3vw,36px)}
body.service-page main{max-width:1300px!important;width:100%!important;margin:0 auto!important;padding:0 clamp(18px,5vw,70px) var(--unified-section-space)!important;box-sizing:border-box!important}
body.service-page main>.brand-banner{margin:0 0 clamp(28px,4vw,48px)!important;padding:clamp(28px,5vw,60px) 0 0!important;max-width:none!important}
body.service-page main>.service-intro{padding:0 0 var(--unified-section-space)!important;margin:0!important}
body.service-page main>.service-section{padding:var(--unified-section-space) 0!important;margin:0!important;border-top:1px solid rgba(195,233,241,.13)!important}
body.service-page main>.service-section:last-child{padding-bottom:0!important}
body.service-page main>.service-section>.section-kicker{display:block!important;margin:0 0 12px!important;padding:0!important;color:#ffd400!important;font-weight:800!important;letter-spacing:.105em!important;text-transform:uppercase!important}
body.service-page main>.service-section>h2{margin:0 0 var(--unified-inner-gap)!important;padding:0!important;line-height:1.18!important}
body.service-page main>.service-section>.cards{margin:0!important;gap:clamp(16px,2vw,24px)!important}
body.service-page main>.service-section>p{margin:0 0 20px!important}
body.service-page main>.service-section>p:last-child{margin-bottom:0!important}
body.service-page main>.service-section>.note{margin-top:var(--unified-inner-gap)!important}
body.service-page main>.service-section#frequently-asked-questions{margin:0!important}
body.service-page main>.service-section#frequently-asked-questions h2{margin:0 0 var(--unified-inner-gap)!important}
body.service-page main>.service-section#frequently-asked-questions details{margin:0 0 12px!important}
body.service-page main>.service-section>nav{display:flex!important;gap:12px!important;flex-wrap:wrap!important;margin:0!important}
body.service-page main>.service-intro>.eyebrow{margin:0 0 12px!important;color:#ffd400!important}
body.service-page main>.service-intro>h1{margin:0 0 var(--unified-inner-gap)!important}
body.service-page main>.service-intro>.intro{margin:0 0 var(--unified-inner-gap)!important}
body .site-footer,body.service-page .site-footer{ text-align:left!important; }
body .site-footer .footer-grid,body.service-page .site-footer .footer-grid{ text-align:left!important;justify-items:stretch!important; }
body .site-footer .footer-grid>div,body.service-page .site-footer .footer-grid>div{ text-align:left!important;align-items:flex-start!important; }
body .site-footer .footer-grid a,body .site-footer .footer-grid h3,body .site-footer .footer-grid p,body .site-footer .footer-bottom{ text-align:left!important; }
@media(max-width:550px){:root{--unified-section-space:56px;--unified-inner-gap:24px}body.service-page main>.brand-banner{padding-top:32px!important}}
