/* Homepage phone layout only. Desktop card geometry is unchanged. */
@media (max-width:760px) {
  html.sevo-home-refresh,html.sevo-home-refresh body {scrollbar-width:none!important}
  html.sevo-home-refresh::-webkit-scrollbar,html.sevo-home-refresh body::-webkit-scrollbar {display:none!important;width:0!important;height:0!important}
  html.sevo-home-refresh.sevo-home-paired .hero {
    height:auto!important;
    min-height:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-inner {
    width:calc(100% - 32px)!important;
    max-width:600px!important;
    height:auto!important;
    min-height:0!important;
    padding-top:3px!important;
    padding-bottom:12px!important;
    gap:10px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-copy #hero-heading {
    width:100%!important;
    max-width:100%!important;
    align-self:center!important;
    text-align:center!important;
    font-size:clamp(30px,8.2vw,36px)!important;
    line-height:1.12!important;
    letter-spacing:-1.2px!important;
    margin-top:8px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-copy>.sevo-app-teaser {
    display:flex!important;
    position:absolute!important;
    top:12px!important;
    right:0!important;
    transform:scale(.62)!important;
    transform-origin:top right!important;
    z-index:3!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-auto-rows:auto!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite :is(.hero-pair,#marketplace-home,.service-home-panel) {
    display:contents!important;
    height:auto!important;
    min-height:0!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite :is(.hero-sevodoc-card,.hero-tariffs-card,#auto-detective-launch,.places-home-panel,.service-home-half) {
    width:100%!important;
    max-width:none!important;
    height:100px!important;
    min-height:100px!important;
    box-sizing:border-box!important;
    margin:0!important;
    border-radius:16px!important;
    padding:6px 14px!important;
    overflow:hidden!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite :is(.places-home-panel,.service-home-half)::before {
    display:none!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite :is(.feature-free,.detective-cta-free) {
    top:8px!important;
    right:9px!important;
    font-size:7px!important;
    line-height:1!important;
    padding:4px 5px!important;
    white-space:nowrap!important;
  }

  /* Keep the office photograph and the original SEVODOC wordmark. */
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .hero-sevodoc-card {
    justify-content:center!important;
    align-items:flex-start!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .doc-card-copy {
    gap:2px!important;
    width:100%!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .doc-card-brand {
    font-size:21px!important;
    line-height:1!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .doc-card-main {
    font-size:17px!important;
    line-height:1.15!important;
    max-width:100%!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .doc-card-secondary {
    font-size:10px!important;
    line-height:1.2!important;
    max-width:100%!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite :is(.doc-real-scene,.market-real-scene)>img {
    object-position:75% center!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .doc-real-scene::after {
    background:linear-gradient(90deg,#06162eea 0%,#081d3bc9 46%,#0b244833 78%,#102c4d08)!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .feature-card-action {
    min-width:0!important;
    width:max-content!important;
    max-width:100%!important;
    height:27px!important;
    min-height:27px!important;
    padding:5px 10px!important;
    font-size:10px!important;
    gap:9px!important;
    box-sizing:border-box!important;
  }

  /* Full-width model check gives the car and the copy separate space. */
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-copy {
    width:calc(100% - 106px)!important;
    flex:0 1 auto!important;
    min-width:0!important;
    gap:2px!important;
    padding:0!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-name {
    font-size:24px!important;
    line-height:1.05!important;
    letter-spacing:-.7px!important;
    white-space:nowrap!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-kicker {
    font-size:7px!important;
    line-height:1.1!important;
    letter-spacing:.65px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-sub {
    font-size:10px!important;
    line-height:1.2!important;
    max-width:100%!important;
    white-space:normal!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-vin {
    width:145px!important;
    right:-4px!important;
    left:auto!important;
    top:auto!important;
    bottom:0!important;
    transform:none!important;
    opacity:1!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-action {
    min-height:27px!important;
    height:27px!important;
    font-size:10px!important;
    padding:5px 10px!important;
    gap:8px!important;
    box-sizing:border-box!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-input {
    display:none!important;
  }

  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .hero-tariffs-card {
    justify-content:center!important;
    align-items:flex-start!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .market-card-copy {
    gap:5px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .market-card-title {
    font-size:23px!important;
    line-height:1.1!important;
    padding-top:0!important;
    max-width:calc(100% - 50px)!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .market-card-description {
    font-size:10px!important;
    line-height:1.2!important;
    max-width:100%!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .market-real-scene::after {
    background:linear-gradient(90deg,#061b34db 0%,#0b203f9c 47%,#102d4e1a 84%)!important;
  }

  /* Destination copy and both small actions fit the same horizontal banner. */
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .places-home-panel {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:4px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .places-home-intro {
    min-height:0!important;
    width:100%!important;
    gap:0!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .places-home-title {
    display:grid!important;
    gap:2px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .places-home-panel h2 {
    font-size:23px!important;
    line-height:1.05!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .places-home-panel .places-home-eyebrow {
    font-size:7px!important;
    letter-spacing:.55px!important;
    line-height:1.1!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .places-home-count {
    width:max-content!important;
    max-width:100%!important;
    font-size:10px!important;
    line-height:1.15!important;
    padding:2px 4px!important;
    white-space:nowrap!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .places-home-actions {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin:0!important;
    padding:0!important;
    width:100%!important;
    min-width:0!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .places-home-actions .button {
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:28px!important;
    height:28px!important;
    box-sizing:border-box!important;
    font-size:10px!important;
    line-height:1!important;
    gap:5px!important;
    padding:5px 7px!important;
    white-space:nowrap!important;
  }

  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .service-home-half {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:5px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .service-home-half h2 {
    font-size:24px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .service-home-eyebrow {
    font-size:7px!important;
    line-height:1.2!important;
    letter-spacing:.65px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .service-home-actions .button {
    width:145px!important;
    height:28px!important;
    min-height:28px!important;
    font-size:10px!important;
    padding:5px 10px!important;
  }

  /* Two real grid rows remove the old overlaid mobile example/button layout. */
  html.sevo-home-refresh.sevo-home-paired #search-form {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    padding:8px!important;
    gap:5px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  html.sevo-home-refresh.sevo-home-paired #search-form .sevo-ai-search-heading {
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    gap:7px!important;
    position:static!important;
  }
  html.sevo-home-refresh.sevo-home-paired #search-form .sevo-ai-avatar {
    width:27px!important;
    height:28px!important;
    min-width:27px!important;
    flex:0 0 27px!important;
  }
  html.sevo-home-refresh.sevo-home-paired #search-form .sevo-ai-search-heading label {
    font-size:13px!important;
    line-height:1.2!important;
    flex:none!important;
    white-space:nowrap!important;
  }
  html.sevo-home-refresh.sevo-home-paired #search-form .sevo-ai-search-heading>div {
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
    flex:1 1 auto!important;
    min-width:0!important;
  }
  html.sevo-home-refresh.sevo-home-paired #search-form .sevo-ai-search-heading p {
    display:block!important;
    min-width:0!important;
    margin:0!important;
    font-size:9px!important;
    line-height:1.2!important;
    letter-spacing:-.1px!important;
    white-space:nowrap!important;
    color:#c8d9e9!important;
    position:static!important;
    transform:none!important;
  }
  html.sevo-home-refresh.sevo-home-paired #search-form .sevo-ai-search-entry {
    grid-column:1!important;
    grid-row:2!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 82px!important;
    align-items:stretch!important;
    width:100%!important;
    min-width:0!important;
    gap:7px!important;
    margin:0!important;
    position:static!important;
    padding:0!important;
  }
  html.sevo-home-refresh.sevo-home-paired #search-form #search-input {
    grid-column:1!important;
    grid-row:1!important;
    position:static!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    box-sizing:border-box!important;
    padding:11px 9px!important;
    margin:0!important;
    font-size:12px!important;
    line-height:20px!important;
    resize:none!important;
    transform:none!important;
  }
  html.sevo-home-refresh.sevo-home-paired #search-form .search-submit {
    grid-column:2!important;
    grid-row:1!important;
    position:static!important;
    inset:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:82px!important;
    min-width:0!important;
    max-width:82px!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0 8px!important;
    gap:6px!important;
    font-size:11px!important;
    line-height:1!important;
    transform:none!important;
    box-sizing:border-box!important;
  }
  html.sevo-home-refresh.sevo-home-paired #search-form .search-submit svg {
    width:15px!important;
    height:15px!important;
    flex:0 0 15px!important;
    position:static!important;
    inset:auto!important;
    transform:none!important;
  }
  html.sevo-home-refresh.sevo-home-paired #search-form .search-submit>#ai-search-submit-label {
    display:inline!important;
    color:inherit!important;
    font-size:11px!important;
    line-height:1!important;
    position:static!important;
    width:auto!important;
    height:auto!important;
    clip:auto!important;
    clip-path:none!important;
    overflow:visible!important;
    margin:0!important;
    white-space:nowrap!important;
  }
  html.sevo-home-refresh.sevo-home-paired #search-form :is(#ai-search-mobile-example,#ai-search-mobile-copy) {
    display:none!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-copy>.hero-actions {
    width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-copy>.hero-actions>.button {
    min-width:0!important;
    padding:10px 8px!important;
    gap:5px!important;
    min-height:44px!important;
    font-size:10px!important;
    letter-spacing:-.1px!important;
  }
  html.sevo-home-refresh #community .community-heading.community-advert>.eyebrow,
  html.sevo-home-refresh #community .community-heading.community-advert>h2,
  html.sevo-home-refresh #community .community-heading.community-advert>.community-promise,
  html.sevo-home-refresh #community .community-heading.community-advert #how .community-how-label {
    width:100%!important;
    max-width:100%!important;
    text-align:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  html.sevo-home-refresh #community .community-heading.community-advert>.eyebrow,
  html.sevo-home-refresh #community .community-heading.community-advert #how .community-how-label {
    display:block!important;
  }
  html.sevo-home-refresh #community .community-heading.community-advert>.eyebrow:before,
  html.sevo-home-refresh #community .community-heading.community-advert #how .community-how-label:before {
    display:none!important;
  }
  html.sevo-home-refresh #community .community-heading.community-advert>.community-promise {
    white-space:nowrap!important;
    font-size:clamp(8px,2.8vw,11px)!important;
    line-height:1.45!important;
  }
}

@media(max-width:319px){html.sevo-home-refresh.sevo-home-paired #search-form .sevo-ai-search-heading p{font-size:7px!important}}

@media (max-width:359px) {
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite :is(.hero-sevodoc-card,.hero-tariffs-card,#auto-detective-launch,.places-home-panel,.service-home-half) {
    padding-inline:12px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-copy {
    width:calc(100% - 100px)!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-name {
    font-size:22px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-sub {
    font-size:9px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-vin {
    width:135px!important;
    right:-7px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .doc-card-main {
    font-size:16px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .places-home-actions .button {
    font-size:9px!important;
    padding-inline:5px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .places-home-count {
    font-size:9px!important;
  }
  html.sevo-home-refresh.sevo-home-paired .hero-service-suite .service-home-half h2 {
    font-size:23px!important;
  }
}
@media(max-width:760px){
 html.sevo-home-refresh.sevo-home-paired .hero-service-suite .hero-sevodoc-card .feature-card-action,
 html.sevo-home-refresh.sevo-home-paired .hero-service-suite .hero-tariffs-card .feature-card-action,
 html.sevo-home-refresh.sevo-home-paired .hero-service-suite #auto-detective-launch .detective-cta-action{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:145px!important;min-width:145px!important;max-width:145px!important;height:28px!important;min-height:28px!important;max-height:28px!important;flex-shrink:0!important;}
 /* A cached bitmap fallback paints the photograph before the animated image is
    composited. Continuous camera motion stays on the image itself. */
 html.sevo-home-refresh.sevo-home-paired .hero-service-suite .hero-sevodoc-card{background-image:url('/sevodoc-office-v1.webp')!important;background-size:cover!important;background-position:75% center!important;background-repeat:no-repeat!important;}
 html.sevo-home-refresh.sevo-home-paired .hero-service-suite .hero-tariffs-card{background-image:url('/price-studio-real-v1.webp')!important;background-size:cover!important;background-position:75% center!important;background-repeat:no-repeat!important;}
 html.sevo-home-refresh.sevo-home-paired .hero-service-suite :is(.doc-real-scene,.market-real-scene){animation:none!important;opacity:1!important;visibility:visible!important;}
 html.sevo-home-refresh.sevo-home-paired .hero-service-suite :is(.doc-real-scene,.market-real-scene)>img{opacity:1!important;visibility:visible!important;animation-delay:0s!important;}
}
