/* SAFEHN: complements Advanced Lite CSS; original animation classes remain intact. */
:root {--safe-ink:#17234d;--safe-primary:#5c5af7;--safe-purple:#3431a9;--safe-aqua:#04b1c3;--safe-muted:#66738e;}
html {scroll-behavior:smooth;scroll-padding-top:96px}
body {overflow-x:hidden;background:#fff;color:var(--safe-ink)}
.header_navbar {z-index:40}
.header_navbar .navbar {padding-top:18px;padding-bottom:18px}
.navbar-brand img {max-width:53px!important;max-height:58px;object-fit:contain}
.safehn-wordmark {font-size:22px;letter-spacing:-.6px;font-weight:800;color:#fff;margin-left:10px;max-width:260px;line-height:1.25}
.header_navbar.sticky .safehn-wordmark {color:var(--safe-ink)}
.header_navbar .navbar-nav .nav-item {margin-left:18px}
.header_navbar .navbar-nav .nav-item a {font-size:13px}
.safehn-hero .header_hero_content {position:relative;z-index:2}
.safehn-hero .header_hero_content .header_title {font-size:clamp(34px,4.1vw,57px);line-height:1.15;max-width:650px}
.safehn-hero .header_hero_content .header_title span {color:#7fe8ff}
.safehn-hero .header_hero_content p {font-size:16px;line-height:1.75;max-width:560px}
.safehn-eyebrow {color:#a2ebff;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;margin-bottom:12px}
.safehn-hero .header_hero_content ul li {vertical-align:top}
.safehn-hero .main-btn {white-space:normal;text-align:center}
.safehn-hero .main-btn-2 {background:#fff;color:#3c40b9}
.safehn-hero .main-btn-2:hover {background:#d8f4ff}
.safehn-hero-phones {height:660px;width:min(100%,610px);position:relative;margin-left:-15px}
.safehn-phone {position:absolute;max-width:none!important;display:block;border:7px solid white;border-radius:30px;box-shadow:0 32px 64px rgba(12,20,84,.34);object-fit:cover}
.safehn-phone-front {width:260px!important;height:auto;top:100px;left:110px;z-index:3;transform:rotate(2deg)}
.safehn-phone-back {width:225px!important;height:auto;top:115px;left:290px;z-index:2;transform:rotate(-9deg)}
.safehn-hero-phones .dots {width:165px!important;bottom:50px!important;right:2%!important;opacity:.55}
.safehn-features {padding-top:80px!important}
.safehn-features .single_features {height:100%;min-height:260px;border:1px solid #edf0ff;box-shadow:0 12px 42px rgba(53,65,127,.09)}
.safehn-features .features_icon i {font-size:44px}
.safehn-features .features_title {font-size:20px;line-height:1.35;margin-bottom:15px}
.safehn-features .features_content p {line-height:1.7}
.safehn-section-kicker {display:block;font-weight:800;color:#595bf7;font-size:12px;letter-spacing:.17em;margin-bottom:14px}
.section_title .title {line-height:1.28;font-size:clamp(27px,3vw,37px)}
.section_title p {max-width:780px;margin:18px auto 0;line-height:1.75}
.safehn-about .about_image {text-align:center}
.safehn-about .about_image .image {width:248px;max-width:70%;border:7px solid white;border-radius:28px;box-shadow:0 21px 55px rgba(23,35,85,.17)}
.safehn-about .about_content p {margin:24px 0 30px;line-height:1.8}
.safehn-gallery-section {background:#f6f8ff}
.safehn-gallery-controls {display:flex;justify-content:flex-end;gap:10px;margin:16px 0 18px}
.safehn-gallery-controls button {border:1px solid #d5dcf3;width:44px;height:44px;border-radius:50%;background:#fff;color:#4e4bdf;cursor:pointer;transition:.2s}
.safehn-gallery-controls button:hover {background:#5c5af7;color:#fff}
.safehn-screenshot-strip {display:flex;gap:23px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:12px 8px 26px}
.safehn-shot {scroll-snap-align:start;flex:0 0 200px;margin:0;text-align:center;background:#fff;padding:9px 9px 19px;border-radius:24px;box-shadow:0 12px 40px rgba(29,40,93,.12)}
.safehn-shot img {width:100%;height:auto;border-radius:17px;display:block}
.safehn-shot figcaption {padding-top:14px;font-size:14px;font-weight:800;color:var(--safe-ink)}
.safehn-residences {background:linear-gradient(120deg,#fbfcff,#edf3ff)}
.safehn-highlight-title {font-size:clamp(28px,3vw,40px);line-height:1.25;color:var(--safe-ink);margin-bottom:20px}
.safehn-residence-highlight p {font-size:16px;line-height:1.8;margin-bottom:25px}
.safehn-residence-photo {margin:20px auto;max-width:450px;position:relative}
.safehn-residence-photo img {width:100%;height:410px;object-fit:cover;object-position:center 47%;border-radius:25px;box-shadow:0 25px 50px rgba(36,35,96,.18)}
.safehn-how {background:#fff}
.safehn-how .section_title {margin-bottom:35px}
.safehn-step {background:#f7f9ff;border:1px solid #e7eafd;padding:34px 26px;border-radius:20px;margin:16px 0;min-height:245px}
.safehn-step span {font-size:38px;font-weight:900;color:#5c5af7}
.safehn-step h3 {font-size:20px;margin:14px 0}
.safehn-step p {line-height:1.7}
.safehn-download .download_app {border-radius:28px;overflow:hidden}
.safehn-download .download_app_content {max-width:800px;position:relative;z-index:2}
.safehn-download .download_title {max-width:580px}
.safehn-download .download_app_content p {max-width:690px;line-height:1.7}
.safehn-cta-actions {display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}
.safehn-cta-actions .main-btn {white-space:normal;height:auto;min-height:52px;line-height:24px;padding:15px 22px}
.safehn-cta-actions .main-btn-2 {background:#fff;color:#4642cf}
.safehn-footer {padding:45px 0 36px}
.safehn-footer .footer_subscribe h4 {font-size:23px;margin:15px 0}
.safehn-footer-logo {height:63px;width:auto}
.safehn-footer .footer_subscribe p {max-width:620px;margin:10px auto;line-height:1.7}
.safehn-footer .footer_copyright {margin-top:30px}
.safehn-footer .footer_copyright p {font-size:13px;line-height:1.9}
.safehn-footer .footer_copyright a {color:#5458f8}
.safehn-template-credit {opacity:.75;font-size:11px!important}
.safehn-residential-hero .header_hero_content h1 {font-size:clamp(34px,3.8vw,53px)}
.safehn-residential-hero .header_hero_content p {max-width:540px}
.safehn-residence-hero-photos {height:690px;width:min(100%,610px);position:relative}
.safehn-residence-hero-main {width:365px!important;height:515px!important;object-fit:cover;border-radius:22px;border:8px solid #fff;position:absolute;left:50px;top:90px;z-index:3;box-shadow:0 20px 70px #070f4780;transform:rotate(-4deg)}
.safehn-residence-hero-secondary {width:250px!important;height:350px!important;object-fit:cover;border-radius:18px;border:7px solid white;position:absolute;left:320px;top:195px;z-index:2;box-shadow:0 20px 55px #070f4780;transform:rotate(8deg)}
.safehn-residence-hero-photos .dots {right:25px!important;bottom:20px!important;width:160px!important}
.safehn-intro {margin:0 auto 24px}
.safehn-community-feature {min-height:190px!important;padding:40px 17px!important}
.safehn-community-feature .features_icon {margin-bottom:15px}
.safehn-community-feature .features_title {margin:0;font-size:16px}
.safehn-residence-gallery {background:#f6f8ff}
.safehn-residence-gallery .section_title {margin-bottom:30px}
.safehn-photo-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:235px;gap:17px}
.safehn-photo-tile {position:relative;border-radius:20px;overflow:hidden;display:block;box-shadow:0 9px 30px #171e4630;transition:transform .3s ease}
.safehn-photo-tile:nth-child(1),.safehn-photo-tile:nth-child(6) {grid-column:span 2;grid-row:span 2}
.safehn-photo-tile:hover {transform:translateY(-5px)}
.safehn-photo-tile img {width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.safehn-photo-tile:hover img {transform:scale(1.07)}
.safehn-photo-tile>span {position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(11,12,39,.8));padding:45px 12px 12px;text-align:center;color:#fff;font-size:13px;font-weight:600;opacity:0;transition:opacity .3s}
.safehn-photo-tile:hover>span {opacity:1}
.safehn-map {border-radius:22px;overflow:hidden;box-shadow:0 14px 45px #1f2c5c28;background:#fff;margin-top:25px}
.safehn-map iframe {border:0;width:100%;height:375px;display:block}
.safehn-map small {display:block;text-align:right;padding:6px 12px;font-size:11px;color:#6e7a8e}
.safehn-no-map {padding:70px 20px;text-align:center}
.safehn-residence-app {background:#f8f9ff}
.safehn-residence-app .section_title {margin-bottom:35px}
.safehn-resident-screen {text-align:center;max-width:270px;margin:15px auto 40px;padding:9px 9px 15px;background:white;border-radius:24px;box-shadow:0 15px 34px #161c4330}
.safehn-resident-screen img {width:100%;border-radius:17px}
.safehn-resident-screen figcaption {font-weight:750;margin-top:14px}
@media (max-width:1199px) {
 .safehn-hero-phones {transform:scale(.87);transform-origin:top left}
 .safehn-residence-hero-photos {transform:scale(.86);transform-origin:top left}
 .safehn-wordmark {font-size:18px}
}
@media(max-width:991px) {
 .header_navbar .navbar {padding:11px 0}
 .safehn-wordmark {color:#27235e;max-width:180px}
 .header_navbar:not(.sticky) .safehn-wordmark {color:#fff}
 .safehn-hero .header_hero_content {padding-top:98px}
 .safehn-hero .header_hero_content .header_title {font-size:clamp(34px,6vw,48px)}
 .safehn-hero .header_image {height:auto;min-height:590px}
 .safehn-hero-phones {height:580px;transform:scale(.81);transform-origin:top center;margin:0 auto}
 .safehn-residence-hero-photos {height:570px;transform:scale(.80);transform-origin:top center;margin:0 auto}
 .safehn-photo-grid {grid-template-columns:repeat(3,1fr);grid-auto-rows:210px}
 .safehn-photo-tile:nth-child(1),.safehn-photo-tile:nth-child(6) {grid-column:span 1;grid-row:span 1}
}
@media(max-width:767px) {
 .safehn-hero .header_hero_content {padding-top:85px}
 .safehn-hero .header_hero_content p {margin-top:22px}
 .safehn-hero .header_image {min-height:510px}
 .safehn-hero-phones {width:540px!important;max-width:none;left:50%;transform:translateX(-50%) scale(.72);transform-origin:top left;margin-left:-210px}
 .safehn-phone-front {left:60px;top:30px}
 .safehn-phone-back {left:260px;top:55px}
 .safehn-residence-hero-photos {width:560px!important;max-width:none;left:50%;transform:translateX(-50%) scale(.72);transform-origin:top left;margin-left:-205px}
 .safehn-residence-hero-main {left:28px;top:22px}
 .safehn-residence-hero-secondary {left:300px;top:80px}
 .safehn-residential-hero .header_image {min-height:460px}
 .safehn-gallery-section,.safehn-residence-gallery,.safehn-location,.safehn-residence-app {padding-top:55px;padding-bottom:55px}
 .safehn-features {padding-top:65px!important}
 .safehn-screenshot-strip {gap:13px}
 .safehn-shot {flex-basis:160px}
 .safehn-residence-photo img {height:350px}
 .safehn-photo-grid {grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:200px;gap:10px}
 .safehn-photo-tile {border-radius:13px}
 .safehn-map iframe {height:300px}
 .safehn-download .download_app_content {padding:45px 15px}
 .safehn-cta-actions {justify-content:center}
 .safehn-cta-actions .main-btn {width:100%}
 .safehn-wordmark {font-size:15px;max-width:172px}
}
@media(max-width:450px) {
 .safehn-hero .header_image {min-height:425px}
 .safehn-hero-phones {transform:translateX(-50%) scale(.59);margin-left:-160px}
 .safehn-residence-hero-photos {transform:translateX(-50%) scale(.60);margin-left:-163px}
 .safehn-residential-hero .header_image {min-height:415px}
 .safehn-phone-front {left:55px}
 .safehn-phone-back {left:250px}
 .safehn-photo-grid {grid-auto-rows:165px}
 .safehn-residence-photo img {height:290px}
 .safehn-hero .main-btn {padding:0 17px;font-size:14px}
 .safehn-hero .header_hero_content ul li + li {margin-left:4px}
}
@media(prefers-reduced-motion:reduce) {
 html{scroll-behavior:auto} .wow,.shape,.safehn-photo-tile {animation:none!important;transition:none!important}
}


/* === AJUSTES SAFEHN LANDING NOV 2026 === */
.safehn-platform .header_area,
.safehn-residential .header_area{overflow:hidden;background:#fff}
.safehn-hero{min-height:800px;height:auto!important;overflow:hidden}
.safehn-hero::before{height:100%!important;min-height:800px;background-size:cover;pointer-events:none}
.safehn-residential-hero{min-height:840px}
.safehn-gallery-section{background:#f6f8ff;position:relative;z-index:2}
.safehn-gallery-section .section_title p{max-width:760px}
.safehn-carousel{position:relative;max-width:1020px;margin:40px auto 0;padding:0 88px 40px}
.safehn-carousel-stage{position:relative;min-height:760px}
.safehn-carousel-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:44px;padding:30px 12px;opacity:0;visibility:hidden;transform:translateX(40px) scale(.96);transition:opacity .45s ease, transform .55s ease, visibility .55s ease}
.safehn-carousel-slide.is-active{opacity:1;visibility:visible;transform:translateX(0) scale(1);position:relative;z-index:2}
.safehn-carousel-phone{width:320px;max-width:100%;padding:14px;background:#fff;border-radius:34px;box-shadow:0 24px 70px rgba(27,34,89,.18);flex:0 0 320px;transform:translateY(0);animation:safehnFloat 5s ease-in-out infinite}
.safehn-carousel-phone img{display:block;width:100%;height:auto;border-radius:26px}
.safehn-carousel-slide figcaption{max-width:390px;text-align:left}
.safehn-carousel-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(92,90,247,.1);color:#4f4ddd;padding:8px 14px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:18px}
.safehn-carousel-slide h3{font-size:clamp(28px,3vw,38px);line-height:1.2;color:var(--safe-ink);margin-bottom:14px}
.safehn-carousel-slide p{font-size:16px;line-height:1.8;color:#6f7890;margin:0}
.safehn-carousel-arrow{position:absolute;top:42%;transform:translateY(-50%);width:58px;height:58px;border:none;border-radius:50%;background:#fff;box-shadow:0 14px 35px rgba(31,43,98,.15);color:#4f4ddd;z-index:5;transition:all .25s ease;cursor:pointer}
.safehn-carousel-arrow:hover{background:#5c5af7;color:#fff;transform:translateY(-50%) scale(1.06)}
.safehn-carousel-prev{left:8px}
.safehn-carousel-next{right:8px}
.safehn-carousel-arrow i{font-size:18px}
.safehn-carousel-dots{display:flex;justify-content:center;gap:12px;margin-top:12px}
.safehn-carousel-dot{width:12px;height:12px;border-radius:50%;border:none;background:#c7cdea;cursor:pointer;transition:all .25s ease;padding:0}
.safehn-carousel-dot.is-active{width:34px;border-radius:999px;background:#5c5af7;box-shadow:0 8px 20px rgba(92,90,247,.35)}
.safehn-download{background:linear-gradient(180deg,#fff 0%,#f8f9ff 100%);padding-top:70px!important;padding-bottom:45px!important;position:relative;z-index:2}
.safehn-download .download_app{margin-top:0!important;background:linear-gradient(135deg,#2b1787 0%,#6d2ae0 62%,#8b46e9 100%);border-radius:32px;box-shadow:0 24px 60px rgba(31,34,92,.18)}
.safehn-download .download_shape,.safehn-download .download_shape_2{display:none!important}
.safehn-footer{position:relative;z-index:2;background:#fff}
@keyframes safehnFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@media(max-width:991px){
 .safehn-hero{min-height:unset}
 .safehn-hero::before{min-height:100%}
 .safehn-carousel{padding:0 60px 35px}
 .safehn-carousel-stage{min-height:710px}
 .safehn-carousel-slide{flex-direction:column;gap:24px;text-align:center}
 .safehn-carousel-slide figcaption{text-align:center;max-width:560px}
}
@media(max-width:767px){
 .safehn-carousel{padding:0 12px 28px}
 .safehn-carousel-stage{min-height:650px}
 .safehn-carousel-phone{width:260px;flex-basis:260px}
 .safehn-carousel-arrow{width:48px;height:48px;top:auto;bottom:100px;transform:none}
 .safehn-carousel-arrow:hover{transform:scale(1.04)}
 .safehn-carousel-prev{left:20px}
 .safehn-carousel-next{right:20px}
 .safehn-carousel-slide h3{font-size:28px}
 .safehn-download .download_app{border-radius:24px}
}
@media(max-width:450px){
 .safehn-carousel-stage{min-height:620px}
 .safehn-carousel-phone{width:225px;flex-basis:225px;padding:10px;border-radius:24px}
 .safehn-carousel-phone img{border-radius:18px}
 .safehn-carousel-slide p{font-size:15px}
}
