/*
Theme Name: Long Ladder Blue
Theme URI: https://longladder.ca/
Author: Long Ladder
Description: A lightweight, mobile-friendly, clean blue WordPress theme for Long Ladder Eavestrough & Exterior Installation.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: long-ladder-blue
*/
:root{--navy:#0b2d55;--navy2:#133d67;--blue:#267eae;--sky:#66b9e2;--soft:#eef7fc;--pale:#f7fbfe;--ink:#23384b;--muted:#607285;--line:#d9e7f1;--white:#fff;--red:#d91d29;--shadow:0 16px 38px rgba(5,42,82,.10)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:98px}
body{margin:0;background:var(--white);color:var(--ink);font:400 16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
img,svg{max-width:100%;height:auto}img{display:block}
a{color:var(--blue);text-decoration:none}a:hover,a:focus-visible{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #edb345;outline-offset:3px}
button,input,select,textarea{font:inherit}button{cursor:pointer}
h1,h2,h3,h4{color:var(--navy);line-height:1.18;margin:0 0 18px;letter-spacing:-.022em}h1{font-size:clamp(2.3rem,5vw,4.4rem)}h2{font-size:clamp(1.8rem,3.5vw,2.55rem)}h3{font-size:clamp(1.3rem,2.4vw,1.7rem)}p{margin:0 0 19px}.container{width:min(1140px,calc(100% - 42px));margin-inline:auto}.slim-container{max-width:810px;text-align:center}.section{padding-block:76px}.section-soft{background:var(--pale)}.centered{text-align:center}.section-lead{font-size:1.09rem;color:var(--muted);max-width:670px;margin:0 auto 34px}.eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.13em;font-size:.76rem;font-weight:800;color:var(--blue);margin-bottom:12px}.eyebrow-light{color:#bceaff}.sr-only,.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip-link:focus{position:fixed!important;top:10px;left:10px;z-index:10000;width:auto!important;height:auto!important;margin:0!important;padding:11px 18px!important;overflow:visible!important;clip:auto!important;background:#fff;color:var(--navy)}
/* Header */
.site-header{position:relative;z-index:50;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 1px 9px rgba(0,24,60,.035)}.site-header-inner{min-height:111px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:block;flex-shrink:0;background:#fff;border-radius:8px}.brand-image{width:130px;height:98px;object-fit:contain;object-position:center}.header-actions{display:flex;align-items:center;gap:23px}.primary-nav{display:flex;align-items:center;flex-wrap:wrap;gap:20px}.primary-nav a{color:var(--navy);font-size:.92rem;font-weight:700;white-space:nowrap}.primary-nav a:hover{color:var(--blue);text-decoration:none}.nav-toggle{display:none;width:45px;height:43px;border:1px solid var(--line);border-radius:7px;background:#fff;align-items:center;justify-content:center;flex-direction:column;gap:5px}.nav-toggle span{display:block;width:21px;height:2px;background:var(--navy);border-radius:2px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 25px;border-radius:5px;border:2px solid transparent;font-size:.95rem;font-weight:750;line-height:1.3;text-align:center;transition:transform .12s,background .12s,box-shadow .12s}.btn:hover{text-decoration:none;transform:translateY(-1px)}.btn:active{transform:none}.btn-primary{background:var(--blue);color:#fff;box-shadow:0 5px 14px rgba(29,107,161,.16)}.btn-primary:hover{background:#12648e;color:#fff}.btn-light{background:#fff;color:var(--navy)}.btn-light:hover{background:#eaf7fe;color:var(--navy)}.btn-small{min-height:43px;padding:9px 16px;font-size:.88rem}
/* Hero: shows your uploaded project photo when provided via Appearance > Customize */
.hero{background:linear-gradient(115deg,#0b3057 0%,#125278 55%,#247ea8 100%);color:#fff;position:relative;overflow:hidden}.hero[style*="--hero-photo"]{background-image:linear-gradient(90deg,rgba(5,26,53,.92) 0%,rgba(7,45,78,.81) 54%,rgba(8,45,77,.54) 100%),var(--hero-photo);background-position:center;background-size:cover}.hero-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:center;gap:30px;min-height:510px;padding-top:64px;padding-bottom:68px}.hero h1{color:#fff;max-width:680px}.hero h1 span{color:#a9def9}.hero p{font-size:1.11rem;line-height:1.8;color:#e5f4fc;max-width:580px}.hero-buttons{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:26px}.text-link{font-weight:700;color:#fff}.text-link:hover{color:#c9efff}.hero-illustration{position:relative;align-self:center}.hero-illustration img{width:100%;max-width:550px;margin-inline:auto;filter:drop-shadow(0 22px 26px rgba(3,27,50,.16))}.hero[style*="--hero-photo"] .hero-layout{grid-template-columns:1fr}.hero[style*="--hero-photo"] .hero-copy{max-width:690px}
/* Content and vertically displayed services */
.intro-section{text-align:center;max-width:800px}.intro-section>p{font-size:1.09rem;color:#43596c;line-height:1.85}.inline-link{display:inline-block;margin-top:9px;color:var(--blue);font-weight:750}.services-section .slim-container>h2{margin-bottom:10px}.service-entry{max-width:680px;margin:0 auto 0;padding:43px 0 45px;text-align:center;border-bottom:1px solid #dbe9f1}.service-entry:last-of-type{border-bottom:none}.service-entry h2,.service-entry h3{color:#126c9a;font-size:clamp(1.63rem,3vw,2.1rem);margin-bottom:16px}.service-art{display:flex;align-items:center;justify-content:center;margin:0 auto 16px;min-height:132px;color:#1482b3}.service-svg{width:176px;height:142px;display:block}.service-entry p{max-width:570px;margin:0 auto;color:#3c5266;font-size:1.04rem;line-height:1.8}.service-more{margin-top:28px}
.work-section{text-align:center}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:35px 0 24px}.project-photo{display:block;overflow:hidden;border-radius:9px;box-shadow:var(--shadow);background:var(--soft);aspect-ratio:4/3}.project-photo img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.project-photo:hover img{transform:scale(1.03)}.work-empty{position:relative;display:flex;align-items:center;justify-content:center;min-height:200px;max-width:730px;margin:32px auto 24px;border:2px dashed #c4dfee;border-radius:9px;background:var(--pale);color:var(--muted)}.work-empty p{margin:0 15px;position:relative;z-index:1}.work-empty .small-note{font-size:.85rem}.work-line,.work-dot{position:absolute;pointer-events:none}.work-line{width:65px;height:5px;border-radius:4px;background:#d7ebf7;transform:rotate(-24deg)}.work-line-one{top:33px;left:45px}.work-line-two{right:45px;bottom:36px}.work-dot{width:15px;height:15px;border-radius:100%;right:120px;top:37px;background:#c8e6f5}
.reviews-band{padding:43px 0;background:#175a84;color:#fff}.reviews-layout{display:flex;align-items:center;justify-content:space-between;gap:22px}.reviews-band h2{color:#fff;font-size:clamp(1.65rem,3vw,2.2rem);margin-bottom:5px}.reviews-band p{color:#dcf0fc;margin:0}.contact-cta{text-align:center}.contact-cta p{color:var(--muted)}
/* Page subheaders */
.page-banner{background:linear-gradient(115deg,#123957,#2878a1);color:#fff;text-align:center;padding:67px 0 61px}.page-banner h1{color:#fff;font-size:clamp(2.15rem,4.5vw,3.55rem);margin-bottom:12px}.page-banner p{margin:0 auto;max-width:690px;color:#dceef9;font-size:1.08rem}.projects-page{text-align:center}.about-copy{max-width:850px}.about-copy h2{margin-top:20px}.about-copy p{font-size:1.07rem;line-height:1.86;color:#455a6c}.about-copy .btn{margin-top:10px}.editable-page-content{margin:35px 0;text-align:start}.editable-page-content img{height:auto}.editable-page-content .wp-block-gallery{margin-block:22px}
/* Quote form */
.contact-layout{display:grid;grid-template-columns:minmax(225px,.7fr) minmax(0,1.3fr);gap:55px;align-items:start}.contact-sidebar h2{font-size:1.9rem}.contact-sidebar p{color:#506779}.contact-method{border-top:1px solid var(--line);padding:20px 0;display:flex;flex-direction:column;gap:4px}.contact-method-title{font-weight:750;font-size:.9rem;color:var(--navy)}.contact-method span:last-child,.contact-method a{word-break:break-word}.contact-form-wrap{border:1px solid var(--line);border-radius:9px;background:var(--pale);padding:28px}.quote-form{display:flex;flex-direction:column;gap:15px}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.quote-form label{display:flex;flex-direction:column;font-size:.92rem;gap:7px;font-weight:700;color:var(--navy)}.quote-form input:not([type="file"]),.quote-form textarea,.quote-form select{width:100%;min-width:0;border-radius:5px;border:1px solid #baceda;background:#fff;padding:11px 12px;color:#142b40;font-weight:400}.quote-form input[type="file"]{width:100%;max-width:100%;padding:9px 0;color:#3e5668;font-weight:400}.quote-form textarea{resize:vertical}.required{color:#ba2131}.optional,.form-hint{font-size:.83rem;color:var(--muted);font-weight:400}.form-hint{margin:-7px 0 0}.btn-submit{align-self:flex-start}.form-alert{padding:15px 17px;margin:0 0 20px;border-radius:6px;font-weight:600}.form-alert.success{background:#ecf8ed;color:#215e36}.form-alert.error{background:#fff0f0;color:#9d2631}.hidden-honeypot{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
/* Supplier names are only shown if owner confirms relationships */
.supplier-band{background:#f2f8fc;padding:36px 0;border-top:1px solid var(--line)}.supplier-inner{text-align:center}.supplier-inner h2{font-size:1.3rem;margin:0 0 15px}.supplier-names{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.supplier-names span{display:inline-block;font-size:1rem;font-weight:750;color:#355572;padding:9px 13px;background:#fff;border:1px solid #deebf3;border-radius:5px}
/* Footer */
.site-footer{background:#082b4d;color:#d7e9f5}.footer-inner{padding:55px 0 44px;display:grid;grid-template-columns:1.2fr .75fr 1fr;gap:45px}.site-footer h2{font-size:1.06rem;color:#fff;margin:0 0 17px}.footer-about strong{font-size:1.48rem;color:#fff}.footer-about p{max-width:320px;margin-top:12px}.footer-links,.footer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.site-footer a{color:#d7e9f5}.site-footer a:hover{color:#fff}.social-row{display:flex;gap:17px;flex-wrap:wrap;margin-top:10px}.copyright{padding:17px 0 25px;border-top:1px solid rgba(255,255,255,.15);color:#a9c3d5;font-size:.85rem}
/* WP defaults */
.entry-content,.post-content{line-height:1.85;max-width:800px;margin:0 auto}.entry-content>*{max-width:100%}.wp-caption{max-width:100%}blockquote{border-left:4px solid var(--blue);margin:25px 0;padding:10px 22px;background:var(--pale)}.aligncenter{margin-inline:auto}.alignleft{float:left;margin:0 20px 12px 0}.alignright{float:right;margin:0 0 12px 20px}
@media(max-width:1050px){.site-header-inner{min-height:93px}.brand-image{width:110px;height:83px}.header-actions{gap:12px}.primary-nav{gap:12px}.primary-nav a{font-size:.86rem}.header-quote{padding:9px 12px}}
@media(max-width:850px){.site-header-inner{min-height:86px}.brand-image{height:80px;width:107px}.nav-toggle{display:flex}.header-actions{gap:12px}.primary-nav{display:none;position:absolute;top:calc(100% - 1px);left:0;right:0;padding:16px 23px 22px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 15px 25px rgba(9,44,78,.12);flex-direction:column;align-items:stretch;gap:0}.primary-nav.is-open{display:flex}.primary-nav a{padding:12px 4px;border-bottom:1px solid #eef3f7;font-size:1rem}.hero-layout{grid-template-columns:1fr;min-height:unset;text-align:center;gap:8px;padding:50px 0}.hero-copy{margin-inline:auto}.hero p{margin-inline:auto}.hero-buttons{justify-content:center}.hero-illustration img{max-width:360px}.contact-layout{grid-template-columns:1fr;gap:24px}.footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.footer-about{grid-column:1/-1}}
@media(max-width:600px){.container{width:min(100% - 34px,1140px)}body{font-size:15px}.section{padding-block:53px}.site-header-inner{gap:7px}.brand-image{width:90px;height:76px}.header-quote{min-height:38px;padding:8px 11px;font-size:.78rem}.nav-toggle{width:40px;height:39px}.hero-layout{padding:44px 0 49px}.hero h1{font-size:2.35rem}.hero p{font-size:1rem;line-height:1.7}.hero-buttons{gap:15px}.hero-illustration img{max-width:305px}.intro-section>p{font-size:1rem}.service-entry{padding:34px 0}.service-entry p{font-size:1rem}.service-svg{width:155px;height:126px}.reviews-layout{flex-direction:column;text-align:center;align-items:center}.project-grid{grid-template-columns:1fr;gap:14px}.contact-cta p{padding-inline:6px}.form-row{grid-template-columns:1fr;gap:14px}.contact-form-wrap{padding:19px 15px}.footer-inner{grid-template-columns:1fr;gap:29px}.footer-about{grid-column:auto}.page-banner{padding:53px 0 47px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* 2.0: Clear original service illustrations and visible social links */
.service-art{min-height:0;margin:0 auto 15px;max-width:430px;}
.service-illustration{display:block;width:min(100%,360px);height:auto;aspect-ratio:460/270;object-fit:contain;margin-inline:auto;}
.service-entry{padding:37px 0 42px;}
.service-entry h2,.service-entry h3{margin-bottom:8px;}
.hero-social{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:24px;color:#e1f4fe;font-size:.91rem;}
.hero-social a{color:#fff;display:inline-flex;gap:6px;align-items:center;line-height:1.2;text-underline-offset:4px;font-weight:700;}
.hero-social a:hover{text-decoration:underline;}
.hero-social svg,.social-link svg{height:22px;width:22px;flex:0 0 22px;}
.social-row{gap:14px;margin-top:12px;}
.social-link{display:inline-flex;align-items:center;gap:7px;font-weight:700;white-space:nowrap;}
.footer-contact .social-link{border:1px solid rgba(255,255,255,.26);padding:10px 12px;border-radius:7px;}
.footer-contact .social-link:hover{background:rgba(255,255,255,.1);}
.contact-social{display:flex;flex-wrap:wrap;gap:10px;}
.contact-social .social-link{color:#174e70;padding:9px 11px;background:#e7f3fa;border-radius:7px;}
.supplier-band{padding:30px 0;background:#f5fafc;}
.supplier-inner h2{font-size:1.14rem;margin-bottom:15px;color:#235775;}
.supplier-names{gap:12px;}
.supplier-wordmark{font-weight:800;font-size:1.12rem;padding:12px 24px;color:#355873;background:#fff;border:1px solid #d7e9f3;border-radius:5px;letter-spacing:.015em;}
@media(max-width:850px){.hero-social{justify-content:center;}.hero-social a{font-size:.92rem;}}
@media(max-width:600px){.service-illustration{width:min(100%,330px);}.hero-social{gap:9px 12px;margin-top:18px;}.hero-social span:first-child{width:100%;}.social-row{gap:10px;}.footer-contact .social-link{font-size:.9rem;}.supplier-band{padding:24px 0}.supplier-wordmark{font-size:1rem;padding:11px 17px;}}

/* Version 3.0: direct calling, real logo, and small horizontal supplier logos */
.header-phone{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:.92rem;color:var(--navy);white-space:nowrap;line-height:1.2;}
.header-phone:hover{color:var(--blue);text-decoration:none;}
.header-phone svg{width:17px;height:17px;flex:0 0 17px;}
.hero-call{display:inline-flex;color:#fff;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.22);padding:8px 14px;border-radius:6px;margin-top:20px;gap:6px;align-items:center;}
.hero-call:hover{color:#fff;background:rgba(255,255,255,.17);text-decoration:underline;}
.hero-logo-card{background:#fff;border-radius:14px;padding:13px;box-shadow:0 22px 45px rgba(0,22,47,.17);overflow:hidden;}
.hero-logo-card img{display:block;width:100%;max-width:100%;height:auto;filter:none;object-fit:contain;}
.supplier-band{padding:30px 0 34px;background:#fff;border-top:1px solid var(--line);}
.supplier-inner h2{font-size:1.28rem;color:var(--navy);margin:0 0 19px;text-align:center;}
.supplier-logo-strip{display:flex;align-items:center;justify-content:space-around;gap:22px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scrollbar-width:thin;}
.supplier-logo{min-width:0;flex:0 1 175px;height:88px;display:flex;align-items:center;justify-content:center;scroll-snap-align:center;}
.supplier-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:75px;object-fit:contain;}
.footer-phone{font-weight:750;font-size:1.05rem;}
@media (max-width:1100px){.header-actions{gap:12px}.primary-nav{gap:10px}.header-phone{font-size:.85rem}}
@media (max-width:900px){.header-phone span{display:none}.header-phone svg{width:22px;height:22px;flex-basis:22px}.header-phone{display:flex;border:1px solid var(--line);border-radius:6px;padding:9px}}
@media (max-width:850px){.hero-logo-card{width:min(100%,460px);margin:14px auto 0}.supplier-logo-strip{justify-content:flex-start;gap:23px;padding:2px 0 10px}.supplier-logo{flex:0 0 135px;height:72px}.supplier-logo img{max-height:61px}}
@media (max-width:600px){.hero-logo-card{width:min(100%,340px);padding:8px;border-radius:10px}.hero-call{margin-top:15px}.supplier-band{padding:25px 0}.supplier-inner h2{margin-bottom:12px}.supplier-logo{flex-basis:120px;height:66px}.supplier-logo img{max-height:53px}.header-phone{padding:7px}.header-phone svg{width:20px;height:20px;flex-basis:20px}.header-actions{gap:7px}}
