/* ═════ RENT A KENT — foglio di stile condiviso pagine interne ═════
   Derivato 1:1 dal CSS inline della homepage (rent-a-kent.it) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink:       #1E2D3D;
  --sand:      #F3EDE4;
  --sand-dark: #EDE4D8;
  --gold:      #B8935A;
  --gold-lt:   #D4AF7A;
  --muted:     #6B6055;
  --white:     #FFFFFF;
  --rule:      #D8D0C0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ═════ UTILITIES ═════ */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--sand { background: var(--sand); }
.section--sand-dark { background: var(--sand-dark); }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.h1 { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 300; line-height: 1.1; color: var(--ink); }
.h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1.15; color: var(--ink); }
.h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); }
.lead { font-size: 1rem; color: var(--muted); max-width: 580px; line-height: 1.8; }
.divider { width: 48px; height: 1px; background: var(--gold); margin: 28px 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-family: var(--sans); font-size: .875rem; font-weight: 500; letter-spacing: .04em; border-radius: 2px; cursor: pointer; transition: all .2s ease; border: none; }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: #2a3f56; }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn--outline:hover { border-color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-lt); }
.btn--ghost { background: transparent; color: var(--gold); padding: 0; font-size: .875rem; letter-spacing: .06em; }
.btn--ghost:hover { color: var(--ink); }

/* ═════ NAV ═════ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 22px 0; transition: background .3s, padding .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(243,237,228,.96); backdrop-filter: blur(12px); padding: 14px 0; box-shadow: 0 1px 0 var(--rule); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo-text { font-family: var(--sans); font-weight: 700; font-size: .85rem; letter-spacing: .1em; color: var(--ink); line-height: 1.15; text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__links a { font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__quick { display: none; }

/* ═════ HERO INTERNO (più compatto della home) ═════ */
.hero { display: flex; align-items: center; position: relative; overflow: hidden; padding: 180px 0 90px; background: var(--sand); }
.hero--sub { min-height: auto; }
.hero__bg { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 65% at 80% 50%, rgba(184,147,90,.08) 0%, transparent 70%); pointer-events: none; }
.hero__content { position: relative; z-index: 1; max-width: 760px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid rgba(184,147,90,.35); border-radius: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 32px; background: rgba(255,255,255,.4); }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__subtitle { font-size: 1.05rem; color: var(--muted); max-width: 560px; line-height: 1.85; margin: 28px 0 44px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ═════ BREADCRUMB ═════ */
.breadcrumb { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--ink); }

/* ═════ STATS BAND ═════ */
.stats { background: var(--ink); padding: 44px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 10px 16px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: none; }
.stat__value { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; color: var(--gold-lt); line-height: 1.1; }
.stat__label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 6px; }

/* ═════ PROSA / ARTICOLI ═════ */
.prose { max-width: 720px; }
.prose p { color: var(--muted); line-height: 1.85; margin-bottom: 22px; font-size: .97rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h2 { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; color: var(--ink); margin: 48px 0 18px; line-height: 1.25; }
.prose h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: var(--ink); margin: 36px 0 14px; }
.prose ul { margin: 0 0 22px 20px; color: var(--muted); }
.prose ul li { margin-bottom: 10px; line-height: 1.75; font-size: .95rem; }
.prose a { color: var(--gold); border-bottom: 1px solid rgba(184,147,90,.35); transition: color .2s, border-color .2s; }
.prose a:hover { color: var(--ink); border-color: var(--ink); }
.prose blockquote { border-left: 2px solid var(--gold); padding: 6px 0 6px 24px; margin: 28px 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); }

/* ═════ CARD GRIDS (come service-card della home) ═════ */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 60px; }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.service-card { background: var(--white); padding: 44px 40px; transition: background .2s; }
.service-card:hover { background: var(--sand); }
.service-card__num { font-family: var(--serif); font-size: .85rem; color: var(--gold); margin-bottom: 18px; opacity: .7; }
.service-card__title { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin-bottom: 14px; color: var(--ink); }
.service-card__text { font-size: .9rem; color: var(--muted); line-height: 1.75; }

/* ═════ PROCESS ═════ */
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 70px; position: relative; }
.process__steps::before { content: ''; position: absolute; top: 31px; left: 16%; right: 16%; height: 1px; background: linear-gradient(to right, transparent, var(--rule), transparent); }
.process__step { text-align: center; padding: 0 32px; }
.process__icon { width: 62px; height: 62px; margin: 0 auto 24px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.3rem; color: var(--gold); background: var(--white); position: relative; z-index: 1; }
.process__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin-bottom: 12px; }
.process__text { font-size: .88rem; color: var(--muted); line-height: 1.75; }

/* ═════ REVIEWS ═════ */
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 60px; }
.review-card { background: var(--white); padding: 36px 40px; }
.review-card__stars { color: var(--gold); font-size: .85rem; letter-spacing: 2px; margin-bottom: 18px; }
.review-card__text { font-family: var(--serif); font-size: 1.1rem; font-weight: 300; font-style: italic; line-height: 1.7; color: var(--ink); margin-bottom: 24px; }
.review-card__author { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.review-card__date { color: var(--rule); }

/* ═════ FAQ ═════ */
.faq__list { margin-top: 60px; border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 26px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--ink); gap: 20px; }
.faq__icon { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; color: var(--gold); transition: transform .3s; flex-shrink: 0; }
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__item.open .faq__answer { max-height: 300px; }
.faq__answer-inner { padding-bottom: 26px; font-size: .92rem; color: var(--muted); line-height: 1.8; max-width: 680px; }

/* ═════ AREA TAGS ═════ */
.area__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.area__tag { padding: 7px 14px; border: 1px solid var(--rule); font-size: .78rem; color: var(--muted); border-radius: 2px; }
.area__tag a { transition: color .2s; }
.area__tag:hover { border-color: var(--gold); color: var(--gold); }

/* ═════ CTA BAND ═════ */
.cta-band { background: var(--ink); padding: 90px 0; text-align: center; }
.cta-band__pre { font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 20px; }
.cta-band__title { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.cta-band__sub { font-size: .95rem; color: rgba(255,255,255,.6); margin-bottom: 40px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═════ FOOTER ═════ */
.footer { background: var(--sand); border-top: 1px solid var(--rule); padding: 64px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer__logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__logo-text { font-family: var(--sans); font-weight: 700; font-size: .85rem; letter-spacing: .1em; color: var(--ink); line-height: 1.15; text-transform: uppercase; }
.footer__tagline { font-size: .85rem; color: var(--muted); max-width: 280px; line-height: 1.65; }
.footer__expansion { margin-top: 12px; font-size: .75rem; color: var(--rule); }
.footer__contact { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); transition: color .2s; }
.footer__contact a:hover { color: var(--gold); }
.footer__nav-title { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer__nav-links { list-style: none; }
.footer__nav-links li { margin-bottom: 10px; }
.footer__nav-links a { font-size: .85rem; color: var(--muted); transition: color .2s; }
.footer__nav-links a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--rule); font-size: .78rem; color: var(--rule); flex-wrap: wrap; gap: 12px; }
.footer__bottom a { color: var(--rule); transition: color .2s; }
.footer__bottom a:hover { color: var(--muted); }
.footer__bottom-links { display: flex; gap: 20px; }

/* ═════ RESPONSIVE ═════ */
@media (max-width: 900px) {
  /* specificità doppia: la regola base .nav__toggle{display:none} è più in basso nel file */
  .nav .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__quick { display: flex; align-items: center; gap: 18px; margin-left: auto; margin-right: 16px; }
  .nav__quick a { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; }
  .nav__links {
    position: fixed; inset: 0; z-index: 90;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: var(--sand);
    transform: translateX(100%); transition: transform .4s cubic-bezier(.16,.8,.24,1);
  }
  .nav.nav--open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 1.05rem; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(n+3) { border-bottom: none; }
  .cards-grid, .cards-grid--3 { grid-template-columns: 1fr; gap: 0; }
  .process__steps { grid-template-columns: 1fr; gap: 44px; }
  .process__steps::before { display: none; }
  .reviews__grid { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 70px 0; }
  .service-card { padding: 32px 28px; }
  .review-card { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .nav { padding: 14px 0; }
  .nav.scrolled { padding: 10px 0; }
  .nav__cta .btn { padding: 10px 16px; font-size: .78rem; }
  .hero { padding: 130px 0 60px; }
  .hero__badge { font-size: .65rem; padding: 6px 12px; margin-bottom: 24px; }
  .hero__subtitle { font-size: .92rem; margin-bottom: 32px; line-height: 1.7; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .stats { padding: 28px 0; }
  .stat__value { font-size: 1.8rem; }
  .stat__label { font-size: .62rem; letter-spacing: .06em; }
  .service-card { padding: 28px 20px; }
  .service-card__title { font-size: 1.15rem; }
  .process__steps { margin-top: 44px; gap: 36px; }
  .process__step { padding: 0 8px; }
  .process__icon { width: 52px; height: 52px; font-size: 1.1rem; margin-bottom: 20px; }
  .process__title { font-size: 1.05rem; }
  .process__text { font-size: .84rem; }
  .review-card { padding: 24px 20px; }
  .review-card__text { font-size: 1rem; }
  .cta-band { padding: 64px 0; }
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; justify-content: center; }
}

/* ═════ NAV — TOGGLE MOBILE ═════ */
.nav__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0; }
.nav__toggle span { width: 100%; height: 1.5px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav.nav--open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═════ NAV — SOTTOLINEATURA HOVER ═════ */
.nav__links a { position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav__links a:hover::after { transform: scaleX(1); }

/* ═════ REVEAL ON SCROLL ═════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,.8,.24,1), transform .7s cubic-bezier(.16,.8,.24,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.cards-grid .reveal:nth-child(2) { transition-delay: .08s; }
.cards-grid .reveal:nth-child(3) { transition-delay: .16s; }
.cards-grid .reveal:nth-child(4) { transition-delay: .24s; }
.reviews__grid .reveal:nth-child(2) { transition-delay: .1s; }

/* ═════ HERO — ILLUSTRAZIONE SVG ═════ */
.hero__art { position: absolute; top: 0; right: -4%; bottom: 0; width: 44%; display: flex; align-items: center; pointer-events: none; opacity: .92; }
.hero__art svg { width: 100%; height: auto; }
.hero__plane { transform-box: fill-box; transform-origin: center; animation: hero-plane-drift 10s ease-in-out infinite; }
.hero__trail { stroke-dasharray: 5 7; animation: hero-trail-dash 3.4s linear infinite; }
@keyframes hero-plane-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, 5px); } }
@keyframes hero-trail-dash { to { stroke-dashoffset: -120; } }
@media (max-width: 1100px) { .hero__art { display: none; } }

/* ═════ CARD — ICONA + MICRO-INTERAZIONE ═════ */
.service-card { position: relative; overflow: hidden; transition: background .2s, transform .3s ease, box-shadow .3s ease; }
.service-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; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -26px rgba(30,45,61,.3); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 18px; transition: transform .3s ease; }
.service-card:hover .service-card__icon { transform: translateY(-2px) scale(1.06); }

/* ═════ FOTO FULL-BLEED (about, gallerie pagina) ═════ */
.photo-bleed { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); aspect-ratio: 16/7; background: var(--sand-dark); overflow: hidden; margin-top: 48px; }
.photo-bleed img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .photo-bleed { aspect-ratio: 4/3; margin-top: 32px; } }

/* ═════ WHATSAPP FLOAT ═════ */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 54px; height: 54px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.25); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.35); }
.wa-float svg { width: 28px; height: 28px; fill: white; }
@media (max-width: 600px) { .wa-float { bottom: 16px; right: 16px; width: 50px; height: 50px; } }

/* ═════ RIDOTTO MOVIMENTO — ACCESSIBILITÀ ═════ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__plane, .hero__trail { animation: none; }
}

/* ═════ Barra mobile: schermi molto stretti — garantisce che i due link entrino ═════ */
@media (max-width: 400px) {
  .nav__logo-text { display: none; }
  .nav__quick { gap: 12px; margin-right: 12px; }
  .nav__quick a { font-size: .66rem; letter-spacing: .02em; }
}

/* ═════ SOLO PER SCREEN READER (e gerarchia heading) ═════ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
