@media (max-width:1200px){.ty-menu{gap:14px}.ty-menu>li>a{font-size:.69rem}.ty-header-cta{display:none}.ty-service-grid{grid-template-columns:repeat(3,1fr)}.ty-project-grid{grid-template-columns:repeat(3,1fr)}.ty-project-card:nth-child(n+4){display:none}.ty-footer-grid{grid-template-columns:1.5fr repeat(2,1fr)}.ty-footer-grid>div:nth-child(4),.ty-footer-grid>div:nth-child(5){margin-top:10px}}
@media (max-width:1024px){.ty-topbar-links span{display:none}.ty-menu-toggle{display:block;margin-left:auto}.ty-primary-nav{position:absolute;top:100%;left:20px;right:20px;background:#fff;border:1px solid var(--ty-border);box-shadow:var(--ty-shadow);border-radius:0 0 10px 10px;display:none;padding:10px}.ty-primary-nav.is-open{display:block}.ty-menu{display:block}.ty-menu>li>a{min-height:44px;padding:0 8px}.ty-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:0 0 0 18px}.ty-hero{height:650px}.ty-hero-copy{max-width:500px}.ty-benefit-grid{grid-template-columns:repeat(2,1fr)}.ty-benefit:nth-child(2){border-right:0}.ty-benefit:nth-child(-n+2){border-bottom:1px solid var(--ty-border)}.ty-quote-grid{grid-template-columns:1fr 1.35fr}.ty-stats{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}.ty-stat{display:block;text-align:center}.ty-blog-layout{grid-template-columns:1fr}.ty-newsletter{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}.ty-newsletter ul{grid-column:1/-1}.ty-content-layout,.ty-article-layout{grid-template-columns:1fr}.ty-sidebar{display:none}}
@media (max-width:768px){.ty-shell{width:min(var(--ty-shell),calc(100% - 28px))}.ty-topbar-message{display:none}.ty-topbar-inner{justify-content:center}.ty-topbar-links{gap:12px}.ty-nav-inner{min-height:66px}.ty-logo{flex-basis:auto}.ty-logo img{max-height:48px}.ty-hero{height:620px;min-height:620px}.ty-slide img{object-position:64% center}.ty-hero-overlay{background:linear-gradient(90deg,rgba(247,250,252,.98),rgba(247,250,252,.92) 58%,rgba(247,250,252,.55))}.ty-hero-copy{max-width:88%}.ty-hero-copy h1,.ty-hero-copy h2{font-size:clamp(2.2rem,10vw,3.5rem)}.ty-mini-trust{gap:10px}.ty-slider-arrow{width:36px;height:36px}.ty-prev{left:8px}.ty-next{right:8px}.ty-benefits{margin-top:-18px}.ty-benefit-grid{padding:8px}.ty-benefit{padding:12px}.ty-service-grid,.ty-card-grid,.ty-archive-grid{grid-template-columns:repeat(2,1fr)}.ty-quote-grid{grid-template-columns:1fr}.ty-stats{grid-template-columns:repeat(2,1fr)}.ty-project-grid{grid-template-columns:repeat(2,1fr)}.ty-project-card:nth-child(3){display:block}.ty-prose-grid,.ty-faq-grid{grid-template-columns:1fr;gap:24px}.ty-blog-grid{grid-template-columns:1fr 1fr}.ty-blog-card:nth-child(3){display:none}.ty-newsletter{display:block}.ty-brand-row{grid-template-columns:repeat(3,1fr)}.ty-final-cta-inner{align-items:flex-start;flex-direction:column}.ty-footer-benefits-grid{grid-template-columns:repeat(2,1fr);gap:10px}.ty-footer-grid{grid-template-columns:1fr 1fr;gap:28px}.ty-footer-brand{grid-column:1/-1}.ty-footer-bottom{flex-direction:column}.ty-product-intro,.ty-project-detail,.ty-contact-grid{grid-template-columns:1fr}.ty-gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.ty-section{padding:56px 0}.ty-topbar-links a:nth-child(2){display:none}.ty-hero{height:600px}.ty-hero-copy{max-width:100%;padding-right:16px}.ty-hero-copy p{font-size:.9rem}.ty-actions{display:grid;grid-template-columns:1fr}.ty-actions .ty-btn{width:100%}.ty-mini-trust{font-size:.63rem}.ty-slider-arrow{display:none}.ty-benefit-grid{grid-template-columns:1fr}.ty-benefit{border-right:0;border-bottom:1px solid var(--ty-border)}.ty-benefit:last-child{border-bottom:0}.ty-service-grid,.ty-card-grid,.ty-archive-grid,.ty-blog-grid{grid-template-columns:1fr}.ty-service-card .ty-card-body{padding:16px}.ty-project-grid{grid-template-columns:1fr 1fr}.ty-project-card:nth-child(3){display:none}.ty-form-row{grid-template-columns:1fr}.ty-stats{grid-template-columns:1fr 1fr}.ty-brand-row{grid-template-columns:repeat(2,1fr)}.ty-footer-grid{grid-template-columns:1fr}.ty-footer-brand{grid-column:auto}.ty-footer-benefits-grid{grid-template-columns:1fr 1fr}.ty-contact-rail{right:10px;bottom:12px}.ty-contact-rail a:not(.ty-wa){display:none}.ty-list-card{grid-template-columns:1fr}.ty-list-media{min-height:220px}.ty-gallery-grid{grid-template-columns:1fr}.ty-page-hero{padding:40px 0}.ty-404{padding:70px 0}.ty-404-code{font-size:5rem}}
@media (max-width:360px){.ty-shell{width:calc(100% - 22px)}.ty-hero-copy h1,.ty-hero-copy h2{font-size:2.15rem}.ty-btn{font-size:.78rem}.ty-footer-benefits-grid{grid-template-columns:1fr}}

/* v1.1 responsive hardening: fix intrinsic sizing instead of masking overflow. */
.ty-theme :where(.ty-shell,.ty-nav-inner,.ty-quote-grid,.ty-blog-layout,.ty-product-intro,.ty-project-detail,.ty-contact-grid)>*{min-width:0}
.ty-theme :where(input,select,textarea,button){max-width:100%}
.ty-theme .ty-entry-content :where(img,video,iframe,table){max-width:100%}
.ty-theme .ty-entry-content iframe{width:100%;aspect-ratio:16/9;height:auto}
@media (max-width:768px){.ty-theme .ty-btn{min-height:48px}.ty-theme .ty-primary-nav{max-height:calc(100vh - 86px);overflow-y:auto;overscroll-behavior:contain}.ty-theme .ty-card-media{aspect-ratio:16/10}.ty-theme .ty-newsletter input{min-height:48px}.ty-theme .ty-form input,.ty-theme .ty-form select,.ty-theme .ty-form textarea{font-size:16px}}
@media (max-width:480px){.ty-theme .ty-hero{height:auto;min-height:560px}.ty-theme .ty-slide{min-height:560px}.ty-theme .ty-hero-copy{padding-block:56px}.ty-theme .ty-project-grid{grid-template-columns:1fr}.ty-theme .ty-footer-benefits-grid{grid-template-columns:1fr}.ty-theme .ty-mini-trust{flex-wrap:wrap}}
/* v1.2 inner pages */
@media (max-width:1024px){.ty-catalog-layout{grid-template-columns:200px minmax(0,1fr)}.ty-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ty-project-archive{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.ty-inner-visual{padding:42px 0}.ty-catalog-layout{grid-template-columns:1fr}.ty-catalog-sidebar{position:static}.ty-sidebar-panel{display:none}.ty-products-grid,.ty-project-archive{grid-template-columns:1fr}.ty-product-toolbar{align-items:flex-start}.ty-content-layout{grid-template-columns:1fr}.ty-sidebar{margin-top:18px}.ty-list-card{grid-template-columns:1fr}.ty-list-media{min-height:210px}.ty-sidebar-search .ty-search-form{grid-template-columns:1fr auto}}
@media (max-width: 1024px){.ty-service-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ty-elementor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 640px){.ty-service-gallery-grid,.ty-elementor-grid{grid-template-columns:1fr}.ty-gallery-featured-image{aspect-ratio:4/3}.ty-elementor-cta{align-items:flex-start;flex-direction:column;padding:24px}.ty-elementor-cta .ty-btn{width:100%;justify-content:center}}

@media (max-width:768px){.ty-theme .ty-footer-grid{padding-top:40px;padding-bottom:34px}.ty-theme .ty-footer-logo{max-width:260px}.ty-theme .ty-footer-logo img{max-width:228px}.ty-theme .ty-contact-rail{right:12px;bottom:14px}.ty-theme .ty-contact-rail-item{width:48px;height:48px;border-radius:15px}.ty-theme .ty-contact-rail-item:before{display:none}}
@media (max-width:480px){.ty-theme .ty-footer-brand{text-align:center}.ty-theme .ty-footer-logo{margin-left:auto;margin-right:auto}.ty-theme .ty-footer-brand p{margin-left:auto;margin-right:auto}.ty-theme .ty-socials{justify-content:center}.ty-theme .ty-footer-grid>div:not(.ty-footer-brand){text-align:center}.ty-theme .ty-footer h2:after{margin-left:auto;margin-right:auto}.ty-theme .ty-footer-bottom{align-items:center;text-align:center}.ty-theme .ty-footer-bottom div{justify-content:center;flex-wrap:wrap}.ty-theme .ty-contact-rail .ty-contact-rail-item:not(.ty-wa):not(.ty-scroll-top){display:none}.ty-theme .ty-contact-rail .ty-scroll-top{display:grid}}

/* v1.5 performance: skip off-screen paint/layout work until sections approach viewport. */
@supports (content-visibility:auto){
  .ty-theme .ty-section:not(.ty-hero),
  .ty-theme .ty-footer{content-visibility:auto;contain-intrinsic-size:1px 720px}
}
@media (prefers-reduced-motion:reduce){
  .ty-theme .ty-slide,.ty-theme .ty-card,.ty-theme .ty-btn,.ty-theme .ty-gallery-item{transition-duration:.01ms;animation-duration:.01ms;animation-iteration-count:1}
}
@media (max-width:768px){.ty-theme .ty-elementor-product-intro.ty-product-intro-image-right .ty-product-gallery,.ty-theme .ty-elementor-product-intro.ty-product-intro-image-right .ty-product-summary{order:initial}}
@media(max-width:900px){.ty-theme .ty-guide-toc ol{columns:1}.ty-theme .ty-guide-related .ty-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ty-theme .ty-guide-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.ty-theme .ty-guide-summary{padding:21px 20px}.ty-theme .ty-guide-highlights{grid-template-columns:1fr}.ty-theme .ty-guide-related .ty-card-grid{grid-template-columns:1fr}.ty-theme .ty-guide-cta{padding:26px 22px}.ty-theme .ty-guide-cta .ty-btn{width:100%}.ty-theme .ty-guide-toc ol{padding-left:34px}}
@media(max-width:1100px){.ty-theme .ty-article-hero-grid{grid-template-columns:1fr .8fr;gap:34px}.ty-theme .ty-single-article-premium .ty-article-layout{grid-template-columns:minmax(0,1fr) 280px;gap:28px}.ty-theme .ty-article-card{padding:32px}}
@media(max-width:900px){.ty-theme .ty-article-hero-premium{padding:54px 0}.ty-theme .ty-article-hero-grid{grid-template-columns:1fr}.ty-theme .ty-article-hero-media{max-width:720px}.ty-theme .ty-single-article-premium .ty-article-layout{grid-template-columns:1fr}.ty-theme .ty-article-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.ty-theme .ty-article-sidebar .widget{grid-column:1/-1}}
@media(max-width:640px){.ty-theme .ty-article-hero-premium h1{font-size:clamp(2.15rem,10vw,3.1rem)}.ty-theme .ty-article-hero-media img{border-radius:16px}.ty-theme .ty-single-article-premium{padding-top:32px}.ty-theme .ty-article-card{padding:24px 20px;border-radius:16px}.ty-theme .ty-article-sidebar{grid-template-columns:1fr}.ty-theme .ty-article-meta{gap:7px}.ty-theme .ty-article-meta span{font-size:.72rem}}

/* v2.1.2 — Mobile-first hero/slider hardening. Scoped only to Tente Premium hero. */
.ty-theme .ty-hero{touch-action:pan-y;isolation:isolate}
.ty-theme .ty-hero-picture{position:absolute;inset:0;display:block;width:100%;height:100%}
.ty-theme .ty-hero-picture .ty-hero-image{display:block;width:100%;height:100%;object-fit:cover}
.ty-theme .ty-slider-arrow:focus-visible,.ty-theme .ty-slider-dots button:focus-visible{outline:3px solid var(--ty-accent);outline-offset:3px}
@media (max-width:768px){
  .ty-theme .ty-hero{height:auto;min-height:clamp(560px,78svh,680px)}
  .ty-theme .ty-slider-track,.ty-theme .ty-slide{min-height:100%;height:100%}
  .ty-theme .ty-slide img{object-position:center center}
  .ty-theme .ty-hero-overlay{background:linear-gradient(180deg,rgba(7,30,53,.12) 0%,rgba(247,250,252,.58) 35%,rgba(247,250,252,.97) 68%,rgba(247,250,252,1) 100%)}
  .ty-theme .ty-hero-content{min-height:clamp(560px,78svh,680px);align-items:flex-end;padding-top:170px;padding-bottom:74px}
  .ty-theme .ty-hero-copy{width:100%;max-width:100%;margin:0;padding:0 42px 0 0}
  .ty-theme .ty-hero-copy h1,.ty-hero-copy h2{font-size:clamp(2rem,9vw,3.15rem);line-height:1.02;letter-spacing:-.035em;margin:.4rem 0 .8rem}
  .ty-theme .ty-hero-copy p{max-width:36rem;font-size:.92rem;line-height:1.65;margin-bottom:1rem}
  .ty-theme .ty-actions{gap:8px}
  .ty-theme .ty-actions .ty-btn{min-height:46px}
  .ty-theme .ty-mini-trust{margin-top:14px;gap:8px 14px;line-height:1.45}
  .ty-theme .ty-slider-arrow{display:grid;place-items:center;width:36px;height:36px;top:42%;font-size:1.55rem;background:rgba(255,255,255,.92);box-shadow:0 7px 22px rgba(7,30,53,.14)}
  .ty-theme .ty-prev{left:8px}.ty-theme .ty-next{right:8px}
  .ty-theme .ty-slider-dots{bottom:20px;gap:8px}
  .ty-theme .ty-slider-dots button{width:8px;height:8px;min-width:8px;min-height:8px}
  .ty-theme .ty-slider-dots button.is-active{width:26px}
}
@media (max-width:480px){
  .ty-theme .ty-hero{min-height:600px}
  .ty-theme .ty-hero-content{min-height:600px;padding-top:160px;padding-bottom:70px}
  .ty-theme .ty-hero-copy{padding-right:30px}
  .ty-theme .ty-hero-copy h1,.ty-hero-copy h2{font-size:clamp(1.95rem,10vw,2.65rem)}
  .ty-theme .ty-hero-copy p{font-size:.86rem;line-height:1.58}
  .ty-theme .ty-actions{display:grid;grid-template-columns:1fr}
  .ty-theme .ty-actions .ty-btn{width:100%;justify-content:center}
  .ty-theme .ty-mini-trust{font-size:.61rem}
  .ty-theme .ty-slider-arrow{display:grid;width:34px;height:34px;top:35%}
}
@media (max-width:360px){
  .ty-theme .ty-hero{min-height:620px}
  .ty-theme .ty-hero-content{min-height:620px;padding-top:150px}
  .ty-theme .ty-hero-copy{padding-right:24px}
  .ty-theme .ty-hero-copy h1,.ty-hero-copy h2{font-size:1.9rem}
}
@media (prefers-reduced-motion:reduce){
  .ty-theme .ty-slide{transition:none}
}

/* v2.1.3 brand marquee responsive */
@media (max-width:768px){
  .ty-theme .ty-brands{padding:38px 0 42px}
  .ty-theme .ty-brands-heading{margin-bottom:20px}
  .ty-theme .ty-brands-heading p{font-size:.78rem}
  .ty-theme .ty-brand-track{animation-duration:24s}
  .ty-theme .ty-brand-track-group{gap:14px;padding-right:14px}
  .ty-theme .ty-brand-item{width:154px;height:76px;border-radius:13px}
  .ty-theme .ty-brand-item a,.ty-theme .ty-brand-logo-wrap{padding:9px 12px}
  .ty-theme .ty-brand-logo{max-height:50px}
  .ty-theme .ty-brand-marquee{mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent)}
}
@media (max-width:480px){
  .ty-theme .ty-brand-track{animation-duration:21s}
  .ty-theme .ty-brand-item{width:138px;height:70px}
  .ty-theme .ty-brand-logo{max-height:44px}
}
