/* Mobile visual hierarchy. Approved assets and desktop proportions are retained. */
.mobile-factory-title,.mobile-factory-lead,.hero-copy-mobile,.mobile-works-lead{display:none}
.bank-more{display:inline-flex;align-items:center;min-height:44px;font-size:14px;text-decoration:underline;text-underline-offset:4px;margin-top:4px}
@media(max-width:700px){
 :root{--mobile-media-gap:22px}
 /* Free vertical flow; media never inherits viewport-height caps. */
 .works,.factory-section,.solutions,.custom,.professionals-section,.investment{padding-top:28px;padding-bottom:32px}
 .works>.wrap,.factory-grid,.investment>.wrap,.custom>.wrap,.professionals-section>.wrap{padding-left:4%;padding-right:4%}
 .section-head h2,.investment-head h2{font-size:30px;line-height:1.12}
 .works .section-head{margin-bottom:20px;display:block}.works .section-head h2{font-size:30px;margin-top:12px}
 .mobile-works-lead{display:block;font-size:16px;line-height:1.5;color:#596a71;margin-top:12px}
 .works-context,#obras>.wrap>.carousel-tabs{display:none}
 .works-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;overflow:visible;padding:0;scroll-snap-type:none}
 .works-grid>*{width:100%;min-width:0;flex:initial;scroll-snap-align:none}
 .work-feature{height:auto;min-height:0;display:block;background:#13232b;border-radius:8px;overflow:hidden}
 .work-feature>img{position:static;height:auto;width:100%;aspect-ratio:900/507;object-fit:contain;transform:none!important}
 .work-overlay{position:relative;inset:auto;display:flex;align-items:end;background:#13232b;padding:18px;color:white}
 .work-overlay h3{font-size:25px;line-height:1.15;margin:7px 0}.work-overlay p{font-size:14px;line-height:1.4}.work-overlay p:first-child{font-size:12px;letter-spacing:.04em}
 .testimony{display:flex;flex-direction:column;justify-content:flex-start;height:auto;min-height:0;padding:18px;gap:0;border-radius:8px}
 .testimony h3{font-size:27px;line-height:1.1;margin:12px 0}.testimony p{font-size:16px;line-height:1.45;margin:0}
 .testimony-media{margin-top:18px;min-height:0;flex:initial;overflow:visible;width:100%}
 .testimony-media .video-open{height:auto;min-height:0;width:100%;aspect-ratio:9/16;display:block;border-radius:8px;position:relative}
 .testimony-media .video-open[hidden]{display:none}
 .testimony-media .video-open picture{display:block;position:absolute;inset:0;height:100%;width:100%}
 .testimony-media .video-open img{object-fit:contain;object-position:center;opacity:1}
 .testimony-media .video-open:after{inset:72% 0 0;background:linear-gradient(transparent,#071016d9)}
 .testimony-media .play{top:50%;left:50%;bottom:auto;transform:translate(-50%,-50%);width:72px;height:72px;background:white;color:#10191e;box-shadow:0 3px 24px #0007;border:1px solid #fff}
 .testimony-media .play svg{width:24px;height:24px}
 .testimony-media small{left:12px;right:12px;bottom:18px;font-size:13px;line-height:1.4;text-align:center;letter-spacing:.05em}
 .testimony-inline{height:auto!important;max-height:none;width:100%;aspect-ratio:9/16;object-fit:contain;display:block}.testimony-inline[hidden]{display:none}
 /* Production film uses its full natural vertical frame. */
 .factory-grid{grid-template-columns:minmax(0,1fr);gap:20px;max-width:none}
 .factory-copy{max-width:none}.desktop-factory-title{display:none}.mobile-factory-title,.mobile-factory-lead{display:block}
 .factory-section h2{font-size:30px;line-height:1.1;margin:16px 0 12px}
 .mobile-factory-lead{font-size:16px;line-height:1.5;color:#c4d6de;max-width:480px}
 .factory-media{width:100%;max-width:none;min-width:0;justify-self:stretch;margin:0}
 .factory-film{width:100%;max-width:none;height:auto;max-height:none;aspect-ratio:9/16;margin:0;border-radius:9px}
 .factory-film video{height:100%;width:100%;max-height:none;object-fit:contain}
 .factory-play img{object-fit:contain;transform:none!important;filter:none}
 .factory-play-label{left:18px;right:18px;bottom:24px;gap:14px;font-size:18px;line-height:1.25}
 .factory-play-label>span:last-child{min-width:0;overflow-wrap:normal}.factory-play-label small{font-size:14px;line-height:1.4;margin-top:6px}
 .factory-play-icon{width:62px;height:62px;flex:0 0 62px;border:2px solid #fff;background:#071118b3;box-shadow:0 2px 18px #0007}
 .factory-play-icon svg{width:27px;height:27px}.factory-play:after{background:linear-gradient(0deg,#041016c9,transparent 45%)}
 .factory-media figcaption{display:none}.factory-context{width:100%;margin:0;color:#d6e6ee}.factory-context summary{font-size:14px;min-height:44px;padding:12px 0}.factory-context .factory-lead{font-size:16px;line-height:1.5}
 .factory-tools{font-size:14px;margin-top:12px}.factory-tools select{font-size:14px;padding:8px;max-width:190px}
 /* Every project image keeps its complete architectural composition. */
 .investment-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;overflow:visible;scroll-snap-type:none;padding:0;margin-top:18px}
 .investment-card{flex:initial;width:100%;min-width:0;scroll-snap-align:none;height:auto}
 .investment-photo{height:auto;max-height:none;aspect-ratio:16/9}.investment-photo img{object-fit:contain;object-position:center;transform:none!important}
 .investment-card-copy{padding:17px}.investment-card-copy>span{font-size:12px;line-height:1.4}.investment-card h3{font-size:25px;line-height:1.12;margin:10px 0}
 .energy-card-context{display:contents}.energy-card-context summary{display:none}.energy-card-context p{display:block;font-size:16px;line-height:1.45;margin:0 0 16px;color:#596b74}
 .investment-card-action{font-size:14px;min-height:44px;padding:12px 14px}
 .investment-head h2{margin-top:12px}.energy-mobile-info summary{font-size:14px;min-height:44px;padding:12px 0}
 .solution-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;overflow:visible;scroll-snap-type:none;padding:0}
 .solution-grid>.solution{width:100%;min-width:0;flex:initial;scroll-snap-align:none}
 .solution .image{height:auto;min-height:0;max-height:none;aspect-ratio:16/9}.solution .image img{object-fit:contain;transform:none!important}
 .solution h3{font-size:25px;margin:16px 18px 0;line-height:1.15;min-height:0}.solution .category-price strong{font-size:23px}.solution-context{margin-top:5px}
 .custom-image,.architect-image{height:auto;max-height:none;min-height:0;aspect-ratio:16/9;position:relative}
 .custom-image>img,.architect-image>img{object-fit:contain;object-position:center;transform:none!important}
 .custom-image .caption,.architect-image>span{bottom:10px;left:10px;right:10px;font-size:11px;padding:8px;background:#0d1720b5;line-height:1.35}
 .custom-copy,.architect-copy{padding:22px}.custom-copy h2,.architect-copy h3{font-size:29px;line-height:1.12;margin:14px 0}
 .finance-grid{align-items:flex-start}.finance-grid article{height:auto}.finance-image,.finance-grid article:nth-child(2) .finance-image{height:auto;max-height:none;aspect-ratio:812/620}
 .finance-image img{object-position:center;object-fit:contain}.finance-grid article:first-child .finance-image{aspect-ratio:1402/1122}
 .finance-image .finance-brand{width:44px;height:53px;left:12px;top:12px;padding:6px}
 .finance-grid p{font-size:16px;line-height:1.5}.finance-grid .button{min-height:46px;font-size:15px;padding:12px 16px}.finance-copy{padding:18px!important}.bank-more{font-size:14px;margin-top:4px}.finance-grid small{font-size:12px;line-height:1.5}
 /* A single image-led hero with its navigation over the photograph. */
 .hero{height:auto;max-height:none;min-height:0;overflow:hidden;padding:0}
 .hero-gallery{width:100%;height:auto;max-height:none;min-height:0;aspect-ratio:4/3;position:relative;isolation:isolate;z-index:0;overflow:hidden}
 .hero-slide,.hero-slide img{transform:none!important}.hero-slide img{object-fit:cover;object-position:center 55%}
 .hero-gallery:after{content:'';position:absolute;inset:62% 0 0;background:linear-gradient(transparent,#071118c9);z-index:2;pointer-events:none}
 .hero-gallery .hero-slideshow-controls{position:absolute;inset:auto 4% 14px;z-index:3;display:flex;align-items:end;justify-content:space-between;gap:10px;width:auto;max-width:none;margin:0;padding:0;border:0;pointer-events:auto}
 .hero-gallery .slideshow-caption{min-width:0;flex:1;text-align:left}.hero-gallery .slideshow-caption>span{display:none}
 .hero-gallery .current-project{display:block;font-size:12px;line-height:1.3;font-weight:500;text-shadow:0 1px 5px #000;max-width:none;margin:0}
 .hero-gallery .hero-view-project{display:inline-flex;min-height:32px;align-items:center;font-size:12px;line-height:1.2;margin-top:0;border:0;text-decoration:underline;text-underline-offset:3px}
 .hero-gallery .slideshow-navigation{gap:5px;flex-shrink:0;align-items:center}.hero-gallery .slideshow-navigation button{width:40px;height:40px;min-width:40px;background:#06131b80;border-color:#ffffffa8}.hero-gallery .slideshow-navigation button svg{width:16px;height:16px}
 .hero-gallery .hero-counter{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .hero-body{padding:20px 6% 24px;height:auto;min-height:0;gap:0}.hero h1{font-size:clamp(28px,7.7vw,34px);line-height:1.1;margin:0 0 12px}
 .hero-copy-desktop{display:none}.hero-copy-mobile{display:inline}.hero-explanation{font-size:16px!important;line-height:1.4!important;margin:0!important}
 .hero-actions{margin-top:16px;gap:10px;display:flex;flex-direction:row}.hero-actions .button,.hero-actions .link{min-height:46px;padding:10px 12px;font-size:14px;line-height:1.25;justify-content:center;flex:1;text-align:center}
 .hero-finance{margin-top:15px;display:flex;gap:12px;font-size:12px;line-height:1.4;max-width:100%}.hero-finance img{width:87px;height:46px;flex-shrink:0;object-fit:contain}
 .hero-body>.hero-swipe-hint{display:none}
 .floating-wa{width:48px;height:48px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:11px;z-index:25}.floating-wa .social-icon{width:25px;height:25px}
 /* Reserve a resting area below content instead of placing controls underneath the floating action. */
 .footer{padding-bottom:82px}.hero-controls-hidden-wa .floating-wa,.media-controls-visible .floating-wa{visibility:hidden;pointer-events:none}
}
@media(max-width:700px){
 .factory-play-label{position:static;display:block}
 .factory-play-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:72px;display:grid;place-items:center;background:#ffffffed;color:#10202b;border-color:white;box-shadow:0 3px 24px #0008}
 .factory-play-label>span:last-child{position:absolute;top:calc(50% + 50px);bottom:auto;left:18px;right:18px;padding:10px 12px;background:#071118c9;border-radius:5px;text-align:center;font-size:18px;line-height:1.25}
}
@media(max-width:700px){
 /* Full-width photographs retain the complete facade instead of a portrait crop. */
 .hero-gallery{aspect-ratio:16/9}.hero-slide img{object-fit:contain;object-position:center}
 .hero-gallery .hero-view-project{min-height:28px}.hero-gallery .hero-slideshow-controls{bottom:10px}
 .hero-body{padding-top:18px;padding-bottom:20px}.hero h1{font-size:clamp(27px,7.3vw,32px)}
}
@media(max-width:700px){.solutions>.wrap{padding-left:4%;padding-right:4%}}

@media (max-width: 700px) {
  .solution h3, .investment-card h3 { line-height: 1.25; }
  .investment-card-copy p, .solution-context p { line-height: 1.55; }
}

@media (max-width: 700px) {
  .solution .image::after {
    content: "";
    position: absolute;
    inset: 70% 0 0;
    background: linear-gradient(to bottom, transparent, #20272b);
    pointer-events: none;
  }
}
