/*
Theme Name: LoopEstimates
Author: LoopEstimates
Description: Construction estimating theme with five company pages, project imagery, logos, and downloadable inquiries. No required plugins.
Version: 1.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: loopestimates
*/
:root { --background: oklch(1 0 0); --foreground: oklch(.25 .008 250); --primary: oklch(.66 .19 43); --primary-foreground: oklch(1 0 0); --secondary: oklch(.24 .009 250); --secondary-foreground: oklch(.98 0 0); --muted: oklch(.975 .002 250); --muted-foreground: oklch(.52 .012 250); --accent: oklch(.96 .02 55); --border: oklch(.9 .004 250); --destructive: oklch(.55 .2 25); --hero-wash: linear-gradient(90deg, oklch(.99 .003 240 / .98) 0%, oklch(.99 .003 240 / .93) 27%, oklch(.99 .003 240 / .65) 49%, oklch(.99 .003 240 / .04) 76%); --shadow-float: 0 16px 48px oklch(.2 0 0 / .08); }
* { box-sizing:border-box; border-color:var(--border); letter-spacing:0; } body { margin:0; background:var(--background); color:var(--foreground); font-family:Manrope,Arial,sans-serif; -webkit-font-smoothing:antialiased; } a {text-decoration:none;color:inherit} button,input,select,textarea {font:inherit} button,a { -webkit-tap-highlight-color:transparent } h1,h2,h3,p {margin:0} button {cursor:pointer} .container {width:min(1184px, calc(100% - 96px));margin-inline:auto} .topline {background:var(--secondary);color:var(--secondary-foreground);font-size:11px;padding:10px 0}.topline .container {display:flex;justify-content:space-between;align-items:center}.topline span{display:flex;gap:8px;align-items:center}.topline svg {width:13px;height:13px;color:var(--primary)} .site-header {height:94px;display:flex;align-items:center;background:var(--background);border-bottom:1px solid var(--border);position:relative;z-index:20}.header-inner {display:flex;align-items:center;justify-content:space-between;gap:24px}.logo {width:228px;height:auto;display:block}.nav {display:flex;align-items:center;gap:27px;font-size:12px;font-weight:600}.nav a {padding:35px 0;position:relative}.nav a.active::after{position:absolute;bottom:21px;left:0;right:0;height:2px;background:var(--primary);content:''}.nav a:hover{color:var(--primary)}.header-quote{height:43px}.menu-toggle{display:none}.hero {position:relative;min-height:590px;overflow:hidden;display:flex;align-items:center}.hero-photo{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;object-position:center 55%}.hero::after{position:absolute;inset:0;content:'';background:var(--hero-wash)}.hero-content{position:relative;z-index:1;padding-block:65px}.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1.7px;color:var(--muted-foreground)}.eyebrow::before{content:'';width:23px;height:2px;background:var(--primary)}.hero h1 {font-size:58px;line-height:1.14;font-weight:800;margin-top:22px;max-width:650px}.hero h1 span{color:var(--primary)}.hero p{max-width:440px;font-size:14px;line-height:1.9;color:var(--muted-foreground);margin-top:23px}.hero-actions{display:flex;gap:12px;margin-top:29px}.hero-actions button,.hero-actions a{height:48px;font-size:12px}.hero-checks{display:flex;gap:24px;margin-top:31px;font-size:10px;font-weight:600;color:var(--muted-foreground)}.hero-checks span{display:flex;align-items:center;gap:6px}.hero-checks svg{width:13px;height:13px;color:var(--primary)}.image-caption{position:absolute;right:48px;bottom:28px;z-index:1;display:flex;gap:10px;align-items:center;background:var(--background);padding:11px 16px;font-size:10px;font-weight:600}.image-caption svg{color:var(--primary);width:20px}.value-band{background:var(--secondary);color:var(--secondary-foreground)}.value-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 0}.value-item{display:flex;gap:15px;align-items:center;padding:0 24px;border-right:1px solid color-mix(in oklch,var(--border) 18%,transparent)}.value-item:first-child{padding-left:0}.value-item:last-child{border:0}.value-item>svg{width:27px;height:27px;color:var(--primary);stroke-width:1.5}.value-item h3{font-size:12px;font-weight:700}.value-item p{font-size:10px;opacity:.6;margin-top:5px}.section{padding:76px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:34px}.section h2{font-size:34px;line-height:1.3;font-weight:800;margin-top:13px}.section-intro{max-width:390px;font-size:12px;line-height:1.9;color:var(--muted-foreground)}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.service-card{border:1px solid var(--border);padding:28px;position:relative;border-radius:5px;transition:border-color .2s,transform .2s;background:var(--background)}.service-card:hover{border-color:var(--primary);transform:translateY(-3px)}.service-icon{width:46px;height:46px;background:var(--accent);display:grid;place-items:center;border-radius:4px;color:var(--primary)}.service-icon svg{width:24px;height:24px;stroke-width:1.5}.service-number{position:absolute;right:27px;top:34px;font-size:11px;color:var(--muted-foreground)}.service-card h3{margin-top:23px;font-size:17px;font-weight:800}.service-card p{font-size:12px;line-height:1.9;margin-top:12px;color:var(--muted-foreground)}.service-link{margin-top:19px;padding:0!important;height:auto!important;font-size:11px!important;justify-content:start!important;color:var(--foreground)!important}.service-link svg{color:var(--primary)}.section-bottom{display:flex;justify-content:center;margin-top:30px}.section-bottom a{font-size:11px;height:42px}.soft-section{background:var(--muted)}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:60px;margin-top:40px}.process-num{font-size:12px;font-weight:700;color:var(--primary);display:flex;align-items:center;gap:16px}.process-num::after{content:'';height:1px;flex:1;background:var(--border)}.process-grid h3{font-size:17px;margin-top:21px}.process-grid p{font-size:12px;line-height:1.9;color:var(--muted-foreground);margin-top:13px}.sample-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.sample-copy>p{font-size:13px;line-height:1.9;color:var(--muted-foreground);margin:21px 0}.sample-copy ul{list-style:none;padding:0;display:grid;gap:12px;font-size:12px;margin-bottom:24px}.sample-copy li{display:flex;gap:10px;align-items:center}.sample-copy li svg{width:16px;color:var(--primary)}.estimate-sheet{border:1px solid var(--border);box-shadow:var(--shadow-float);padding:28px;border-radius:5px;background:var(--background)}.sheet-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:20px;border-bottom:2px solid var(--primary);font-size:11px;font-weight:700}.sheet-heading span{color:var(--muted-foreground);font-size:9px}.estimate-sheet table{border-collapse:collapse;width:100%;font-size:10px;margin-top:18px}.estimate-sheet th{text-align:left;font-size:9px;color:var(--muted-foreground);padding:9px 0;background:var(--muted)}.estimate-sheet td{padding:13px 0;border-bottom:1px solid var(--border)}.estimate-sheet td:last-child,.estimate-sheet th:last-child{text-align:right}.sheet-total{display:flex;justify-content:space-between;font-size:12px;font-weight:800;margin-top:20px}.sheet-note{font-size:9px;color:var(--muted-foreground);margin-top:15px}.cta-band{background:var(--secondary);color:var(--secondary-foreground);padding:51px 0}.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}.cta-inner h2{font-size:29px;font-weight:800}.cta-inner p{font-size:12px;opacity:.65;margin-top:10px}.cta-inner button{height:46px;font-size:12px}.footer{padding:50px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:45px}.footer .logo{width:205px}.footer p{font-size:11px;line-height:1.9;color:var(--muted-foreground);margin-top:17px;max-width:260px}.footer h3{font-size:12px;margin-bottom:18px}.footer-links{display:grid;gap:12px;font-size:11px;color:var(--muted-foreground)}.footer-links a:hover{color:var(--primary)}.footer-bottom{border-top:1px solid var(--border);margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;color:var(--muted-foreground);font-size:10px}.page-title{padding:60px 0;background:var(--muted);border-bottom:1px solid var(--border)}.page-title h1{font-size:42px;font-weight:800;margin:17px 0}.page-title p{font-size:14px;line-height:1.8;color:var(--muted-foreground);max-width:620px}.dialog-overlay{position:fixed;inset:0;background:color-mix(in oklch,var(--secondary) 55%,transparent);z-index:50;display:grid;place-items:center;padding:20px}.dialog-overlay>div{width:min(600px,100%)}.quote-dialog{width:min(600px,100%);max-height:90vh;overflow:auto;background:var(--background);padding:34px;border-radius:6px;box-shadow:var(--shadow-float);position:relative}.dialog-close{position:absolute;right:15px;top:15px}.quote-dialog h2{font-size:25px;font-weight:800;padding-right:25px}.quote-dialog>p,.form-note{font-size:12px;color:var(--muted-foreground);line-height:1.8;margin-top:10px}.quote-form{margin-top:23px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:700}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{border:1px solid var(--border);background:var(--background);padding:11px 12px;border-radius:4px;outline:none;width:100%;font-size:12px;font-weight:400;color:var(--foreground)}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--primary)}.field textarea{min-height:90px;resize:vertical}.form-submit{width:100%;height:44px;margin-top:20px}.upload-area{border:1px dashed var(--border);padding:17px;background:var(--muted);border-radius:4px}.upload-area input{border:0;padding:8px 0;background:transparent}.result-box{margin-top:20px;background:var(--muted);padding:20px;font-size:13px;line-height:1.8}.result-box button{margin-top:15px}.faq-list{max-width:800px}.faq-list details{border-bottom:1px solid var(--border);padding:20px 0}.faq-list summary{cursor:pointer;font-size:14px;font-weight:700}.faq-list p{font-size:12px;line-height:1.9;color:var(--muted-foreground);margin-top:12px}.brand-choices{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:25px}.brand-option{border:1px solid var(--border);border-radius:4px;padding:25px}.brand-option img{width:100%;height:85px;object-fit:contain}.brand-option h3{font-size:14px;margin-top:20px}.brand-option p{font-size:12px;line-height:1.8;color:var(--muted-foreground);margin-top:10px}.brand-option a{margin-top:15px;font-size:11px}.contact-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px}.contact-layout .quote-dialog{max-height:none;padding:30px;border:1px solid var(--border);box-shadow:none;width:100%}.about-content{max-width:780px}.about-content>p{font-size:15px;line-height:2;color:var(--muted-foreground);margin-top:22px}.about-values{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:40px}.about-values h3{font-size:15px}.about-values p{font-size:12px;line-height:1.9;color:var(--muted-foreground);margin-top:10px}
@media(min-width:1500px){.hero{min-height:650px}}@media(max-width:1000px){.container{width:calc(100% - 48px)}.nav{gap:16px}.logo{width:190px}.header-inner{gap:18px}.header-quote{padding-inline:15px!important}.hero h1{font-size:49px}.value-item{padding:0 15px;gap:10px}.value-item h3{font-size:11px}.sample-layout{gap:35px}.footer-grid{gap:25px}.image-caption{right:24px}}@media(max-width:760px){.container{width:calc(100% - 40px)}.topline{font-size:9px}.topline .container>span:last-child{display:none}.site-header{height:78px}.logo{width:190px}.header-quote{display:none!important}.menu-toggle{display:inline-flex}.nav{display:none;position:absolute;top:78px;left:0;right:0;background:var(--background);padding:15px 20px;border-bottom:1px solid var(--border)}.nav.open{display:grid;gap:0}.nav a{padding:14px}.nav a.active::after{display:none}.hero{min-height:565px}.hero-content{padding:48px 0}.hero h1{font-size:40px;max-width:470px}.hero p{font-size:13px;max-width:340px}.hero-photo{object-position:68% center}.hero::after{background:linear-gradient(90deg,oklch(.99 .003 240 / .97),oklch(.99 .003 240 / .76) 65%,oklch(.99 .003 240 / .2))}.hero-checks{gap:12px;flex-wrap:wrap;max-width:340px;font-size:9px}.image-caption{display:none}.value-grid{grid-template-columns:1fr 1fr;gap:25px;padding:27px 0}.value-item{padding:0;border:0}.value-item>svg{width:23px}.value-item p{font-size:9px}.section{padding:50px 0}.section-head{display:block;margin-bottom:27px}.section h2{font-size:28px}.section-intro{margin-top:18px}.service-grid{grid-template-columns:1fr}.service-card{padding:25px}.process-grid{grid-template-columns:1fr;gap:30px}.sample-layout{grid-template-columns:1fr;gap:30px}.cta-inner{display:block}.cta-inner h2{font-size:26px}.cta-inner button{margin-top:23px}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{gap:15px;flex-wrap:wrap;font-size:9px}.page-title{padding:40px 0}.page-title h1{font-size:34px}.contact-layout{grid-template-columns:1fr;gap:30px}.contact-layout .quote-dialog{padding:22px}.quote-dialog{padding:26px}.quote-dialog h2{font-size:22px}.form-grid{grid-template-columns:1fr}.brand-choices,.about-values{grid-template-columns:1fr}.hero-actions{gap:9px}.hero-actions button,.hero-actions a{padding-inline:15px;font-size:11px}.eyebrow{font-size:9px;letter-spacing:1.3px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}} 

/* Project and estimating imagery */
.service-photo { display:block; width:calc(100% + 56px); max-width:none; margin:-28px -28px 25px; aspect-ratio:16/10; object-fit:cover; border-radius:4px 4px 0 0; }
.service-number { top:auto; margin-top:15px; }
.support-photo {display:block; width:100%; object-fit:cover; border-radius:4px; }
.sample-photo {aspect-ratio:16/8; margin-top:28px;}
.about-photo {aspect-ratio:24/9; margin-top:35px;}
.contact-photo {aspect-ratio:16/10; margin-top:25px;}
.page-title-with-photo { position:relative; overflow:hidden; min-height:310px; display:flex; align-items:center; }
.page-cover {position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.page-title-with-photo::after {content:''; position:absolute; inset:0; background:var(--hero-wash);}
.page-title-with-photo>.container {position:relative; z-index:1;}
.page-title-with-photo h1 {max-width:690px;}
.page-title-with-photo p {max-width:520px;}
@media(max-width:760px){ .service-photo{width:calc(100% + 50px);margin:-25px -25px 24px;} .about-photo{aspect-ratio:3/2;} .page-title-with-photo{min-height:310px;} .page-cover{object-position:65% center;} .page-title-with-photo::after{background:var(--hero-wash);} }

.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--primary);color:var(--primary-foreground);border:1px solid var(--primary);border-radius:4px;padding:12px 20px;font-size:12px;font-weight:700;line-height:1.4;min-height:42px;cursor:pointer}.button svg{width:16px;height:16px;flex-shrink:0}.button:hover{opacity:.88}.button:disabled{opacity:.5;cursor:not-allowed}.button-outline{background:var(--background);color:var(--foreground);border-color:var(--border)}.button.menu-toggle{display:none;background:transparent;color:var(--foreground);border:0}.service-details{margin-top:19px}.service-details summary{font-size:12px;font-weight:700;cursor:pointer;color:var(--primary)}.skip-link{position:absolute;top:-100px;left:20px;background:var(--background);padding:15px;z-index:100}.skip-link:focus{top:10px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--primary);outline-offset:4px}.result-box[hidden]{display:none}.result-box p{margin-block:10px}.result-box .button{margin-right:10px}.editor-content{line-height:1.9;overflow-wrap:anywhere}.editor-content p{margin:15px 0}.editor-content img{max-width:100%;height:auto}.wp-block-image img{max-width:100%}.nav ul{display:flex;list-style:none;gap:20px;padding:0;margin:0}.nav .current-menu-item>a{color:var(--primary)}.header-inner .custom-logo{max-width:228px;width:100%;height:auto;display:block}.header-inner .custom-logo-link{max-width:228px}.menu-toggle svg{width:22px;height:22px}.flex{display:flex}.items-center{align-items:center}.gap-2{gap:8px}.mt-5{margin-top:20px}.mt-8{margin-top:32px}.inline{display:inline}.ml-1{margin-left:4px}.cta-inner .button{flex-shrink:0} @media(max-width:760px){.button.menu-toggle{display:inline-flex}.nav ul{display:grid;gap:0}.nav a{display:block}.hero-actions{flex-wrap:wrap}.hero h1{font-size:36px}.hero-actions .button{font-size:11px}.header-inner .custom-logo{max-width:190px}.header-inner .custom-logo-link{max-width:190px}} 

.service-photo,.support-photo{height:auto}.service-photo{aspect-ratio:16/10}.contact-photo{aspect-ratio:16/10}

.topline-contact{gap:18px}.topline-contact a{display:flex;align-items:center;gap:7px;color:var(--secondary-foreground);font-weight:600;transition:color .2s}.topline-contact a:hover{color:var(--primary)}.topline-contact svg{width:12px;height:12px;color:var(--primary)}.header-phone{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:800;white-space:nowrap;color:var(--foreground)}.header-phone svg{width:15px;height:15px;color:var(--primary)}.header-phone:hover{color:var(--primary)}.contact-details{display:grid;gap:14px;margin-top:26px;border:1px solid var(--border);border-radius:5px;padding:21px;background:var(--background)}.contact-details>div{display:flex;gap:13px;align-items:flex-start}.contact-details svg{width:17px;height:17px;color:var(--primary);margin-top:2px;stroke-width:1.6;flex:none}.contact-details span{display:block;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:1.3px;color:var(--muted-foreground)}.contact-details a{display:block;font-size:13px;font-weight:700;margin-top:4px;line-height:1.6}.contact-details a:hover{color:var(--primary)}.footer-contact{display:grid;gap:11px;font-size:11px;color:var(--muted-foreground);margin-top:20px;max-width:290px}.footer-contact span,.footer-contact a{display:flex;gap:9px;align-items:flex-start;line-height:1.6}.footer-contact svg{width:13px;height:13px;color:var(--primary);margin-top:3px;flex:none}.footer-contact a:hover{color:var(--primary)}.form-note a{color:var(--primary);font-weight:700}
@media(max-width:760px){.topline .container>span:last-child{display:flex}.topline-contact{gap:12px}.topline-contact a:last-child{display:none}.header-phone{display:none}.contact-details{margin-top:22px;padding:17px}.contact-details a{font-size:12px}.footer-contact{max-width:none}}
