/* RAFimport patch v82: larger video launcher, side-profile car icon,
   visual contact-method picker and hero top-line alignment. */

@media (min-width:1181px){
  .raf-home .raf-hero__content{
    padding-top:0 !important;
  }
  .raf-home .raf-hero__content > .raf-kicker{
    margin-top:0 !important;
  }
}

/* Floating video launcher: +50% on desktop, proportionally larger on smaller screens. */
.raf-video-float{
  width:156px !important;
  gap:10px !important;
}
.raf-video-float__thumb{
  width:126px !important;
  height:126px !important;
  border-width:3px !important;
  box-shadow:
    0 0 0 7px rgba(34,169,239,.12),
    0 0 46px rgba(36,174,246,.40),
    0 20px 44px rgba(0,0,0,.30) !important;
}
.raf-video-float:hover .raf-video-float__thumb{
  transform:scale(1.035) !important;
  box-shadow:
    0 0 0 8px rgba(34,169,239,.17),
    0 0 54px rgba(36,174,246,.48),
    0 24px 50px rgba(0,0,0,.32) !important;
}
.raf-video-float__play{
  width:50px !important;
  height:50px !important;
}
.raf-video-float__play::after{
  left:21px !important;
  top:15px !important;
  border-left-width:14px !important;
  border-top-width:10px !important;
  border-bottom-width:10px !important;
}
.raf-video-float__label{
  min-height:34px !important;
  padding:0 14px !important;
  font-size:12px !important;
}

/* Contact methods replace the old select in the hero form. */
.raf-hero-contact-methods{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}
.raf-hero-contact-methods legend{
  margin:0 0 8px;
  padding:0;
  color:rgba(225,241,251,.72);
  font-size:10px;
  line-height:1;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.raf-hero-contact-methods__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.raf-hero-contact-option{
  position:relative;
  display:block;
  min-width:0;
  margin:0;
  cursor:pointer;
}
.raf-hero-contact-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.raf-hero-contact-option__tile{
  display:flex;
  min-height:70px;
  padding:8px 4px 7px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid rgba(190,229,251,.16);
  border-radius:14px;
  color:rgba(238,247,253,.76);
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
  transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease,color .18s ease;
}
.raf-hero-contact-option:hover .raf-hero-contact-option__tile{
  transform:translateY(-1px);
  color:#fff;
  border-color:rgba(75,190,248,.42);
  background:linear-gradient(180deg,rgba(45,164,226,.13),rgba(255,255,255,.045));
}
.raf-hero-contact-option input:focus-visible + .raf-hero-contact-option__tile{
  outline:2px solid rgba(66,190,250,.72);
  outline-offset:2px;
}
.raf-hero-contact-option input:checked + .raf-hero-contact-option__tile{
  color:#fff;
  border-color:rgba(73,193,255,.62);
  background:
    radial-gradient(circle at 50% 0%,rgba(76,195,255,.18),transparent 52%),
    linear-gradient(180deg,rgba(22,125,185,.25),rgba(5,43,72,.30));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.11),
    0 0 0 2px rgba(36,166,235,.08),
    0 10px 24px rgba(0,75,126,.14);
}
.raf-hero-contact-option__icon{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  flex:0 0 30px;
  border-radius:9px;
  overflow:hidden;
}
.raf-hero-contact-option__icon img{
  display:block;
  width:30px;
  height:30px;
  object-fit:contain;
}
.raf-hero-contact-option__icon--phone{
  color:#fff;
  border:1px solid rgba(116,211,255,.38);
  background:linear-gradient(145deg,#28acef 0%,#0871bd 65%,#07518c 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24);
}
.raf-hero-contact-option__icon--phone svg{
  width:18px;
  height:18px;
}
.raf-hero-contact-option__label{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  color:inherit;
  font-size:10px;
  line-height:1.05;
  font-weight:850;
  white-space:nowrap;
}

@media (max-width:1180px){
  .raf-video-float{
    width:118px !important;
  }
  .raf-video-float__thumb{
    width:102px !important;
    height:102px !important;
  }
  .raf-video-float__play{
    width:44px !important;
    height:44px !important;
  }
  .raf-video-float__play::after{
    left:19px !important;
    top:13px !important;
    border-left-width:12px !important;
    border-top-width:9px !important;
    border-bottom-width:9px !important;
  }
}

@media (max-width:780px){
  .raf-hero-contact-methods__grid{
    gap:7px;
  }
  .raf-hero-contact-option__tile{
    min-height:66px;
    padding:7px 3px 6px;
    border-radius:13px;
  }
  .raf-hero-contact-option__label{
    font-size:9px;
  }
}

@media (max-width:560px){
  .raf-video-float{
    width:96px !important;
  }
  .raf-video-float__thumb{
    width:87px !important;
    height:87px !important;
    border-width:2px !important;
  }
  .raf-video-float__play{
    width:40px !important;
    height:40px !important;
  }
  .raf-video-float__play::after{
    left:17px !important;
    top:12px !important;
    border-left-width:11px !important;
    border-top-width:8px !important;
    border-bottom-width:8px !important;
  }
  .raf-hero-contact-methods__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .raf-hero-contact-option__tile{
    min-height:60px;
    flex-direction:row;
    gap:8px;
    padding:7px 9px;
  }
  .raf-hero-contact-option__label{
    font-size:10px;
  }
}
