/* Climatizzatori · «Aria» (22-nov). Blanco hielo, cristal esmerilado, azul petróleo; letra redonda Outfit. */
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

.sito-condizionatore {
  --u-fondo: #f3f8fa; --u-testo: #0d2b33; --u-tenue: #4c6670; --u-filo: rgb(13 43 51 / .12);
  --u-pannello: #ffffff; --u-msg: #e8f3f6; --u-accento: #1f6f7d; --u-su-accento: #ffffff; --u-raggio: 18px;
  --u-font: "Outfit", "Geist", system-ui, sans-serif;
  --cl-ghiaccio: #34d3e0; --cl-caldo: #ff8a5c;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgb(52 211 224 / .18), transparent 60%),
    radial-gradient(40rem 30rem at -10% 30%, rgb(31 111 125 / .08), transparent 60%),
    var(--u-fondo);
}
.sito-condizionatore h1, .sito-condizionatore h2, .sito-condizionatore h3 { margin: 0; font-weight: 500; letter-spacing: -.03em; }

.cl-bottone { padding: 12px 22px; border: 0; border-radius: 999px; background: #fff; color: var(--u-testo); font-weight: 600; box-shadow: 0 0 0 1px var(--u-filo), 0 10px 24px -14px rgb(13 43 51 / .45); transition: transform .4s var(--u-molla), box-shadow .4s; }
.cl-bottone:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--u-accento), 0 18px 30px -16px rgb(31 111 125 / .6); }
.cl-bottone-pieno { background: var(--u-accento); color: #fff; box-shadow: 0 12px 26px -12px rgb(31 111 125 / .8); }
.cl-bottone-grande { padding: 18px 34px; font-size: 1.1rem; }

.cl-testa { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 26px; padding: 14px clamp(16px, 3vw, 40px);
  background: rgb(243 248 250 / .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--u-filo); }
.cl-marchio { display: flex; align-items: center; gap: 10px; color: var(--u-testo); text-decoration: none; font-weight: 600; }
.cl-sigla { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(160deg, #fff, #d7eef3); color: var(--u-accento); font-size: .8rem; font-weight: 700; box-shadow: inset 0 -3px 0 rgb(31 111 125 / .25), 0 0 0 1px var(--u-filo); }
.cl-nav { display: flex; gap: 24px; margin-left: auto; }
.cl-nav a { color: var(--u-tenue); text-decoration: none; font-size: .95rem; }
.cl-nav a:hover { color: var(--u-accento); }

/* ---------- Portada ---------- */
.cl-eroe { width: min(1240px, 100% - 32px); margin: 0 auto; padding: clamp(40px, 7vw, 96px) 0 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cl-stato { margin: 0 0 22px; font-size: .9rem; color: var(--u-tenue); }
.cl-eroe h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1.02; font-weight: 600; }
.cl-sotto { margin: 18px 0 0; max-width: 32rem; font-size: 1.15rem; color: var(--u-tenue); }
.cl-domanda { margin-top: 30px; padding: 18px; border-radius: 26px; background: rgb(255 255 255 / .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--u-filo), 0 30px 60px -40px rgb(13 43 51 / .5); }
.cl-domanda label, .cl-telecomando label { display: block; margin: 0 0 10px 6px; font-size: .9rem; font-weight: 500; color: var(--u-tenue); }
.cl-riga { display: flex; gap: 8px; }
.cl-riga input { flex: 1; min-width: 0; padding: 14px 18px; border: 0; border-radius: 999px; background: #fff; color: var(--u-testo); font: inherit; font-size: 1.02rem; box-shadow: inset 0 0 0 1px var(--u-filo); outline: none; }
.cl-riga input:focus { box-shadow: inset 0 0 0 2px var(--u-accento); }
.cl-esempi { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cl-esempi button { padding: 8px 14px; border: 0; border-radius: 999px; background: #e3f2f5; color: var(--u-testo); font-size: .9rem; }
.cl-esempi button:hover { background: var(--u-accento); color: #fff; }
.cl-nota { margin: 12px 0 0 6px; font-size: .82rem; color: var(--u-tenue); }

.cl-scena { position: relative; }
.cl-foto { position: relative; margin: 0; border-radius: 34px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 50px 90px -50px rgb(13 43 51 / .6); }
.cl-foto img { width: 100%; height: 100%; object-fit: cover; }
.cl-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(52 211 224 / .0) 40%, rgb(13 43 51 / .35)); pointer-events: none; }
.cl-termostato { --freddo: 1; --giro: 22; position: absolute; left: -36px; bottom: 34px; z-index: 3; width: 210px; height: 210px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #e6f1f4 70%); box-shadow: 0 30px 60px -24px rgb(13 43 51 / .55), inset 0 -8px 16px rgb(13 43 51 / .08), 0 0 0 10px rgb(255 255 255 / .5); }
.cl-termostato svg { position: absolute; inset: 0; rotate: -90deg; }
.cl-anello-fondo { fill: none; stroke: rgb(13 43 51 / .08); stroke-width: 10; }
.cl-anello { fill: none; stroke-width: 10; stroke-linecap: round; stroke-dasharray: calc(100 - (var(--giro) - 16) * 3.6) 100; stroke-dashoffset: 0;
  stroke: color-mix(in oklab, var(--cl-ghiaccio) calc(var(--freddo) * 100%), var(--cl-caldo)); }
.cl-gradi { position: relative; display: flex; align-items: flex-start; font-size: 4.2rem; font-weight: 300; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--u-testo); }
.cl-gradi sup { font-size: 1.6rem; margin-top: .3rem; }
.cl-modo { position: absolute; bottom: 44px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; color: var(--u-accento); }
.cl-flusso { position: absolute; left: -8%; right: -8%; top: 18%; z-index: 2; width: 116%; height: 46%; pointer-events: none; overflow: visible; }
.cl-flusso path { fill: none; stroke: rgb(255 255 255 / .85); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 60 520; stroke-dashoffset: 0; opacity: 0; filter: drop-shadow(0 0 4px rgb(52 211 224 / .9)); }
@media (prefers-reduced-motion: no-preference) {
  .u-pronto .cl-flusso path { animation: cl-soffia 4.6s linear infinite; }
  .u-pronto .cl-flusso path:nth-child(2) { animation-delay: 1.4s; } .u-pronto .cl-flusso path:nth-child(3) { animation-delay: 2.8s; }
}
@keyframes cl-soffia { 0% { stroke-dashoffset: 600; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -40; opacity: 0; } }

/* ---------- Secciones ---------- */
.cl-sezione { width: min(1240px, 100% - 32px); margin: 0 auto; padding: clamp(84px, 11vw, 150px) 0 0; }
.cl-intesta { margin-bottom: clamp(30px, 4.5vw, 52px); }
.cl-intesta p { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: #dff1f4; color: var(--u-accento); font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.cl-intesta h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.04; max-width: 18ch; }

/* Tarjetas con lamas de split: se abren al pasar. */
.cl-griglia { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cl-carta { border-radius: 30px; background: rgb(255 255 255 / .8); box-shadow: 0 0 0 1px var(--u-filo), 0 40px 80px -60px rgb(13 43 51 / .55); overflow: hidden; }
.cl-bocchetta { position: relative; aspect-ratio: 16 / 9; perspective: 700px; background: #dfeef2; overflow: hidden; }
.cl-bocchetta img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--u-molla); }
.cl-lamelle { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(6, 1fr); pointer-events: none; }
.cl-lamelle i { display: block; margin: 0 -2px; transform-origin: 50% 0; transform: rotateX(0deg);
  background: linear-gradient(180deg, #ffffff, #e9f2f5 60%, #cfdfe5); box-shadow: 0 1px 0 rgb(13 43 51 / .12), 0 6px 10px -6px rgb(13 43 51 / .3); transition: transform 1s var(--u-molla); }
.cl-lamelle i:nth-child(2) { transition-delay: 40ms; } .cl-lamelle i:nth-child(3) { transition-delay: 80ms; } .cl-lamelle i:nth-child(4) { transition-delay: 120ms; }
.cl-lamelle i:nth-child(5) { transition-delay: 160ms; } .cl-lamelle i:nth-child(6) { transition-delay: 200ms; }
.js .cl-carta.vista .cl-lamelle i { transform: rotateX(-62deg) scaleY(.35); }
.cl-carta:hover .cl-lamelle i, .cl-carta:focus-within .cl-lamelle i { transform: rotateX(-86deg) scaleY(.12); }
.cl-carta:hover .cl-bocchetta img { scale: 1.05; }
html:not(.js) .cl-lamelle { display: none; }
.cl-carta-testo { padding: 22px 26px 26px; }
.cl-carta h3 { font-size: 1.7rem; }
.cl-carta p { margin: 6px 0 14px; color: var(--u-tenue); }
.cl-link { padding: 0; border: 0; background: none; color: var(--u-accento); font-weight: 600; }
.cl-link::after { content: " →"; transition: margin .3s; }
.cl-link:hover::after { margin-left: 6px; }

/* La cinta: una corriente de aire. Las palabras flotan y ondulan; líneas de viento pasan por detrás. */
.cl-corrente { position: relative; margin-top: clamp(84px, 11vw, 150px); padding: 46px 0; background: linear-gradient(90deg, #dff3f7, #f3fbfd 40%, #d9f0f5); border-block: 1px solid rgb(31 111 125 / .15); --u-cinta-tempo: 60s; }
.cl-corrente .u-cinta-scorre { position: relative; z-index: 1; align-items: center; }
.cl-corrente span:not(.cl-correnti) { display: inline-block; padding: 0 48px; font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 300; letter-spacing: -.035em; color: var(--u-testo); white-space: nowrap; }
.cl-corrente .u-cinta-scorre span:nth-child(2n) { color: var(--u-accento); font-weight: 500; }
.cl-correnti { position: absolute; inset: 0; pointer-events: none; }
.cl-correnti i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; opacity: .8;
  background: linear-gradient(90deg, transparent, rgb(52 211 224 / .9) 20%, transparent 32%, transparent 60%, rgb(31 111 125 / .4) 72%, transparent 84%) 0 0 / 50% 100% repeat-x; }
.cl-correnti i:nth-child(1) { top: 22%; } .cl-correnti i:nth-child(2) { top: 50%; opacity: .5; } .cl-correnti i:nth-child(3) { top: 78%; }
@media (prefers-reduced-motion: no-preference) {
  .u-pronto .cl-corrente .u-cinta-scorre span { animation: cl-ondeggia 5s ease-in-out infinite; }
  .u-pronto .cl-corrente .u-cinta-scorre span:nth-child(3n+1) { animation-delay: -1.6s; }
  .u-pronto .cl-corrente .u-cinta-scorre span:nth-child(3n+2) { animation-delay: -3.3s; }
  .u-pronto .cl-correnti i { animation: cl-vento 3.2s linear infinite; }
  .u-pronto .cl-correnti i:nth-child(2) { animation-duration: 4.4s; } .u-pronto .cl-correnti i:nth-child(3) { animation-duration: 2.7s; }
}
@keyframes cl-ondeggia { 0%, 100% { translate: 0 -8px; } 50% { translate: 0 8px; } }
@keyframes cl-vento { to { background-position: 100% 0; } }

.cl-confronto { aspect-ratio: 16 / 8; border-radius: 34px; box-shadow: 0 40px 80px -50px rgb(13 43 51 / .6); }
.cl-confronto .confronto-linea { width: 6px; margin-left: -3px; border-radius: 3px; background: #fff; box-shadow: 0 0 18px rgb(52 211 224 / .9); }
.cl-et { position: absolute; top: 16px; padding: 7px 14px; border-radius: 999px; background: rgb(255 255 255 / .85); color: var(--u-testo); font-size: .82rem; font-weight: 600; pointer-events: none; }
.cl-et-prima { left: 16px; } .cl-et-dopo { right: 16px; }

/* Metodo: tres pasos sobre una línea que va del caldo al frío. */
.cl-passi { position: relative; list-style: none; margin: 0; padding: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.cl-passi::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--cl-caldo), #ffd29c 30%, #bdeef4 65%, var(--cl-ghiaccio)); }
.cl-temp { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -66px; border-radius: 50%; background: #fff; color: var(--u-accento); font-size: 1.3rem; font-weight: 600; box-shadow: 0 0 0 1px var(--u-filo), 0 10px 20px -10px rgb(13 43 51 / .5); }
.cl-passi h3 { margin-top: 20px; font-size: 1.6rem; line-height: 1.15; }
.cl-passi p { margin: 10px 0 0; color: var(--u-tenue); }

.cl-domande { display: grid; gap: 10px; }
.cl-domande details { border-radius: 22px; background: rgb(255 255 255 / .75); box-shadow: 0 0 0 1px var(--u-filo); }
.cl-domande summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-size: 1.15rem; font-weight: 500; }
.cl-domande summary::-webkit-details-marker { display: none; }
.cl-domande summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e3f2f5; color: var(--u-accento); font-weight: 600; transition: rotate .4s var(--u-molla); }
.cl-domande details[open] summary::after { rotate: 45deg; }
.cl-domande p { margin: 0; padding: 0 24px 22px; max-width: 46rem; color: var(--u-tenue); }

/* CAP: un mando a distancia con su pantalla. */
.cl-zona { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cl-zone { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cl-zone li { padding: 18px 22px; border-radius: 20px; background: rgb(255 255 255 / .7); box-shadow: 0 0 0 1px var(--u-filo); font-size: 1.4rem; font-weight: 400; }
.cl-zone li::before { content: "❄"; margin-right: 12px; color: var(--u-accento); }
.cl-telecomando { padding: 28px; border-radius: 40px; background: linear-gradient(170deg, #ffffff, #e4eef1); box-shadow: 0 0 0 1px var(--u-filo), 0 40px 70px -40px rgb(13 43 51 / .55), inset 0 -6px 0 rgb(13 43 51 / .06); }
.cl-display { padding: 10px; border-radius: 18px; background: #0d2b33; box-shadow: inset 0 3px 8px rgb(0 0 0 / .5); }
.cl-display input { width: 100%; padding: 8px 12px; border: 0; background: transparent; color: #8ff3fa; font: 500 2.2rem/1.1 "Outfit", monospace; letter-spacing: .22em; outline: none; text-shadow: 0 0 10px rgb(52 211 224 / .7); }
.cl-display input::placeholder { color: rgb(143 243 250 / .3); }
.cl-telecomando .cl-bottone { margin-top: 14px; width: 100%; }

.cl-finale { width: min(1240px, 100% - 32px); margin: clamp(96px, 12vw, 170px) auto 0; padding: clamp(40px, 6vw, 80px) 24px; border-radius: 44px; text-align: center;
  background: radial-gradient(40rem 20rem at 50% 0, rgb(52 211 224 / .35), transparent 70%), #0d2b33; color: #eaf8fa; }
.cl-finale h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1; font-weight: 500; }
.cl-finale em { font-style: normal; color: #8ff3fa; }
.cl-finale .cl-bottone { margin-top: 30px; }
.cl-finale p { margin: 24px 0 0; color: #a9c6cc; }
.cl-finale a { color: #eaf8fa; }

/* El asistente: la unidad interior de un split que se enciende y sopla. */
.cl-split { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--u-testo); text-align: left; filter: drop-shadow(0 20px 26px rgb(13 43 51 / .3)); }
.cl-unita { position: relative; width: 118px; height: 46px; border-radius: 12px 12px 18px 18px; transform: perspective(300px) rotateX(14deg);
  background: linear-gradient(180deg, #ffffff 0%, #f2f6f8 55%, #d6e1e6 100%); box-shadow: inset 0 -2px 0 rgb(13 43 51 / .1), 0 0 0 1px rgb(13 43 51 / .1); transition: transform .6s var(--u-molla); }
.cl-unita::before { content: ""; position: absolute; left: 8px; right: 8px; top: 9px; height: 2px; border-radius: 2px; background: rgb(13 43 51 / .08); box-shadow: 0 5px 0 rgb(13 43 51 / .06), 0 10px 0 rgb(13 43 51 / .05); }
.cl-led { position: absolute; right: 12px; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: var(--cl-ghiaccio); box-shadow: 0 0 8px var(--cl-ghiaccio); }
.cl-aletta { position: absolute; left: 10px; right: 10px; bottom: -2px; height: 9px; border-radius: 0 0 8px 8px; transform-origin: top; background: linear-gradient(#e6eef1, #c3d2d9); transition: transform .6s var(--u-molla); }
.cl-soffio { position: absolute; left: 14px; right: 14px; top: 100%; height: 34px; }
.cl-soffio i { position: absolute; top: 4px; width: 2px; height: 22px; border-radius: 2px; background: linear-gradient(rgb(52 211 224 / .9), transparent); opacity: 0; transform-origin: top; }
.cl-soffio i:nth-child(1) { left: 20%; rotate: 14deg; } .cl-soffio i:nth-child(2) { left: 50%; } .cl-soffio i:nth-child(3) { left: 80%; rotate: -14deg; }
.cl-split:hover .cl-unita, .cl-split:focus-visible .cl-unita { transform: perspective(300px) rotateX(4deg) translateY(-3px); }
.cl-split:hover .cl-aletta, .cl-split:focus-visible .cl-aletta { transform: rotateX(-55deg); }
.cl-split:hover .cl-soffio i, .cl-split:focus-visible .cl-soffio i { animation: cl-getto 1s ease-out infinite; }
.cl-soffio i:nth-child(2) { animation-delay: .25s !important; } .cl-soffio i:nth-child(3) { animation-delay: .5s !important; }
@media (prefers-reduced-motion: no-preference) {
  .u-pronto .cl-split:not(:hover) .cl-aletta { animation: cl-aletta 7s var(--u-molla) 2s infinite; }
  .u-pronto .cl-split:not(:hover) .cl-soffio i { animation: cl-getto-raro 7s ease-out 2s infinite; }
  .u-pronto .cl-led { animation: cl-led 2.4s ease-in-out infinite; }
}
@keyframes cl-getto { 0% { opacity: 0; transform: scaleY(.2) translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1.2) translateY(10px); } }
@keyframes cl-getto-raro { 0%, 70% { opacity: 0; transform: scaleY(.2); } 78% { opacity: 1; } 92%, 100% { opacity: 0; transform: scaleY(1.2) translateY(10px); } }
@keyframes cl-aletta { 0%, 66%, 100% { transform: rotateX(0); } 72%, 92% { transform: rotateX(-55deg); } }
@keyframes cl-led { 50% { opacity: .35; } }
.cl-split-testo { padding: 10px 16px; border-radius: 16px; background: rgb(255 255 255 / .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 600; box-shadow: 0 0 0 1px var(--u-filo); }
.cl-split-testo small { display: block; font-size: .72rem; font-weight: 500; color: var(--u-accento); }

/* Mapa: hielo y petróleo. */
.sito-condizionatore .mp-palco { margin-top: 56px; --mp-fondo: #f6fbfc; --mp-citta: #1f6f7d; --mp-testo: #0d2b33; --mp-bordo: rgb(13 43 51 / .2); --mp-spessore: #d4e6eb; }
.sito-condizionatore .mp-cornice { border-radius: 30px; }

@media (max-width: 960px) {
  .cl-nav { display: none; }
  .cl-testa .cl-bottone { margin-left: auto; }
  .cl-eroe, .cl-zona { grid-template-columns: minmax(0, 1fr); }
  .cl-foto { aspect-ratio: 4 / 3; }
  .cl-termostato { left: 12px; bottom: -40px; width: 150px; height: 150px; }
  .cl-gradi { font-size: 3rem; } .cl-modo { bottom: 30px; font-size: .64rem; }
  .cl-griglia, .cl-passi { grid-template-columns: minmax(0, 1fr); }
  .cl-passi { gap: 56px; }
  .cl-confronto { aspect-ratio: 4 / 3; }
}
/* Móvil: sin desenfoques de cristal ni sombras enormes (en un teléfono modesto bloquean la carga). */
@media (max-width: 760px) {
  .cl-testa, .cl-domanda, .cl-split-testo { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cl-testa { background: rgb(243 248 250 / .97); }
  .cl-domanda { background: #fff; box-shadow: 0 0 0 1px var(--u-filo); }
  .cl-foto, .cl-carta, .cl-confronto { box-shadow: 0 0 0 1px var(--u-filo); }
  .cl-flusso path { filter: none; }
}
@media (max-width: 560px) {
  .cl-riga { flex-direction: column; }
  .cl-split-testo small { display: none; }
  .cl-unita { width: 92px; }
  .cl-corrente { padding: 30px 0; }
  .cl-testa { gap: 10px; }
  .cl-marchio { font-size: .9rem; }
  .cl-testa .cl-bottone { padding: 9px 14px; font-size: .86rem; }
}
