/* ===== Alignment fixes (loaded after lewis.css) ===== */

/* Service cards: static and fully readable */
.service1-section-area .service-boxarea { overflow: hidden; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(3,7,30,.08); height: calc(100% - 30px); display: flex; flex-direction: column; }
.service1-section-area .service-boxarea .img1 img { height: 100%; }
.service1-section-area .service-boxarea .content-area { position: static; height: auto !important; text-align: left; padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.service1-section-area .service-boxarea .content-area p { color: var(--ztc-text-text-3); line-height: 1.65; margin: 0; }
.service1-section-area .service-boxarea .content-area .space16 { flex: 1; min-height: 16px; }
.service1-section-area .service-boxarea .content-area .head { line-height: 1.3; }
.service1-section-area .service-boxarea .content-area .readmore { visibility: visible; opacity: 1; position: static; bottom: auto; height: auto; padding-top: 0; }
.service1-section-area .service-boxarea .arrow { display: none; }
.service1-section-area .service-boxarea:hover .img1 img { transform: scale(1.06); }
.service1-section-area .service-boxarea:hover .img1::after { height: 0; }
.service1-section-area .row > [class*="col-"]:has(> .service-boxarea) { display: flex; }
.service1-section-area .row > [class*="col-"] > .service-boxarea { width: 100%; }

/* Project slider captions */
.project1-section-area .swiper-slide .content-area { padding: 22px 26px 26px; width: 100%; background: linear-gradient(0deg, rgba(3,7,30,.95), rgba(3,7,30,.6) 70%, rgba(3,7,30,0)); }
.project1-section-area .swiper-slide .content-area p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project1-section-area .swiper-slide .img1 img { height: 100%; }

/* Why-choose thumbnails and image grid */
.choose6-section-area .choose-header .list-area { min-height: 90px; }
.choose6-section-area .choose-header .list-area .icons { left: 0; top: 0; }
.choose6-section-area .choose-header .list-area .text { padding-left: 114px; }
.choose6-section-area .choose-header .list-area .text a { margin-bottom: 8px; line-height: 1.3; }
.choose6-section-area .choose-header .list-area .text p { margin: 0; }
.choose6-section-area .choose-images .img1 { overflow: hidden; border-radius: 10px; }
.choose6-section-area .choose-images .img1 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.choose6-section-area .choose-images .col-lg-6 .img1 { aspect-ratio: 3/4; }
.choose6-section-area .choose-images > .row > .img1 { aspect-ratio: 16/9; margin: 0 12px; width: calc(100% - 24px); padding: 0; }

/* About block (home + about) */
.lw-about .lw-about-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.lw-about .lw-about-media figure { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 16px 40px rgba(3,7,30,.15); background: #fff; }
.lw-about .lw-about-media img { width: 100%; display: block; object-fit: cover; }
.lw-about .lw-about-media .tall img { aspect-ratio: 3/4; }
.lw-about .lw-about-media .short img { aspect-ratio: 4/3; }
.lw-about .lw-about-media figcaption { padding: 12px 14px; font-weight: 700; text-align: center; color: var(--ztc-text-text-2); }
.lw-about .lw-badge { position: absolute; left: -18px; top: 28px; background: var(--ztc-bg-bg-3); padding: 20px 24px; border-radius: 10px; text-align: center; box-shadow: 0 12px 30px rgba(3,7,30,.2); z-index: 2; }
.lw-about .lw-badge h3 { margin: 0; font-size: 40px; line-height: 1; color: var(--ztc-text-text-2); }
.lw-about .lw-badge p { margin: 6px 0 0; font-weight: 700; color: var(--ztc-text-text-2); }
.lw-about .lw-mini-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 26px; }
.lw-about .lw-mini-stats div h4 { margin: 0; font-size: 34px; color: var(--ztc-text-text-2); }
.lw-about .lw-mini-stats div p { margin: 0; color: var(--ztc-text-text-3); }
@media (max-width: 575px) { .lw-about .lw-badge { left: 8px; top: 8px; padding: 12px 16px; } .lw-about .lw-badge h3 { font-size: 28px; } }

/* Misc */
.lw-promise-graphic { text-align: center; }
.lw-promise-graphic img { width: auto; max-width: 100%; max-height: 560px; display: block; margin: 0 auto; box-shadow: none; }
.lw-split-img { height: 100%; }
.team1-section-area .lewis-director-photo .img1 img { aspect-ratio: 3/4; object-position: top; }
.lw-top-slide img { object-position: center 40%; }

.lewis-director-photo { max-width: 460px; }
.lewis-director-photo .img1 img { aspect-ratio: 4/5 !important; }

/* Projects page: static, uniform cards */
.project2-section-inner-area .project-boxarea { height: calc(100% - 30px); background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(3,7,30,.08); display: flex; flex-direction: column; }
.project2-section-inner-area .project-boxarea .img1 { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.project2-section-inner-area .project-boxarea .img1 img { height: 100%; width: 100%; }
.project2-section-inner-area .project-boxarea:hover .img1 img { transform: scale(1.06); }
.project2-section-inner-area .project-boxarea:hover .img1::after { opacity: 0; }
.project2-section-inner-area .project-boxarea .content-area { position: static; background: transparent; display: flex; flex-direction: column; padding: 24px 26px 28px; flex: 1; }
.project2-section-inner-area .project-boxarea:hover .content-area { bottom: auto; }
.project2-section-inner-area .project-boxarea .content-area a.head { line-height: 1.3; font-size: 22px; }
.project2-section-inner-area .project-boxarea .content-area p { color: var(--ztc-text-text-3); line-height: 1.65; margin: 0; }
.project2-section-inner-area .project-boxarea .content-area .space16 { flex: 1; min-height: 16px; }
.project2-section-inner-area .row > [class*="col-"]:has(> .project-boxarea) { display: flex; }
.project2-section-inner-area .row > [class*="col-"] > .project-boxarea { width: 100%; }

/* Quote page */
.lw-quote-form .nice-select { width: 100%; float: none; height: auto; line-height: 1.4; padding: 16px 40px 16px 18px; border: 1px solid rgba(3,7,30,.15); border-radius: 0; }
.lw-quote-form .nice-select .list { width: 100%; max-height: 260px; overflow-y: auto; }
.lw-quote-form .input-area { margin-bottom: 20px; }
.lw-side-card strong { color: #fff; }
.lw-short { height: auto; }
.lw-short img { min-height: 0 !important; aspect-ratio: 4/3; height: auto; }
.lw-side-card .lw-check li strong { color: #fff; }
.works-section-area .lw-head p { color: rgba(255,255,255,.8); }

/* ===== Single hero carousel ===== */
.lw-hero { position: relative; background: var(--ztc-bg-bg-2); }
.lw-hero-swiper { width: 100%; height: clamp(560px, 92vh, 760px); }
.lw-hero-swiper .swiper-slide { position: relative; overflow: hidden; }
.lw-hero-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: center 40%; }
.lw-hero-swiper .swiper-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,7,30,.85) 0%, rgba(3,7,30,.55) 45%, rgba(3,7,30,.15) 100%); }
.lw-slide-tag { position: absolute; z-index: 3; right: 40px; bottom: 44px; background: var(--ztc-bg-bg-3); color: var(--ztc-text-text-2); font-weight: 700; padding: 10px 18px; border-radius: 4px; }
.lw-hero-content { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; padding-top: 110px; pointer-events: none; }
.lw-hero-text { max-width: 680px; color: #fff; pointer-events: auto; animation: lwUp .9s ease both; }
.lw-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ztc-text-text-4); font-weight: 700; letter-spacing: .5px; margin-bottom: 16px; }
.lw-hero-text h1 { color: #fff; font-size: clamp(32px, 5vw, 62px); line-height: 1.1; margin: 0 0 20px; font-weight: 800; }
.lw-hero-text p { color: rgba(255,255,255,.9); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; margin: 0 0 30px; }
.lw-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.lw-hero-swiper .swiper-pagination { bottom: 22px !important; z-index: 5; }
.lw-hero-swiper .swiper-pagination-bullet { background: #fff; opacity: .6; }
.lw-hero-swiper .swiper-pagination-bullet-active { background: var(--ztc-bg-bg-3); opacity: 1; }
.lw-hero-swiper .swiper-button-prev, .lw-hero-swiper .swiper-button-next { color: #fff; z-index: 5; transform: scale(.7); }
.lw-stats-hero { padding: 40px 0 10px; }
@keyframes lwUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .lw-hero-swiper { height: clamp(520px, 86vh, 640px); }
  .lw-hero-content { padding-top: 90px; align-items: flex-end; padding-bottom: 60px; }
  .lw-hero-swiper .swiper-button-prev, .lw-hero-swiper .swiper-button-next { display: none; }
  .lw-slide-tag { right: 16px; top: 100px; bottom: auto; font-size: 13px; padding: 6px 12px; }
  .lw-hero-text p { font-size: 15px; margin-bottom: 22px; }
  .lw-hero-btns .header-btn1 { padding: 14px 16px; font-size: 16px; }
  .lw-stat h3 { font-size: 34px; }
}

/* ===== Tighter section spacing (no big empty gaps) ===== */
.sp1 { padding: 70px 0 70px; }
.sp2 { padding: 70px 0 50px; }
.sp4 { padding: 60px 0 60px; }
@media (max-width: 767px) { .sp1 { padding: 45px 0; } .sp2 { padding: 45px 0 30px; } .sp4 { padding: 40px 0; } }
.space-margin60 { margin-bottom: 40px; }
.lw-head { margin-bottom: 40px; }

/* Projects slider: clean sliding cards (no 3D tilt) */
.project1-section-area .swiper { padding: 0 15px 50px; overflow: hidden; }
.project1-section-area .swiper-slide.swiper-slide-visible.swiper-slide-next,
.project1-section-area .swiper-slide.swiper-slide-visible.swiper-slide-prev { transform: none !important; }
.project1-section-area .swiper-slide.swiper-slide-visible.swiper-slide-active img { transform: none; }
.project1-section-area .swiper-slide { border-radius: 12px; height: auto; }
.project1-section-area .swiper-slide .img1 { aspect-ratio: 4/3; }
.project1-section-area .swiper-slide .img1::after { display: none; }
.project1-section-area .swiper-slide .content-area { bottom: 0 !important; left: 0; }
.project1-section-area .swiper-pagination { bottom: 8px !important; }
.project1-section-area { overflow: hidden; }

/* CTA band background (replaces missing placeholder image) */
.cta1-section-area { background: linear-gradient(rgba(3,7,30,.88), rgba(3,7,30,.88)), url(../img/lewis/prem-exterior.jpg) center/cover no-repeat !important; }
.cta1-section-area .cta-header h2 { color: #fff; }
.cta1-section-area .btn-area { display: flex; flex-wrap: wrap; gap: 12px; }
.mapouter, .gmap_canvas { width: 100%; }

/* ===== Projects: filter, cards, detail pages ===== */
.lw-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.lw-filter button { border: 1px solid rgba(3,7,30,.15); background: #fff; color: var(--ztc-text-text-2); font-weight: 700; padding: 12px 20px; border-radius: 40px; cursor: pointer; transition: all .3s; font-size: 16px; }
.lw-filter button span { background: rgba(3,7,30,.08); border-radius: 20px; padding: 2px 8px; font-size: 13px; margin-left: 6px; }
.lw-filter button:hover, .lw-filter button.active { background: var(--ztc-bg-bg-3); border-color: var(--ztc-bg-bg-3); }
.lw-proj.lw-hide { display: none !important; }
.project2-section-inner-area .project-boxarea .img1 a { display: block; width: 100%; height: 100%; }
.lw-tag { position: absolute; left: 14px; top: 14px; background: var(--ztc-bg-bg-3); color: var(--ztc-text-text-2); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 30px; z-index: 3; }
.lw-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 12px; font-size: 14px; color: var(--ztc-text-text-3); }
.lw-meta i { color: var(--ztc-text-text-4); margin-right: 5px; }
.lw-weeks > div { margin-bottom: 24px; }
.lw-week { background: #fff; border-radius: 12px; padding: 22px 20px; height: 100%; box-shadow: 0 10px 30px rgba(3,7,30,.07); border-top: 4px solid var(--ztc-bg-bg-3); }
.lw-week span { display: inline-block; background: var(--ztc-bg-bg-2); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.lw-week h4 { font-size: 18px; margin: 0 0 8px; color: var(--ztc-text-text-2); line-height: 1.3; }
.lw-week p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ztc-text-text-3); }
.lw-review img { width: 100%; height: auto; border-radius: 10px; }

.inner-hero-area .header-area a, .inner-hero-area .header-area span { display: inline-block; }
.inner-hero-area .header-area h2 { word-break: break-word; }
.lw-detail-img { border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(3,7,30,.15); margin-bottom: 30px; }
.lw-detail-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.lw-badge-cat { display: inline-block; background: var(--ztc-bg-bg-3); color: var(--ztc-text-text-2); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 30px; margin-bottom: 14px; }
.lw-detail h2 { margin: 0 0 16px; }
.lw-detail p { color: var(--ztc-text-text-3); line-height: 1.8; margin-bottom: 14px; }
.lw-brief { margin-top: 26px; }
.lw-brief > div { margin-bottom: 0; }
.lw-sidebar { position: sticky; top: 130px; }
.lw-facts { background: #fff; border-radius: 12px; padding: 28px 26px; box-shadow: 0 10px 30px rgba(3,7,30,.08); margin-bottom: 28px; border-top: 4px solid var(--ztc-bg-bg-3); }
.lw-facts h3 { margin: 0 0 14px; font-size: 22px; }
.lw-facts ul { list-style: none; margin: 0; padding: 0; }
.lw-facts li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(3,7,30,.08); font-size: 15px; }
.lw-facts li:last-child { border-bottom: 0; }
.lw-facts li span { color: var(--ztc-text-text-3); }
.lw-facts li strong { color: var(--ztc-text-text-2); text-align: right; }
.lw-hl-card { background: var(--ztc-bg-bg-2); border-radius: 14px; padding: 34px 32px; height: 100%; }
.lw-hl-card h3 { color: #fff; margin: 0 0 20px; }
.lw-hl-card .lw-check li { color: rgba(255,255,255,.9); }
.lw-gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lw-gallery3 a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.lw-gallery3 img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lw-gallery3 a:hover img { transform: scale(1.07); }
.lw-result { background: var(--ztc-bg-bg-3); padding: 50px 0; }
.lw-result h3 { margin: 0; font-size: 26px; color: var(--ztc-text-text-2); }
.lw-result h3 i { margin-right: 8px; }
.lw-result p { margin: 0; font-size: 19px; line-height: 1.7; color: var(--ztc-text-text-2); font-weight: 500; }
.lw-grid-card .pic img { display: block; }
.lw-grid-card h4 a { color: inherit; }
.lw-more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--ztc-text-text-2); }
.lw-pn { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(3,7,30,.1); }
.lw-pn a { display: flex; align-items: center; gap: 14px; color: var(--ztc-text-text-2); font-weight: 700; max-width: 38%; }
.lw-pn a small { display: block; color: var(--ztc-text-text-3); font-weight: 500; }
.lw-pn a i { width: 44px; height: 44px; border-radius: 50%; background: var(--ztc-bg-bg-3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lw-pn .lw-next { text-align: right; }
.lw-pn .lw-all span { display: none; }
@media (max-width: 991px) { .lw-sidebar { position: static; margin-top: 30px; } .lw-gallery3 { grid-template-columns: repeat(2, 1fr); } .lw-hl-card { margin-top: 30px; } }
@media (max-width: 575px) {
  .lw-gallery3 { grid-template-columns: 1fr; }
  .lw-pn { flex-wrap: wrap; } .lw-pn a { max-width: 100%; width: 100%; } .lw-pn .lw-next { flex-direction: row-reverse; justify-content: flex-end; text-align: left; } .lw-pn .lw-all { display: none; }
  .lw-filter button { padding: 10px 14px; font-size: 14px; }
  .lw-result p { font-size: 17px; } .lw-result h3 { margin-bottom: 10px; }
  .lw-facts li { flex-direction: column; gap: 2px; } .lw-facts li strong { text-align: left; }
  .inner-hero-area .header-area h2 { font-size: 30px; line-height: 1.2; }
}
.lw-side-card a.header-btn1 { color: var(--ztc-text-text-2); display: inline-block; }
.inner-hero-area .header-area a, .inner-hero-area .header-area span, .inner-hero-area .header-area i { color: #fff; }
.inner-hero-area .header-area span { color: var(--ztc-text-text-4); }
.inner-hero-area { position: relative; }
.inner-hero-area::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,7,30,.7), rgba(3,7,30,.25)); z-index: 0; }
.inner-hero-area .container { position: relative; z-index: 1; }

/* Form thank-you message */
.lw-thanks { background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(3,7,30,.1); padding: 50px 30px; text-align: center; border-top: 4px solid var(--ztc-bg-bg-3); animation: lwUp .6s ease both; }
.lw-thanks .ic { font-size: 64px; color: #2e9e5b; line-height: 1; margin-bottom: 16px; }
.lw-thanks h3 { margin: 0 0 10px; font-size: 28px; color: var(--ztc-text-text-2); }
.lw-thanks p { margin: 0; font-size: 18px; color: var(--ztc-text-text-3); }
@media (max-width: 575px) { .lw-thanks { padding: 36px 20px; } .lw-thanks h3 { font-size: 23px; } }

/* ===== Mobile hardening ===== */
html, body { max-width: 100%; }
body { overflow-x: clip; }
img { max-width: 100%; }
a[href^="mailto"], .contact-info-text a, .footer-form a, .lw-side-card a, .author-box .text a { overflow-wrap: anywhere; word-break: break-word; }
.accordion-button { min-height: 48px; }
.header-btn1, .header-btn2 { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
@media (max-width: 575px) {
  h2 { overflow-wrap: break-word; }
  .lw-head h2, .heading2 h2 { font-size: 28px; line-height: 1.25; }
  .lw-icon-box, .lw-hl-card, .lw-facts, .lw-side-card { padding-left: 22px; padding-right: 22px; }
  .lw-chips li { padding: 8px 14px; font-size: 14px; }
  .footer1-section-area .footer-content, .footer1-section-area .footer-content2 { margin-top: 20px; }
  .cta1-section-area .btn-area { flex-direction: column; align-items: stretch; }
  .cta1-section-area .btn-area a { width: 100%; }
  .lw-stat h3 { font-size: 32px; }
  .lw-stat p { font-size: 15px; }
}
@media (max-width: 360px) {
  .lw-hero-text h1 { font-size: 28px; }
  .lw-hero-btns .header-btn1 { width: 100%; }
  .lw-filter button { padding: 8px 12px; font-size: 13px; }
}

/* Hero on small phones: taller, no tag collision */
@media (max-width: 767px) {
  .lw-hero-swiper { height: clamp(660px, 100svh, 780px); }
  .lw-slide-tag { display: none; }
  .lw-hero-content { padding-top: 100px; padding-bottom: 54px; }
  .lw-hero-text h1 { font-size: clamp(27px, 8vw, 38px); }
}
@media (max-width: 400px) {
  .lw-hero-swiper { height: clamp(700px, 108svh, 800px); }
  .lw-hero-text p { font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; }
  .lw-eyebrow { font-size: 14px; margin-bottom: 10px; }
}

/* ===== Footer logo + CTA band alignment ===== */
.footer1-section-area .footer-logo { text-align: left; }
.footer1-section-area .footer-logo img { width: 120px; height: auto; max-height: none; object-fit: contain; display: block; background: #fff; padding: 6px; border-radius: 8px; box-shadow: 0 4px 14px rgba(3,7,30,.12); }
.footer1-section-area .footer-logo ul { padding: 0; margin: 0; display: flex; gap: 8px; list-style: none; }
.footer1-section-area .footer-logo ul li a { margin: 0; }
.footer1-section-area .footer-logo > .space24, .footer1-section-area .footer-logo > .space32 { height: 20px; }

.cta1-section-area .row { align-items: center; }
.cta1-section-area .btn-area { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; padding-top: 0; text-align: left; }
.cta1-section-area .btn-area .header-btn1, .cta1-section-area .btn-area .header-btn2 { margin: 0; white-space: nowrap; }
@media (min-width: 992px) {
  .cta1-section-area .row > .col-lg-6 { flex: 0 0 auto; width: 45%; }
  .cta1-section-area .row > .col-lg-2 { display: none; }
  .cta1-section-area .row > .col-lg-4 { flex: 0 0 auto; width: 55%; }
}
@media (max-width: 991px) {
  .cta1-section-area .btn-area { justify-content: flex-start; margin-top: 20px; }
  .cta1-section-area .cta-header h2 { font-size: 30px; line-height: 1.25; }
}
@media (max-width: 575px) {
  .cta1-section-area .btn-area { flex-direction: column; align-items: stretch; }
  .cta1-section-area .btn-area a { width: 100%; white-space: normal; text-align: center; }
  .footer1-section-area .footer-logo img { width: 100px; }
}

/* Footer: consistent left alignment + trimmed logo whitespace */
.footer1-section-area .footer-logo img { width: 170px; height: 100px; object-fit: cover; object-position: center; padding: 0; }
.footer1-section-area .footer-content, .footer1-section-area .footer-content2, .footer1-section-area .footer-form,
.footer1-section-area .footer-content ul, .footer1-section-area .footer-content2 ul { text-align: left; }
.footer1-section-area .footer-content ul, .footer1-section-area .footer-content2 ul { padding-left: 0; list-style: none; }
.footer1-section-area .copyright-area { text-align: left; }
@media (max-width: 575px) { .footer1-section-area .footer-logo img { width: 150px; height: 90px; } .footer1-section-area .footer-content h3, .footer1-section-area .footer-content2 h3, .footer1-section-area .footer-form h3 { text-align: left; } }
