/* AquaSafe homepage.
 *
 * What remains of the sheet that used to serve the homepage and the thirteen
 * -reference design-mockup routes together. Those routes are gone, and this
 * file is loaded by nothing but the homepage, so every rule that needed a
 * -reference body class went with them.
 *
 * The .aquasafe-reference-home scope was renamed .aquasafe-home: it never
 * styled the mockup alone, it styles the live page, and keeping the old name
 * would point at something that no longer exists.
 *
 * The current homepage layer is frontend/css/aquasafe-home-v3.css; this sheet
 * is the base it sits on.
 */

.aquasafe-landing{color:var(--as-ink)}
.aquasafe-landing .tg-header__top{background:var(--as-navy);padding:7px 0}
.aquasafe-landing .tg-header__area{background:#fff;box-shadow:0 2px 12px rgba(7,26,73,.08)}
.aquasafe-landing .tgmenu__nav{min-height:76px}
.aquasafe-landing .tgmenu__nav .logo img{max-height:50px}
.aquasafe-landing .navigation>li>a{color:var(--as-ink);font-weight:600}
.aquasafe-landing .btn{background:var(--as-red);border-color:var(--as-red);border-radius:7px;box-shadow:var(--as-shadow-cta)}
.aquasafe-landing .btn:hover{background:var(--as-navy);border-color:var(--as-navy)}
.aquasafe-landing .footer__area{background:var(--as-navy)}
.aquasafe-landing .footer__top{padding-top:60px}
.aquasafe-landing .footer__widget-title, .aquasafe-landing .footer__content, .aquasafe-landing .footer__content p, .aquasafe-landing .footer__link a, .aquasafe-landing .footer__contact-content p{color:#fff}
.aquasafe-landing .footer__bottom{border-top:1px solid rgba(255,255,255,.16)}
.aquasafe-landing .instructor__area-two{padding:70px 0;background:var(--as-soft)}
.aquasafe-landing .instructor__area-two>.container{max-width:1080px}
.aquasafe-landing .instructor__item-two{border:1px solid var(--as-line);border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 8px 25px rgba(7,26,73,.05)}
.aquasafe-landing .instructor__thumb-two img{max-height:250px;object-fit:contain}
.aquasafe-landing .instructor__content-two .title{font-size:20px}
.aquasafe-landing .footer__top .container, .aquasafe-landing .footer__bottom .container{max-width:1120px}
.aquasafe-landing .footer__widget .logo img{max-height:44px;filter:brightness(0) invert(1)}
.aquasafe-landing .footer__widget-title{font-size:14px}
.aquasafe-landing .footer__content p, .aquasafe-landing .footer__content li, .aquasafe-landing .footer__link a, .aquasafe-landing .footer__contact-content p{font-size:12px;line-height:1.6}
.aquasafe-landing .footer__bottom{padding:18px 0}
.aquasafe-landing .copy-right-text p, .aquasafe-landing .footer__bottom-menu a{font-size:12px;color:#fff}
@media(max-width:767px){
.aquasafe-landing .instructor__area-two{padding:55px 0}
}
/* Screenshot-shaped layout using the existing CMS content. */
.aquasafe-home .as-shell{width:min(1120px,calc(100% - 40px));margin:auto}
.aquasafe-home .as-hero{min-height:520px;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 37%,rgba(255,255,255,.2) 63%,transparent 78%),var(--as-hero-image) center/cover no-repeat}
.aquasafe-home .as-hero__inner{min-height:520px;display:flex;align-items:center}
.aquasafe-home .as-hero__copy{width:54%;padding:65px 0 100px}
.aquasafe-home .as-hero h1{font-size:54px;line-height:1.07;letter-spacing:-.04em;color:var(--as-ink);margin-bottom:18px}
.aquasafe-home .as-hero-subtitle, .aquasafe-home .as-hero-subtitle p{font-size:16px;line-height:1.75;color:var(--as-body)}
.aquasafe-home .as-actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:25px}
.aquasafe-home .as-btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;padding:0 24px;border-radius:7px;font-size:13px;font-weight:700}
.aquasafe-home .as-btn--red{background:var(--as-red);color:#fff}
.aquasafe-home .as-location{margin-top:27px;font-size:13px;font-weight:700}
.aquasafe-home .as-location i{color:var(--as-red);margin-right:9px}
.aquasafe-home .as-trust-wrap{position:relative;margin-top:-55px;z-index:3}
.aquasafe-home .as-trust{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--as-line);border-radius:10px;padding:24px 10px;box-shadow:0 16px 45px rgba(11,34,80,.1)}
.aquasafe-home .as-trust article{text-align:center;padding:7px 25px;border-right:1px solid var(--as-line)}
.aquasafe-home .as-trust article:last-child{border:0}
.aquasafe-home .as-trust i{font-size:30px;color:var(--as-blue);margin-bottom:12px}
.aquasafe-home .as-trust h3{font-size:18px;margin-bottom:4px}
.aquasafe-home .as-trust p{font-size:12px;color:var(--as-muted);margin:0}
.aquasafe-home .as-cta{padding:27px 0;background:linear-gradient(115deg,var(--as-blue),var(--as-blue-dark));color:#fff}
.aquasafe-home .as-cta .as-shell{display:flex;justify-content:space-between;align-items:center}
.aquasafe-home .as-cta h2{color:#fff;font-size:24px;margin:0}
.aquasafe-home .as-cta p{margin:3px 0}
.aquasafe-home .as-cta .as-actions{margin:0}
@media(max-width:991px){
.aquasafe-home .as-hero__copy{width:65%}
.aquasafe-home .as-hero h1{font-size:40px}
.aquasafe-home .as-trust{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:767px){
.aquasafe-home .as-shell{width:calc(100% - 28px)}
.aquasafe-home .as-hero{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.78)),var(--as-hero-image) center/cover}
.aquasafe-home .as-hero__copy{width:100%;padding:55px 0 90px}
.aquasafe-home .as-hero h1{font-size:40px}
.aquasafe-home .as-trust{grid-template-columns:1fr}
.aquasafe-home .as-trust article{border-right:0;border-bottom:1px solid var(--as-line)}
.aquasafe-home .as-cta .as-shell{display:block}
.aquasafe-home .as-cta .as-actions{margin-top:18px}
}
@media(min-width:768px){
.aquasafe-home .as-home-hero{background-image:linear-gradient(90deg,#fff 0%,#fff 33%,rgba(255,255,255,.94) 44%,rgba(255,255,255,.58) 60%,rgba(255,255,255,.12) 78%,transparent 92%),var(--as-hero-image);background-position:center,right center;background-size:100% 100%,75% 100%}
}
.aquasafe-home .tg-header__top .container, .aquasafe-home .tg-header__area .container{max-width:1180px}
.aquasafe-home .tg-header__top{min-height:34px;display:flex;align-items:center}
.aquasafe-home .tg-header__top-info li, .aquasafe-home .tg-header__top-info a, .aquasafe-home .tg-header__top-social li{font-size:12px;color:#fff}
.aquasafe-home .tg-header__top-info img{max-height:13px;width:auto;filter:brightness(0) invert(1)}
.aquasafe-home .tg-header__area{border-bottom:1px solid var(--as-line)}
.aquasafe-home .tgmenu__nav{min-height:76px;gap:22px}
.aquasafe-home .tgmenu__nav .logo{flex:0 0 155px}
.aquasafe-home .tgmenu__nav .logo img{max-width:145px;max-height:52px}
.aquasafe-home .tgmenu__navbar-wrap{margin-left:10px}
.aquasafe-home .navigation{gap:2px}
.aquasafe-home .navigation>li>a{font-size:13px;padding:27px 13px}
.aquasafe-home .tgmenu__search{margin-left:auto;max-width:235px}
.aquasafe-home .tgmenu__search-form .input-grp{border:1px solid var(--as-line);border-radius:7px;height:42px;background:#fff}
.aquasafe-home .tgmenu__search-form input{font-size:12px;padding-left:15px}
.aquasafe-home .tgmenu__search-form button{color:var(--as-navy)}
.aquasafe-home .tgmenu__action>ul{gap:9px}
.aquasafe-home .tgmenu__action .mini-cart-icon>a{width:42px;height:42px;border:1px solid var(--as-line);border-radius:7px;display:grid;place-items:center}
.aquasafe-home .tgmenu__action .mini-cart-icon>a img{max-width:17px}
.aquasafe-home .footer__area{background:var(--as-navy)}
.aquasafe-home .footer__top{padding:48px 0 32px}
.aquasafe-home .footer__top .row{align-items:flex-start}
.aquasafe-home .footer__widget .logo{margin-bottom:16px!important}
.aquasafe-home .footer__widget .logo img{max-width:125px;max-height:42px}
.aquasafe-home .footer__widget-title{font-size:14px;margin-bottom:16px;color:#fff}
.aquasafe-home .footer__content p, .aquasafe-home .footer__content li, .aquasafe-home .footer__link li, .aquasafe-home .footer__link a, .aquasafe-home .footer__contact-content p{font-size:12px;line-height:1.55;color:rgba(255,255,255,.82)}
.aquasafe-home .footer__social a{width:28px;height:28px;background:rgba(255,255,255,.1)}
.aquasafe-home .footer__social img{max-width:13px;max-height:13px;filter:brightness(0) invert(1)}
.aquasafe-home .footer__bottom{padding:15px 0;background:var(--as-navy-deep)}
.aquasafe-home .footer__bottom-menu ul{gap:18px}
.aquasafe-home .footer__bottom-menu a, .aquasafe-home .copy-right-text p{font-size:12px;color:rgba(255,255,255,.78)}
@media(max-width:1199px){
.aquasafe-home .tgmenu__nav{gap:12px}
.aquasafe-home .tgmenu__search{max-width:210px}
}
@media(min-width:1200px){
.aquasafe-home .tgmenu__wrap, .aquasafe-home .tgmenu__nav{width:100%}
.aquasafe-home .tgmenu__nav{display:flex;align-items:center;flex-wrap:nowrap;gap:14px}
.aquasafe-home .tgmenu__nav .logo{flex:0 0 145px;margin:0}
.aquasafe-home .tgmenu__navbar-wrap{display:flex!important;align-items:center;flex:1 1 auto;min-width:0;margin:0}
.aquasafe-home .tgmenu__navbar-wrap>ul.navigation{display:flex;align-items:center;flex-wrap:nowrap;width:100%;margin:0}
.aquasafe-home .navigation>li{flex:0 0 auto}
.aquasafe-home .navigation>li>a{padding:27px 10px;font-size:12px;white-space:nowrap}
.aquasafe-home .tgmenu__search{display:block!important;flex:0 1 220px;min-width:175px;margin:0}
.aquasafe-home .tgmenu__search-form, .aquasafe-home .tgmenu__search-form .input-grp{width:100%;margin:0}
.aquasafe-home .tgmenu__action{flex:0 0 auto;margin:0}
.aquasafe-home .tgmenu__action>ul{display:flex;align-items:center;flex-wrap:nowrap;margin:0;gap:8px}
}
/* Full-width page rhythm with consistent edge gutters. */
.aquasafe-home .as-shell{width:calc(100% - 64px);max-width:1380px}
.aquasafe-home .tg-header__top .container, .aquasafe-home .tg-header__area .container, .aquasafe-home .footer__top .container, .aquasafe-home .footer__bottom .container{width:100%;max-width:none;padding-left:32px;padding-right:32px}
@media(min-width:1200px){
.aquasafe-home .tgmenu__nav .logo{flex-basis:155px}
.aquasafe-home .navigation>li>a{padding-left:12px;padding-right:12px}
.aquasafe-home .tgmenu__search{flex:0 0 300px;max-width:300px;min-width:300px}
.aquasafe-home .tgmenu__search-form{width:300px;border:1px solid var(--as-line);border-radius:100px;background:#fff;overflow:hidden}
.aquasafe-home .tgmenu__search-form .input-grp{height:48px;border:0;border-radius:0;background:transparent}
.aquasafe-home .tgmenu__search-form input{height:48px;padding:12px 50px 10px 18px;font-size:14px}
.aquasafe-home .tgmenu__search-form input::placeholder{font-size:13px;color:var(--as-muted)}
.aquasafe-home .tgmenu__search-form button{right:4px;width:42px;height:42px;background:transparent;border:0;box-shadow:none}
}
@media(max-width:767px){
.aquasafe-home .as-shell{width:calc(100% - 28px)}
.aquasafe-home .tg-header__top .container, .aquasafe-home .tg-header__area .container, .aquasafe-home .footer__top .container, .aquasafe-home .footer__bottom .container{padding-left:14px;padding-right:14px}
}
.aquasafe-home .as-hero__copy>h3{font-size:20px;color:var(--as-ink);margin:0 0 10px}
.aquasafe-home .as-trust-icon{display:block;width:44px;height:44px;margin:0 auto 12px;fill:none;stroke:var(--as-blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* Featured course — isolated reference design. */
.aquasafe-home .as-featured-course{padding:58px 0 34px;background:#fff}
.aquasafe-home .as-featured-course__container{width:min(1170px,calc(100% - 40px));margin:0 auto}
.aquasafe-home .as-featured-course__heading{text-align:center;margin-bottom:23px}
.aquasafe-home .as-featured-course__heading>span{display:block;margin-bottom:7px;color:var(--as-red);font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.aquasafe-home .as-featured-course__heading h2{margin:0;color:var(--as-navy);font-size:30px;line-height:1.25;font-weight:700}
.aquasafe-home .as-featured-course__stage{position:relative;width:min(920px,calc(100% - 110px));margin:0 auto}
.aquasafe-home .as-featured-course__slider{overflow:hidden;border-radius:10px}
.aquasafe-home .as-featured-card{display:grid;grid-template-columns:35% 65%;grid-template-rows:286px 62px;grid-template-areas:"image content" "price actions";overflow:hidden;border:1px solid var(--as-line);border-radius:10px;background:#fff;box-shadow:0 7px 24px rgba(12,35,76,.04)}
.aquasafe-home .as-featured-card__image{grid-area:image;display:block;overflow:hidden;border-right:1px solid var(--as-line)}
.aquasafe-home .as-featured-card__image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.aquasafe-home .as-featured-card__content{grid-area:content;display:flex;flex-direction:column;min-width:0;padding:23px 24px 0}
.aquasafe-home .as-featured-card__content h3{margin:0 0 11px;font-size:18px;line-height:1.35;font-weight:700;color:var(--as-navy)}
.aquasafe-home .as-featured-card__content h3 a{color:inherit}
.aquasafe-home .as-featured-card__badges{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}
.aquasafe-home .as-featured-card__badges span{display:inline-flex;align-items:center;min-height:23px;padding:3px 9px;border-radius:5px;background:var(--as-soft-blue);color:var(--as-blue);font-size:12px;line-height:1;font-weight:700}
.aquasafe-home .as-featured-card__content>p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:41px;margin:0;color:var(--as-body);font-size:12px;line-height:1.75}
.aquasafe-home .as-featured-card__meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:78px;margin:auto -24px 0;border-top:1px solid var(--as-line)}
.aquasafe-home .as-featured-card__meta-item{display:grid;grid-template-columns:27px minmax(0,1fr);align-items:start;padding:17px 11px 13px;border-right:1px solid var(--as-line)}
.aquasafe-home .as-featured-card__meta-item:last-child{border-right:0}
.aquasafe-home .as-featured-card__meta-item>i{margin-top:0;color:var(--as-navy);font-size:18px;line-height:1}
.aquasafe-home .as-featured-card__meta-item>span{display:flex;min-width:0;flex-direction:column}
.aquasafe-home .as-featured-card__meta-item small{display:block;margin:0 0 5px;color:var(--as-navy);font-size:12px;line-height:1;font-weight:800}
.aquasafe-home .as-featured-card__meta-item strong{display:block;overflow-wrap:anywhere;color:var(--as-body);font-size:12px;line-height:1.35;font-weight:500}
.aquasafe-home .as-featured-card__rating>i{color:#ffb400}
.aquasafe-home .as-featured-card__price{grid-area:price;display:flex;align-items:center;padding:0 18px;border-top:1px solid var(--as-line);color:var(--as-blue);font-size:20px;font-weight:800}
.aquasafe-home .as-featured-card__actions{grid-area:actions;display:flex;align-items:center;justify-content:flex-end;gap:27px;padding:9px 16px;border-top:1px solid var(--as-line)}
.aquasafe-home .as-featured-card__enroll{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-width:150px;height:42px;padding:0 18px;border-radius:6px;background:linear-gradient(135deg,var(--as-red),var(--as-red-dark));color:#fff;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:0 6px 14px rgba(211,0,0,.13)}
.aquasafe-home .as-featured-course__prev, .aquasafe-home .as-featured-course__next{position:absolute;top:50%;z-index:5;display:grid;place-items:center;width:43px;height:43px;padding:0;border:1px solid var(--as-line);border-radius:50%;background:#fff;color:var(--as-navy);box-shadow:0 7px 20px rgba(8,31,75,.08);transform:translateY(-50%);transition:.2s}
.aquasafe-home .as-featured-course__prev{left:-74px}
.aquasafe-home .as-featured-course__next{right:-74px}
.aquasafe-home .as-featured-course__prev:hover, .aquasafe-home .as-featured-course__next:hover{border-color:var(--as-blue);background:var(--as-blue);color:#fff}
.aquasafe-home .as-featured-course__dots{display:flex;justify-content:center;align-items:center;min-height:17px;margin-top:12px}
.aquasafe-home .as-featured-course__dots .swiper-pagination-bullet{width:10px;height:10px;margin:0 6px;background:var(--as-line-strong);opacity:1}
.aquasafe-home .as-featured-course__dots .swiper-pagination-bullet-active{width:16px;border-radius:8px;background:var(--as-blue)}
.aquasafe-home .as-featured-course__empty{padding:45px;text-align:center;color:var(--as-muted)}
@media(max-width:991px){
.aquasafe-home .as-featured-course__stage{width:calc(100% - 80px)}
.aquasafe-home .as-featured-card{grid-template-columns:38% 62%;grid-template-rows:auto 62px}
.aquasafe-home .as-featured-card__meta{grid-template-columns:repeat(2,1fr)}
.aquasafe-home .as-featured-card__meta-item:nth-child(2){border-right:0}
.aquasafe-home .as-featured-card__content>p{margin-bottom:18px}
.aquasafe-home .as-featured-course__prev{left:-52px}
.aquasafe-home .as-featured-course__next{right:-52px}
}
@media(max-width:767px){
.aquasafe-home .as-featured-course{padding:48px 0 30px}
.aquasafe-home .as-featured-course__container{width:calc(100% - 28px)}
.aquasafe-home .as-featured-course__heading h2{font-size:24px}
.aquasafe-home .as-featured-course__stage{width:100%;padding-bottom:54px}
.aquasafe-home .as-featured-card{grid-template-columns:1fr;grid-template-rows:240px 54px auto auto;grid-template-areas:"image" "price" "content" "actions"}
.aquasafe-home .as-featured-card__image{border-right:0}
.aquasafe-home .as-featured-card__content{padding:21px 17px 0}
.aquasafe-home .as-featured-card__meta{margin:0 -17px}
.aquasafe-home .as-featured-card__actions{justify-content:space-between;gap:12px;padding:12px 14px}
.aquasafe-home .as-featured-card__enroll{min-width:130px}
.aquasafe-home .as-featured-course__prev, .aquasafe-home .as-featured-course__next{top:auto;bottom:0;width:40px;height:40px;transform:none}
.aquasafe-home .as-featured-course__prev{left:calc(50% - 52px)}
.aquasafe-home .as-featured-course__next{right:calc(50% - 52px)}
.aquasafe-home .as-featured-course__dots{margin-top:10px}
}
/* About — isolated reference design. */
.aquasafe-home .as-certification-about{padding:64px 0;background:#fff}
.aquasafe-home .as-certification-about__heading{width:min(980px,calc(100% - 40px));margin:0 auto 32px;text-align:center}
.aquasafe-home .as-certification-about__heading>span{display:block;margin-bottom:12px;color:var(--as-red)!important;font-size:12px;line-height:1.2;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.aquasafe-home .as-certification-about__heading h2{margin:0;color:var(--as-navy);font-size:clamp(30px,2.6vw,40px);line-height:1.25;font-weight:750}
.aquasafe-home .as-certification-about__heading h2 span, .aquasafe-home .as-certification-about__heading h2 strong{color:var(--as-navy)!important}
.aquasafe-home .as-certification-about__container{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:78px;width:min(1380px,calc(100% - 40px));margin:0 auto}
.aquasafe-home .as-certification-about__media{position:relative;display:flex;align-items:center;justify-content:center;min-height:520px}
.aquasafe-home .as-certification-about__media>img{display:block;width:100%;max-width:620px;max-height:560px;object-fit:contain}
.aquasafe-home .as-certification-about__play{position:absolute;inset:50% auto auto 50%;display:grid;place-items:center;width:62px;height:62px;transform:translate(-50%,-50%);border-radius:50%;background:var(--as-red);color:#fff;box-shadow:0 8px 24px rgba(217,0,0,.22)}
.aquasafe-home .as-certification-about__content{max-width:650px}
.aquasafe-home .as-certification-about__description{color:var(--as-navy);font-size:16px;line-height:1.65;font-weight:600}
.aquasafe-home .as-certification-about__description ul{display:grid;gap:22px;margin:0;padding:0;list-style:none}
.aquasafe-home .as-certification-about__description li{position:relative;margin:0;padding-left:56px}
.aquasafe-home .as-certification-about__description li::before{content:"\f054";position:absolute;top:1px;left:0;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--as-red);color:#fff;font-family:"Font Awesome 5 Free";font-size:14px;font-weight:900}
.aquasafe-home .as-certification-about__description p{margin:0 0 20px}
.aquasafe-home .as-certification-about__button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;margin-top:28px;padding:0 24px;border-radius:6px;background:var(--as-red);color:#fff;font-size:14px;font-weight:700}
@media(max-width:991px){
.aquasafe-home .as-certification-about__container{grid-template-columns:1fr;gap:38px}
.aquasafe-home .as-certification-about__media{min-height:0}
.aquasafe-home .as-certification-about__content{max-width:none}
.aquasafe-home .as-certification-about__media>img{max-height:480px}
}
@media(max-width:575px){
.aquasafe-home .as-certification-about{padding:42px 0}
.aquasafe-home .as-certification-about__heading{width:calc(100% - 28px);margin-bottom:24px}
.aquasafe-home .as-certification-about__heading h2{font-size:30px}
.aquasafe-home .as-certification-about__container{width:calc(100% - 28px)}
.aquasafe-home .as-certification-about__description{font-size:14px}
.aquasafe-home .as-certification-about__description li{padding-left:46px}
.aquasafe-home .as-certification-about__description li::before{width:32px;height:32px}
}
/* Certification journey — isolated reference design. */
.aquasafe-home .as-certification-journey{padding:31px 0 34px;background:var(--as-soft)}
.aquasafe-home .as-certification-journey__container{width:min(1380px,calc(100% - 40px));margin:0 auto}
.aquasafe-home .as-certification-journey__heading{text-align:center;margin-bottom:27px}
.aquasafe-home .as-certification-journey__heading>span{display:block;margin-bottom:7px;color:var(--as-blue);font-size:12px;line-height:1.2;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.aquasafe-home .as-certification-journey__heading h2{margin:0;color:var(--as-navy);font-size:30px;line-height:1.25;font-weight:700}
.aquasafe-home .as-certification-journey__heading p{max-width:820px;margin:12px auto 0;color:var(--as-body);font-size:14px;line-height:1.65}
.aquasafe-home .as-certification-journey__steps{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.aquasafe-home .as-journey-card{position:relative;display:flex;align-items:flex-start;height:100%;min-height:270px;padding:24px 18px 20px;border:1px solid var(--as-line);border-radius:8px;background:#fff;box-shadow:0 3px 12px rgba(12,35,76,.025);overflow:hidden}
.aquasafe-home .as-journey-card:not(:last-child)::after{content:"";position:absolute;top:50%;right:-31px;width:31px;border-top:2px dashed var(--as-blue)}
.aquasafe-home .as-journey-card:not(:last-child)::before{content:"";position:absolute;z-index:2;top:calc(50% - 4px);right:-31px;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:7px solid var(--as-blue)}
.aquasafe-home .as-journey-card__number{position:absolute;z-index:2;top:14px;left:14px;display:grid;place-items:center;width:38px;height:38px;border:3px solid #fff;border-radius:50%;background:var(--as-blue-soft);color:#fff;font-size:20px;line-height:1;font-weight:500;box-shadow:0 1px 5px rgba(6,75,147,.15)}
.aquasafe-home .as-journey-card__body{width:100%}
.aquasafe-home .as-journey-card__heading{display:flex;align-items:center;min-height:64px;gap:12px;margin-bottom:12px;padding-left:42px}
.aquasafe-home .as-journey-card__icon{flex:0 0 58px;width:58px;height:58px;object-fit:contain}
.aquasafe-home .as-journey-card__heading h3{margin:0;font-size:14px;line-height:1.3}
.aquasafe-home .as-journey-card__body>p{font-size:13px;line-height:1.55}
.aquasafe-home .as-journey-card h3{margin:0 0 12px;color:var(--as-navy);font-size:14px;line-height:1.3;font-weight:800}
.aquasafe-home .as-journey-card p{margin:0;color:var(--as-body);font-size:12px;line-height:1.75;font-weight:400}
@media(max-width:991px){
.aquasafe-home .as-certification-journey__steps{grid-template-columns:1fr;gap:18px}
.aquasafe-home .as-journey-card:not(:last-child)::before, .aquasafe-home .as-journey-card:not(:last-child)::after{display:none}
.aquasafe-home .as-journey-card{aspect-ratio:auto;min-height:155px}
}
@media(max-width:575px){
.aquasafe-home .as-certification-journey{padding:35px 0}
.aquasafe-home .as-certification-journey__container{width:calc(100% - 28px)}
.aquasafe-home .as-certification-journey__heading h2{font-size:24px}
.aquasafe-home .as-journey-card{grid-template-columns:95px 1fr;padding:20px 16px}
.aquasafe-home .as-journey-card__number{top:16px;left:14px;width:45px;height:45px;font-size:24px}
.aquasafe-home .as-journey-card__icon{width:86px;height:80px}
.aquasafe-home .as-journey-card h3{font-size:14px}
}
/* FAQ — isolated reference design. */
.aquasafe-home .as-certification-faq{padding:31px 0 25px;background:var(--as-soft)}
.aquasafe-home .as-certification-faq__container{width:min(1030px,calc(100% - 40px));margin:0 auto}
.aquasafe-home .as-certification-faq__heading{text-align:center;margin-bottom:16px}
.aquasafe-home .as-certification-faq__heading>span{display:block;margin-bottom:6px;color:var(--as-blue);font-size:12px;line-height:1.2;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.aquasafe-home .as-certification-faq__heading h2{margin:0;color:var(--as-navy);font-size:24px;line-height:1.25;font-weight:700}
.aquasafe-home .as-certification-faq__layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(250px,1fr);gap:34px;align-items:stretch}
.aquasafe-home .as-certification-faq__accordion{overflow:hidden;border:1px solid var(--as-line);border-radius:7px;background:#fff}
.aquasafe-home .as-certification-faq__accordion .accordion-item{border:0;border-bottom:1px solid var(--as-line);border-radius:0;background:#fff}
.aquasafe-home .as-certification-faq__accordion .accordion-item:last-child{border-bottom:0}
.aquasafe-home .as-certification-faq__accordion .accordion-button{min-height:38px;padding:8px 16px;border:0;background:#fff;box-shadow:none;color:var(--as-navy);font-size:12px;line-height:1.35;font-weight:700}
.aquasafe-home .as-certification-faq__accordion .accordion-button:not(.collapsed){background:#fff;color:var(--as-blue)}
.aquasafe-home .as-certification-faq__accordion .accordion-button::after{width:12px;height:12px;background-size:12px}
.aquasafe-home .as-certification-faq__accordion .accordion-body{padding:2px 16px 12px;color:var(--as-muted);font-size:12px;line-height:1.6}
@media(max-width:767px){
.aquasafe-home .as-certification-faq{padding:35px 0}
.aquasafe-home .as-certification-faq__container{width:calc(100% - 28px)}
.aquasafe-home .as-certification-faq__layout{grid-template-columns:1fr;gap:18px}
.aquasafe-home .as-certification-faq__heading h2{font-size:24px}
}
/* Additional dynamic home sections. */
.aquasafe-home .as-reference-section-container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.aquasafe-home .as-reference-section-heading{max-width:680px;margin:0 auto 30px;text-align:center}
.aquasafe-home .as-reference-section-heading>span{display:block;margin-bottom:8px;color:var(--as-blue);font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.aquasafe-home .as-reference-section-heading h2{margin:0;color:var(--as-navy);font-size:clamp(27px,2.4vw,34px);line-height:1.2}
.aquasafe-home .as-reference-section-heading p{margin:11px 0 0;color:var(--as-muted);font-size:14px;line-height:1.7}
.aquasafe-home .as-reference-categories{padding:55px 0;background:#fff}
.aquasafe-home .as-reference-categories__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.aquasafe-home .as-reference-categories__grid>a{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr) 15px;grid-template-rows:auto auto;column-gap:14px;align-items:center;padding:18px;border:1px solid var(--as-line);border-radius:8px;background:#fff;box-shadow:0 7px 20px rgba(7,26,73,.05);transition:.25s ease}
.aquasafe-home .as-reference-categories__grid>a:hover{border-color:var(--as-blue-soft);transform:translateY(-3px)}
.aquasafe-home .as-reference-categories__icon{display:grid;grid-row:1/3;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--as-soft-blue)}
.aquasafe-home .as-reference-categories__icon img{width:28px;height:28px;object-fit:contain}
.aquasafe-home .as-reference-categories__grid strong{color:var(--as-navy);font-size:13px;line-height:1.3}
.aquasafe-home .as-reference-categories__grid small{color:var(--as-muted);font-size:12px}
.aquasafe-home .as-reference-categories__grid>a>i{grid-column:3;grid-row:1/3;color:var(--as-red);font-size:12px}
.aquasafe-home .as-reference-brands{padding:25px 0;border-top:1px solid var(--as-line);border-bottom:1px solid var(--as-line);background:var(--as-soft)}
.aquasafe-home .as-reference-brands p{margin:0 0 18px;color:var(--as-muted);font-size:12px;font-weight:700;letter-spacing:.08em;text-align:center;text-transform:uppercase}
.aquasafe-home .as-reference-brands__grid{display:flex;align-items:center;justify-content:center;gap:45px;flex-wrap:wrap}
.aquasafe-home .as-reference-brands__grid a{display:grid;place-items:center;width:130px;height:46px}
.aquasafe-home .as-reference-brands__grid img{max-width:100%;max-height:40px;object-fit:contain;filter:grayscale(1);opacity:.72;transition:.2s ease}
.aquasafe-home .as-reference-brands__grid a:hover img{filter:none;opacity:1}
.aquasafe-home .as-reference-instructors{padding:58px 0;background:var(--as-soft)}
.aquasafe-home .as-reference-instructors__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.aquasafe-home .as-reference-instructors__grid article{overflow:hidden;border:1px solid var(--as-line);border-radius:9px;background:#fff;box-shadow:0 8px 22px rgba(7,26,73,.06)}
.aquasafe-home .as-reference-instructors__image{display:block;height:225px;overflow:hidden}
.aquasafe-home .as-reference-instructors__image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.aquasafe-home .as-reference-instructors__grid article:hover img{transform:scale(1.04)}
.aquasafe-home .as-reference-instructors__grid article>div{padding:17px;text-align:center}
.aquasafe-home .as-reference-instructors h3{margin:0 0 4px;color:var(--as-navy);font-size:14px}
.aquasafe-home .as-reference-instructors h3 a{color:inherit}
.aquasafe-home .as-reference-instructors article span{color:var(--as-muted);font-size:12px}
.aquasafe-home .as-reference-instructors article p{margin:8px 0 0;color:var(--as-body);font-size:12px}
.aquasafe-home .as-reference-instructors article p i{color:#f5ad18}
.aquasafe-home .as-reference-instructors__action{margin-top:28px;text-align:center}
.aquasafe-home .as-reference-instructors__action a{display:inline-flex;align-items:center;gap:13px;height:44px;border-radius:5px;padding:0 20px;background:var(--as-blue);color:#fff;font-size:12px;font-weight:800}
@media(max-width:991px){
.aquasafe-home .as-reference-categories__grid, .aquasafe-home .as-reference-instructors__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:575px){
.aquasafe-home .as-reference-section-container{width:calc(100% - 28px)}
.aquasafe-home .as-reference-categories, .aquasafe-home .as-reference-instructors{padding:45px 0}
.aquasafe-home .as-reference-categories__grid, .aquasafe-home .as-reference-instructors__grid{grid-template-columns:1fr}
}
/* Latest news — dynamic blog feed in the reference-home visual language. */
.aquasafe-home .as-certification-news{padding:58px 0;background:#fff}
.aquasafe-home .as-certification-news__container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.aquasafe-home .as-certification-news__heading{margin-bottom:30px;text-align:center}
.aquasafe-home .as-certification-news__heading>span{display:inline-block;margin-bottom:9px;border-radius:20px;padding:6px 14px;background:var(--as-soft-blue);color:var(--as-blue);font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.aquasafe-home .as-certification-news__heading h2{margin:0;color:var(--as-navy);font-size:clamp(28px,2.5vw,36px);line-height:1.2}
.aquasafe-home .as-certification-news__heading p{margin:11px 0 0;color:var(--as-muted);font-size:14px}
.aquasafe-home .as-certification-news__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.aquasafe-home .as-certification-news__card{overflow:hidden;border:1px solid var(--as-line);border-radius:9px;background:#fff;box-shadow:0 8px 22px rgba(7,26,73,.06);transition:transform .25s ease,box-shadow .25s ease}
.aquasafe-home .as-certification-news__card:hover{transform:translateY(-5px);box-shadow:0 15px 30px rgba(7,26,73,.13)}
.aquasafe-home .as-certification-news__image{position:relative;height:190px;margin:14px 14px 0;overflow:hidden;border-radius:8px}
.aquasafe-home .as-certification-news__image>a:first-child, .aquasafe-home .as-certification-news__image img{display:block;width:100%;height:100%}
.aquasafe-home .as-certification-news__image img{object-fit:cover;transition:transform .35s ease}
.aquasafe-home .as-certification-news__card:hover .as-certification-news__image img{transform:scale(1.04)}
.aquasafe-home .as-certification-news__tag{position:absolute;bottom:14px;right:14px;border-radius:20px;padding:7px 14px;background:var(--as-blue-soft);color:#fff;font-size:12px;font-weight:800}
.aquasafe-home .as-certification-news__content{padding:17px 15px 20px}
.aquasafe-home .as-certification-news__meta{display:flex;align-items:center;gap:13px;margin-bottom:14px;color:var(--as-muted);font-size:12px}
.aquasafe-home .as-certification-news__meta span{display:flex;align-items:center;gap:6px}
.aquasafe-home .as-certification-news__meta i{color:var(--as-blue-soft);font-size:14px}
.aquasafe-home .as-certification-news__content h3{min-height:48px;margin:0 0 15px;color:var(--as-navy);font-size:16px;line-height:1.45}
.aquasafe-home .as-certification-news__content h3 a{color:inherit}
.aquasafe-home .as-certification-news__link{display:inline-flex;align-items:center;gap:9px;color:var(--as-blue);font-size:12px;font-weight:800}
.aquasafe-home .as-certification-news__link i{color:var(--as-red)}
@media(max-width:991px){
.aquasafe-home .as-certification-news__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:575px){
.aquasafe-home .as-certification-news{padding:45px 0}
.aquasafe-home .as-certification-news__container{width:calc(100% - 28px)}
.aquasafe-home .as-certification-news__grid{grid-template-columns:1fr}
.aquasafe-home .as-certification-news__image{height:220px}
}
/* Reference footer. */
.aquasafe-home .as-cta p{color:#fff}
.aquasafe-home .as-newsletter-cta{padding:30px 0}
.aquasafe-home .as-newsletter-cta h2{font-size:24px;line-height:1.25}
.aquasafe-home .as-newsletter-cta__form{display:flex;width:min(540px,52%);height:50px}
.aquasafe-home .as-newsletter-cta__form input{min-width:0;flex:1;border:0;border-radius:6px 0 0 6px;padding:0 17px;background:#fff;color:var(--as-navy);font-size:13px;outline:0}
.aquasafe-home .as-newsletter-cta__form button{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-width:145px;border:0;border-radius:0 6px 6px 0;padding:0 18px;background:var(--as-red);color:#fff;font-size:12px;font-weight:800}
@media(max-width:767px){
.aquasafe-home .as-newsletter-cta__form{width:100%;margin-top:18px}
}
@media(max-width:575px){
.aquasafe-home .as-newsletter-cta__form{height:auto;flex-direction:column;gap:9px}
.aquasafe-home .as-newsletter-cta__form input, .aquasafe-home .as-newsletter-cta__form button{width:100%;height:46px;border-radius:6px}
}
.aquasafe-home .as-featured-course__heading>span, .aquasafe-home .as-certification-journey__heading>span, .aquasafe-home .as-certification-faq__heading>span{font-size:12px}
.aquasafe-home .as-featured-course__heading h2, .aquasafe-home .as-certification-journey__heading h2, .aquasafe-home .as-certification-faq__heading h2{font-size:clamp(26px,2.2vw,32px)}
.aquasafe-home .as-trust h3{font-size:16px}
.aquasafe-home .as-trust p{font-size:13px;line-height:1.6}
.aquasafe-home .as-featured-card{grid-template-rows:315px 66px}
.aquasafe-home .as-featured-card__content h3{font-size:20px}
.aquasafe-home .as-featured-card__badges span{font-size:12px}
.aquasafe-home .as-featured-card__content>p{min-height:46px;font-size:13px;line-height:1.7}
.aquasafe-home .as-featured-card__meta-item small{font-size:12px}
.aquasafe-home .as-featured-card__meta-item strong{font-size:12px}
.aquasafe-home .as-featured-card__enroll{font-size:12px}
.aquasafe-home .as-journey-card{min-height:270px}
.aquasafe-home .as-journey-card h3{font-size:14px}
.aquasafe-home .as-journey-card p{font-size:13px;line-height:1.55}
.aquasafe-home .as-certification-faq__accordion .accordion-button{min-height:44px;font-size:13px}
.aquasafe-home .as-certification-faq__accordion .accordion-body{font-size:13px}
.aquasafe-home .as-cta p{font-size:14px}
/* Testimonials — admin-toggled, in the same card language as the news feed. */
.aquasafe-home .as-certification-testimonials{padding:58px 0;background:var(--as-soft)}
/* Two at a time. With three or more the track becomes a Swiper, which lays
   the slides out itself - so the grid applies only while it has not. */
.aquasafe-home .as-certification-testimonials__track:not(.swiper-wrapper){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.aquasafe-home .as-certification-testimonials__viewport.swiper{padding-bottom:4px}
.aquasafe-home .as-certification-testimonials__track.swiper-wrapper{align-items:stretch}
.aquasafe-home .as-certification-testimonials__card.swiper-slide{height:auto}
.aquasafe-home .as-certification-testimonials__controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:24px}
.aquasafe-home .as-certification-testimonials__nav{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid var(--as-line);border-radius:50%;background:#fff;color:var(--as-body);font-size:12px;transition:.25s ease}
.aquasafe-home .as-certification-testimonials__nav:hover{border-color:var(--as-blue);background:var(--as-blue);color:#fff}
.aquasafe-home .as-certification-testimonials__pagination{display:flex;align-items:center;gap:7px;width:auto}
.aquasafe-home .as-certification-testimonials__pagination .swiper-pagination-bullet{width:8px;height:8px;margin:0;border-radius:50%;background:var(--as-line-strong);opacity:1;transition:.25s ease}
.aquasafe-home .as-certification-testimonials__pagination .swiper-pagination-bullet-active{width:22px;border-radius:var(--as-radius-pill);background:var(--as-blue)}
.aquasafe-home .as-certification-testimonials__card{display:flex;flex-direction:column;gap:14px;margin:0;border:1px solid var(--as-line);border-radius:9px;padding:24px;background:#fff;box-shadow:0 8px 22px rgba(7,26,73,.06)}
.aquasafe-home .as-certification-testimonials__rating{display:flex;gap:3px;color:#f5ad18;font-size:12px}
/* main.min.css dresses every bare blockquote in a lavender panel with a
   120px indent and a quote glyph. That belongs to the old theme, not to
   this card, so the element is reset before it is styled. */
/* The cards stretch to match each other, so a short quote beside a long one
   leaves slack. Auto margins split that slack above and below the quote
   instead of dropping all of it under a top-aligned one, which left a hole
   in the middle of the card. The author stays pinned to the bottom so the
   rules above each name line up across the row. */
.aquasafe-home .as-certification-testimonials blockquote{margin:auto 0;border:0;padding:0;background:none;color:var(--as-body);font-size:14px;line-height:1.8}
.aquasafe-home .as-certification-testimonials blockquote::before, .aquasafe-home .as-certification-testimonials blockquote::after{content:none}
.aquasafe-home .as-certification-testimonials__author{display:flex;align-items:center;gap:12px;border-top:1px solid var(--as-line);padding-top:16px}
.aquasafe-home .as-certification-testimonials__author img{width:48px;height:48px;flex:none;border-radius:50%;object-fit:cover;background:var(--as-soft-blue)}
.aquasafe-home .as-certification-testimonials__author strong{display:block;color:var(--as-navy);font-size:13px}
.aquasafe-home .as-certification-testimonials__author span{color:var(--as-muted);font-size:12px}
@media(max-width:991px){
.aquasafe-home .as-featured-card{grid-template-rows:auto 66px}
.aquasafe-home .as-journey-card{min-height:170px}
.aquasafe-home .as-certification-testimonials__track:not(.swiper-wrapper){grid-template-columns:1fr}
}
@media(max-width:767px){
.aquasafe-home .as-featured-card{grid-template-rows:240px 58px auto auto}
.aquasafe-home .as-featured-card__content h3{font-size:18px}
.aquasafe-home .as-featured-card__meta-item small, .aquasafe-home .as-featured-card__meta-item strong{font-size:12px}
.aquasafe-home .as-journey-card{min-height:160px}
.aquasafe-home .as-certification-testimonials{padding:45px 0}
.aquasafe-home .as-certification-testimonials__card{padding:20px}
}
