/* The new home (package HOME, the regia, 16/11/2026; apps/sito/home_new.py, sito/home_new.html).
   - Loaded by the new home only, after home.css and home-style.css; every rule starts with body.home-new, so the home
     of today and the other pages never see it.
   - The blocks of the home of today the new home keeps (story, systems, proof, fleet, videos, closing) wear
     home-style.css as they do today; here are the top, the band under it, the cities and the services.
   - Fraunces 500 for the titles and Inter for the rest come from home-style.css; never a weight of 700 or 800.
   - On a phone: text of 16 px (labels never under 14), targets of 44 px, buttons as wide as their block and centred,
     the four tall cards scroll sideways inside their own strip, the page never does. */

body.home-new :is(.hn-hero, .hn-trust, .hn-cities, .hn-services, .hn-reviews) *, body.home-new :is(.hn-hero, .hn-trust, .hn-cities, .hn-services, .hn-reviews) *::before, body.home-new :is(.hn-hero, .hn-trust, .hn-cities, .hn-services, .hn-reviews) *::after { box-sizing: border-box; }
/* the icons of the new blocks; the single form keeps its own (sito/_single_form_icon.html) */
body.home-new :is(.hn-hero-words, .hn-trust, .hn-cities, .hn-services, .hn-reviews) svg { width: 18px; height: 18px; flex: none; }
body.home-new .hn-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ── 1. The top: the title, the guarantee, the single form ── */
body.home-new .hn-hero { position: relative; overflow: hidden; background: #0d1e34; color: #fff; padding: 56px 0 52px; }
/* the photo is an <img> (apps/sito/home_top_photo.py), not a background: a phone finds it in the page and loads it first */
body.home-new .hn-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .14; }
body.home-new .hn-hero-inner { position: relative; z-index: 1; display: grid; gap: 30px; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
body.home-new .hn-hero-inner > * { min-width: 0; }
body.home-new .hn-hero-words { max-width: 860px; }
body.home-new .hn-hero-claim { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: #f6c26b; font-size: 15px; font-weight: 500; line-height: 1.4; }
body.home-new .hn-dot { width: 6px; height: 6px; border-radius: 50%; background: #e89820; flex: none; }
body.home-new .hn-hero h1 { margin: 0 0 20px; color: #fff; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.1; }
body.home-new .hn-hero h1 .ha-accent { color: #e89820; }
body.home-new .hn-hero h1 em { font-style: italic; color: rgba(255, 255, 255, .84); }
body.home-new .hn-hero-guarantee { display: flex; align-items: center; gap: 12px; margin: 0; color: #fff; font-size: 18px; line-height: 1.35; }
body.home-new .hn-hero-guarantee strong { display: block; font-weight: 600; }
body.home-new .hn-hero-guarantee-sub { display: block; color: #c9d4e3; font-size: 16px; }
body.home-new .hn-hero-badge { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(232, 152, 32, .16); color: #e89820; flex: none; }
body.home-new .hn-hero-badge svg { width: 22px; height: 22px; }
body.home-new .hn-hero .hn-form { padding: 16px; }

/* ── 2. The band under the form: the other lines of the top of today, word for word ── */
body.home-new .hn-trust { background: #f5f0e7; border-bottom: 1px solid #e6e1d6; padding: 26px 0 22px; }
body.home-new .hn-trust-inner { display: grid; gap: 14px; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
body.home-new .hn-trust-line { margin: 0; max-width: 940px; color: #23324a; font-size: 16px; line-height: 1.55; }
body.home-new .hn-trust-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; color: #0d1e34; font-size: 15px; font-weight: 500; line-height: 1.4; }
body.home-new .hn-trust-points li { display: flex; align-items: center; gap: 8px; line-height: 1.4; }
body.home-new .hn-trust-points svg { color: #9a5a0a; }
body.home-new .hn-trust-stars { display: inline-flex; gap: 1px; }
body.home-new .hn-trust-stars svg { width: 15px; height: 15px; color: #c77d0a; fill: currentColor; }
body.home-new .hn-trust-tp { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-decoration-color: #c9b99a; text-underline-offset: 3px; }
body.home-new .hn-trust-tp:hover { text-decoration-color: currentColor; }
body.home-new .hn-trust-why { margin: 0; }
body.home-new .hn-trust-why a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #144a87; font-size: 16px; font-weight: 600; text-decoration: none; }
body.home-new .hn-trust-why a:hover { text-decoration: underline; }
body.home-new .hn-trust-why svg { transform: rotate(90deg); }

/* ── 3. The cities: four tall cards all photo, the others in rows, the families beside the title ── */
body.home-new .hn-cities { background: #fff; padding: 84px 0 88px; }
body.home-new .hn-cities-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; margin-bottom: 34px; }
body.home-new .hn-cities-words { flex: 1 1 380px; min-width: 0; }
body.home-new .hn-families { flex: 0 1 620px; }
body.home-new :is(.hn-cities, .hn-services, .hn-reviews) h2 { margin: 0 0 10px; color: #0d1e34; font-size: 33px; line-height: 1.2; }
body.home-new .hn-sub { margin: 0; max-width: 660px; color: #4a5a70; font-size: 17px; line-height: 1.55; }
body.home-new .hn-families ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; }
body.home-new .hn-families a { display: flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #d9d2c3; border-radius: 999px; background: #fff; color: #0d1e34; font-size: 15px; font-weight: 500; text-decoration: none; transition: border-color .15s, background .15s; }
body.home-new .hn-families a:hover { border-color: #e89820; background: #fdf6e9; }
body.home-new .hn-tiles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
body.home-new .hn-tile { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 14px; background: #0d1e34; transition: transform .2s, box-shadow .2s; }
body.home-new .hn-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(13, 30, 52, .14); }
body.home-new .hn-tile:focus-within { outline: 2px solid #9a5a0a; outline-offset: 2px; }
body.home-new .hn-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.home-new .hn-tile-veil { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px; background: linear-gradient(0deg, rgba(13, 30, 52, .88) 0%, rgba(13, 30, 52, .42) 40%, rgba(13, 30, 52, 0) 66%); }
body.home-new .hn-tile-name { margin: 0; color: #fff; font-family: inherit; font-size: 26px; font-weight: 600; line-height: 1.15; }
body.home-new .hn-tile-name a { color: inherit; text-decoration: none; }
body.home-new .hn-tile-name a::after { content: ""; position: absolute; inset: 0; }
body.home-new .hn-tile-cta { color: #f6c26b; font-size: 15px; font-weight: 500; }
body.home-new .hn-city-rows { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; margin: 30px 0 0; padding: 0; }
body.home-new .hn-city-row { border-bottom: 1px solid #ece7dd; }
body.home-new .hn-city-row a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 10px 2px; color: #0d1e34; font-size: 17px; font-weight: 500; line-height: 1.3; text-decoration: none; }
body.home-new .hn-city-row svg { color: #9a5a0a; transition: transform .15s; }
body.home-new .hn-city-row a:hover { color: #144a87; }
body.home-new .hn-city-row a:hover svg { transform: translateX(3px); }
body.home-new .hn-cities-more { margin: 22px 0 0; }
body.home-new .hn-cities-more a { display: inline-flex; align-items: center; min-height: 44px; color: #144a87; font-size: 16px; font-weight: 600; text-decoration: none; }
body.home-new .hn-cities-more a:hover { text-decoration: underline; }

/* ── 4. The services: a photo, the words of today, one button as wide as the card ── */
body.home-new .hn-services { background: #f5f0e7; padding: 84px 0 88px; }
body.home-new .hn-services-head { margin-bottom: 34px; }
body.home-new .hn-eyebrow { margin: 0 0 6px; color: #9a5a0a; font-size: 15px; font-weight: 500; }
body.home-new .hn-services h2 span { color: #9a5a0a; }
body.home-new .hn-services .hn-sub { max-width: 760px; }
body.home-new .hn-service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.home-new .hn-service-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
body.home-new .hn-service { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e6e1d6; border-radius: 14px; background: #fff; }
body.home-new .hn-service-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
body.home-new .hn-service-body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
body.home-new .hn-service-kicker { margin: 0 0 6px; color: #9a5a0a; font-size: 15px; font-weight: 500; line-height: 1.35; }
body.home-new .hn-service-title { margin: 0 0 10px; color: #0d1e34; font-family: inherit; font-size: 22px; font-weight: 600; line-height: 1.25; }
body.home-new .hn-service-desc { margin: 0 0 22px; color: #4a5a70; font-size: 16px; line-height: 1.55; }
body.home-new .hn-service-hubs { margin: -8px 0 22px; color: #4a5a70; font-size: 15px; line-height: 1.7; }
body.home-new .hn-service-hubs a { color: #0b1829; text-decoration: underline; text-underline-offset: 3px; }
body.home-new .hn-btn { display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: auto; padding: 12px 18px; border-radius: 10px; background: #e89820; color: #0b1829; font-size: 16px; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; transition: background .15s; }
body.home-new .hn-btn:hover { background: #f5a824; }

/* ── 5. «How it works»: the three steps of the new pages carry inline icons, sized here (on the new pages by
   new-layout.css, which the home does not load) ── */
body.home-new .itl-home--cmd .itl-cf-icon { display: flex; }
body.home-new .itl-home--cmd .itl-cf-icon svg { width: 22px; height: 22px; flex: none; }

/* ── 6. The reviews of every channel (home_reviews.py), in place of the proof block: the sum on top, a card per
   channel with its own score and the link to check it, three true reviews, the facts the system measures ── */
body.home-new .hn-reviews { background: #fff; padding: 84px 0 88px; }
body.home-new .hn-reviews-head { margin-bottom: 30px; }
body.home-new .hn-reviews h2 { font-size: clamp(34px, 4.4vw, 46px); line-height: 1.1; text-wrap: balance; }
body.home-new .hn-reviews h2 .hn-title-line { display: block; }
body.home-new .hn-channels { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
body.home-new .hn-channels--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.home-new .hn-channels--1 { grid-template-columns: minmax(0, 420px); }
body.home-new .hn-channels--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.home-new .hn-channel a { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; min-height: 132px; padding: 20px 48px 20px 22px; border: 1px solid #e6e1d6; border-radius: 14px; background: #fbf8f2; color: #0d1e34; text-decoration: none; transition: border-color .15s, background .15s; }
body.home-new .hn-channel a:hover { border-color: #e89820; background: #fdf6e9; }
body.home-new .hn-channel a:focus-visible { outline: 2px solid #9a5a0a; outline-offset: 2px; }
body.home-new .hn-channel-name { color: #4a5a70; font-size: 16px; font-weight: 500; line-height: 1.35; }
body.home-new .hn-channel-value { color: #0d1e34; font-size: 26px; font-weight: 600; line-height: 1.2; }
body.home-new .hn-channel-meta { color: #4a5a70; font-size: 16px; line-height: 1.4; }
body.home-new .hn-channel-arrow { position: absolute; top: 22px; right: 20px; display: flex; color: #9a5a0a; }
body.home-new .hn-review-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0 0; padding: 0; }
/* two cards when only two reviews say something in the page's language (home_reviews._cards): two columns, not an empty third */
body.home-new .hn-review-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.home-new .hn-review-cards--1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
body.home-new .hn-review { display: flex; flex-direction: column; padding: 22px; border: 1px solid #e6e1d6; border-radius: 14px; background: #fff; }
body.home-new .hn-review p { margin: 0; }
body.home-new .hn-review .hn-review-stars { display: flex; gap: 2px; margin-bottom: 12px; }
body.home-new .hn-review-stars svg { width: 16px; height: 16px; color: #c77d0a; fill: currentColor; }
body.home-new .hn-review .hn-review-text { flex: 1; margin-bottom: 16px; color: #23324a; font-size: 16px; line-height: 1.6; }
body.home-new .hn-review-name { color: #0d1e34; font-size: 16px; font-weight: 600; line-height: 1.4; }
body.home-new .hn-review-route { color: #4a5a70; font-size: 15px; line-height: 1.4; }
body.home-new .hn-reviews-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
body.home-new .hn-reviews-links .hn-btn { margin-top: 0; padding: 12px 26px; }
body.home-new .hn-btn-quiet { border: 1px solid #0d1e34; background: #fff; color: #0d1e34; }
body.home-new .hn-btn-quiet:hover { background: #f5f0e7; }
body.home-new .hn-facts { margin-top: 44px; padding-top: 28px; border-top: 1px solid #ece7dd; }
body.home-new .hn-facts h3 { margin: 0 0 12px; color: #9a5a0a; font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.4; }
body.home-new .hn-facts ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 44px; margin: 0; padding: 0; }
body.home-new .hn-facts li { color: #23324a; font-size: 17px; line-height: 1.5; }
body.home-new .hn-facts strong { color: #0d1e34; font-size: 22px; font-weight: 600; }

/* ── 7. The founder's portrait in his story, in place of the circle «AF» (apps/sito/founder.py) ── */
body.home-new .itl-home--cmd .ha-founder-photo { flex: none; width: 64px; height: 64px; border: 2px solid rgba(240, 165, 0, .5); border-radius: 50%; object-fit: cover; background: #f5f0e7; }

@media (prefers-reduced-motion: reduce) {
  body.home-new .hn-tile, body.home-new .hn-city-row svg { transition: none; }
  body.home-new .hn-tile:hover { transform: none; }
}
@media (max-width: 1100px) {
  body.home-new .hn-service-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body.home-new .hn-service-cards { grid-template-columns: minmax(0, 1fr); }
  body.home-new .hn-city-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body.home-new .hn-hero { padding: 34px 0 30px; }
  body.home-new .hn-hero-inner { gap: 22px; }
  body.home-new .hn-hero h1 { margin-bottom: 16px; }
  body.home-new .hn-hero-guarantee { font-size: 17px; }
  /* the form as wide as the buttons of the page: no frame of its own on a phone */
  body.home-new .hn-hero .hn-form { padding: 0; border: 0; background: none; }
  body.home-new .hn-hero .sf .sf-tab { font-size: 14px; }
  body.home-new .hn-trust-points { display: grid; gap: 10px; font-size: 16px; }
  body.home-new :is(.hn-cities, .hn-services, .hn-reviews) { padding: 56px 0 60px; }
  /* the size of the titles of the blocks of today on a phone (home-style.css) */
  body.home-new :is(.hn-cities, .hn-services) h2 { font-size: 24px; }
  body.home-new .hn-reviews h2 { font-size: 32px; }
  body.home-new :is(.hn-channels, .hn-review-cards) { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.home-new .hn-channel a { min-height: 0; }
  body.home-new .hn-review-route { font-size: 16px; }
  body.home-new .hn-reviews-links { display: grid; gap: 10px; }
  body.home-new .hn-reviews-links .hn-btn { margin: 0; border-radius: 10px; }
  body.home-new .hn-facts { margin-top: 36px; }
  body.home-new .hn-facts ul { display: grid; gap: 10px; }
  body.home-new .hn-facts li { font-size: 16px; }
  body.home-new .hn-sub { font-size: 16px; }
  body.home-new .hn-cities-head { display: block; margin-bottom: 26px; }
  /* the families: rows of two, each as wide as its column */
  body.home-new .hn-families { margin-top: 18px; }
  body.home-new .hn-families ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.home-new .hn-families a { justify-content: center; min-height: 48px; padding: 6px 10px; font-size: 16px; text-align: center; }
  /* the four tall cards scroll sideways in their own strip, edge to edge; the page stays still */
  body.home-new .hn-tiles { display: flex; gap: 12px; margin: 0 -20px; padding: 0 20px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  body.home-new .hn-tiles::-webkit-scrollbar { display: none; }
  body.home-new .hn-tile { flex: 0 0 72%; scroll-snap-align: start; }
  body.home-new .hn-tile:hover { transform: none; box-shadow: none; }
  body.home-new .hn-tile-cta { font-size: 16px; }
  body.home-new .hn-city-rows { gap: 0 18px; margin-top: 22px; }
  body.home-new .hn-city-row a { font-size: 16px; }
  /* every button as wide as its block and centred: the new ones and those of the blocks of today */
  body.home-new :is(.hn-cities-more, .hn-trust-why) a { display: flex; justify-content: center; text-align: center; }
  body.home-new .hn-service-title { font-size: 21px; }
  /* the button closes its card, edge to edge: as wide as the form's and the closing's */
  body.home-new .hn-service { border: 0; box-shadow: 0 0 0 1px #e6e1d6; }
  body.home-new .hn-service-body { padding: 20px 20px 0; }
  body.home-new .hn-btn { margin: auto -20px 0; min-height: 56px; border-radius: 0; }
  body.home-new .itl-home--cmd .ha-cta-final .ha-cta-btns { display: block; }
  body.home-new .itl-home--cmd .ha-cta-final .ha-btn-primary { display: flex; justify-content: center; width: 100%; box-sizing: border-box; text-align: center; }
  body.home-new .itl-home--cmd .itl-home-block--video-reviews { padding-left: 20px; padding-right: 20px; }
  body.home-new .itl-home--cmd .itl-home-videos { padding-left: 0; padding-right: 0; }
  body.home-new .itl-home--cmd .itl-home-videos__loadmore .btn { display: block; width: 100%; min-height: 56px; box-sizing: border-box; font-size: 16px; text-align: center; }
}
