.language-switch{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 11px;border:1px solid var(--blue);color:var(--blue);font:700 13px/1.2 var(--sans);white-space:nowrap;flex-shrink:0;transition:background .2s,color .2s}
.language-switch:hover{background:var(--blue);color:white}
.desktop-nav a{position:relative;padding-block:10px}
.desktop-nav a:after{content:"";position:absolute;inset:auto 0 4px;height:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.desktop-nav a:hover:after,.desktop-nav a:focus-visible:after{transform:scaleX(1)}
.project-media{transition:border-color .25s,box-shadow .25s}
.project-media:hover{border-color:var(--blue);box-shadow:4px 4px 0 var(--yellow)}
.filter,.round-button{transition:background .2s,color .2s,border-color .2s}
html[lang=es] .hero h1{font-size:clamp(49px,6.2vw,99px)}
html[lang=es] .section-heading h2{font-size:clamp(44px,6vw,90px)}
html[lang=es] .customer-review-top{flex-wrap:wrap}
html[lang=es] .contact h2{font-size:clamp(70px,8vw,125px)}
@media(max-width:1180px){.desktop-nav{display:none}.menu-toggle{display:block}.header-actions{margin-left:0}.language-switch{margin-left:auto}}
@media(max-width:700px){.header{gap:12px}.header-actions{gap:12px}.language-switch{padding:8px;font-size:12px}html[lang=es] .hero h1{font-size:10vw}html[lang=es] .section-heading h2{font-size:clamp(40px,10.5vw,64px)}html[lang=es] .faith-section>h2{font-size:clamp(40px,10vw,58px)}html[lang=es] .area-map-toolbar{flex-wrap:wrap;gap:0 14px}}
@media(max-width:420px){.header .shortlist-link{display:none}.header .brand img{width:126px}.header{padding-inline:20px;gap:10px}.header-actions{gap:0}}
@media(prefers-reduced-motion:reduce){.language-switch,.desktop-nav a:after,.project-media,.filter,.round-button{transition:none}}

/* A numbered, interactive field map in the company's own colors. */
.area-map-card{box-shadow:9px 9px 0 var(--blue);background:white}
.map-masthead{display:flex;align-items:center;gap:17px;padding:23px;background:var(--yellow);border-bottom:2px solid var(--ink)}
.map-monogram{display:flex;align-items:center;gap:6px;flex-shrink:0;color:var(--blue);font:40px/1 Anton,sans-serif;border-right:1px solid var(--ink);padding-right:17px}
.map-monogram>span{font:24px/1 var(--sans)}
.map-masthead p{font-size:10px;letter-spacing:.1em;font-weight:700;line-height:1.5;margin-bottom:5px}
.map-masthead strong{display:block;font-size:20px;line-height:1.3;letter-spacing:-.02em}
.map-edition{margin-left:auto;align-self:start;font:12px/1.5 var(--sans);white-space:nowrap}
.area-map-toolbar{background:white;color:var(--blue);border-bottom:1px solid var(--ink)}
.area-map-toolbar>span{font-weight:700}
.service-map{background:#e8e8e0}
.service-map .leaflet-tile-pane{filter:grayscale(1) sepia(.12) contrast(.9);opacity:.82}
.service-map:after{content:'N ↑';position:absolute;top:15px;right:15px;z-index:450;pointer-events:none;background:white;color:var(--blue);border:1px solid var(--ink);padding:10px;font:700 13px/1 var(--sans);box-shadow:3px 3px 0 var(--yellow)}
.linares-map-marker{background:none;border:0;display:grid;place-items:start center}
.map-pin{display:grid;place-items:center;width:36px;height:36px;background:var(--blue);color:white;border:2px solid white;box-shadow:2px 2px 0 var(--ink);transform:rotate(-45deg);border-radius:50% 50% 50% 0;transition:background .2s}
.map-pin>span{transform:rotate(45deg);font:20px/1 Anton,sans-serif}
.linares-map-marker.is-selected .map-pin{background:var(--red);box-shadow:0 0 0 5px #bb2b3526,2px 2px 0 var(--ink)}
.linares-map-marker:hover .map-pin,.linares-map-marker:focus-visible .map-pin{background:var(--red)}
.service-map .community-map-label{font:700 12px/1.4 var(--sans);text-transform:uppercase;letter-spacing:.025em;border:1px solid var(--ink);color:var(--blue);box-shadow:3px 3px 0 var(--yellow);padding:6px 9px}
.service-map .leaflet-control-zoom{border:1px solid var(--ink);border-radius:0;box-shadow:3px 3px 0 var(--blue);margin:0 16px 15px 0}
.service-map .leaflet-control-zoom a{width:44px;height:44px;line-height:44px;border-radius:0!important;background:white}
.area-map-caption{border-top:1px solid var(--ink);background:#f5f6fa}
@media(prefers-reduced-motion:reduce){.map-pin{transition:none}}

/* Phone layouts: bring the work forward and keep controls within easy reach. */
@media(max-width:700px){
  :root{--gutter:20px}
  html{scroll-padding-top:84px}
  .header{height:70px;padding-inline:20px;gap:12px}
  .header .brand img{width:126px;height:58px}
  .header-actions{gap:10px}
  .menu-toggle{width:44px;height:44px;padding:10px 5px}
  .language-switch{min-height:44px;padding:8px 10px}
  .mobile-nav{padding:12px 20px 24px}
  .mobile-nav>a{font-size:24px;padding-block:12px;min-height:52px}
  .hero{display:flex;padding:24px 20px 30px;gap:16px}
  .hero-content{display:contents}
  .hero .eyebrow{order:0;font-size:10px;line-height:1.5}
  .hero h1{order:1;font-size:clamp(42px,13vw,78px);margin:0;line-height:1.06}
  html[lang=es] .hero h1{font-size:clamp(37px,11.5vw,72px)}
  .hero-description{order:2;font-size:15px;line-height:1.6;max-width:480px}
  .hero-description br{display:block}
  .hero-photo-board{order:3;margin:9px 4px 5px 0;width:calc(100% - 4px);box-shadow:5px 5px 0 var(--blue)}
  .hero-photo-frame{aspect-ratio:4/3;padding:8px;height:auto}
  .hero-bottom{padding:10px;gap:10px;min-height:66px}
  .hero-caption{min-width:0}
  .hero-caption .eyebrow{font-size:8px}
  .hero-caption strong{font-size:13px;line-height:1.4}
  .hero-controls{gap:5px;flex-shrink:0}
  .hero-controls .round-button{width:44px;height:44px;font-size:22px}
  .hero-stamp{width:68px;height:68px;top:-17px;right:9px}
  .hero-stamp strong{font-size:25px}
  .hero-stamp span{font-size:7px;margin-top:3px}
  .hero-actions{order:4;width:100%;margin:3px 0 0;gap:12px;align-items:stretch}
  .hero-actions .button{width:100%;justify-content:space-between;font-size:12px;min-height:52px;padding:13px 16px}
  .hero-work-link{justify-content:space-between;min-height:44px;font-size:12px;padding-block:10px}
  .hero-rating{order:5;margin-top:0;font-size:11px;gap:7px}
  .proof-strip{padding:22px 20px;gap:18px 0}
  .proof-strip>div{gap:9px;align-items:center}
  .proof-strip>div>span:not(.proof-icon){font-size:11px;line-height:1.5;margin:0}
  .proof-strip .proof-icon{font-size:24px}
  .proof-strip small{font-size:10px}
  .section{padding:48px 20px}
  .section-heading{margin-bottom:25px}
  .section-heading h2,.services .section-heading h2,.service-areas .section-heading h2,.review-intro h2,.faq h2{font-size:clamp(40px,11.8vw,66px)}
  html[lang=es] .section-heading h2{font-size:clamp(37px,10.7vw,62px)}
  .section-heading .eyebrow{font-size:10px;margin-bottom:12px}
  .section-heading>p,.work .section-heading>div:last-child>p{font-size:15px;line-height:1.65;margin-top:17px;max-width:none}
  .work .section-heading>div:last-child{max-width:none}
  .work .section-heading .text-button{min-height:44px;margin-top:10px}
  .gallery-bar{padding-top:14px;margin-bottom:22px}
  .filter-list{flex-wrap:nowrap;overflow-x:auto;gap:8px;padding:5px 20px 10px;margin-inline:-20px;scroll-padding-inline:20px;scrollbar-width:thin;scrollbar-color:var(--blue) transparent;overscroll-behavior-x:contain}
  .filter{flex:0 0 auto;min-height:44px;font-size:13px;padding:9px 13px;white-space:nowrap}
  #project-results{margin-top:8px;font-size:12px}
  .project-grid,.project-grid.filtered{gap:30px 18px}
  .project-caption{padding-top:13px;gap:12px}
  .project-caption h3{font-size:22px;line-height:1.25;margin-bottom:6px}
  .project-caption p{font-size:14px;line-height:1.6}
  .project-index{display:block;font-size:22px}
  .save-project{width:44px;height:44px}
  .gallery-footer{margin-top:26px;padding-top:20px}
  .gallery-footer>.social-links a{flex:1}
  .service-card{grid-template-columns:32px minmax(0,1fr);grid-template-areas:'number title' '. description' '. tags' '. action';gap:12px 12px;padding:24px 0;min-height:0}
  .service-count{font-size:23px}
  .service-card h3{font-size:30px;line-height:1.13}
  .service-card p{font-size:15px;line-height:1.65}
  .service-card ul{margin:0;gap:4px}
  .service-card li{font-size:12px}
  .service-card>a{min-height:44px;margin-top:0;font-size:14px}
  .inspiration{margin:0;padding:30px 20px;border-inline:0;box-shadow:none}
  .inspiration-top{margin-bottom:22px;padding-bottom:15px}
  .inspiration-top .mini-note{display:none}
  .inspiration-layout{display:flex;flex-direction:column;gap:18px}
  .inspiration-copy h2{order:0;align-self:stretch;font-size:clamp(42px,12vw,65px)}
  .inspiration-copy>p:not(.inspiration-disclaimer){order:1;font-size:15px;line-height:1.65}
  .inspiration-visual{order:2;width:calc(100% - 5px);margin:0 5px 0 0}
  .inspiration-visual figcaption{margin-top:13px}
  .inspiration-copy .mood-options{order:3;width:100%;gap:11px;margin-top:4px}
  .mood-button{min-height:76px;gap:14px;padding-right:13px}
  .swatches{width:65px;height:auto;min-height:76px}
  .mood-button>span:nth-child(2){font-size:14px}
  .mood-button small{font-size:12px}
  .inspiration-copy .button{order:4;align-self:stretch;justify-content:space-between;font-size:14px}
  .inspiration-copy .inspiration-disclaimer{order:5;font-size:12px;line-height:1.6}
  .faith-section{gap:22px}
  .faith-section>h2,html[lang=es] .faith-section>h2{font-size:clamp(38px,10.8vw,62px)}
  .faith-copy>p:not(.eyebrow){font-size:15px;line-height:1.75}
  .faith-copy blockquote{font-size:21px;line-height:1.5}
  .reviews{gap:23px}
  .customer-review{padding:22px 19px;margin-right:5px;box-shadow:5px 5px 0 var(--blue)}
  .customer-review-top{flex-wrap:wrap;gap:8px;font-size:11px}
  .customer-review blockquote{font-size:27px;margin:20px 0}
  .review-summary{font-size:15px}
  .review-platforms{margin-top:0;gap:8px}
  .area-layout{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .area-directory{display:contents}
  .area-kicker{order:0}
  .area-options{order:1}
  .area-map-card{order:2;margin:0 7px 27px 0;box-shadow:6px 6px 0 var(--blue)}
  .area-directory>.button{order:3}
  .nearby-note{order:4}
  .area-source-note{order:5}
  .map-masthead{padding:18px 14px;gap:12px}
  .map-monogram{font-size:32px;padding-right:12px;gap:4px}
  .map-monogram>span{font-size:18px}
  .map-masthead p{font-size:8px;letter-spacing:.05em}
  .map-masthead strong{font-size:16px;line-height:1.4}
  .map-edition{display:none}
  .area-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 20px}
  .area-options button{display:flex;justify-content:center;padding:13px 5px;min-height:64px;border:1px solid var(--line)}
  .area-options button>span:first-child,.area-options button>span:last-child,.area-options button small{display:none}
  .area-options button>span:nth-child(2){font-size:clamp(18px,5vw,25px)}
  .area-options button[aria-pressed=true]{border-color:var(--ink)}
  .area-map-toolbar{align-items:center;flex-wrap:wrap;gap:0 12px;min-height:58px}
  .area-map-toolbar>span{padding-top:0;max-width:none}
  .area-map-toolbar button{min-height:44px}
  .service-map{height:320px}
  .area-map-caption{padding:14px}
  .nearby-note{margin-top:18px}
  .area-source-note{margin-top:8px}
  .faq-list summary{font-size:15px;line-height:1.5;padding-block:19px}
  .contact{gap:25px}
  .contact h2,html[lang=es] .contact h2{font-size:clamp(64px,18vw,108px)}
  .contact p:not(.eyebrow){margin-top:18px;font-size:15px}
  .contact-phone{font-size:clamp(32px,9vw,50px)}
  .footer{padding:32px 20px calc(155px + env(safe-area-inset-bottom))}
  .footer-top{gap:26px 22px}
  .footer-top>div:first-child{gap:20px}
  .footer-top nav{gap:0}
  .footer-top nav a{min-height:44px;display:flex;align-items:center;line-height:1.4}
  .mobile-contact{grid-template-columns:1fr 1.35fr;padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:8px;background:white;box-shadow:0 -3px 15px #16253c12}
  .mobile-contact>a{min-height:48px;padding:11px 9px;font-size:12px;border:1px solid var(--ink);line-height:1.4}
  .mobile-contact>a:last-child{background:var(--blue);border-color:var(--blue)}
  #nl-badge-frame{position:relative!important;inset:auto!important;display:block;margin:-90px 12px calc(82px + env(safe-area-inset-bottom)) auto!important;z-index:1!important}
  .toast{bottom:calc(124px + env(safe-area-inset-bottom));max-width:calc(100% - 40px)}
}

@media(max-width:370px){
  .mobile-contact>a{font-size:11px}
  .mobile-contact>a:first-child{white-space:nowrap}
}

@media(max-width:600px){
  .planner-dialog,.gallery-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;box-shadow:none;overscroll-behavior:contain}
  .planner-dialog{padding:22px 20px calc(24px + env(safe-area-inset-bottom))}
  .modal-close-rail{top:16px}
  .modal-close-rail>.close-dialog{width:44px;height:44px;margin-top:-8px;font-size:26px}
  .planner-intro{padding-right:42px}
  .planner-intro h2{font-size:36px;margin:12px 0}
  .planner-intro .eyebrow{font-size:10px}
  .planner-intro>p:last-child{font-size:14px;line-height:1.55}
  .planner-progress{margin:20px 0;gap:9px;padding-bottom:16px}
  .planner-progress li{font-size:11px;gap:6px}
  .service-options{gap:9px}
  .service-options label{min-height:67px;padding:12px;gap:12px}
  .service-options label>span{font-size:14px}
  .service-options small{font-size:12px;margin-top:3px}
  .planner-actions{position:sticky;bottom:0;background:white;border-top:1px solid var(--line);padding:14px 0 calc(10px + env(safe-area-inset-bottom));margin-top:22px;z-index:2;gap:12px}
  .planner-actions .button{min-height:50px;font-size:13px;padding:12px 14px;flex:1;justify-content:space-between;box-shadow:3px 3px 0 var(--ink)}
  .planner-actions .text-button{min-height:48px;font-size:13px}
  .planner-footer{margin-top:16px;padding-top:14px}
  .dialog-top{padding:12px 20px}
  .dialog-top .round-button,.lightbox-controls .round-button{width:44px;height:44px;flex-shrink:0}
  .dialog-top>span{font-size:10px}
  .lightbox-stage{padding:16px 20px 76px}
  .lightbox-stage>img{height:38svh;min-height:150px}
  .lightbox-info{padding:24px 20px calc(24px + env(safe-area-inset-bottom))}
  .lightbox-info h2{font-size:36px}
  .verse-dialog{padding:45px 22px 24px}
  .verse-actions>*{min-height:44px;display:inline-flex;align-items:center}
}

/* One gallery rhythm across categories and languages; full photos stay uncropped. */
#work .project-grid,#work .project-grid.filtered[data-visible="1"]{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:34px 24px}
#work .project-grid .project-card:nth-child(n){grid-column:auto;align-self:stretch;min-width:0}
#work .project-grid .project-card:nth-child(n) .project-media{height:auto;aspect-ratio:4/5;background:#f1f3f4}
#work .project-media>a{position:absolute;inset:10px;display:block;width:auto;height:auto}
#work .project-media img{width:100%;height:100%;object-fit:contain;object-position:center;transform:none}
#work .project-caption{gap:12px;padding-top:16px}
#work .project-caption>div{min-width:0}
#work .project-caption h3{font-size:22px;line-height:1.25;min-height:2.5em;margin-bottom:7px}
#work .project-caption p{font-size:14px;line-height:1.6}
#work .project-index{display:block;font-size:24px;line-height:1.15}
#work .save-project{width:44px;height:44px;top:14px;right:14px}
#work .project-category{font-size:12px;line-height:1.4;left:14px;bottom:14px;padding:6px 10px;max-width:calc(100% - 28px)}
@media(max-width:1000px){#work .project-caption h3{font-size:20px}}
@media(max-width:600px){
  #work .project-grid,#work .project-grid.filtered[data-visible="1"]{grid-template-columns:minmax(0,1fr);gap:28px}
  #work .project-caption h3{font-size:22px;min-height:0}
  #work .project-media>a{inset:8px}
}
