/* Mobile and tablet refinement. Desktop composition is intentionally scoped out. */
@media (max-width: 1100px) {
  body.da-signature { --da-mobile-gutter: 24px; }
  body.da-signature .container { width:calc(100% - 2 * var(--da-mobile-gutter)); }
  body.da-signature main :is(.detail,.main,.admin-card,.rich-content,.prose,.form-grid,.two-cols) { min-width:0; }
  body.da-signature main :is(h1,h2,h3,h4,.lead,.btn,.chip) { overflow-wrap:anywhere; }
  body.da-signature main :is(video,iframe) { max-width:100%; }
  body.da-signature .rich-content img { max-width:100%;height:auto; }
  body.da-signature .rich-content table { display:block;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain; }
  body.da-signature :is(.input,input:not([type=checkbox]):not([type=radio]),select,textarea) { max-width:100%;font-size:16px; }
  body.da-signature :is(.btn,.nav-toggle,.da-icon-button,.da-language-menu>summary) { min-height:44px; }
  body.da-signature .da-header-row { flex-wrap:nowrap;gap:12px;min-height:74px;padding-block:10px; }
  body.da-signature .da-nav,body.da-signature .da-header-cta { display:none; }
  body.da-signature .da-header-tools { margin-left:auto;gap:8px; }
  body.da-signature .nav-toggle { display:flex;flex:none;width:44px;min-width:44px; }
  body.da-signature .mobile-menu__panel { max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
  body.da-signature .mobile-menu[hidden] { display:none!important; }
  body.da-signature .mobile-menu :is(a,summary,button) { min-height:44px; }
  body.da-signature .mobile-menu__brand .logo,
  body.da-signature .mobile-menu__brand :is(picture,img) { display:block;width:114px;height:48px;object-fit:contain; }
  body.da-signature .mobile-nav>a:not(.btn) { display:flex;align-items:center;padding:13px 0;border:0;border-bottom:1px solid var(--da-line);border-radius:0;background:transparent;font-size:16px;font-weight:400; }
  body.da-signature .mobile-menu__langs { display:flex;flex-wrap:wrap;gap:8px;padding:20px 0; }
  body.da-signature .mobile-menu__langs>a { flex:0 0 auto;width:auto;min-width:80px;min-height:44px;padding:9px 12px;white-space:nowrap;overflow-wrap:normal;word-break:normal;justify-content:center;font-size:13px; }
  body.da-signature.menu-open :is(.wa-float,.da-compare-launch),
  body.da-signature.da-dialog-open :is(.wa-float,.da-compare-launch) { visibility:hidden; }
  body.da-signature .da-nav-dropdown { max-width:calc(100vw - 32px); }
  body.da-signature .sig-directory .sig-directory-head .guide-section-head,
  body.da-signature .guide-section-head--split { flex-direction:column;align-items:flex-start;gap:14px; }
  body.da-signature .guide-section-head--split .guide-section-head__aside { align-self:flex-start; }
  body.da-signature .sig-home .da-featured-grid,
  body.da-signature .sig-home .da-areas .list-grid,
  body.da-signature .signature-project-results>.list-grid,
  body.da-signature .sig-company-grid,body.da-signature .sig-area-grid,
  body.da-signature .sig-profile-page :is(.developer-projects-grid,.area-projects-grid),
  body.da-signature .signature-property-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px; }
  body.da-signature .offplan-page.signature-catalog-page .offplan-pagehead { grid-template-columns:minmax(0,1fr);gap:20px; }
  body.da-signature .offplan-page.signature-catalog-page .offplan-hero-metrics { max-width:640px; }
  body.da-signature .offplan-page.signature-catalog-page .filters .form-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:14px; }
  body.da-signature .offplan-page.signature-catalog-page :is(.filters,.da-catalog-search) .input { height:46px;font-size:16px; }
  body.da-signature .da-catalog-card.signature-project-card [data-save-project],
  body.da-signature .sig-home .da-property-card [data-save-project] { min-width:44px;width:44px;min-height:44px;height:44px; }
  body.da-signature .da-catalog-card.signature-project-card [data-compare-project] { min-height:44px; }
  body.da-signature .da-catalog-card.signature-project-card .da-card-link { min-height:45px; }
  body.da-signature .da-selection-dialog { max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain; }
  body.da-signature .wa-float { right:16px;bottom:calc(16px + env(safe-area-inset-bottom));min-width:46px;min-height:46px; }
  body.da-signature .da-compare-launch { left:16px;bottom:calc(16px + env(safe-area-inset-bottom));max-width:calc(100vw - 94px);min-height:44px; }
  body.da-signature:has(.mobile-cta-bar) :is(.wa-float,.da-compare-launch) { bottom:calc(88px + env(safe-area-inset-bottom)); }
  body.da-signature .lightbox__inner { max-width:100vw;max-height:100dvh; }
  body.da-signature .lightbox__stage img { max-width:100%;max-height:calc(100dvh - 120px);object-fit:contain; }
  body.da-signature :is(.lightbox__close,.lightbox__nav,.da-close) { min-width:44px;min-height:44px; }
  body.da-signature :is(.jump-links,.signature-photo-rail .gallery-grid) { -webkit-overflow-scrolling:touch; }
}
@media (max-width: 900px) {
  body.da-signature:has(.sig-home) .wa-float,
  body.da-signature:has(.da-signature-contact) .wa-float { display:none; }
  body.da-signature .project-page.signature-project-page .detail-header { flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:16px; }
  body.da-signature .project-page.signature-project-page .detail-header__main { width:100%; }
  body.da-signature .project-page.signature-project-page .signature-project-top,
  body.da-signature .signature-property-overview { grid-template-columns:minmax(0,1fr);gap:22px; }
  body.da-signature .project-page.signature-project-page .da-media--hero { height:auto;min-height:0;aspect-ratio:16/10; }
  body.da-signature .project-page.signature-project-page .signature-summary-card.project-side-card { height:auto;padding:24px; }
  body.da-signature .project-page.signature-project-page .signature-summary-facts { grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px; }
  body.da-signature .project-page.signature-project-page .signature-summary-facts>div:nth-child(2) { grid-column:1/-1; }
  body.da-signature .project-page.signature-project-page .signature-summary-facts dd { font-size:14px;line-height:1.65; }
  body.da-signature .project-page.signature-project-page .signature-project-content>.main { display:block; }
  body.da-signature .project-page.signature-project-page .signature-project-content>.main>#payment-plan { border-top:1px solid var(--da-line); }
  body.da-signature .project-page.signature-project-page .signature-specification .project-sheet__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.da-signature .project-page.signature-project-page .project-explore-grid { grid-template-columns:minmax(0,1fr); }
  body.da-signature .project-page.signature-project-page .signature-photo-rail .gallery-thumb { width:92px;flex-basis:92px; }
  body.da-signature .sig-profile-hero { grid-template-columns:minmax(0,1fr);grid-template-areas:'intro' 'photo' 'actions';gap:22px; }
  body.da-signature .sig-profile-cover { height:auto;aspect-ratio:16/9;max-height:420px; }
  body.da-signature .sig-profile-hero .detail-header__ctas { justify-content:flex-start;gap:12px; }
  body.da-signature .sig-profile-hero .detail-header__ctas .btn { min-height:44px;font-size:13px; }
  body.da-signature .sig-directory-detail { grid-template-columns:minmax(0,1fr);gap:28px; }
  body.da-signature .sig-directory-detail .sig-profile-overview { grid-column:1;grid-row:auto; }
  body.da-signature .sig-directory-detail>.guide-side-stack { grid-column:1;grid-row:auto;padding:24px 0 0;border-left:0;border-top:1px solid var(--sig-line); }
  body.da-signature .sig-directory-detail>.main>section,
  body.da-signature .sig-directory-detail>.main>#contact { grid-column:1; }
  body.da-signature .sig-home .da-paths .cards,
  body.da-signature .sig-home .da-about-grid,
  body.da-signature .sig-home .sig-home-method>.container,
  body.da-signature .sig-home .da-home-contact>.container { grid-template-columns:minmax(0,1fr);gap:26px; }
  body.da-signature .sig-home .sig-home-method .da-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.da-signature :is(.sig-editorial-header--illustrated,.sig-invest-header--illustrated) { grid-template-columns:minmax(0,1fr);gap:24px; }
  body.da-signature .sig-editorial-header--illustrated .page-title { max-width:none; }
  body.da-signature :is(.sig-editorial-photo,.sig-invest-photo) { height:auto;aspect-ratio:16/7; }
  body.da-signature .da-signature-contact .da-contact-layout { display:flex;flex-direction:column;gap:30px; }
  body.da-signature .da-signature-contact :is(.da-contact-copy,.da-contact-form-panel,.da-contact-faq) { width:100%; }
  body.da-signature .da-signature-contact .da-contact-form-panel { order:-1; }
  body.da-signature .da-signature-shortlist { grid-template-columns:minmax(0,1fr);gap:24px; }
  body.da-signature :is(.da-signature-services,.da-signature-invest) .section-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.da-signature .da-roi-panel [data-roi-output] .kpi { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.da-signature .sig-profile-page .jump-links,
  body.da-signature .project-page.signature-project-page .jump-links { flex-wrap:nowrap;max-width:100%;overflow-x:auto;gap:22px;padding-block:14px;scrollbar-width:thin; }
  body.da-signature .sig-profile-page .jump-links .chip,
  body.da-signature .project-page.signature-project-page .jump-links .chip { flex:none;display:inline-flex;align-items:center;min-height:44px;white-space:nowrap; }
}
@media (max-width: 680px) {
  body.da-signature { --da-mobile-gutter:20px; }
  body.da-signature .da-header-row { min-height:70px;gap:8px; }
  body.da-signature .da-header-tools { gap:4px; }
  body.da-signature .sig-home .sig-home-copy { padding:26px 0 14px; }
  body.da-signature .sig-home .sig-home-copy h1 { font-size:clamp(38px,10.6vw,48px);line-height:1.06; }
  body.da-signature .sig-home .sig-home-photo { order:1;min-height:0;height:auto;aspect-ratio:16/10;margin:8px 0 0; }
  body.da-signature .sig-home .sig-home-search { order:2;padding:20px 0 22px;gap:15px; }
  body.da-signature .sig-home .da-featured-grid,
  body.da-signature .sig-home .da-areas .list-grid,
  body.da-signature .signature-project-results>.list-grid,
  body.da-signature .sig-company-grid,body.da-signature .sig-area-grid,
  body.da-signature .sig-profile-page :is(.developer-projects-grid,.area-projects-grid),
  body.da-signature .signature-property-grid { grid-template-columns:minmax(0,1fr);gap:30px; }
  body.da-signature .sig-home .sig-home-method .da-steps,
  body.da-signature :is(.da-signature-services,.da-signature-invest) .section-grid { grid-template-columns:minmax(0,1fr); }
  body.da-signature .offplan-page.signature-catalog-page .filters .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.da-signature .offplan-page.signature-catalog-page .catalog-toggle { gap:15px; }
  body.da-signature .offplan-page.signature-catalog-page .catalog-toggle__link { min-height:44px;font-size:13px; }
  body.da-signature .project-page.signature-project-page .detail-header .page-title,
  body.da-signature .sig-profile-hero .page-title { font-size:clamp(33px,9.7vw,42px);line-height:1.12; }
  body.da-signature .project-page.signature-project-page .signature-project-selection { width:100%; }
  body.da-signature .project-page.signature-project-page .signature-project-selection .da-selection-actions { display:flex;flex-wrap:wrap; }
  body.da-signature .project-page.signature-project-page .signature-summary-card.project-side-card { padding:22px 20px; }
  body.da-signature .project-page.signature-project-page .signature-summary-card .btn { min-height:46px;white-space:normal; }
  body.da-signature .sig-profile-hero .detail-header__ctas .btn { font-size:12px; }
  body.da-signature .sig-profile-cover { aspect-ratio:4/3;max-height:340px; }
  body.da-signature :is(.sig-editorial-photo,.sig-invest-photo) { aspect-ratio:16/10; }
  body.da-signature .sig-city-figure figcaption { max-width:calc(100% - 24px); }
  body.da-signature .da-signature-contact .da-contact-form-panel { padding-top:0; }
  body.da-signature .da-signature-contact .da-contact-copy { padding:24px 20px; }
  body.da-signature .da-signature-contact .step-actions>.btn { width:100%; }
  body.da-signature .footer__cols { gap:28px; }
  body.da-signature .da-footer-legal>a { min-height:44px; }
  body.da-signature .contact-stepper__labels { flex-wrap:wrap; }
  body.da-signature .project-media-card__actions { flex-wrap:wrap; }
}
@media (max-width: 359px) {
  body.da-signature { --da-mobile-gutter:16px; }
  body.da-signature .da-brand,body.da-signature .da-brand :is(picture,img) { width:82px; }
  body.da-signature .offplan-page.signature-catalog-page .filters .form-grid,
  body.da-signature .project-page.signature-project-page .signature-specification .project-sheet__grid { grid-template-columns:minmax(0,1fr); }
  body.da-signature .project-page.signature-project-page .signature-summary-facts { gap:15px 14px; }
}
@media (prefers-reduced-motion:reduce) {
  body.da-signature :is(.gallery-grid,.jump-links,.mobile-menu__panel) { scroll-behavior:auto; }
}
