/* Tourfy Brandise v3.3 — global mobile-first safety layer.
   Loaded after widget styles to keep existing Elementor saved desktop values
   from breaking tablet/mobile layouts. Desktop remains unchanged. */

@media (max-width: 1024px){
  html,body{max-width:100%;overflow-x:hidden}
  .elementor-widget-tourfy_header_widget,
  .elementor-widget-tourfy_hero,
  .elementor-widget-tourfy_contact,
  .elementor-widget-tourfy_presence,
  .elementor-widget-tourfy_faq,
  .elementor-widget-tourfy_logo_marquee,
  .elementor-widget-tourfy_reviews,
  .elementor-widget-tourfy_compare,
  .elementor-widget-tourfy_shift_stats,
  .elementor-widget-tourfy_why_choose,
  .elementor-widget-tourfy_process,
  .elementor-widget-tourfy_types_ugc,
  .elementor-widget-tourfy_how_we_help,
  .elementor-widget-tourfy_video_showcase,
  .elementor-widget-tourfy_text_marquee{min-width:0!important;max-width:100%!important}

  .tfh-header-inner,
  .tfy-hero-inner,
  .tfc-inner,
  .tourfy-presence__inner,
  .tourfy-faq__inner,
  .tourfy-reviews__inner,
  .tourfy-compare__inner,
  .tourfy-shift__inner,
  .tourfy-why__inner,
  .tourfy-process__inner,
  .tourfy-types-ugc__inner,
  .tourfy-how-help__inner,
  .tourfy-video-showcase__inner{width:100%!important;max-width:100%!important}

  img,video,iframe{max-width:100%}
}

@media (max-width: 767px){
  /* Universal mobile spacing / sizing */
  .tfh-header *, .tfy-hero *, .tfc-section *, .tourfy-presence *, .tourfy-faq *,
  .tourfy-logo-marquee *, .tourfy-reviews *, .tourfy-compare *, .tourfy-shift *,
  .tourfy-why *, .tourfy-process *, .tourfy-types-ugc *, .tourfy-how-help *,
  .tourfy-video-showcase *, .tourfy-text-marquee *, .tff-footer *{box-sizing:border-box}

  /* HEADER */
  .tfh-header{width:100%!important}
  .tfh-header-inner{padding-left:16px!important;padding-right:16px!important;gap:12px!important;min-height:72px!important}
  .tfh-brand{max-width:calc(100% - 58px)!important;gap:10px!important}
  .tfh-logo img{max-width:112px!important;width:auto!important;height:auto!important}
  .tfh-brand-separator{height:34px!important}
  .tfh-tagline{white-space:normal!important;font-size:12px!important;line-height:1.2!important;max-width:120px!important}
  .tfh-desktop-nav,.tfh-header-inner>.tfh-cta{display:none!important}
  .tfh-menu-toggle{display:flex!important;flex:0 0 44px!important;width:44px!important;height:44px!important}
  .tfh-mobile-panel{left:0!important;right:0!important;width:100%!important;max-height:calc(100vh - 72px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;padding:12px 18px 20px!important}
  .tfh-mobile-panel .tfh-nav-link{font-size:16px!important;padding:14px 0!important}
  .tfh-mobile-panel .tfh-submenu a{font-size:14px!important;padding:9px 10px!important;white-space:normal!important}

  /* HERO */
  .tfy-hero-inner{display:block!important;padding:42px 18px 46px!important;min-height:auto!important}
  .tfy-hero-copy{padding:0!important;width:100%!important}
  .tfy-hero-badge{max-width:100%!important;white-space:normal!important;line-height:1.35!important;font-size:10px!important;padding:9px 14px!important;margin-bottom:22px!important}
  .tfy-hero-title{font-size:clamp(38px,11vw,52px)!important;line-height:.96!important;letter-spacing:-.035em!important;margin-bottom:22px!important;max-width:100%!important;overflow-wrap:anywhere!important}
  .tfy-hero-title .tfy-outline{-webkit-text-stroke-width:1.2px!important;margin-top:5px!important}
  .tfy-hero-description{font-size:15px!important;line-height:1.65!important;margin-bottom:26px!important;max-width:100%!important}
  .tfy-hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important}
  .tfy-hero-btn{width:100%!important;min-width:0!important;height:56px!important;padding:0 18px!important;font-size:15px!important;text-align:center!important}
  .tfy-hero-stats{margin-top:34px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;max-width:none!important}
  .tfy-stat-card{min-width:0!important;min-height:132px!important;padding:20px 16px!important;border-radius:16px!important}
  .tfy-stat-value{font-size:24px!important;margin-bottom:10px!important}
  .tfy-stat-label{font-size:11.5px!important;line-height:1.35!important;margin-bottom:13px!important;overflow-wrap:anywhere!important}
  .tfy-stat-line{width:100%!important}

  /* CONTACT STRATEGY FORM */
  .tfc-section{overflow:hidden!important}
  .tfc-inner{display:block!important;padding:36px 16px!important}
  .tfc-copy{width:100%!important;max-width:none!important}
  .tfc-heading{font-size:clamp(34px,10.5vw,48px)!important;line-height:1.02!important;overflow-wrap:anywhere!important}
  .tfc-description{font-size:15px!important;line-height:1.6!important}
  .tfc-proof{padding:16px 14px!important;gap:12px!important}
  .tfc-proof h4{font-size:15px!important}
  .tfc-proof p{font-size:13px!important}
  .tfc-trust-badges{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .tfc-trust-badges span{white-space:normal!important;text-align:center!important;justify-content:center!important;padding:8px 10px!important;min-height:38px!important}
  .tfc-form-card{margin-top:28px!important;width:100%!important;padding:22px 14px 16px!important;border-radius:16px!important;min-height:0!important}
  .tfc-question{font-size:22px!important;line-height:1.3!important;overflow-wrap:anywhere!important}
  .tfc-radio span{min-height:54px!important;padding:12px 12px 12px 44px!important;font-size:14px!important}
  .tfc-input{height:54px!important;padding:0 14px!important;font-size:14px!important}
  .tfc-actions{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .tfc-btn{height:52px!important;font-size:14px!important;padding:0 8px!important}

  /* PRESENCE */
  .tourfy-presence{padding:16px 12px!important}
  .tourfy-presence__inner{padding:30px 14px 16px!important;border-radius:22px!important}
  .tourfy-presence__title{font-size:clamp(30px,9vw,40px)!important;line-height:1.08!important;overflow-wrap:anywhere!important}
  .tourfy-presence__desc{font-size:14px!important;line-height:1.55!important}
  .tourfy-presence__grid{grid-template-columns:1fr!important;gap:10px!important}
  .tourfy-presence__card{min-height:92px!important;padding:14px!important;gap:12px!important;border-radius:16px!important}
  .tourfy-presence__pin{width:52px!important;height:52px!important;flex:0 0 52px!important}
  .tourfy-presence__city{font-size:20px!important}

  /* FAQ */
  .tourfy-faq{padding-left:16px!important;padding-right:16px!important}
  .tourfy-faq__title{font-size:clamp(30px,9vw,38px)!important;line-height:1.05!important;overflow-wrap:anywhere!important}
  .tourfy-faq__question{padding:18px 0!important;gap:12px!important}
  .tourfy-faq__question-text{font-size:15px!important;line-height:1.4!important;min-width:0!important}
  .tourfy-faq__icon{width:28px!important;height:28px!important;flex:0 0 28px!important}
  .tourfy-faq__answer-inner{padding-right:8px!important;font-size:14px!important;line-height:1.6!important}

  /* LOGO MARQUEE */
  .tourfy-logo-marquee__row{--tourfy-marquee-fade:24px!important}
  .tourfy-logo-marquee__card{max-width:150px!important;min-width:110px!important;height:64px!important;border-radius:10px!important}
  .tourfy-logo-marquee__card a{padding:7px!important}
  .tourfy-logo-marquee__card img{max-height:44px!important;max-width:120px!important}

  /* REVIEWS */
  .tourfy-reviews{padding-left:16px!important;padding-right:16px!important}
  .tourfy-reviews__head{margin-bottom:28px!important}
  .tourfy-reviews__title{font-size:clamp(32px,9vw,42px)!important;line-height:1.04!important;overflow-wrap:anywhere!important}
  .tourfy-reviews__description{font-size:14px!important;line-height:1.55!important}
  .tourfy-reviews__grid{grid-template-columns:1fr!important;gap:14px!important}
  .tourfy-reviews__card{padding:22px 18px!important;border-radius:16px!important;min-width:0!important}
  .tourfy-reviews__text{font-size:14px!important;line-height:1.65!important}

  /* COMPARISON TABLE */
  .tourfy-compare{padding-left:16px!important;padding-right:16px!important}
  .tourfy-compare__title{font-size:clamp(30px,9vw,38px)!important;line-height:1.02!important}
  .tourfy-compare__description{font-size:14px!important;line-height:1.55!important}
  .tourfy-compare__scroll{width:100%!important;overflow-x:auto!important;border-radius:12px!important}
  .tourfy-compare__table{min-width:700px!important}
  .tourfy-compare__grid{grid-template-columns:165px 185px 175px 175px!important}
  .tourfy-compare__head-cell,.tourfy-compare__cell{padding-left:12px!important;padding-right:12px!important;min-height:50px!important}
  .tourfy-compare__cell{font-size:12.5px!important}

  /* THE SHIFT */
  .tourfy-shift{padding-left:16px!important;padding-right:16px!important}
  .tourfy-shift__head{max-width:100%!important;text-align:left!important}
  .tourfy-shift__title{font-size:clamp(32px,9.5vw,42px)!important;line-height:1.03!important;overflow-wrap:anywhere!important}
  .tourfy-shift__description{font-size:14px!important;line-height:1.6!important}
  .tourfy-shift__grid{grid-template-columns:1fr!important;border-radius:16px!important;overflow:hidden!important}
  .tourfy-shift__card{min-height:auto!important;padding:24px 20px!important;border-right:0!important;border-bottom:1px solid #1b1b1e!important}
  .tourfy-shift__card:last-child{border-bottom:0!important}
  .tourfy-shift__metric{font-size:40px!important}
  .tourfy-shift__card-title{font-size:17px!important}
  .tourfy-shift__card-text{font-size:14px!important;line-height:1.6!important}
  .tourfy-shift__note{font-size:11px!important;line-height:1.45!important}

  /* WHY CHOOSE */
  .tourfy-why{padding-left:16px!important;padding-right:16px!important}
  .tourfy-why__inner{display:block!important}
  .tourfy-why__title{font-size:clamp(34px,10vw,46px)!important;line-height:.98!important;overflow-wrap:anywhere!important}
  .tourfy-why__description{font-size:15px!important;line-height:1.65!important}
  .tourfy-why__button{width:100%!important;justify-content:center!important;text-align:center!important}
  .tourfy-why__benefits{grid-template-columns:1fr!important;gap:16px!important}
  .tourfy-why__benefit{min-width:0!important}
  .tourfy-why__benefit-title{font-size:15px!important}
  .tourfy-why__benefit-text{font-size:13px!important;line-height:1.6!important}
  .tourfy-why__stats{margin-top:30px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .tourfy-why__stat{min-height:130px!important;padding:20px 16px!important;border-radius:14px!important}
  .tourfy-why__metric{font-size:38px!important}
  .tourfy-why__stat-label{font-size:12px!important;line-height:1.45!important}

  /* PROCESS */
  .tourfy-process{padding-left:16px!important;padding-right:16px!important}
  .tourfy-process__header{text-align:left!important;margin-bottom:32px!important}
  .tourfy-process__title{font-size:clamp(32px,9vw,40px)!important;line-height:1.03!important;overflow-wrap:anywhere!important}
  .tourfy-process__description{font-size:14px!important;line-height:1.6!important}
  .tourfy-process__steps{display:block!important}
  .tourfy-process__step{grid-template-columns:58px minmax(0,1fr)!important;gap:4px 14px!important;padding-bottom:24px!important;margin-bottom:22px!important}
  .tourfy-process__number{width:52px!important;height:52px!important;font-size:16px!important}
  .tourfy-process__step-title{font-size:17px!important;overflow-wrap:anywhere!important}
  .tourfy-process__step-text{font-size:13.5px!important;line-height:1.6!important}

  /* TYPES OF UGC */
  .tourfy-types-ugc{padding-left:16px!important;padding-right:16px!important}
  .tourfy-types-ugc__intro{max-width:100%!important;margin-bottom:22px!important}
  .tourfy-types-ugc__title{font-size:clamp(34px,10vw,46px)!important;line-height:.98!important;overflow-wrap:anywhere!important}
  .tourfy-types-ugc__description{font-size:14px!important;line-height:1.6!important}
  .tourfy-types-ugc__grid{grid-template-columns:1fr!important;gap:10px!important}
  .tourfy-types-ugc__card{min-height:auto!important;padding:24px 18px!important;border-radius:14px!important}
  .tourfy-types-ugc__card-label{font-size:10px!important;margin-bottom:12px!important}
  .tourfy-types-ugc__card-title{font-size:20px!important}
  .tourfy-types-ugc__card-text{font-size:14px!important;line-height:1.6!important}

  /* HOW WE HELP */
  .tourfy-how-help{padding-left:16px!important;padding-right:16px!important}
  .tourfy-how-help__head{max-width:100%!important;margin-bottom:30px!important}
  .tourfy-how-help__title{font-size:clamp(32px,9.5vw,42px)!important;line-height:1.03!important;overflow-wrap:anywhere!important}
  .tourfy-how-help__description{font-size:14px!important;line-height:1.6!important}
  .tourfy-how-help__grid{grid-template-columns:1fr!important;gap:10px!important}
  .tourfy-how-help__card{min-height:auto!important;padding:24px 18px!important;border-radius:14px!important}
  .tourfy-how-help__number{font-size:46px!important}
  .tourfy-how-help__card-title{font-size:19px!important}
  .tourfy-how-help__card-text{font-size:14px!important;line-height:1.6!important}

  /* VIDEO SHOWCASE — force existing saved 700px desktop height to a sane mobile 9:16-style size */
  .tourfy-video-showcase{padding:34px 14px!important}
  .tourfy-video-showcase__intro{max-width:100%!important;margin-bottom:18px!important}
  .tourfy-video-showcase__title{font-size:clamp(30px,9vw,40px)!important;line-height:1.02!important}
  .tourfy-video-showcase__description{font-size:13.5px!important;line-height:1.55!important}
  .tourfy-video-showcase__filters{justify-content:flex-start!important;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;padding-bottom:5px!important}
  .tourfy-video-showcase__filters::-webkit-scrollbar{display:none!important}
  .tourfy-video-showcase__filter{flex:0 0 auto!important;font-size:11px!important;padding:8px 12px!important}
  .tourfy-video-showcase__grid{grid-template-columns:1fr!important;gap:14px!important}
  .tourfy-video-showcase__card{width:min(100%,360px)!important;margin:0 auto!important;border-radius:14px!important}
  .tourfy-video-showcase__media{height:auto!important;aspect-ratio:9/16!important;min-height:0!important;max-height:none!important}
  .tourfy-video-showcase__video,.tourfy-video-showcase__image,.tourfy-video-showcase__embed,.tourfy-video-showcase__embed iframe{width:100%!important;height:100%!important;object-fit:cover!important}
  .tourfy-video-showcase__meta{padding:10px 10px 12px!important}
  .tourfy-video-showcase__card-title{font-size:12px!important}
  .tourfy-video-showcase__badge{font-size:10px!important}

  /* TEXT MARQUEE */
  .tourfy-text-marquee__row{min-height:42px!important}
  .tourfy-text-marquee__item{font-size:12px!important;letter-spacing:.08em!important;white-space:nowrap!important}
  .tourfy-text-marquee__track{will-change:transform!important}

  /* FOOTER */
  .tff-inner{padding:34px 16px 18px!important}
  .tff-grid{display:block!important}
  .tff-brand-col{margin-bottom:22px!important}
  .tff-logo{margin-bottom:16px!important}
  .tff-logo img{max-width:150px!important}
  .tff-description{font-size:14px!important;line-height:1.55!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .tff-socials{gap:8px!important;margin-top:16px!important}
  .tff-social{width:44px!important;height:44px!important;border-radius:12px!important}
  .tff-award{display:none!important}
  .tff-col:not(.tff-brand-col){margin:0!important;border-bottom:1px solid rgba(255,255,255,.10)!important}
  .tff-heading{font-size:18px!important;margin:0!important;padding:18px 0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;cursor:pointer!important}
  .tff-links,.tff-contact-list{padding:0 0 14px!important;margin:0!important;gap:8px!important}
  .tff-links a,.tff-contact-item{font-size:14px!important;line-height:1.5!important;overflow-wrap:anywhere!important}
  .tff-bottom{margin-top:22px!important;padding-top:18px!important;align-items:center!important;text-align:center!important;gap:12px!important}
  .tff-bottom,.tff-bottom-links{justify-content:center!important;width:100%!important}
  .tff-bottom-links{flex-wrap:wrap!important;font-size:12px!important;gap:8px 14px!important}
}

@media (max-width: 420px){
  .tfh-tagline{max-width:104px!important;font-size:11px!important}
  .tfy-hero-title{font-size:38px!important}
  .tfy-hero-stats{grid-template-columns:1fr!important}
  .tfy-stat-card{min-height:118px!important}
  .tfc-trust-badges{grid-template-columns:1fr 1fr!important}
  .tfc-actions{grid-template-columns:1fr!important}
  .tourfy-why__stats{grid-template-columns:1fr!important}
  .tourfy-video-showcase__card{width:100%!important}
  .tourfy-video-showcase__media{aspect-ratio:9/16!important}
}
