/* Shared mobile layout; desktop styling stays in style.css. */
@media(max-width:991px){
 .theme-main-menu{padding:16px 20px !important;background:#fff;}
 .theme-main-menu.sticky-menu.fixed{padding:12px 20px !important;box-shadow:0 4px 24px rgba(15,23,42,.06);}
 .theme-main-menu .logo{left:20px !important;}
 .theme-main-menu .logo img{width:136px;max-width:100%;}
 .navbar .navbar-toggler{width:44px;height:44px;border-radius:10px;background:#0f172a;}
 .theme-main-menu .navbar-collapse{max-height:calc(100dvh - 86px);overscroll-behavior:contain;border-top:1px solid #edf0f4;border-radius:0 0 18px 18px;}
 .navbar .navbar-collapse .navbar-nav .nav-item .nav-link{min-height:50px;padding:12px 24px;font-size:16px;}
 .navbar-nav .dropdown-menu{background:#f7f9fc;}
 .navbar-nav .dropdown-menu .dropdown-item{white-space:normal !important;min-height:46px;padding:12px 24px;font-size:14px !important;line-height:1.5;}
 .navbar-nav .dropdown-submenu>.dropdown-menu{padding-left:10px !important;}
 .theme-main-menu .right-widget{padding:16px 24px 20px !important;}
 .theme-main-menu .signUp-action{width:100%;min-height:48px;justify-content:center;border-radius:10px;}
 .main-page-wrapper{padding-top:92px;}
}
@media(max-width:767px){
 .container,.container-fluid{padding-left:20px !important;padding-right:20px !important;}
 body{font-size:16px;line-height:1.7;}
 h1{font-size:34px !important;line-height:1.18 !important;letter-spacing:-.6px;overflow-wrap:break-word;}
 h2,.title-style-four h2{font-size:28px;line-height:1.25;}
 p{overflow-wrap:break-word;}
 input,textarea,select{font-size:16px !important;max-width:100%;scroll-margin-top:110px;}
 input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #14a6a0 !important;outline-offset:2px;}
 a:focus-visible,button:focus-visible{outline:2px solid #14a6a0;outline-offset:3px;}
 button,a,input,textarea,select{-webkit-tap-highlight-color:rgba(20,166,160,.12);}
 .scroll-top{width:42px;height:42px;line-height:42px;right:16px;bottom:max(16px,env(safe-area-inset-bottom));}
 /* Message and action precede the home illustration. */
 .hero-banner-three.hero-banner-ten{padding-bottom:48px !important;}
 .hero-banner-three .sub-text{font-size:16px !important;line-height:1.7 !important;padding:0;margin:16px auto 0;}
 .hero-banner-three .button-group{display:flex !important;flex-direction:column;gap:12px;width:100%;margin:24px 0 0 !important;}
 .hero-banner-three .button-group a{display:flex !important;align-items:center;justify-content:center;min-height:48px;width:100%;margin:0 !important;padding:14px 20px !important;border-radius:10px;line-height:1.5;font-size:15px;}
 .hero-banner-three .button-group .o4-btn-primary{background:#14a6a0 !important;color:#fff !important;}
 .hero-banner-three .button-group .o4-btn-ghost{background:#fff !important;color:#0f172a !important;border:1px solid #dce8ea;}
 .hero-banner-three:has(.text-wrapper) .row{display:flex;flex-direction:column;}
 .hero-banner-three:has(.text-wrapper) .col-lg-6.order-lg-first{order:-1;}
 .hero-banner-three .text-wrapper{text-align:left;padding:24px 0 0;}
 .hero-banner-three .text-wrapper h1:has(br:only-child){display:none;}
 .hero-banner-three .text-wrapper .home-heading{font-size:34px !important;line-height:1.18 !important;font-weight:500;letter-spacing:-.6px;margin:0;}
 .hero-banner-three .text-wrapper .sub-text{margin:18px 0 0;text-align:left;}
 .hero-banner-three .illustration-holder{margin:30px auto 0 !important;width:100%;max-width:180px;}
 .hero-banner-three .illustration-holder img{width:auto !important;height:auto !important;max-height:340px;object-fit:contain !important;margin:0 auto !important;}
 .hero-banner-three img:not([src]){display:none;}
 .hero-banner-three .shapes{display:none;}
 .waitlist-form{display:flex !important;flex-direction:column;gap:10px !important;width:100%;max-width:480px;margin-left:auto;margin-right:auto;}
 .waitlist-form input{min-width:0 !important;width:100%;min-height:50px;flex:auto !important;border:1px solid #e3e8ee !important;}
 .waitlist-form button{width:100%;min-height:50px;font-size:15px !important;line-height:1.4;white-space:normal !important;}
 .fancy-hero-three{padding:36px 0 44px !important;}
 .fancy-hero-three .heading{font-size:34px !important;line-height:1.2 !important;padding-bottom:18px;}
 .fancy-hero-three .sub-heading{font-size:16px;line-height:1.7;}
 .fancy-hero-four .bg-wrapper{padding:36px 0 44px !important;}
 .fancy-hero-four :is(h1,h2){font-size:32px !important;line-height:1.25 !important;}
 /* A compact version of the original photo composition. */
 .fancy-feature-eight{padding:56px 0 !important;}
 .about-split{display:flex !important;flex-direction:column;gap:32px !important;}
 .about-visual{display:grid;grid-template-columns:1.15fr 1fr;grid-template-rows:132px 132px;gap:12px;min-height:0 !important;width:100%;}
 .about-visual .sq{position:static !important;width:100% !important;height:100% !important;border-radius:22px !important;margin:0 !important;box-shadow:none !important;}
 .about-visual .sq-main{grid-row:1/3;max-height:none !important;}
 .about-text .about-title{font-size:30px !important;line-height:1.2 !important;}
 .about-text p{font-size:16px !important;line-height:1.75 !important;}
 .about-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 28px !important;}
 .about-hero{padding:20px 0 32px !important;}
 .about-hero-top{display:grid !important;grid-template-columns:1fr !important;gap:24px !important;}
 .ah-frame{min-height:0 !important;max-height:none !important;aspect-ratio:16/11;border-radius:20px !important;}
 .ah-title{font-size:30px !important;line-height:1.25 !important;margin-bottom:16px !important;}
 .ah-lead,.at-panel p{font-size:16px !important;line-height:1.75 !important;}
 .ah-badge{left:14px !important;bottom:14px !important;padding:8px 12px !important;font-size:12px !important;}
 .about-tabs-row{margin-top:24px;}
 .at-title{font-size:28px !important;line-height:1.25 !important;}
 .at-tabs-nav{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px !important;margin:24px 0 !important;}
 .at-tab{min-height:44px;font-size:14px !important;padding:10px 0 !important;text-align:left;}
 .counter-with-icon-one{padding:40px 0 !important;}
 .counter-box-three{padding:18px 8px !important;margin:0;}
 .counter-box-three .number{font-size:34px !important;}
 .counter-box-three p{font-size:14px !important;line-height:1.5;}
 .useable-tools-section-three{margin:56px 0 !important;}
 .useable-tools-section-three .sub-text{font-size:16px !important;line-height:1.75 !important;margin:20px 0 !important;}
 /* Service details, forms and waiting lists. */
 .fancy-text-block-nineteen{margin-top:48px !important;}
 .fancy-text-block-nineteen .text-wrapper{margin-top:28px !important;padding:0 !important;}
 .fancy-text-block-nineteen .text-wrapper h6{font-size:12px !important;line-height:1.6;}
 .fancy-text-block-nineteen .title{font-size:28px !important;line-height:1.25 !important;margin:12px 0 18px !important;}
 .fancy-text-block-nineteen .text-wrapper p{font-size:16px !important;line-height:1.75 !important;}
 .fancy-text-block-nineteen .col-lg-6>div:has(>img){border-radius:20px !important;}
 .fancy-text-block-nineteen img{max-height:280px;object-fit:cover;}
 .fancy-text-block-nineteen .theme-btn-seven{display:inline-flex !important;min-height:48px;line-height:1.5;align-items:center;justify-content:center;margin-top:20px !important;}
 .container>div:has(>h2+p+form){padding:32px 22px !important;border-radius:20px !important;}
 .container>div:has(>h2+p+form) h2{font-size:28px !important;line-height:1.25 !important;}
 .container>div:has(>h2+p+form) form{display:flex !important;flex-direction:column;gap:10px !important;margin-top:24px !important;}
 .container>div:has(>h2+p+form) input{min-width:0;min-height:50px;width:100%;flex:auto !important;}
 .container>div:has(>h2+p+form) button{min-height:50px;width:100%;font-size:15px !important;}
 .contact-style-two .contact-info-wrapper{padding:36px 0 0 !important;}
 .contact-style-two .address-info{text-align:left;padding:24px !important;margin-bottom:16px;background:#f7f9fc;border-radius:16px;}
 .contact-style-two .address-info .icon{height:auto;margin:0 0 16px;}
 .contact-style-two .address-info .title{font-size:20px !important;}
 .contact-style-two .address-info p{font-size:16px !important;line-height:1.7 !important;}
 .contact-style-two .contact-info-wrapper .address-info{text-align:left !important;padding:22px !important;background:#f7f9fc;box-shadow:none;border:1px solid #edf0f4;}
 .contact-style-two .contact-info-wrapper .address-info .icon{height:36px !important;margin:0 0 16px !important;justify-content:flex-start;}
 .contact-style-two .contact-info-wrapper .address-info .icon img{max-height:36px;max-width:36px;}
 .form-style-classic{margin-top:36px !important;}
 .oxygen-contact-card{padding:28px 20px !important;border-radius:20px !important;}
 .oxygen-contact-card h3{font-size:26px !important;line-height:1.25 !important;margin-bottom:24px !important;}
 #oxygen-contact-form button[type=submit]{width:100%;min-height:50px;}
 .accordion-style-four .card-header button,.accordion-style-four .card-header h5{font-size:17px !important;line-height:1.5 !important;}
 /* Project content uses the same mobile scale. */
 .o4-section,.o4-cta{padding:56px 0 !important;}
 .o4-h2,.o4-cta-title{font-size:28px !important;line-height:1.25 !important;}
 .o4-section-head{margin-bottom:30px !important;}
 #mission .o4-section-head{margin-bottom:0 !important;}
 .o4-service-title,.o4-model-title,.o4-why-h{font-size:20px !important;line-height:1.4 !important;}
 .o4-section p,.o4-cta p{font-size:16px !important;line-height:1.75 !important;}
 .o4-hero-stats{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px !important;padding:24px 16px !important;margin:24px 0 0 !important;}
 .o4-hero-stat-value{font-size:34px !important;}
 .o4-hero-stat-label{font-size:12px !important;line-height:1.5;}
 /* Two-column footer, with full-width introduction and contact details. */
 .theme-footer-three{padding:48px 0 20px !important;margin-top:48px;}
 .theme-footer-three .top-footer>.container>.row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;margin:0;}
 .theme-footer-three .top-footer .row>div{max-width:none;width:auto;padding:0;margin:0 !important;}
 .theme-footer-three .footer-about-widget,.theme-footer-three .address-list{grid-column:1/-1;}
 .theme-footer-three .footer-about-widget .logo img{max-width:136px;}
 .theme-footer-three .footer-about-widget p{text-align:left !important;font-size:14px;line-height:1.75;margin-top:20px;}
 .theme-footer-three .footer-title{font-size:18px;margin-bottom:12px;}
 .theme-footer-three .footer-list a{display:inline-flex;align-items:center;min-height:40px;font-size:14px;line-height:1.5;}
 .footer-services .footer-toggle{min-width:40px;min-height:40px;font-size:20px;}
 .footer-services .footer-suboxygen li a{white-space:normal !important;font-size:13px !important;}
 .theme-footer-three .bottom-footer-content{padding-top:24px;margin-top:24px;border-top:1px solid #edf0f4;}
 .theme-footer-three .bottom-footer-content p{text-align:left;font-size:13px;}
}
@media(max-width:359px){
 .container,.container-fluid{padding-left:16px !important;padding-right:16px !important;}
 .hero-banner-three .text-wrapper .home-heading,h1{font-size:30px !important;}
 .about-visual{grid-template-rows:116px 116px;}
}
@media(min-width:768px) and (max-width:991px){
 .container{padding-left:24px !important;padding-right:24px !important;}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto !important;}
 .navbar-collapse,.o4-service-card,.at-panel{transition:none !important;animation:none !important;}
}
