/*
Theme Name: Bluehaven Duct Care Texas City
Theme URI: https://bluehavenductcaretexascity.com/
Author: Bluehaven Duct Care Texas City
Description: A complete local duct-care website with six editable pages, responsive navigation, business details, and map controls. Activate to create missing pages.
Version: 1.1.1
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluehaven
*/
:root{--navy:#072a51;--blue:#0069d7;--ice:#edf7fc;--sky:#75cbe9;--ink:#19364d;--muted:#4d687a;--line:#d6e4ed;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:white;color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.7}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto;display:block}button,input{font:inherit}h1,h2,h3{color:var(--navy);line-height:1.1;letter-spacing:-.045em;margin:0 0 24px}h1{font-size:clamp(38px,4.5vw,66px)}h2{font-size:clamp(29px,3vw,43px)}h3{font-size:23px}p{margin:0 0 20px}p:last-child{margin-bottom:0}:focus-visible{outline:3px solid var(--blue);outline-offset:5px}.skip-link{position:absolute;left:10px;top:-100px;background:white;padding:12px;z-index:999}.skip-link:focus{top:10px}.site-header{background:white;border-bottom:1px solid var(--line)}.header-inner{max-width:1340px;padding:18px 40px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand img{width:176px;max-height:94px;object-fit:contain}.header-nav ul{display:flex;align-items:center;gap:23px;list-style:none;padding:0;margin:0}.header-nav a{color:var(--navy);font-size:14px;font-weight:700;white-space:nowrap}.header-nav .current-menu-item>a,.header-nav a[aria-current=page]{color:var(--blue)}.header-call{font-size:14px;font-weight:700;border:1px solid var(--line);padding:10px 14px;color:var(--navy)}.menu-toggle{display:none;background:white;border:1px solid var(--line);padding:8px 14px;color:var(--navy)}.hero{max-width:1440px;margin:auto;display:grid;grid-template-columns:1.04fr 1fr;background:var(--ice)}.hero-copy{padding:70px 52px 65px max(40px,calc((100vw - 1240px)/2));align-self:center}.eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.17em;color:var(--blue);margin-bottom:23px}.hero-copy p{max-width:580px;font-size:17px;color:var(--muted)}.hero-actions{display:flex;flex-wrap:wrap;gap:20px;align-items:center;margin-top:32px}.button{background:var(--blue);color:white;display:inline-flex;justify-content:center;align-items:center;gap:24px;min-height:54px;padding:15px 24px;font-size:16px;font-weight:700;border:0;white-space:nowrap}.button:hover{background:var(--navy);text-decoration:none}.hours-note{font-size:12px;color:var(--muted)}.hero-visual{position:relative;min-height:540px;overflow:hidden}.hero-visual img{height:100%;width:100%;object-fit:cover;object-position:center}.hero-visual .asset-image{height:100%}.image-note{position:absolute;bottom:25px;left:25px;right:25px;background:white;color:var(--navy);padding:14px 20px;font-size:14px;font-weight:700;border-left:4px solid var(--blue)}.hero-contact{display:block}.hero-contact .hero-copy{padding:65px max(40px,calc((100vw - 1240px)/2));max-width:1080px}.content-wrap{max-width:1240px;margin:auto;padding:64px 40px 80px}.service-intro{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:30px}.service-intro p{max-width:330px;color:var(--muted)}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:64px}.service-card{position:relative;border:1px solid var(--line);padding:30px;color:var(--ink);min-height:240px;transition:background .15s}.service-card:first-child{background:var(--navy);color:white;grid-column:span 2}.service-card:first-child h3,.service-card:first-child .service-number{color:white}.service-card:hover{text-decoration:none;background:var(--ice)}.service-card:first-child:hover{background:#123e68}.service-card p{font-size:14px;max-width:390px;padding-right:10px}.service-number{display:block;font-size:12px;letter-spacing:.18em;color:var(--blue);margin-bottom:25px}.service-arrow{position:absolute;right:25px;bottom:25px;font-size:25px;color:var(--sky)}.editorial-section{display:grid;grid-template-columns: .78fr 1.2fr;gap:70px;border-top:1px solid var(--line);padding:48px 0}.section-body{color:var(--muted);font-size:16px}.section-title h2{max-width:400px}.wide-photo{margin:20px 0 50px}.wide-photo img{width:100%;max-height:600px;object-fit:cover}.asset-caption{font-size:11px;color:var(--muted);padding-top:10px;line-height:1.4}.city-strip{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 45px}.city-strip span{padding:12px 20px;background:var(--ice);font-size:14px;font-weight:700;color:var(--navy)}.call-band{margin-top:40px;background:var(--ice);border-left:5px solid var(--blue);padding:38px 40px;display:flex;align-items:center;justify-content:space-between;gap:25px}.call-band h2{margin-bottom:12px}.call-band p{color:var(--muted)}.map-section{max-width:1240px;padding:0 40px 70px;margin:auto}.map-top{display:flex;gap:30px;justify-content:space-between;align-items:end;margin-bottom:25px}.map-top h2{margin-bottom:8px}.map-top p{color:var(--muted);font-size:14px;max-width:600px}.map-frame{width:100%;height:330px;border:1px solid var(--line);display:block}.map-link{font-weight:700;font-size:14px;white-space:nowrap}.site-footer{background:#fff;border-top:1px solid var(--line);color:var(--ink)}.footer-inner{max-width:1240px;margin:auto;padding:52px 40px;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:60px}.footer-logo{width:190px;margin-bottom:20px}.footer-title{font-size:16px;font-weight:700;color:var(--navy);margin-bottom:10px}.footer-inner p,.footer-inner address{font-size:14px;color:var(--muted);font-style:normal;overflow-wrap:anywhere}.footer-inner a{color:var(--navy)}.footer-inner ul{list-style:none;padding:0;margin:0;font-size:14px}.footer-inner li{margin-bottom:7px}.footer-bottom{border-top:1px solid var(--line);max-width:1160px;margin:auto;padding:20px 0;font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:20px}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:45px}.contact-card{background:var(--ice);padding:26px}.contact-card a{overflow-wrap:anywhere;font-weight:700}.contact-card h2{font-size:23px}.contact-card p{font-size:14px}.breadcrumb{max-width:1240px;padding:15px 40px;margin:auto;font-size:12px;color:var(--muted)}.generic-content{max-width:1000px;margin:auto;padding:50px 40px}.generic-content h1{font-size:44px}.generic-content ul{padding-left:24px}.wp-caption{max-width:100%}.aligncenter{margin:auto}body.admin-bar .site-header{position:relative}
@media(min-width:1441px){.hero-copy{padding-left:75px}}
@media(max-width:1100px){.header-inner{padding:16px 24px;flex-wrap:wrap}.header-nav ul{gap:16px}.header-call{display:none}.hero-copy{padding:45px 30px}.hero-visual{min-height:510px}.editorial-section{gap:40px}.footer-inner{gap:35px}.button{white-space:normal;text-align:center}}
@media(max-width:800px){.header-inner{padding:12px 22px}.brand img{width:140px;max-height:78px}.menu-toggle{display:block}.header-nav{width:100%}.header-nav ul{gap:10px 20px;flex-wrap:wrap;justify-content:center;padding:10px 0}.js .header-nav{display:none}.js .header-nav.is-open{display:block}.hero{grid-template-columns:1fr}.hero-copy{padding:44px 24px}.hero-visual{min-height:0;height:360px}.content-wrap{padding:45px 24px 55px}.service-intro{display:block}.service-intro p{max-width:none}.service-grid{grid-template-columns:1fr 1fr}.service-card:first-child{grid-column:span 2}.service-card{padding:25px;min-height:225px}.editorial-section{grid-template-columns:1fr;gap:0;padding:35px 0}.section-title h2{max-width:none;margin-bottom:20px}.call-band{padding:30px 25px;display:block}.call-band .button{margin-top:25px}.map-section{padding:0 24px 45px}.map-top{display:block}.map-link{display:inline-block;margin-top:15px}.map-frame{height:300px}.footer-inner{padding:35px 24px;grid-template-columns:1fr 1fr;gap:30px}.footer-brand{grid-column:span 2}.footer-bottom{margin:0 24px;display:block}.footer-bottom span{display:block;margin-bottom:8px}.contact-grid{grid-template-columns:1fr}.breadcrumb{padding:12px 24px}.hero-contact .hero-copy{padding:45px 24px}}
@media(max-width:440px){.service-grid{grid-template-columns:1fr}.service-card:first-child{grid-column:auto}.service-card{min-height:190px}.footer-inner{grid-template-columns:1fr}.footer-brand{grid-column:auto}.hero-visual{height:290px}.hero-actions{gap:13px}.hero-copy h1{font-size:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.service-card{transition:none}}

/* Bluehaven 1.1 — photography stage, floating introduction, and modular content. */
body{background:#f5f9fc}
.site-header{position:relative;z-index:10}
.header-inner{padding-top:14px;padding-bottom:14px}
.hero{display:block;position:relative;min-height:650px;max-width:none;background:var(--navy);padding:65px max(40px,calc((100vw - 1240px)/2));overflow:hidden}
.hero-visual{position:absolute;right:max(40px,calc((100vw - 1240px)/2));top:50px;bottom:50px;width:min(74%,900px);height:auto;min-height:0;overflow:hidden;border:1px solid #284d70}
.hero-visual .asset-image{height:100%;background:var(--navy)}
.hero-visual img{height:100%;width:100%;object-fit:contain;object-position:center}
.hero-copy{position:relative;z-index:2;background:white;max-width:535px;padding:45px 42px;margin-top:25px;border-top:5px solid var(--sky);box-shadow:0 20px 60px #00192b33;align-self:auto}
.hero-copy h1{font-size:clamp(38px,4.1vw,60px);line-height:1.04}
.hero-copy p{font-size:16px}
.hero-actions{display:block;margin-top:25px}.hero-actions .hours-note{display:block;margin-top:12px}
.image-note{display:none}
.hero-contact{min-height:0;background:var(--navy);padding:48px max(40px,calc((100vw - 1240px)/2))}
.hero-contact .hero-copy{max-width:none;margin:0;padding:38px 42px;display:grid;grid-template-columns:1fr 1fr;gap:0 40px}
.hero-contact .eyebrow,.hero-contact h1{grid-column:1}.hero-contact h1{grid-row:2/4;margin:0}.hero-contact p{grid-column:2;grid-row:1/3;align-self:center}.hero-contact .hero-actions{grid-column:2;grid-row:3;margin-top:10px}
.content-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:65px;padding-bottom:65px}
.service-intro{grid-column:1/-1;margin:0 0 4px}.service-intro h2{margin-bottom:0}
.service-grid{grid-column:1/-1;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 26px}
.service-card,.service-card:first-child{grid-column:auto;background:white;color:var(--ink);padding:24px 21px;min-height:285px;border-top:3px solid var(--blue)}
.service-card:first-child h3,.service-card:first-child .service-number{color:var(--navy)}
.service-card:hover,.service-card:first-child:hover{background:var(--ice)}
.service-card h3{font-size:22px;min-height:50px;margin-bottom:15px;letter-spacing:-.03em}
.service-card p{font-size:13px;line-height:1.65;padding:0}
.service-number{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;letter-spacing:.06em;margin-bottom:20px}
.service-arrow{right:20px;bottom:14px;color:var(--blue)}
.editorial-section{display:block;padding:34px 36px;background:white;border:1px solid var(--line);border-top:3px solid var(--sky)}
.section-title h2{font-size:32px;max-width:none;margin-bottom:22px}
.section-title .eyebrow{font-size:10px;margin-bottom:17px}.section-body{font-size:16px;line-height:1.8}
.section-5{grid-column:1/-1;display:grid;grid-template-columns:.8fr 1.2fr;gap:55px;background:var(--ice)}
.wide-photo{grid-column:1/-1;margin:5px 0 10px;background:white}
.wide-photo img{max-height:none;width:100%;object-fit:contain}.wide-photo .asset-caption{padding:12px 15px}
.city-strip,.contact-grid,.call-band{grid-column:1/-1}
.city-strip{margin:0;background:white;padding:20px;border:1px solid var(--line)}
.city-strip span{border-radius:0;background:var(--ice)}
.call-band{margin:10px 0 0;background:var(--navy);color:white;border:0;padding:42px}
.call-band h2,.call-band .eyebrow{color:white}.call-band p{color:#cee2f3}.call-band .button{background:var(--sky);color:var(--navy)}
.call-band .button:hover{background:white}
.map-section{padding-top:15px}.map-frame{background:white;height:320px}
.contact-grid{margin:0;gap:20px}.contact-card{background:white;border:1px solid var(--line);border-top:3px solid var(--blue)}
.footer-inner{padding-top:45px;padding-bottom:45px}.footer-logo{width:200px}
@media(min-width:1441px){.hero-copy{padding-left:42px}}
@media(max-width:1100px){.hero{padding:50px 30px;min-height:650px}.hero-visual{right:30px;left:35%;width:auto;top:40px;bottom:40px}.hero-copy{max-width:470px;padding:38px}.hero-copy h1{font-size:51px}.service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.service-card,.service-card:first-child{min-height:260px}.hero-contact .hero-copy{max-width:none}.section-5{gap:30px}}
@media(max-width:800px){.hero{display:flex;flex-direction:column-reverse;padding:24px;min-height:0;overflow:visible}.hero-visual{position:relative;top:auto;bottom:auto;left:auto;right:auto;width:100%;height:auto;min-height:0;border:0}.hero-visual .asset-image{height:auto}.hero-visual img{width:100%;height:auto;object-fit:contain}.hero-copy{width:100%;max-width:none;padding:30px;margin:0;border-top:0;border-left:4px solid var(--sky);box-shadow:none}.hero-copy h1{font-size:clamp(36px,6vw,47px)}.hero-copy p{font-size:15px}.hero-contact{padding:24px;display:block}.hero-contact .hero-copy{display:block;padding:30px}.hero-contact h1{margin-bottom:20px}.hero-contact .hero-actions{margin-top:25px}.content-wrap{gap:20px;padding:35px 24px 45px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:5px}.service-card,.service-card:first-child{grid-column:auto;min-height:265px;padding:24px 22px}.editorial-section{padding:28px;grid-column:1/-1}.section-title h2{font-size:30px}.section-5{display:block}.wide-photo{margin:0}.call-band{padding:30px}.call-band .button{margin-top:25px}.contact-grid{grid-template-columns:1fr}.map-section{padding-top:0}.footer-inner{padding-top:35px;padding-bottom:35px}}
@media(max-width:440px){.hero{padding:16px}.hero-copy,.hero-contact .hero-copy{padding:26px}.hero-copy h1{font-size:37px}.content-wrap{padding:30px 20px 40px;gap:18px}.service-grid{grid-template-columns:1fr}.service-card,.service-card:first-child{min-height:0;padding:25px 28px 36px}.service-card h3{min-height:0;margin-bottom:10px}.service-number{margin-bottom:14px}.editorial-section{padding:27px 25px}.section-title h2{font-size:29px}.section-body{font-size:15px}.city-strip{padding:14px;gap:8px}.city-strip span{padding:8px 11px;font-size:13px}}

.asset-caption,.image-note{display:none}
