/* ═════ RENT A KENT — stili esclusivi della homepage ═════
   Caricato in aggiunta a rk.css. Contiene solo i componenti che non
   compaiono nelle pagine interne: hero a piena altezza, sezione "chi siamo"
   con foto, banda esperienza, "la tua proprietà", modale valutazione,
   banner cookie. */

/* ═════ HERO — VARIANTE HOMEPAGE (piena altezza) ═════ */
.hero--home { min-height: 100vh; padding: 140px 0 100px; }
.hero--home .hero__badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; margin-right: 2px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.hero__scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--rule); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, var(--rule), transparent); animation: scrollLine 1.6s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 600px) { .hero--home { min-height: auto; padding: 120px 0 60px; } .hero__scroll { display: none; } }

/* ═════ HERO — BADGE PIATTAFORME ═════ */
.hero__trust { display: flex; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.hero__trust span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 2px; border-bottom: 1px solid var(--rule); }

/* ═════ OBIEZIONI RAPIDE ═════ */
.quick-answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.quick-answers__item { background: var(--white); padding: 28px 26px; }
.quick-answers__q { font-family: var(--serif); font-size: 1.05rem; font-style: italic; color: var(--ink); margin-bottom: 8px; }
.quick-answers__a { font-size: .85rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .quick-answers { grid-template-columns: 1fr; } }

/* ═════ TEASER STIMA (form 2 passi) ═════ */
#eval-teaser { background: var(--sand); border: 1px solid var(--gold); border-radius: 2px; padding: 16px 18px; margin-bottom: 20px; }
.eval-teaser__text { font-size: .88rem; color: var(--ink); line-height: 1.7; margin: 0; }

/* ═════ EXPERIENCE BAND ═════ */
.experience { background: var(--sand-dark); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 60px 0; }
.experience__inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.experience__text { font-size: .92rem; color: var(--muted); line-height: 1.7; flex: 1; min-width: 280px; }
.experience__text strong { color: var(--ink); font-weight: 500; }
.experience__link { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 1px solid var(--rule); font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--ink); border-radius: 2px; transition: border-color .2s, color .2s; white-space: nowrap; }
.experience__link:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 900px) { .experience__inner { flex-direction: column; align-items: flex-start; } }
@media (max-width: 600px) { .experience { padding: 36px 0; } .experience__text { font-size: .85rem; min-width: 0; } .experience__link { width: 100%; justify-content: center; } }

/* ═════ LA TUA PROPRIETÀ ═════ */
.potential__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 56px; }
.potential-card { background: var(--white); padding: 40px 32px; position: relative; overflow: hidden; transition: background .2s, transform .3s ease, box-shadow .3s ease; }
.potential-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.potential-card:hover { background: var(--sand); transform: translateY(-5px); box-shadow: 0 22px 44px -26px rgba(30,45,61,.3); }
.potential-card:hover::before { transform: scaleX(1); }
.potential-card__icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 20px; transition: transform .3s ease; }
.potential-card:hover .potential-card__icon { transform: translateY(-2px) scale(1.06); }
.potential-card__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--ink); margin-bottom: 14px; }
.potential-card__text { font-size: .9rem; color: var(--muted); line-height: 1.75; }
.potential__grid .reveal:nth-child(2) { transition-delay: .08s; }
.potential__grid .reveal:nth-child(3) { transition-delay: .16s; }
.potential__cta-box { margin-top: 2px; background: var(--ink); padding: 48px 40px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.potential__cta-box-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 300; color: var(--white); margin-bottom: 10px; }
.potential__cta-box-sub { font-size: .9rem; color: rgba(255,255,255,.45); max-width: 440px; line-height: 1.7; }
.potential__cta-box-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 900px) { .potential__grid { grid-template-columns: 1fr; } .potential-card { padding: 32px 28px; } }
@media (max-width: 600px) { .potential-card { padding: 28px 20px; } .potential__cta-box { flex-direction: column; text-align: center; } .potential__cta-box-actions { flex-direction: column; width: 100%; } .potential__cta-box-actions .btn { width: 100%; justify-content: center; } }

/* ═════ PILLAR TEASER (Malpensa / Lago Maggiore) ═════ */
.pillar-card__icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 18px; transition: transform .3s ease; }
.service-card:hover .pillar-card__icon { transform: translateY(-2px) scale(1.06); }

/* ═════ MODALE VALUTAZIONE GRATUITA ═════ */
.eval-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px; }
.eval-modal[hidden] { display: none; }
.eval-modal__overlay { position: absolute; inset: 0; background: rgba(30,45,61,.75); backdrop-filter: blur(4px); }
.eval-modal__box { position: relative; background: var(--white); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 48px 44px 40px; border-radius: 3px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.eval-modal__close { position: absolute; top: 14px; right: 18px; background: none; border: none; cursor: pointer; font-size: 1.8rem; line-height: 1; color: var(--muted); }
.eval-modal__close:hover { color: var(--ink); }
.eval-modal__pre { font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eval-modal__title { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; color: var(--ink); margin-bottom: 10px; }
.eval-modal__sub { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.eval-form__row { display: flex; gap: 14px; }
.eval-form__row .eval-form__field { flex: 1; }
.eval-form__field { margin-bottom: 16px; }
.eval-form__field label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.eval-form__field input, .eval-form__field select, .eval-form__field textarea { width: 100%; font-family: var(--sans); font-size: .9rem; color: var(--ink); background: var(--sand); border: 1px solid var(--rule); border-radius: 2px; padding: 11px 12px; outline: none; transition: border-color .2s; }
.eval-form__field input:focus, .eval-form__field select:focus, .eval-form__field textarea:focus { border-color: var(--gold); }
.eval-form__field textarea { resize: vertical; min-height: 90px; }
.eval-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: var(--muted); line-height: 1.6; margin: 4px 0 20px; cursor: pointer; }
.eval-form__consent input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.eval-form__consent a { color: var(--gold); text-decoration: underline; }
.eval-form__error { font-size: .82rem; color: #B0413E; margin-bottom: 14px; }
.eval-form__submit { width: 100%; justify-content: center; }
.eval-form__submit:disabled { opacity: .6; cursor: wait; }
#eval-form-success { text-align: center; padding: 20px 0; }
.eval-success__icon { width: 56px; height: 56px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 1.6rem; }
@media (max-width: 560px) { .eval-modal__box { padding: 36px 22px 28px; } .eval-form__row { flex-direction: column; gap: 0; } }

/* ═════ BANNER COOKIE ═════ */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: rgba(30,45,61,.97); backdrop-filter: blur(10px); padding: 20px 0; box-shadow: 0 -4px 20px rgba(0,0,0,.15); }
.cookie-banner__inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-banner__text { flex: 1; min-width: 280px; font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.6; }
.cookie-banner__text a { color: var(--gold-lt); }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__btn { font-size: .8rem; padding: 10px 20px; }
.cookie-banner__btn.btn--outline { border-color: rgba(255,255,255,.25); color: #fff; }
.cookie-banner__btn.btn--outline:hover { border-color: #fff; }

/* ═════ TOGGLE LINGUA (dormiente) ═════ */
.nav__lang { font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: color .2s; text-decoration: none; }
.nav__lang:hover { color: var(--ink); }
