/* Heartland additions: phone, call bar, projects gallery, form errors (v1.9) */
.nav-phone{display:inline-flex;align-items:center;gap:8px;color:var(--gold-light)!important;font-weight:700!important;letter-spacing:.06em!important;font-size:12px!important;white-space:nowrap}
.nav-phone svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7}
.hero-call svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7}
.phone-link,.footer-phone{color:var(--gold-light);font-weight:700}
.footer-links .footer-phone{color:var(--gold-light)}
.call-bar{display:none}
.field-error{margin:6px 0 0;font-size:12px;line-height:1.5;color:#ffb4a6;font-weight:600}
.interior-page .field-error,.field-error{color:#ffb4a6}
input[aria-invalid="true"],textarea[aria-invalid="true"]{border-color:#e58b79!important;box-shadow:0 0 0 3px rgba(229,139,121,.18)!important}
.privacy-page .interior-page{background:#f1ede5}
.privacy-page .interior-page ul{padding-left:22px}
.site-footer .footer-bottom a{color:var(--gold-light);text-decoration:underline}
@media(max-width:1180px){.nav-phone span{display:none}.nav-phone{width:42px;height:42px;justify-content:center;border:1px solid var(--line)}}
@media(max-width:1020px){.nav-phone{width:auto;height:auto;border:0;justify-content:flex-start}.nav-phone span{display:inline}}
@media(max-width:700px){.call-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 16px calc(env(safe-area-inset-bottom,0px));background:linear-gradient(135deg,#d5ac69,#ebc27d);color:#1b1a17;font-weight:800;font-size:14px;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 -6px 22px rgba(0,0,0,.35);text-decoration:none}.call-bar svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8}body{padding-bottom:56px}.floating-top{bottom:74px}}
a.project{color:inherit}.projects-cta{display:flex;justify-content:center;margin-top:34px}
@media(min-width:1021px){.projects-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.projects-grid .project{grid-column:auto}}
.interior-page.gallery-page{padding-top:20px}.gallery-cta{text-align:center;padding:60px 0 20px}.gallery-cta h2{font-size:clamp(34px,4vw,50px);margin:0 0 20px}
.gallery-section{padding:70px 0 10px}.gallery-section h2{margin:0 0 8px}.gallery-section>.container>p{max-width:640px;margin:0 0 28px}
.lightbox{position:fixed;inset:0;z-index:100;background:rgba(5,9,10,.94);display:none;align-items:center;justify-content:center;padding:30px}.lightbox.open{display:flex}.lightbox img{max-width:100%;max-height:100%;object-fit:contain}.lightbox button{position:absolute;top:18px;right:22px;background:none;border:1px solid var(--line);color:#fff;width:44px;height:44px;font-size:22px;cursor:pointer}
.g-head{display:flex;gap:22px;align-items:flex-end;margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid rgba(26,37,34,.16)}
.g-num{font:500 56px/0.9 'Bodoni Moda','Cormorant Garamond',Georgia,serif;color:#c9a16a}
.gallery-section h2{font-family:'Bodoni Moda','Cormorant Garamond',Georgia,serif;font-weight:500;font-size:clamp(30px,3.2vw,42px);letter-spacing:-.02em;line-height:1.1;margin:0 0 6px;color:#151c1c}
.gallery-section .g-head p{margin:0;font-size:14px;line-height:1.6;color:#5f6964;max-width:620px}
.gallery{columns:4 220px;column-gap:18px}
.gallery figure{margin:0 0 18px;break-inside:avoid;background:#fff;border:1px solid #e0dccf;cursor:default;overflow:hidden;position:static}
.gallery .g-img{overflow:hidden;cursor:zoom-in;background:#e4dfd3}
.gallery .g-img img{width:100%;height:auto;display:block;transition:transform .5s}
.gallery figure:hover .g-img img{transform:scale(1.04)}
.gallery figcaption{position:static;background:none;padding:13px 15px 15px;color:#172020;display:flex;flex-direction:column;gap:4px;font-size:inherit;letter-spacing:0}
.gallery figcaption span{font:700 9px/1.3 'DM Sans',Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#a67b44}
.gallery figcaption strong{font:500 19px/1.25 'Bodoni Moda','Cormorant Garamond',Georgia,serif;letter-spacing:-.01em;color:#172020}
@media(max-width:700px){.gallery{columns:2 150px;column-gap:12px}.gallery figure{margin-bottom:12px}.gallery figcaption{padding:10px 11px 12px}.gallery figcaption strong{font-size:16px}.g-num{font-size:40px}.g-head{gap:14px}}
/* Projects gallery v3: uniform smaller tiles */
.gallery{columns:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.gallery figure{margin:0;break-inside:auto}
.gallery .g-img{aspect-ratio:4/5}
.gallery .g-img img{height:100%;object-fit:cover}
.gallery figcaption strong{font-size:17px}
@media(max-width:700px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery figcaption strong{font-size:15px}}
.hcg-form-errors{margin:0 0 22px;padding:16px 18px;border:1px solid #e58b79;background:rgba(229,139,121,.1);color:#ffd9d1;font-size:14px;line-height:1.6}.hcg-form-errors strong{display:block;margin-bottom:6px;color:#fff}.hcg-form-errors ul{margin:0;padding-left:20px}
.hero-call svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7;margin-right:6px;vertical-align:-3px}
.hcg-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media(max-width:700px){.hcg-two-col{grid-template-columns:1fr}}
.hcg-privacy-page ul{padding-left:22px}

.gallery-section{padding:64px 0 6px}

/* ---------- v2.0: water/mold band, service pages, thank-you page ---------- */
.hcg-urgent-band{background:#151c1d;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:34px 0}
.hcg-urgent-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.hcg-urgent-band .eyebrow{margin:0 0 6px}
.hcg-urgent-band h2{margin:0;font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:clamp(24px,2.6vw,34px);line-height:1.2;color:var(--text)}
.hcg-urgent-actions{display:flex;gap:12px;flex-wrap:wrap}
.service-card--urgent{border-top:3px solid var(--gold)}
.hcg-urgent-cta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:40px 0 0;padding:22px 24px;background:#fff;border:1px solid #e0dccf}
.hcg-urgent-cta span{font-size:14px;color:#5f6964}
.interior-page .hcg-urgent-cta a.button{color:#1b1a17;text-decoration:none}
.hcg-thanks .page-content{max-width:780px}
.hcg-thanks-card{background:#fff;border:1px solid #e0dccf;padding:48px 44px;text-align:center}
.hcg-thanks-card h2{margin:18px 0 12px}
.hcg-thanks-check{display:inline-flex;width:64px;height:64px;border-radius:50%;align-items:center;justify-content:center;background:rgba(202,161,94,.14);border:1px solid var(--gold)}
.hcg-thanks-check svg{width:30px;height:30px;fill:none;stroke:#a67b44;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hcg-thanks-steps{text-align:left;max-width:560px;margin:28px auto;padding-left:22px}
.hcg-thanks-steps li{margin-bottom:8px}
.hcg-thanks-steps strong{color:#172020}
.hcg-thanks-urgent{font-weight:600;color:#172020!important}
.hcg-thanks-actions{display:flex;gap:14px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:18px}
.interior-page .hcg-thanks-actions a.button{text-decoration:none}
.interior-page .hcg-thanks-actions a.button.primary{color:#1b1a17}
@media(max-width:700px){.hcg-thanks-card{padding:34px 22px}.hcg-urgent-actions .button{flex:1 1 100%;justify-content:center}}
.footer-top{grid-template-columns:1.6fr 1fr 1fr 1fr;gap:48px}
@media(max-width:1020px){.footer-top{grid-template-columns:1fr 1fr 1fr;gap:30px}.footer-top>div:first-child{grid-column:1/-1}}
@media(max-width:700px){.footer-top{grid-template-columns:1fr 1fr}}
.interior-page .hcg-thanks-actions a.button.secondary,.interior-page .hcg-urgent-cta a.button.secondary{background:transparent;color:#172020;border-color:#b89462}
.interior-page .hcg-thanks-actions a.button.secondary:hover{background:var(--gold);color:#161817}

/* ---------- v2.1: mobile speed and ease of use ---------- */
.nav-mobile-only{display:none!important}
@media(max-width:1020px){
 .site-nav .nav-mobile-only{display:block!important}
 .site-nav a{min-height:46px;display:flex;align-items:center}
}
@media(max-width:700px){
 /* Show content immediately instead of fading it in while scrolling. */
 .hcg-reveal{opacity:1!important;transform:none!important;transition:none!important}
 /* Light portrait hero for phones (31 KB instead of 116 KB). */
 .hero{background-image:linear-gradient(90deg,rgba(2,7,8,.78) 0%,rgba(3,8,8,.48) 49%,rgba(3,8,8,.12) 100%),url('hero-mobile.webp');background-position:center,center}
 .page-hero{background-image:linear-gradient(90deg,rgba(8,14,15,.84),rgba(8,14,15,.43)),url('hero-mobile.webp');padding:130px 0 48px}
 .page-hero h1{font-size:clamp(40px,11vw,56px)}
 /* Back-to-top is not needed with the call bar and it covered buttons. */
 .floating-top{display:none!important}
 /* Shorter, easier-to-scan service cards; the whole card is tappable. */
 .service-card{padding:22px 22px 18px;min-height:0;position:relative}
 .service-card .card-number{font-size:22px}
 .service-card h3{font-size:23px;margin:6px 0 6px}
 .service-card p{margin-bottom:6px;font-size:14px;line-height:1.65}
 .service-card .text-link:after{content:'';position:absolute;inset:0}
 .services-grid{gap:12px}
 .section{padding-block:64px}
 .section-heading{margin-bottom:32px}
 /* Comfortable tap targets (44px+). */
 .text-link{min-height:44px}
 .footer-links{gap:0}
 .footer-links a{display:flex;align-items:center;min-height:44px;font-size:14px}
 .footer-bottom a{display:inline-block;padding:12px 0}
 .info-line a,.hcg-urgent-cta a{min-height:44px}
 /* 16px fields stop iPhones from zooming in when a field is tapped. */
 .premium-inquiry .field input,.premium-inquiry .field select,.premium-inquiry .field textarea,.field input,.field textarea,.field select{font-size:16px}
 .premium-inquiry .hcg-choice-face{min-height:54px;padding:12px 16px}
 /* Skip rendering work for sections until they are close to the screen. */
 .projects,.process,.area-section,.site-footer{content-visibility:auto;contain-intrinsic-size:auto 1100px}
}
