/* Gabriela Santana / V7: mobile is a first-class experience, never a squeezed desktop. */
.story-mobile-controls,.testimonials-mobile-hint{display:none}
@media(max-width:740px){
  /* A hero with less repetition, without hiding any offer or contact route. */
  .hero-layout{padding-top:28px}
  .hero-title{margin-top:14px;margin-bottom:15px}
  .hero-description{line-height:1.65}
  .hero-ctas{margin-top:22px}
  .hero-proof{display:none}
  .hero-trust{margin-top:18px;padding-top:12px;gap:5px 18px}
  .hero-trust span{font-size:10px}
  .hero-google-proof{margin-top:14px}
  /* V7.1: mobile should not force a hero photo or service/location classification. */
  .hero-trust{border-top:1px solid #d7e2d3}
  .hero-trust span{font-size:11px}
  .hero-visual{display:none}
  .hero-bottom{margin-top:14px;height:auto;padding:12px 0 0}
  .hero-bottom>a{margin-left:0}
  .service-image-pre img{object-position:center 30%!important}
  /* hero image removed on mobile */
  .hero-photo-wrap{height:375px}
  /* Swipe-driven 3-part explanation. Green storytelling is synchronized to the active card. */
  .journey .journey-heading{text-align:left}
  .journey-heading .section-kicker{justify-content:flex-start}
  .journey-heading h2{margin:13px 0 12px;font-size:clamp(35px,8.6vw,46px);line-height:1.15}
  .journey-heading p{margin:0;max-width:450px;font-size:13px;line-height:1.6}
  .journey-story{display:flex;flex-direction:column;gap:0;margin-top:26px;min-width:0}
  .story-sticky{position:relative!important;top:auto!important;height:auto;min-height:0}
  .story-visual{height:305px;min-height:305px;box-shadow:0 20px 48px rgba(30,64,47,.12);border-radius:22px;padding:30px 28px 26px;justify-content:flex-end}
  .story-orbit{right:-118px;top:-164px}
  .story-visual h3{font-size:clamp(30px,7.3vw,40px);line-height:1.16;max-width:350px}
  .story-visual p{font-size:12px;line-height:1.58;margin-top:10px;max-width:340px}
  .story-eyebrow{font-size:10px;margin-bottom:10px;letter-spacing:.11em}
  .story-dots{margin-top:17px}
  .story-icon{font-size:48px!important;left:auto!important;right:30px!important;top:21px!important;display:block!important;color:rgba(244,250,241,.14)}
  html.js .story-mobile-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:16px 0 9px;min-width:0}
  .story-swipe-hint{display:flex;align-items:center;gap:7px;color:#56735d;font-size:10px;font-weight:650;max-width:54%;line-height:1.35}
  .story-swipe-symbol{font-size:17px;line-height:1;color:#497658}
  .story-mobile-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}
  .story-mobile-arrow{display:grid;place-items:center;width:37px;height:37px;border:1px solid #bfd2bd;background:#f8fbf5;border-radius:50%;color:#274e38;font-size:19px;cursor:pointer;touch-action:manipulation}
  .story-mobile-arrow:disabled{opacity:.32;cursor:default}
  .story-mobile-arrow:active:not(:disabled){transform:scale(.94);background:#dceadb}
  .story-mobile-counter{font-size:10px;font-weight:750;letter-spacing:.03em;white-space:nowrap;color:#365d43;min-width:70px;text-align:center}
  html.js .story-steps{display:flex!important;grid-template-columns:none!important;gap:12px!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:0;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:8px 18px 16px 0;margin-right:-18px;min-width:0}
  html.js .story-steps::-webkit-scrollbar{display:none}
  html.js .story-step,html.js .story-step:first-child{flex:0 0 calc(100% - 42px);scroll-snap-align:start;scroll-snap-stop:always;min-height:218px!important;margin:0!important;border:1px solid #ccdcca!important;border-radius:17px;padding:24px 20px!important;background:rgba(255,255,255,.73);opacity:.72!important;box-shadow:0 5px 16px rgba(41,74,53,.035);display:flex;justify-content:center;transition:opacity .24s,border-color .24s,background .24s,box-shadow .24s}
  html.js .story-step.is-active{border-color:#8baa8d!important;opacity:1!important;background:#fff!important;box-shadow:0 13px 30px rgba(41,74,53,.095)}
  .story-step span{font-size:10px;letter-spacing:.13em}
  .story-step h3{font-size:clamp(24px,6.6vw,29px);line-height:1.18;margin:10px 0}
  .story-step p{font-size:12px;line-height:1.62}
  /* Mobile motion: reduce content density, preserve accessible touch targets. */
  .service-image{height:195px}
  .service-card h3{font-size:28px}
  .service-card p{font-size:12px;line-height:1.6}
  .service-card .service-link{min-height:43px;display:flex;align-items:center;justify-content:space-between}
  .home-experience-photo img{height:285px;object-position:center 46%}
  .experience-item{padding:15px 0}
  .testimonials-mobile-hint{display:block;margin:0 auto 10px;padding-inline:18px;max-width:520px;color:#5e7a65;font-size:11px}
  #testimonials-track{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
  .testimonial-card{scroll-snap-align:center}
  html.js .plan-switcher:not([hidden]){display:flex!important;gap:4px!important;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%;width:100%;scroll-snap-type:x proximity;touch-action:pan-x;}
  .plan-switcher::-webkit-scrollbar{display:none}
  .plan-switch{flex:1 0 auto;min-width:94px;min-height:46px;padding:10px 9px!important;font-size:11px!important;white-space:nowrap;scroll-snap-align:start}
  .plan-switch:last-child{grid-column:auto!important}
  .mobile-sticky-cta{opacity:0;pointer-events:none;transform:translateY(calc(110% + 28px));transition:opacity .28s ease,transform .28s ease}
  .mobile-sticky-cta.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}
}
@media(max-width:380px){
  .story-visual{height:310px;min-height:310px;padding:26px 22px}
  .story-swipe-hint{font-size:9px;max-width:47%}
  .story-mobile-actions{gap:3px}
  .story-mobile-arrow{width:33px;height:33px}
  .story-mobile-counter{min-width:68px;font-size:9px}
  html.js .story-step,html.js .story-step:first-child{flex-basis:calc(100% - 31px);min-height:220px!important}
  .plan-switch{min-width:95px;font-size:10px!important}
}
@media (max-width:740px) and (prefers-reduced-motion:no-preference){
    .story-visual.story-mobile-changed h3,.story-visual.story-mobile-changed p,.story-visual.story-mobile-changed .story-eyebrow{animation:storyMobileEnter .34s ease both}
    @keyframes storyMobileEnter{from{opacity:.15;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
}
@media(prefers-reduced-motion:reduce){
  .mobile-sticky-cta,.story-step{transition:none!important}
  .story-steps{scroll-behavior:auto!important}
}
