/* FULL CIRCLE FOOTER — approved default.
   Load after styles.css. Shared tokens/reset/button styles come from that file.
   Edit the four variables below for map size, contact spacing and border color.
   Markup: footer.html is the reusable source; index.html contains its static copy.
*/
.residential-footer{--footer-map-width:320px;--footer-column-gap:28px;--footer-contact-inset:44px;--footer-line:#8bb7dd26;background:#0b1729;color:#fff}
.residential-footer a:focus-visible,.residential-footer button:focus-visible{outline:3px solid #69c9ff;outline-offset:4px}

/* FOOTER V2 — richer red glass band; index/default footer stays unchanged.
   About Us opts into a single entrance sweep with data-footer-motion="reveal".
   Highlights never cover content or intercept pointer events. */
.residential-footer[data-footer-version="v2"] .footer-offers{display:none}
.residential-footer[data-footer-version="v2"] .footer-contact-row{
 position:relative;isolation:isolate;overflow:hidden;
 background:radial-gradient(ellipse at 32% 0%,#fa344e66,transparent 65%),linear-gradient(112deg,#8d0b21,#cc1630 46%,#9a0b24);
 border-top:1px solid #ff81905c;border-bottom:1px solid #60071980;
 box-shadow:inset 0 1px 0 #ffffff1c,inset 0 -18px 32px #65041512;
}
.residential-footer[data-footer-version="v2"] .footer-contact-cell h3{font-size:20px;letter-spacing:-.02em;margin-bottom:10px}
.residential-footer[data-footer-version="v2"] .footer-contact-cell :is(p,a,address),
.residential-footer[data-footer-version="v2"] :is(.contact-symbol,.contact-row-note,.office-directions span){color:#fff}
/* Red HUD: neutral map imagery, ruby frame/grid and warm white location label. */
.residential-footer[data-footer-version="v2"] .office-map-hud{background:#29101c;border-color:#ff8b9980;box-shadow:0 8px 24px #4a001c50,0 0 18px #ff526526,inset 0 1px 0 #ffffff25}
.residential-footer[data-footer-version="v2"] .office-map-hud iframe{filter:invert(.9) hue-rotate(175deg) saturate(.15) brightness(.9)}
.residential-footer[data-footer-version="v2"] .office-map-grid{background:linear-gradient(#ff627518 1px,transparent 1px),linear-gradient(90deg,#ff627518 1px,transparent 1px);background-size:24px 24px;box-shadow:inset 0 0 28px #32091666}
.residential-footer[data-footer-version="v2"] .office-map-label{color:#ffe2e6;background:#390e1ee8}
.residential-footer[data-footer-version="v2"] .map-corner{border-color:#ff7b8a}
.residential-footer[data-footer-version="v2"] .office-map-scan{background:#ff7b8a;box-shadow:0 0 14px #ff415b}
/* One calm glass sweep when the About footer enters view; the map beacon ripples separately. */
.residential-footer[data-footer-version="v2"][data-footer-motion="reveal"] .footer-contact-row::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,#ffffff12 48%,transparent 65%);transform:translateX(-120%)}
.residential-footer[data-footer-version="v2"].footer-motion-visible .footer-contact-row::before{animation:footer-glass-sweep 3.2s ease-out both}
@keyframes footer-glass-sweep{to{transform:translateX(120%)}}
@media(prefers-reduced-motion:reduce){.residential-footer[data-footer-version="v2"].footer-motion-visible .footer-contact-row::before,.residential-footer[data-footer-version="v2"].footer-motion-visible .office-map-scan{animation:none}}

/* NEWSLETTER: shared typography and preview form. Layout is defined below. */

.footer-offers .eyebrow{color:#ff9ba2;font-size:10px;margin:0 0 9px}
.footer-offers h2{font-size:clamp(27px,2.5vw,35px);letter-spacing:-.04em;line-height:1.1;margin:0 0 11px}
.footer-offers h2 br{display:none}
.footer-newsletter h2{font-size:clamp(25px,2.1vw,30px)}
.footer-offers p:not(.eyebrow){font-size:13px;line-height:1.6;color:#c1cede;margin:9px 0}

.footer-newsletter .company-name{white-space:nowrap}

/* Newsletter is preview-only; footer.js never saves or sends addresses. */
#newsletter-form{display:grid;gap:6px;margin-top:12px;max-width:440px}
#newsletter-form label{font-size:11px;color:#d4deea}
.newsletter-input{display:flex;border:1px solid #637185;border-radius:9px;overflow:hidden}
.newsletter-input input{flex:1;min-width:0;border:0;background:#ffffff07;color:#fff;padding:11px 13px;font-size:13px}
.newsletter-input input::placeholder{color:#b4c1d1}
.newsletter-input button{border:0;background:var(--red);color:#fff;font-size:12px;font-weight:700;white-space:nowrap;padding:0 19px}
.newsletter-input button:hover{background:#c7111d}
.newsletter-input:focus-within{outline:2px solid #8fcafa;outline-offset:4px}
#newsletter-note,#newsletter-status{font-size:10px;margin:2px 0;line-height:1.5}
#newsletter-status:empty{display:none}

/* FOUR COLUMNS: brand, service links, explore links, and separated CTAs. */
.footer-columns{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:5%;padding-block:54px 50px}
.footer-brand img{background:#fff;border-radius:9px;padding:7px;object-fit:contain}
.footer-brand p,.footer-connect>p{font-size:13px;line-height:1.8;color:#b5c4d6;margin:18px 0}
.footer-insured{display:inline-block;color:#c4d5e9;border-left:3px solid var(--red);padding-left:10px;font-size:11px;line-height:1.8}
.footer-columns h3{font-size:17px;letter-spacing:-.02em;margin:10px 0 25px}
.footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:17px}
.footer-nav h3{margin-bottom:7px}
.footer-nav a,.footer-nav button{font-size:13px;line-height:1.5;color:#b5c4d6;background:none;border:0;padding:0;text-align:left}
.footer-nav a:before,.footer-nav button:before{content:'›';color:#ff5260;margin-right:10px;font-size:18px}
.footer-nav a:hover,.footer-nav button:hover{color:#fff}
.footer-contact-button,.footer-commercial-link a{display:inline-flex;align-items:center;gap:14px;min-height:44px;padding:12px 16px;border:1px solid;border-radius:8px;font-size:12px;font-weight:700}
.footer-contact-button{background:#fff;color:#10263f;border-color:#fff;gap:25px}
.footer-contact-button:hover{background:#e3eef9;border-color:#e3eef9}
.footer-contact-button span,.footer-commercial-link a span{color:#ff6d7b}
.footer-commercial-link{border-top:1px solid #738da752;padding-top:20px;margin-top:22px}
.footer-commercial-link p{color:#aebfd3;font-size:12px;line-height:1.6;margin:0 0 10px}
.footer-commercial-link a{background:#193653;color:#fff;border-color:#426080;padding:12px}
.footer-commercial-link a:hover{background:#254c70;border-color:#6d97bb}
.footer-domain{display:block;margin-top:10px;font-size:11px;color:#d1dfed;overflow-wrap:anywhere}
/* Social icons: current commercial-site Facebook, Instagram and LinkedIn URLs. */
.residential-socials{display:flex;gap:10px;margin-top:22px}
.residential-socials a{display:grid;place-items:center;width:37px;height:37px;border:1px solid #6e87a252;border-radius:8px;background:#ffffff06;color:#fff}
.residential-socials a:hover{background:var(--red);border-color:var(--red)}
.residential-socials svg{width:17px;height:17px;fill:currentColor}
.residential-socials a:nth-child(2) svg{fill:none;stroke:currentColor;stroke-width:1.7}

/* CONTACT ROW: call, email, hours, then the wider office/map column. Equal column insets and shared label alignment; no dividing rules.
   Copy blocks share a 101px minimum height so labels stay level beside the map. */
.footer-contact-row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,2.3fr);align-items:center;column-gap:var(--footer-column-gap);padding-block:20px;background:linear-gradient(180deg,#1b3653 0%,#1b3653 45%,#142a43 72%,#0b1729 100%);scroll-margin-top:110px}
.footer-contact-cell{display:flex;gap:12px;align-items:flex-start;min-width:0;min-height:113px;padding:6px 0}
.footer-contact-cell:first-child{padding-left:0}
.footer-contact-cell+.footer-contact-cell{padding-left:0}
.contact-symbol{color:#ff6d7b;font-size:19px;line-height:1.3}
.footer-contact-cell h3{font-size:16px;color:#fff;margin:0 0 9px}
.footer-contact-cell p,.footer-contact-cell address,.footer-contact-cell a{font-size:12px;line-height:1.75;color:#ccdaeb;margin:0;font-style:normal;overflow-wrap:anywhere}
.footer-contact-cell a:hover{color:#fff;text-decoration:underline}
.contact-row-note{display:block;font-size:11px;line-height:1.7;color:#90a7bf;margin-top:7px}
.footer-office-cell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,var(--footer-map-width));gap:32px;align-items:center;min-height:137px;padding-right:0}
.footer-office-copy{display:flex;gap:12px;align-items:flex-start;min-height:101px}
.footer-contact-cell .office-directions{display:inline-flex;align-items:center;gap:12px;color:#b6e7ff;margin-top:10px}
.office-directions span{color:#ff6379}
/* MAP HUD: real embedded map, decorative grid/corners, a red beacon with outward ripple rings.
   Change --footer-map-width above; change height here. Reduced motion is respected. */
.office-map-hud{width:var(--footer-map-width);max-width:100%;height:125px;justify-self:end;position:relative;overflow:hidden;border:1px solid #73b9e75c;border-radius:12px;background:#0c243b;box-shadow:inset 0 0 22px #46baff25,0 0 20px #49adf00b;isolation:isolate}
.office-map-hud iframe{width:100%;height:100%;border:0;filter:invert(.9) hue-rotate(175deg) saturate(.65) brightness(.85)}
.office-map-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#71c7ff0e 1px,transparent 1px),linear-gradient(90deg,#71c7ff0e 1px,transparent 1px);background-size:24px 24px;box-shadow:inset 0 0 28px #0a203a80}
.office-map-label{position:absolute;top:9px;left:11px;font-size:7px;letter-spacing:.14em;color:#bceaff;background:#0a1d30e8;padding:5px 7px;pointer-events:none}
/* Map beacon: adjust left/top to position; decorative and click-through. */
.office-map-scan{position:absolute;left:50%;top:50%;width:10px;height:10px;border-radius:50%;background:#ff415b;box-shadow:0 0 14px #ff415b;pointer-events:none;transform:translate(-50%,-50%);animation:office-map-beacon 2.8s ease-in-out infinite}
.office-map-scan::before,.office-map-scan::after{content:"";position:absolute;inset:-7px;border:1px solid #ff6477;border-radius:50%;animation:office-map-ripple 2.8s ease-out infinite}
.office-map-scan::after{animation-delay:1.4s}
.map-corner{position:absolute;width:16px;height:16px;border-color:#93dcff;border-style:solid;pointer-events:none}
.corner-a{left:6px;bottom:6px;border-width:0 0 1px 1px}.corner-b{right:6px;top:6px;border-width:1px 1px 0 0}
@keyframes office-map-ripple{0%{transform:scale(.5);opacity:0}15%{opacity:.8}100%{transform:scale(4);opacity:0}}
@keyframes office-map-beacon{0%,100%{opacity:.65}50%{opacity:1}}

/* BOTTOM BAR: copyright/legal grouped left; designer credit and top link right.
   This bar stays last in the static markup. MJ link comes from the commercial site. */
.footer-base{display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;padding-block:22px;border-top:1px solid var(--footer-line);font-size:11px;color:#9fafc4}
.footer-base-left,.footer-base-right,.footer-legal{display:flex;align-items:center;flex-wrap:wrap;gap:20px}
.footer-base-left{row-gap:10px}.footer-base-right{margin-left:auto}
.footer-base a{color:#d8e5f2}.footer-base a:hover{text-decoration:underline}
.footer-top span{display:inline-grid;place-items:center;border:1px solid var(--red);width:28px;height:28px;border-radius:50%;margin-left:12px;color:#ff7180}

/* NEWSLETTER + JOURNAL ROW: 46% newsletter + three 18% story columns.
   Outer gutters use the shared normal width; thumbnails sit above story titles.
   Story markup is static in footer.html, not an automatically refreshed feed. */
.footer-offers{display:grid;border-bottom:1px solid var(--footer-line);grid-template-columns:minmax(0,46fr) minmax(0,54fr);padding:30px max(var(--section-gutter),calc((100% - var(--width-normal))/2));background:linear-gradient(90deg,#0b1729,#14263e,#0b1729)}
.footer-newsletter{padding:0 32px 0 0;background:none;min-width:0}
.footer-journal{min-width:0;padding:0}
/* Keep the story group heading available to screen readers without adding a row. */
.footer-journal>h2,.footer-journal>.eyebrow{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.footer-stories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.footer-story{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0;border-radius:8px;color:#e5edf7;font-size:13px;font-weight:700;line-height:1.5}
.footer-story img{width:80%;height:90px;object-fit:cover;border-radius:8px}
.footer-story small{display:block;font-size:10px;color:#a8c4df;font-weight:400;margin-top:8px}
.footer-story:hover{color:#fff}.footer-story:hover small{color:#ff9ba2}
@media(max-width:760px){
 .footer-offers{grid-template-columns:1fr;gap:28px;padding-block:25px}
 .footer-newsletter{padding:0}
 .footer-stories{gap:14px}.footer-story img{height:75.6px}
}
@media(max-width:560px){.footer-stories{grid-template-columns:1fr;gap:24px}.footer-story img{height:122.4px}}

/* RESPONSIVE: narrower desktop, two-column tablet, then stacked mobile. */
@media(min-width:1001px) and (max-width:1250px){
 .residential-footer{--footer-contact-inset:28px}
 .footer-office-cell{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:24px}.office-map-hud{width:100%}
}
@media(max-width:1100px){

 .footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px;padding-block:40px}
 .footer-contact-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
 .footer-contact-cell{min-height:0;padding:6px 0}.footer-contact-cell+.footer-contact-cell{padding-left:0}
 .footer-contact-row .footer-office-cell{grid-column:1/-1;margin-top:0;padding:6px 0;grid-template-columns:1fr minmax(0,320px);gap:24px}
 .footer-office-copy{min-height:0}.office-map-hud{width:100%;height:135px}
}
@media(max-width:760px){
 .footer-offers{grid-template-columns:1fr}

 
 .footer-offers h2{font-size:28px}.footer-newsletter h2{font-size:26px}
 .footer-columns{gap:30px 20px}.footer-brand,.footer-connect{grid-column:1/-1}
 .footer-columns h3{font-size:15px}.footer-nav a,.footer-nav button{font-size:12px}
 .footer-commercial-link a{line-height:1.5}.footer-base{font-size:10px;line-height:1.6}.footer-legal{gap:18px}
}
@media(max-width:560px){
 .footer-contact-row{grid-template-columns:1fr;padding-block:12px}
 .footer-contact-cell,.footer-contact-cell+.footer-contact-cell{padding:16px 0}
 .footer-contact-row .footer-office-cell{margin-top:0;grid-template-columns:1fr;padding-top:16px;gap:20px}
 .office-map-hud{height:150px}.footer-base-right{margin-left:0}
}
@media(prefers-reduced-motion:reduce){.office-map-scan,.office-map-scan::before,.office-map-scan::after{animation:none}.office-map-scan::before,.office-map-scan::after{display:none}}
