/* Ajustes exclusivos de móvil. La versión de PC conserva styles.css. */
@media (max-width:760px) {
 html{scroll-padding-top:86px}
 body{overflow-x:clip}
 .wrap{width:calc(100% - 32px)}
 .wrap>*{min-width:0}
 .header-inner{padding:7px 16px;gap:10px;min-height:74px}
 .header .brand{flex:1;min-width:0;max-width:calc(100% - 54px)}
 .header-logo{width:min(270px,100%);height:auto}
 .menu-toggle{width:44px;height:44px;flex:none;justify-content:center;align-items:center;padding:10px}
 .header nav{max-height:calc(100dvh - 80px);overflow-y:auto}
 .header nav a{min-height:44px}
 .hero-layout{padding-top:30px;padding-bottom:45px}
 .hero h1{font-size:clamp(2.8rem,10.7vw,4.2rem);line-height:1.03}
 .hero .eyebrow{font-size:.75rem;line-height:1.5}
 .hero-description{font-size:1rem;margin:20px 0}
 .hero-buttons{display:grid;grid-template-columns:1fr;gap:10px}
 .hero-buttons .btn{width:100%;font-size:1rem;min-height:54px;padding:13px 16px}
 .hero-buttons .budget{font-size:.92rem}
 .hero-proof{display:grid;grid-template-columns:1fr;gap:14px;margin-top:22px}
 .hero-proof .proof-item{font-size:.9rem;gap:12px}
 .hero-proof .proof-item>.icon{width:32px;height:32px}
 .hero-proof .proof-item br{display:none}
 .hero-visual{height:330px;margin-top:12px;position:relative}
 .hero-cover{height:360px;object-position:70% center}
 .hero:before{background:linear-gradient(180deg,#03281b 0%,#03281b 57%,rgba(3,40,27,.8) 67%,transparent 80%)}
 .location-note{top:auto;bottom:20px;right:0;width:135px;font-size:1.05rem;padding:10px 8px;background:#ffffffde;border-radius:14px;transform:rotate(-6deg)}
 .location-note span{width:100px;margin-top:6px}
 .visual-label{left:0;right:auto;bottom:20px;width:175px;padding:10px;gap:7px;font-size:.7rem;transform:rotate(-3deg)}
 .visual-label .round-icon{width:30px;height:30px}
 .visual-label .icon{width:20px;height:20px}
 .services .wrap{width:calc(100% - 32px)}
 .services .section-heading h2{font-size:clamp(2.6rem,9.5vw,3.8rem)}
 .services .section-heading p:not(.eyebrow){font-size:1rem}
 .services .section-heading .btn{width:100%}
 .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
 .service,.service:nth-child(n+6),.service:last-child{grid-column:span 1;display:flex;flex-direction:column;align-items:center;min-height:0;border-radius:80px 80px 20px 20px;padding:10px 8px 27px;gap:10px}
 .service-icon,.service:last-child .service-icon{width:100%;max-width:170px;height:auto;aspect-ratio:1;margin:0;flex:none}
 .service-copy,.service:last-child .service-copy{width:100%;text-align:center;padding:0;min-width:0}
 .service-copy h3{font-size:1.4rem;line-height:1.1}
 .service-copy p{font-size:.8rem;line-height:1.4;padding:0}
 .service-plus,.service:last-child .service-plus{position:absolute;right:10px;bottom:8px}
 .service:last-child{grid-column:1/-1;flex-direction:row;border-radius:80px 22px 22px 80px;padding:10px 15px 15px;gap:15px}
 .service:last-child .service-icon{width:145px;max-width:45%}
 .why{padding:270px 0 100px;min-height:0;background:#03281b}
 .why-house{top:0;bottom:auto;height:270px;width:100%;overflow:hidden}
 .why-house img{object-fit:cover;object-position:left top;transform:none}
 .why-layout{width:calc(100% - 32px);padding-left:0;display:grid;grid-template-columns:1fr;gap:28px}
 .why-intro h2{font-size:2.9rem}
 .why-intro p:not(.eyebrow){font-size:1rem}
 .benefits{grid-template-columns:1fr;gap:22px}
 .benefits article{display:flex;gap:14px;align-items:flex-start}
 .benefits .round-icon{width:44px;height:44px;margin:0}
 .benefits h3{font-size:1.05rem}
 .benefits p{font-size:.9rem}
 .big-cta{margin-top:-35px;padding:32px 0 38px;background:linear-gradient(135deg,#ff9d00,#f56800);border-radius:35% 10% 30% 8% / 22px 15px 24px 15px}
 .cta-shape{display:none}
 .big-cta .cta-layout{width:calc(100% - 32px);display:block;padding-left:0;min-height:0}
 .big-cta .cta-agent{position:relative;width:270px;max-width:85%;height:auto;left:auto;bottom:auto;margin:-90px auto 20px}
 .big-cta .eyebrow{font-size:.72rem;line-height:1.4}
 .cta-title-first{white-space:normal;font-size:clamp(1.55rem,6vw,2.1rem);line-height:1.1}
 .cta-title-main{white-space:normal;font-size:clamp(2.1rem,8.1vw,2.8rem);line-height:1.08}
 .cta-buttons{display:grid;grid-template-columns:1fr;min-width:0;gap:10px;margin-top:22px}
 .cta-buttons .btn{font-size:1rem;min-height:54px}
 .cta-handnote{position:static;width:auto;text-align:center;font-size:1.2rem;padding:0;margin-top:24px;transform:rotate(-5deg)}
 .cta-handnote svg{height:38px;width:45px;margin-bottom:-15px}
 .contact{padding:40px 0 270px;background-position:70% bottom;background-size:auto 300px;background-color:#063c26}
 .contact-layout{width:calc(100% - 32px);grid-template-columns:1fr;gap:26px}
 .contact-copy h2{font-size:2rem}
 .contact-budget{font-size:1.9rem}
 .contact-copy>p:not(.eyebrow){font-size:1rem;max-width:none}
 .contact-method strong{font-size:.95rem}
 .contact-method small{font-size:.85rem}
 .contact form{padding:24px 18px;border-radius:18px}
 .contact .form-grid{grid-template-columns:1fr;gap:16px}
 .contact .form-grid label{font-size:.9rem}
 .contact input,.contact select,.contact textarea{font-size:1rem;min-height:46px;padding:11px 12px}
 .contact textarea{height:95px}
 .contact .full-width{font-size:1rem;min-height:54px;gap:8px}
 .contact .form-note{font-size:.8rem;line-height:1.5}
 footer{padding-bottom:100px}
 .footer-layout{width:calc(100% - 32px);grid-template-columns:1fr 1fr;gap:24px 18px}
 .footer-logo{width:100%;max-width:330px}
 .footer-layout>div>a:not(.brand){font-size:.9rem;padding:5px 0;margin:0}
 .footer-layout p{font-size:.9rem}
 .footer-map{min-width:0}
 .footer-map img{width:100%;max-width:100%;margin:0;flex-shrink:1}
 .footer-bottom{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr) auto;gap:12px;font-size:.75rem}
 .footer-bottom .legal-link{font-size:.75rem;line-height:1.4}
 .footer-bottom .footer-credit{font-size:.75rem}
 .mobile-cta{padding:9px 10px calc(9px + env(safe-area-inset-bottom));gap:8px}
 .mobile-cta .btn{font-size:.85rem;min-height:50px;gap:6px;padding:10px 8px}
 .mobile-cta .icon{width:23px;height:23px}
 .toast{bottom:90px;max-width:calc(100% - 24px)}
 .legal-main{width:calc(100% - 32px)}
 .legal-document{padding:24px 18px}
 .legal-document h1{font-size:2.7rem;overflow-wrap:anywhere}
}
@media(max-width:350px){
 .visual-label{width:150px;font-size:.65rem}
 .location-note{width:120px;font-size:.95rem}
 .mobile-cta .btn{font-size:.78rem}
 .footer-bottom{gap:8px}
 .footer-bottom .footer-credit{font-size:.7rem}
}

/* Portada móvil: desplazar la imagen a la izquierda para mostrar más rambla. */
@media(max-width:760px){.hero-cover{object-position:100% center}}

/* Jerarquía y alineación del mensaje de presupuesto en móvil. */
@media(max-width:760px){
 .big-cta .cta-layout>div:first-of-type{text-align:center}
 .big-cta .eyebrow{font-size:.72rem;letter-spacing:.13em;line-height:1.5;margin:0 0 16px}
 .big-cta h2{text-align:center;line-height:1.12;letter-spacing:-.025em;margin:0}
 .cta-title-first{font-size:clamp(1.5rem,6.3vw,2rem);line-height:1.15}
 .cta-title-main{font-size:clamp(2.05rem,8.2vw,2.8rem);line-height:1.12;margin-top:8px}
 .big-cta .banner-quote{font-size:1.65rem!important;margin-top:22px!important;line-height:1.3;text-underline-offset:6px}
 .big-cta .cta-layout>div:first-of-type>p:last-child{font-size:1rem;line-height:1.55;max-width:315px;margin:20px auto 0}
 .big-cta .cta-buttons{margin-top:26px}
}

/* Familia: transición suave entre el contacto y la fotografía en móvil. */
@media(max-width:760px){
 .contact{padding-bottom:315px;background-image:linear-gradient(to bottom,#063c26 0%,rgba(6,60,38,.96) 12%,rgba(6,60,38,.65) 24%,rgba(6,60,38,.15) 43%,transparent 62%),url('assets/familia-hogar.png');background-size:100% 355px,auto 355px;background-position:center bottom,72% bottom;background-repeat:no-repeat;border-bottom:0}
}

/* Fumigador: borde superior fundido con el fondo verde en móvil. */
@media(max-width:760px){
 .hero-cover{mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.2) 5%,rgba(0,0,0,.7) 14%,#000 25%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.2) 5%,rgba(0,0,0,.7) 14%,#000 25%)}
}

/* Móvil: texto de la casa más arriba y títulos con mayor presencia. */
@media(max-width:760px){
 .why{padding-top:225px;padding-bottom:85px}
 .why-house{height:245px}
 .why-layout{gap:22px;position:relative}
 .why-intro .eyebrow{margin-bottom:11px;font-size:.75rem;line-height:1.4}
 .why-intro h2{font-size:clamp(3.2rem,13vw,4.1rem);line-height:1.01}
 .why-intro .banner-quote{font-size:1.75rem!important;margin-top:16px!important}
 .why-intro p:not(.eyebrow):not(.banner-quote){margin-top:17px;margin-bottom:18px;line-height:1.5}
 .benefits h3{font-size:1.2rem;line-height:1.2}
 .benefits{gap:18px}
}

/* Presupuesto todavía más destacado en la franja naranja móvil. */
@media(max-width:760px){
 .big-cta .cta-title-first{font-size:clamp(1.85rem,7.5vw,2.5rem);line-height:1.1}
 .big-cta .cta-title-main{font-size:clamp(2.55rem,10.3vw,3.5rem);line-height:1.1;margin-top:10px}
 .big-cta .banner-quote{font-size:clamp(2rem,8.2vw,2.7rem)!important;line-height:1.2;margin-top:24px!important;text-decoration-thickness:4px}
}

/* Presupuesto destacado en el contacto móvil. */
@media(max-width:760px){
 .contact-budget{font-size:clamp(2.45rem,10vw,3.3rem);line-height:1.08;margin-top:15px}
}

/* Footer móvil ordenado: servicios equilibrados y bloques de ancho completo. */
@media(max-width:760px){
 footer{padding-top:30px;padding-bottom:100px}
 .footer-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0;width:calc(100% - 40px)}
 .footer-layout>div{grid-column:1;grid-row:auto;min-width:0}
 .footer-identity{padding-bottom:24px}
 .footer-brand{display:flex;justify-content:center;width:100%}
 .footer-logo{width:100%;max-width:330px;margin:auto}
 .footer-identity p{text-align:center;font-size:.95rem;line-height:1.55;margin-top:8px}
 .footer-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;padding:22px 0;border-top:1px solid #ffffff20}
 .footer-services h3{grid-column:1/-1;margin:0 0 13px;font-size:1.4rem}
 .footer-layout .footer-services>a{font-size:.95rem;min-height:40px;display:flex;align-items:center;margin:0;padding:7px 0;line-height:1.3}
 .footer-company{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;padding:22px 0;border-top:1px solid #ffffff20}
 .footer-company h3{grid-column:1/-1;margin:0 0 13px;font-size:1.4rem}
 .footer-layout .footer-company>a{font-size:.95rem;min-height:40px;display:flex;align-items:center;margin:0;padding:7px 0;line-height:1.3}
 .footer-contact{padding:22px 0;border-top:1px solid #ffffff20}
 .footer-contact h3{font-size:1.4rem;margin:0 0 15px}
 .footer-layout .footer-contact>a{min-height:46px;margin:0 0 8px!important;gap:12px;font-size:1rem}
 .footer-contact .icon{width:25px;height:25px;margin:0}
 .footer-budget strong{font-size:1.3rem;line-height:1.15}
 .footer-contact p{margin:12px 0 0;font-size:.9rem;line-height:1.5;gap:12px}
 .footer-map{display:flex;justify-content:center;padding:20px 0 4px;border-top:1px solid #ffffff20;align-self:auto}
 .footer-map img{display:block;width:100%;max-width:350px;margin:0;height:auto}
 .footer-bottom{width:calc(100% - 40px);display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:18px;padding-top:16px;flex-wrap:nowrap}
 .footer-bottom .legal-link{font-size:.75rem;line-height:1.45;flex:1;min-width:0;max-width:180px}
 .footer-bottom .footer-credit{font-size:.75rem;flex:0 0 auto;order:initial;margin:0;width:auto;text-align:right;white-space:nowrap}
 .footer-bottom>span:not(.footer-credit){display:none}
}

/* Footer móvil centrado y compacto. */
@media(max-width:760px){
 footer{padding-top:18px;padding-bottom:82px}
 .footer-layout{width:calc(100% - 40px);text-align:center}
 .footer-identity{padding-bottom:12px}
 .footer-logo{max-width:285px}
 .footer-identity p{font-size:.85rem;line-height:1.4;margin-top:0}
 .footer-services,.footer-company{padding:12px 0;column-gap:12px}
 .footer-services h3,.footer-company h3{font-size:1.25rem;margin-bottom:5px;text-align:center}
 .footer-layout .footer-services>a,.footer-layout .footer-company>a{justify-content:center;text-align:center;min-height:32px;padding:4px 0;font-size:.88rem}
 .footer-company{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 8px}
 .footer-contact{padding:12px 0}
 .footer-contact h3{font-size:1.25rem;margin:0 0 7px}
 .footer-layout .footer-contact>a{justify-content:center;text-align:center;min-height:35px;font-size:.9rem;margin:0 0 4px!important;padding:3px 0;gap:8px}
 .footer-budget strong{font-size:1.15rem}
 .footer-contact .icon{width:22px;height:22px}
 .footer-contact p{justify-content:center;align-items:center;gap:8px;font-size:.8rem;margin-top:5px}
 .footer-map{padding:10px 0 0}
 .footer-map img{max-width:260px}
 .footer-bottom{margin-top:10px;padding-top:10px;gap:10px;justify-content:center;align-items:center}
 .footer-bottom .legal-link{flex:0 1 auto;text-align:center;max-width:170px;font-size:.7rem}
 .footer-bottom .footer-credit{text-align:center;font-size:.7rem}
}

/* Pie móvil: términos arriba y crédito debajo, ambos centrados. */
@media(max-width:760px){
 .footer-bottom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;flex-wrap:nowrap}
 .footer-bottom .legal-link{flex:none;width:100%;max-width:none;text-align:center;font-size:.8rem;line-height:1.4}
 .footer-bottom .footer-credit{flex:none;order:2;width:100%;margin:0;text-align:center;font-size:.8rem;line-height:1.4}
}

/* Copyright completo en un único renglón en móvil. */
@media(max-width:760px){
 .footer-bottom .footer-credit{display:block;white-space:nowrap}
 .footer-bottom .footer-credit #year,.footer-bottom .footer-credit a{display:inline!important;margin:0;padding:0;white-space:nowrap}
}

/* Efectos automáticos y táctiles exclusivos de móvil. */
@media(max-width:760px) and (prefers-reduced-motion:no-preference){
 .hero-copy h1{animation:mobile-title-enter .8s ease both}
 .hero-quote{animation:mobile-title-enter .8s ease .15s both}
 .hero-proof .proof-item>.icon{animation:mobile-icon-glow 3.8s ease-in-out infinite}
 .hero-proof .proof-item:nth-child(2)>.icon{animation-delay:.8s}
 .hero-proof .proof-item:nth-child(3)>.icon{animation-delay:1.6s}
 .service.motion-visible .service-icon img{animation:mobile-pest-breathe 6s ease-in-out infinite}
 .service:nth-child(3n+2) .service-icon img{animation-delay:1.4s}
 .service:nth-child(3n+3) .service-icon img{animation-delay:2.8s}
 .benefits article.motion-visible .round-icon{animation:mobile-icon-glow 4s ease-in-out infinite}
 .benefits article:nth-child(even) .round-icon{animation-delay:1.7s}
 .location-note{animation:mobile-note-sway 6s ease-in-out infinite}
 .visual-label{animation:mobile-label-float 5s ease-in-out infinite}
 .hero-buttons .btn:after,.cta-buttons .btn:after,.mobile-cta .btn:after{animation:mobile-button-shine 7s ease-in-out infinite}
 .hero-buttons .btn:nth-child(2):after,.cta-buttons .btn:nth-child(2):after,.mobile-cta .btn:nth-child(2):after{animation-delay:2.4s}
 .mobile-cta .icon-whatsapp-logo{animation:mobile-phone-ring 7s ease-in-out infinite}
 .contact-method .round-icon{animation:mobile-icon-glow 4.5s ease-in-out infinite}
 .contact-method:nth-of-type(2) .round-icon{animation-delay:2s}
 .service:active .service-icon img{animation:none;transform:scale(1.1) rotate(-3deg)}
 .contact-method:active .round-icon{transform:scale(1.12)}
}
@keyframes mobile-title-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes mobile-icon-glow{0%,100%{filter:drop-shadow(0 0 2px #b5ef5520);scale:1}50%{filter:drop-shadow(0 0 9px #b5ef5575);scale:1.045}}
@keyframes mobile-pest-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes mobile-note-sway{0%,100%{transform:rotate(-6deg) translateY(0)}50%{transform:rotate(-4deg) translateY(-3px)}}
@keyframes mobile-label-float{0%,100%{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(-2deg) translateY(-4px)}}
@keyframes mobile-button-shine{0%,72%{left:-80%;opacity:0}74%{opacity:1}87%{left:150%;opacity:1}88%,100%{left:150%;opacity:0}}
@keyframes mobile-phone-ring{0%,82%,100%{transform:rotate(0)}85%{transform:rotate(-9deg)}88%{transform:rotate(9deg)}91%{transform:rotate(-6deg)}94%{transform:rotate(0)}}

/* Familia centrada en el recorte móvil. */
@media(max-width:760px){
 .contact{background-position:center bottom,100% bottom}
}

/* Ajuste intermedio del encuadre de la familia en móvil. */
@media(max-width:760px){.contact{background-position:center bottom,86% bottom}}
