/* Pagina Azienda: stessa famiglia visiva della home (navy, menta, angoli morbidi, pillole). */
.az-hero{position:relative;overflow:hidden;background:
  radial-gradient(60% 90% at 8% 0%,rgba(143,205,180,.28),transparent 62%),
  radial-gradient(50% 80% at 100% 100%,rgba(42,68,93,.10),transparent 60%),#f4f8f9;
  border-bottom:1px solid var(--idea-line);padding:clamp(28px,5vw,60px) 0 clamp(36px,6vw,76px)}
.az-hero__grid{display:grid;gap:clamp(24px,4vw,56px);align-items:center}
.az-hero.has-photo .az-hero__grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.az-hero h1{font-size:clamp(38px,5.6vw,68px);font-weight:800;line-height:1.05;margin:.1em 0 .25em;letter-spacing:-.01em}
.az-hero__lead{display:inline-block;margin:0 0 20px;padding:7px 16px;border-radius:999px;background:var(--idea-mint);color:#fff;font-weight:700;font-size:15px;letter-spacing:.02em}
.az-hero__intro p{font-size:clamp(18px,1.6vw,21px);line-height:1.65;color:var(--idea-ink);margin:0;max-width:34em}
.az-hero__photo{position:relative;margin:0}
.az-hero__photo::before{content:"";position:absolute;inset:18px -16px -16px 18px;border-radius:22px;background:linear-gradient(135deg,var(--idea-mint),rgba(143,205,180,.25));z-index:0}
.az-hero__photo img{position:relative;z-index:1;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:22px;box-shadow:0 24px 60px rgba(29,49,68,.22)}

.az-body{background:#fff}
.az-body>.idea-container{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(18px,2.4vw,32px)}
.az-card{background:#fff;border:1px solid var(--idea-line);border-radius:22px;padding:clamp(24px,3vw,40px);box-shadow:var(--idea-shadow)}
.az-card h2{font-size:clamp(24px,2.6vw,32px);margin:0 0 .6em;font-weight:800}
.az-card h2::after{content:"";display:block;width:44px;height:4px;border-radius:4px;background:var(--idea-mint);margin-top:12px}
.az-card p{font-size:18px;margin:0 0 1em}
.az-card p:last-child{margin-bottom:0}
.az-card ul{list-style:none;margin:0 0 1.2em;padding:0}
.az-card li{position:relative;padding:10px 0 10px 38px;font-size:18px;font-weight:600;color:var(--idea-navy);border-bottom:1px solid var(--idea-line)}
.az-card li:last-child{border-bottom:0}
.az-card li::before{content:"";position:absolute;left:0;top:50%;width:24px;height:24px;margin-top:-12px;border-radius:50%;background:var(--idea-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat}
.az-card img{border-radius:12px;border:1px solid var(--idea-line);box-shadow:0 8px 24px rgba(29,49,68,.12);max-width:240px;margin-top:6px;transition:transform .25s}
.az-card a:hover img{transform:translateY(-3px)}

/* Azienda e Contatti: due colonne */
.az--two .az-body>.idea-container{grid-template-columns:repeat(2,minmax(0,1fr))}
/* secondo riquadro: blu, con il messaggio forte */
.az--azienda .az-card--1{background:linear-gradient(150deg,var(--idea-navy),var(--idea-navy-dark));border-color:transparent;color:#e8eff5}
.az--azienda .az-card--1 h2{color:#fff}
.az--azienda .az-card--1 p{color:#d5e1ea}
.az--azienda .az-card--1 p strong{display:block;color:#fff;font-family:var(--idea-display);font-size:clamp(22px,2.4vw,30px);line-height:1.25;font-weight:700}

/* resto: a tutta larghezza */
.az-rest{grid-column:1/-1;display:grid;gap:clamp(18px,2.4vw,32px)}
.az-rest .az-card{background:var(--idea-tint);box-shadow:none}
.az-rest .az-card p:last-child a{display:inline-block;margin:6px 8px 0 0;padding:11px 22px;border-radius:999px;background:var(--idea-mint);color:#fff;font-weight:700;font-size:16px;text-decoration:none;transition:background .2s}
.az-rest .az-card p:last-child a:hover{background:var(--idea-mint-dark);color:#fff}

@media (max-width:860px){
  .az-hero.has-photo .az-hero__grid{grid-template-columns:1fr}
  .az-hero__photo{order:-1;margin-right:16px}
  .az-hero__photo::before{inset:12px -12px -12px 12px}
  .az-body>.idea-container{grid-template-columns:1fr}
}

/* riquadro senza titolo (elenchi lunghi, testi di servizio) */
.az-card p b,.az-card p strong{color:var(--idea-navy)}
.az-card img{max-width:100%}
.az--azienda .az-card img{max-width:100%}
/* foto affiancate nel testo */
.az-card p:has(>a>img+img),.az-card p:has(>img+img){display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}
.az-card p>img+img{margin-top:0}
.az-card p>img,.az-card p>a>img{width:100%;aspect-ratio:3/2;object-fit:cover;max-width:none}
.az--azienda .az-card p>a{display:block}
.az--azienda .az-card p>a>img{display:block;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:768/1087!important;object-fit:contain}

/* Contatti */
.az--contact .az-card--1{background:#fff}
.az--contact .az-card--0 p{margin-bottom:.8em}
.az-map{background:#fff;padding:0 0 clamp(44px,7vw,84px)}
.az-map iframe{display:block;width:100%;height:clamp(300px,42vw,460px);border:0;border-radius:22px;box-shadow:var(--idea-shadow)}
.az-map__link{display:inline-block;margin-top:14px;font-weight:700}

/* Scheda promozione */
.az-cover{position:relative;overflow:hidden;color:#fff;background:var(--idea-navy);min-height:clamp(300px,38vw,460px);display:flex;align-items:flex-end}
.az-cover__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.az-cover__shade{position:absolute;inset:0;background:
  radial-gradient(70% 90% at 0% 100%,rgba(29,49,68,.92),transparent 70%),
  radial-gradient(50% 70% at 100% 100%,rgba(143,205,180,.35),transparent 70%),
  linear-gradient(0deg,rgba(29,49,68,.75),rgba(29,49,68,.05) 65%)}
.az-cover__inner{position:relative;z-index:2;padding-top:clamp(70px,10vw,130px);padding-bottom:clamp(28px,4vw,52px)}
.az-cover h1{color:#fff;font-size:clamp(34px,5.4vw,64px);font-weight:800;line-height:1.08;margin:.15em 0 0;max-width:16em}
.az-cover .az-hero__lead{margin:0 0 6px}
.az-cover .ticinoweb-breadcrumbs,.az-cover nav,.az-cover a{color:rgba(255,255,255,.85)}
.az-promo .az-body{background:var(--idea-tint)}
.az-promo__grid{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr)!important;align-items:start}
.az-promo__text{font-size:18px}
.az-prose h2,.az-prose h3{margin-top:1.3em}
.az-prose img{border-radius:14px;margin:1em 0}
.az-promo__side{position:sticky;top:104px}
.az-promo__phone{font-weight:800;font-size:1.15em;white-space:nowrap}
.az-promo__back{margin-top:26px;font-weight:700}
@media (max-width:860px){.az-promo__grid{grid-template-columns:1fr!important}.az-promo__side{position:static}}

/* Catalogo immobili: testata e ricerca come in home */
.az-hero--catalog{padding-bottom:clamp(70px,9vw,110px)}
.az-hero--catalog h1{margin-bottom:.1em}
.az-catalog .hn-search{margin-top:-48px}
.az-catalog .hn-search__surface{padding-bottom:24px}
.az-catalog .hn-categories{margin:26px 0 0}
.az-catalog .idea-results{font-weight:600;color:var(--idea-muted)}
.az-catalog .hn-search h2{font-family:Manrope,var(--idea-font)}
.idea-body .az-cover__inner nav,.idea-body .az-cover__inner nav *{color:rgba(255,255,255,.9)!important;text-shadow:0 1px 8px rgba(0,0,0,.35)}

/* Scheda immobile */
.idea-ico{flex:none;color:var(--idea-mint-dark)}
.az-chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 4px}
.az-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;background:#fff;border:1px solid var(--idea-line);color:var(--idea-navy);font-weight:700;font-size:14px}
.az-chip .idea-ico{width:16px;height:16px}
.az-chip--mint{background:var(--idea-mint);border-color:var(--idea-mint);color:#fff}
.az-hero--property{padding-bottom:clamp(28px,4vw,48px)}
.az-hero--property h1{font-size:clamp(28px,4vw,48px);max-width:24em}
.az-price{margin:.4em 0 0;font:800 clamp(26px,3.2vw,38px)/1.1 var(--idea-display);color:var(--idea-navy)}
.az-property .idea-gallery__stage{border-radius:22px;overflow:hidden;box-shadow:0 18px 48px rgba(29,49,68,.18)}
.az-property .idea-gallery__thumbs img{border-radius:10px}
.az-facts{list-style:none;margin:24px 0 8px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px}
.az-facts li{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:18px 18px 16px;background:var(--idea-tint);border:1px solid var(--idea-line);border-radius:18px;transition:transform .2s,box-shadow .2s}
.az-facts li:hover{transform:translateY(-3px);box-shadow:var(--idea-shadow)}
.az-facts .idea-ico{width:30px;height:30px;stroke-width:1.3;margin-bottom:8px}
.az-facts strong{font:800 22px/1.1 var(--idea-display);color:var(--idea-navy)}
.az-facts span{font-size:14px;color:var(--idea-muted)}
.az-property .idea-box{border-radius:22px;border:1px solid var(--idea-line);box-shadow:var(--idea-shadow)}
.az-property .idea-facts dt{display:flex;align-items:center;gap:10px}
.az-property .idea-facts dt .idea-ico{width:20px;height:20px}
.az-property .idea-single__text h2{font-weight:800}
.az-card .idea-calc__big strong,.az-card .idea-calc__result dd{color:#fff}
.az-card .idea-calc__big span{color:var(--idea-mint)}
.az-card .idea-calc__result p{font-size:inherit}
.az-card .idea-calc__note{font-size:13px}
/* FAQ del parent dentro un riquadro: il titolo del riquadro basta */
.az-card .tw-faq__title{display:none}
.az-card .tw-faq{margin:0;padding:0;background:none;border:0}
.az-card .tw-faq{margin-bottom:22px}
.az-card .tw-faq__question{font-weight:700;color:var(--idea-navy)}
.az-promo .idea-gallery{margin-top:28px}
.az-promo .idea-gallery__stage{border-radius:18px;overflow:hidden}
.az--azienda .az-body>.idea-container{align-items:start}

/* logo sopra l'indirizzo (il logo è chiaro: sta su un riquadro blu) */
.az-card .az-card__logo{display:inline-block;background:linear-gradient(150deg,var(--idea-navy),var(--idea-navy-dark));border-radius:18px;padding:16px 26px;margin-bottom:22px;transition:transform .2s}
.az-card .az-card__logo:hover{transform:translateY(-2px)}
.az-card .az-card__logo img{display:block;width:auto;height:72px;max-width:100%;border:0;box-shadow:none;border-radius:0;margin:0}
