/*
Theme Name: Ricky Garage Doors Inc.
Theme URI: https://stottsatbat.net/
Author: Ricky Garage Doors Inc.
Description: A complete residential garage door repair website for Bloomfield, CT. Includes ten editable pages, responsive navigation, original branded imagery and local service structured data.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ricky-garage-doors
*/
:root{--ink:#303332;--dark:#242a29;--coral:#ff604e;--coral-dark:#be3c2e;--orange:#ffad3c;--paper:#f5f3ee;--muted:#5c6461;--line:#d8dcd6;--white:#fff;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px}button{font:inherit;color:inherit;cursor:pointer}img{display:block;max-width:100%;height:auto}figure{margin:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.1;letter-spacing:-.045em}h1{font-size:clamp(42px,4.5vw,68px);font-weight:800;margin-bottom:24px;max-width:650px}h2{font-size:clamp(28px,3vw,42px);font-weight:750}p{margin-bottom:20px}ul{padding:0;list-style:none}button,a{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #b14b00;outline-offset:5px}.wrap{width:min(var(--max),calc(100% - 88px));margin-inline:auto}.utility{background:var(--ink);color:#fff;font-size:10px;font-weight:700;letter-spacing:.12em;line-height:1.4;padding:10px 0}.utility .wrap{display:flex;justify-content:space-between;gap:12px}.utility strong{color:#ffc273;margin-left:7px}.utility-dot{color:var(--coral);padding:0 9px}.site-header{background:white;border-bottom:1px solid #e8e8e2;position:relative;z-index:30}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:26px;min-height:112px}.brand{flex:0 0 180px}.brand img{width:180px;max-height:96px;object-fit:contain}.brand a{display:block}.nav-list{display:flex;align-items:center;gap:27px;margin:0}.nav-list>li>a,.services-toggle{font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;padding:16px 0;display:block}.nav-list a[aria-current=page]{color:var(--coral-dark)}.services-toggle{border:0;background:transparent}.services-toggle span{margin-left:5px}.header-call{font-size:15px;font-weight:800;text-decoration:none;white-space:nowrap;line-height:1.3;border-left:1px solid var(--line);padding-left:25px}.header-call>span:first-child{display:block;font-size:9px;letter-spacing:.12em;color:var(--muted);margin-bottom:5px}.header-call>span:last-child{color:var(--coral-dark);margin-left:9px}.has-submenu{position:relative}.submenu{display:none;position:absolute;top:100%;left:-20px;min-width:240px;margin:0;padding:12px;background:#fff;border:1px solid var(--line);box-shadow:0 15px 30px #00000012}.services-toggle[aria-expanded=true]+.submenu{display:block}.submenu a{display:block;text-decoration:none;font-size:14px;padding:10px 12px}.submenu a:hover{background:var(--paper)}.menu-toggle{display:none}.hero{background:var(--paper);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:54px;min-height:590px}.hero-copy{padding:65px 0 54px;align-self:center}.eyebrow{display:block;font-size:10px;letter-spacing:.16em;font-weight:800;line-height:1.6;margin-bottom:22px;color:#525c57}.hero .eyebrow:before{content:'';width:24px;height:3px;background:var(--coral);display:inline-block;vertical-align:middle;margin-right:10px}.hero-lead{font-size:17px;line-height:1.7;color:#555e5a;max-width:510px}.hero-photo{position:relative;min-height:100%;margin-right:calc(-1 * max(44px,(100vw - var(--max))/2));background:#cdd0c9}.hero-photo>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.hero-photo:after{content:'';position:absolute;inset:auto 0 0;height:4px;background:linear-gradient(90deg,var(--orange),var(--coral))}.hero-photo figcaption{position:absolute;bottom:4px;left:0;right:0;display:flex;justify-content:space-between;gap:15px;padding:16px 25px;background:#242a29e8;color:#fff;font-size:8px;letter-spacing:.1em;font-weight:700}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:29px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;text-decoration:none;font-size:16px;font-weight:800;padding:17px 22px;line-height:1.4;min-height:56px;border:0}.coral{background:var(--coral);color:#242a29;transition:background .2s}.coral:hover{background:#ffad79}.text-link{font-size:12px;font-weight:700;white-space:nowrap}.hero-note{font-size:11px;color:#5b635f;margin-top:24px;display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px;background:#586e54;border-radius:100%}.breadcrumb{font-size:11px;color:#59635f;margin-bottom:26px;display:flex;flex-wrap:wrap;gap:10px}.breadcrumb a{text-decoration:none}.breadcrumb span{color:#a0a7a1}.hero-inner .hero-grid{min-height:560px}.hero-inner h1{font-size:clamp(36px,3.8vw,58px)}.hero-inner .hero-copy{padding-top:35px;padding-bottom:45px}.hero-contact .hero-grid{grid-template-columns:minmax(0,850px);min-height:440px}.hero-contact h1{font-size:clamp(44px,6vw,76px);max-width:780px}.hero-contact .hero-lead{max-width:660px}.service-strip{background:var(--dark);color:#fff}.service-strip .wrap{display:flex;justify-content:space-between;gap:24px;align-items:center;padding-top:21px;padding-bottom:21px;font-size:12px}.service-strip span:first-child{color:#ffad6f;font-size:10px;letter-spacing:.12em;font-weight:700}.service-strip span+span{border-left:1px solid #616963;padding-left:30px}.content-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:100px;padding-block:90px 85px}.page-aside{align-self:start;position:sticky;top:28px}.page-aside h2{font-size:34px;line-height:1.12;margin-bottom:20px}.page-aside p{font-size:13px;color:var(--muted)}.aside-rule{height:1px;background:var(--line);margin:35px 0 30px}.page-aside .eyebrow{margin-bottom:16px}.page-aside ul{margin:0}.page-aside li a{display:flex;justify-content:space-between;font-size:12px;text-decoration:none;padding:10px 0;border-bottom:1px solid #e5e7e1}.page-aside li a:hover{color:var(--coral-dark)}.page-content{min-width:0}.story-section{margin-bottom:46px}.story-section h2{font-size:32px;max-width:650px;margin-bottom:23px}.story-section p{font-size:15px;color:#515a55;line-height:1.85}.story-section p a{color:#923429}.story-section p strong{color:var(--ink)}.services-index{margin:45px 0 58px}.section-top h2{font-size:36px;margin-bottom:25px}.section-top .eyebrow{margin-bottom:10px}.service-rows{border-top:1px solid var(--ink)}.service-row{display:grid;grid-template-columns:38px 1fr 24px;gap:15px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);text-decoration:none;transition:padding .2s,background .2s}.service-row:hover{padding-left:12px;padding-right:12px;background:var(--paper)}.service-number{font-size:11px;font-weight:700;color:var(--coral-dark)}.service-row strong{font-size:20px;letter-spacing:-.025em;line-height:1.25;display:block}.service-row small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.arrow{font-size:22px;color:var(--coral-dark)}.detail-photo{margin:5px 0 52px;overflow:hidden}.detail-photo img{width:100%;max-height:460px;object-fit:cover;aspect-ratio:3/2}.detail-photo figcaption{font-size:12px;border-bottom:1px solid var(--line);padding:13px 0;color:var(--muted)}.comparison{position:relative}.comparison-labels{display:flex;justify-content:space-around;font-size:10px;font-weight:800;letter-spacing:.12em;background:var(--dark);color:white;padding:10px}.faq-section{border-top:1px solid var(--line);padding-top:38px;margin-top:48px}.faq-section>.eyebrow{margin-bottom:12px}.faq-section h2{font-size:36px;margin-bottom:28px}details{border-bottom:1px solid var(--line)}summary{cursor:pointer;font-weight:700;font-size:15px;padding:19px 28px 19px 0;position:relative;list-style:none;line-height:1.6}summary::-webkit-details-marker{display:none}summary:after{content:'+';position:absolute;right:4px;top:16px;font-size:22px;color:var(--coral-dark);font-weight:400}details[open] summary:after{content:'−'}details p{font-size:14px;color:var(--muted);line-height:1.8;padding-right:25px}.contact-band{background:var(--dark);color:#fff;padding:58px 0}.contact-band .wrap{display:flex;align-items:center;justify-content:space-between;gap:28px}.contact-band .eyebrow{color:#ffb271;margin-bottom:13px}.contact-band h2{font-size:clamp(30px,3.4vw,48px);margin-bottom:12px}.contact-band p{font-size:13px;color:#c6cec8;margin-bottom:0}.contact-band .button{white-space:nowrap;min-width:240px}.map-band{background:var(--paper);padding:35px 0;border-bottom:1px solid var(--line)}.map-band .wrap{display:flex;justify-content:space-between;align-items:center;gap:35px}.map-band .eyebrow{margin-bottom:7px}.map-band h2{font-size:27px;margin-bottom:10px}.map-band p{font-size:12px;margin:0;color:var(--muted)}.map-link{display:flex;align-items:center;gap:16px;text-decoration:none;padding:18px 24px;border:1px solid #aeb6ad;background:#fff;min-width:310px}.map-link svg{color:var(--coral-dark);flex-shrink:0}.map-link>span{font-size:13px;font-weight:700}.map-link small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:3px}.map-link:hover{border-color:var(--coral-dark)}.site-footer{background:#fff;padding-top:56px}.footer-grid{display:grid;grid-template-columns:1.1fr 1.25fr 1fr .7fr;gap:45px;padding-bottom:45px}.footer-name{font-size:27px;font-weight:800;letter-spacing:-.04em;line-height:1.05;text-decoration:none;display:inline-block}.footer-name span{color:var(--coral-dark)}.footer-grid p,.footer-grid address{font-size:12px;line-height:1.9;margin:17px 0 0;color:var(--muted);font-style:normal}.footer-grid h2{font-size:10px;letter-spacing:.13em;margin:0 0 19px;line-height:1.6}.footer-grid>div>a:not(.footer-name){font-size:11px}.footer-grid address{margin-top:0}.footer-grid ul{margin:0;font-size:12px;line-height:2.2}.footer-grid li a{text-decoration:none}.footer-bottom{padding-block:21px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:9px;color:var(--muted);letter-spacing:.04em}.skip-link{position:fixed;top:-100px;left:20px;background:#fff;padding:12px;z-index:100}.skip-link:focus{top:10px}.mobile-call{display:none}.generic-content{padding-block:75px;min-height:60vh}.generic-content article{max-width:800px}.admin-bar .page-aside{top:60px}
@media(min-width:1600px){.hero-photo{margin-right:calc(-1 * ((100vw - var(--max))/2))}.hero-grid{gap:65px}}
@media(max-width:1120px){.wrap{width:calc(100% - 48px)}.header-inner{gap:20px;min-height:100px}.brand{flex-basis:150px}.brand img{width:150px;max-height:85px}.nav-list{gap:20px}.header-call{font-size:13px;padding-left:18px}.hero-grid{gap:32px}.hero-photo{margin-right:-24px}.content-layout{grid-template-columns:220px minmax(0,1fr);gap:55px}.page-aside h2{font-size:29px}.hero-actions{gap:18px}.hero-actions .text-link{font-size:11px}.footer-grid{gap:25px}}
@media(max-width:900px){.header-call{display:none}.header-inner{min-height:97px}.nav-list{gap:26px}.hero-grid{min-height:570px;gap:24px}.hero-copy{padding-block:42px}h1{font-size:46px}.hero-inner h1{font-size:40px}.hero-lead{font-size:15px}.hero-photo figcaption{padding-inline:15px;font-size:7px}.hero-photo figcaption span:last-child{display:none}.content-layout{gap:35px;grid-template-columns:195px minmax(0,1fr);padding-block:65px}.page-aside h2{font-size:28px}.story-section h2{font-size:29px}.footer-grid{grid-template-columns:1fr 1fr;gap:36px}.map-band .wrap{gap:25px}.map-link{min-width:280px}.contact-band .button{min-width:220px}}
@media(max-width:700px){body{font-size:15px}.wrap{width:calc(100% - 36px)}.utility{font-size:8px;padding-block:9px;letter-spacing:.07em}.utility .wrap{align-items:center}.utility .wrap>span:first-child{max-width:195px}.utility .wrap>span:last-child{white-space:nowrap;font-size:8px}.utility-dot{padding-inline:3px}.header-inner{min-height:89px;flex-wrap:wrap}.brand{flex-basis:140px}.brand img{width:140px;max-height:77px}.menu-toggle{display:flex;align-items:center;gap:12px;background:none;border:1px solid var(--line);font-size:12px;padding:9px 12px;line-height:1.6}.menu-toggle span{font-size:16px}#main-navigation{display:none;width:100%;padding-bottom:18px}#main-navigation.is-open{display:block}.nav-list{display:block}.nav-list>li>a,.services-toggle{font-size:14px;width:100%;text-align:left;padding:12px 0;border-bottom:1px solid var(--line)}.submenu{position:static;min-width:0;box-shadow:none;border:0;background:var(--paper);padding:8px}.submenu a{padding:11px 12px}.hero-grid,.hero-inner .hero-grid{display:flex;flex-direction:column;min-height:0;gap:0}.hero-copy{padding:39px 0 34px}.hero .eyebrow{font-size:9px;margin-bottom:19px;letter-spacing:.1em}h1,.hero-inner h1{font-size:43px;line-height:1.05;letter-spacing:-.055em;max-width:540px;margin-bottom:22px}.hero-lead{font-size:15px;line-height:1.8}.hero-actions{gap:22px;margin-top:23px}.button{font-size:15px;padding:15px 19px;min-height:54px}.hero-note{margin-top:21px}.hero-photo{margin:0 -18px;min-height:290px;height:64vw;max-height:430px}.hero-photo>img{height:100%;width:100%;object-position:center 43%}.hero-photo figcaption{padding:13px 18px;font-size:8px}.hero-photo figcaption span:last-child{display:block}.service-strip .wrap{display:grid;grid-template-columns:1fr 1fr;gap:15px 18px;font-size:11px;padding-block:22px}.service-strip span+span{padding-left:13px}.service-strip span:first-child{font-size:9px}.service-strip span:nth-child(3){border-left:0;padding-left:0}.content-layout{display:flex;flex-direction:column;gap:0;padding-block:45px 50px}.page-aside{display:none}.story-section{margin-bottom:35px}.story-section h2{font-size:29px;line-height:1.16;margin-bottom:20px}.story-section p{font-size:14px;line-height:1.85}.services-index{margin-block:38px 43px}.section-top h2{font-size:31px}.service-row{padding-block:18px;grid-template-columns:28px 1fr 20px;gap:12px}.service-row strong{font-size:19px}.service-row small{font-size:11px}.detail-photo{margin-bottom:39px}.detail-photo img{max-height:360px}.faq-section{padding-top:28px;margin-top:35px}.faq-section h2{font-size:31px}.faq-section .eyebrow{font-size:9px}summary{font-size:14px}details p{font-size:13px}.contact-band{padding:39px 0}.contact-band .wrap{display:block}.contact-band h2{font-size:34px;max-width:350px}.contact-band p{max-width:330px;font-size:12px}.contact-band .button{margin-top:24px;min-width:235px}.map-band{padding:30px 0}.map-band .wrap{display:block}.map-band h2{font-size:26px}.map-band p{font-size:12px}.map-link{margin-top:23px;min-width:0;width:100%;padding:17px 19px}.site-footer{padding-top:37px;padding-bottom:57px}.footer-grid{gap:32px 20px;padding-bottom:30px}.footer-name{font-size:24px}.footer-grid h2{font-size:9px;margin-bottom:13px}.footer-grid p,.footer-grid address{font-size:11px;overflow-wrap:anywhere}.footer-grid ul{font-size:12px}.footer-bottom{display:block;padding-top:19px;font-size:8px}.footer-bottom span{display:block;margin-bottom:7px}.mobile-call{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:40;justify-content:space-between;align-items:center;background:var(--coral);color:#242a29;padding:15px 20px calc(15px + env(safe-area-inset-bottom));line-height:1.4;text-decoration:none;font-size:15px;font-weight:800;box-shadow:0 -2px 12px #00000015}.hero-contact .hero-grid{min-height:0}.hero-contact h1{font-size:47px}.breadcrumb{font-size:10px;margin-bottom:20px}.hero-inner .hero-copy{padding-top:24px}.generic-content{padding-block:45px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Keep technicians visible within the taller hero crop. */
.hero-home .hero-photo>img{object-position:right center}.hero-inner .hero-photo>img{object-position:65% center}.hero-inner .hero-photo>img[src$="cable.webp"],.hero-inner .hero-photo>img[src$="area.webp"]{object-position:left center}
.button>span,.header-call>span:last-child,.arrow{font-size:0;display:inline-block;width:9px;height:9px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(0deg);flex-shrink:0}
@media(max-width:700px){.hero-home .hero-photo>img{object-position:center center}}

.mobile-call>span,.page-aside li a>span{font-size:0;display:inline-block;width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;flex-shrink:0}

/* Full business map on the homepage and Contact page. */
.business-map{background:var(--paper);padding:40px 0;border-bottom:1px solid var(--line)}
.business-map h2{font-size:28px;margin-bottom:23px}
.business-map-frame{overflow:hidden;background:#e3e7e0;border:1px solid var(--line)}
.business-map iframe{display:block;width:100%;height:420px}
.hero-inner .hero-photo>img[src$="cable-v101.webp"]{object-position:right center}
@media(max-width:700px){.business-map{padding:29px 0}.business-map h2{font-size:25px}.business-map iframe{height:360px}.hero-inner .hero-photo>img[src$="cable-v101.webp"]{object-position:center center}}

.hero-inner .hero-photo>img[src$="roller-v101.webp"]{object-position:left center}
