/* Tecniche di Alta Cucina — banner finale del sito (footer), condiviso da tutte le pagine */
footer.tf{
  --tf-verde:#143328; --tf-rame:#C98A5B; --tf-rame-linea:#B56B36; --tf-crema:#F4EEE5;
  background:var(--tf-verde);color:var(--tf-crema);
  padding:clamp(3.2rem,6vw,4.6rem) 0 2rem;margin:0;
  font-family:'Source Serif 4',Georgia,serif;font-size:1rem;line-height:1.5;text-align:left;
}
footer.tf *{box-sizing:border-box}
footer.tf a{color:var(--tf-crema);text-decoration:none;border:0}
footer.tf a:hover{color:#fff;text-decoration:underline;text-underline-offset:.25em}
footer.tf :focus-visible{outline:2px solid var(--tf-rame);outline-offset:3px}
.tf-wrap{width:min(100% - 64px,1200px);margin:0 auto}
.tf-top{display:grid;grid-template-columns:minmax(0,2.1fr) repeat(4,minmax(0,1fr));gap:2.4rem clamp(1.5rem,3vw,3rem);align-items:start}

/* marchio */
.tf-brand{padding-left:clamp(0rem,1.5vw,2.4rem)}
.tf-mark{width:56px;height:56px;border-radius:50%;display:block;margin:0 0 1.1rem}
.tf-name{margin:0;font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:clamp(1.7rem,2.75vw,2.55rem);white-space:nowrap;line-height:1.04;letter-spacing:-.015em;text-transform:uppercase;color:var(--tf-crema)}
.tf-rule{display:block;width:76px;height:1px;background:var(--tf-rame-linea);margin:1.1rem 0 1rem;border:0}
.tf-eyebrow{margin:0 0 1rem;font-family:'Source Sans 3',system-ui,sans-serif;font-weight:600;font-size:.8rem;letter-spacing:.3em;text-transform:uppercase;color:var(--tf-rame)}
.tf-tagline{margin:0;font-size:1.18rem;line-height:1.45;color:var(--tf-crema);max-width:16em}

/* colonne */
.tf-col h2{margin:.35rem 0 0;font-family:'Source Sans 3',system-ui,sans-serif;font-weight:600;font-size:.85rem;line-height:1.2;letter-spacing:.24em;text-transform:uppercase;color:var(--tf-rame)}
.tf-col h2::after{content:"";display:block;width:30px;height:1px;background:var(--tf-rame-linea);margin:.85rem 0 1.5rem}
.tf-col ul{list-style:none;margin:0;padding:0}
.tf-col li{margin:0 0 .75rem}
.tf-col a{font-size:1.08rem;display:inline-flex;align-items:center;min-height:30px}

/* social */
.tf-social a{gap:1rem}
.tf-social svg{width:1.7rem;height:1.7rem;flex:none;fill:currentColor}
.tf-social li{margin-bottom:.65rem}

/* riga in basso */
.tf-bottom{margin-top:clamp(2rem,4vw,3rem);padding-top:1.6rem;border-top:1px solid var(--tf-rame-linea);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem}
.tf-copy{margin:0;font-size:1rem;color:var(--tf-crema)}
.tf-paese{position:relative;font-family:'Source Serif 4',Georgia,serif}
.tf-paese summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:1rem;color:var(--tf-crema);min-height:44px}
.tf-paese summary::-webkit-details-marker{display:none}
.tf-paese summary span{padding-right:1rem;border-right:1px solid var(--tf-rame-linea);line-height:1.6}
.tf-paese summary svg{width:1.4rem;height:1.4rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.tf-paese[open] summary svg{transform:rotate(180deg)}
.tf-paese-menu{position:absolute;right:0;bottom:calc(100% + .4rem);min-width:15rem;background:#0e251c;border:1px solid var(--tf-rame-linea);padding:.9rem 1.1rem;font-size:.95rem;line-height:1.5}
.tf-paese-menu strong{display:block;font-weight:600}
.tf-paese-menu small{display:block;margin-top:.35rem;color:#b9c8c0;font-size:.85rem}
.tf-legal{margin:1.1rem 0 0;font-size:.78rem;line-height:1.55;color:#a9bbb2;max-width:none}

@media (max-width:1020px){
  .tf-top{grid-template-columns:repeat(4,1fr)}
  .tf-brand{grid-column:1/-1;padding-left:0;margin-bottom:.8rem}
  .tf-tagline{max-width:none}
}
@media (max-width:760px){
  footer.tf .tf-name{font-size:2.1rem}
  footer.tf{padding:3rem 0 1.6rem}
  body:has(.mobile-buy) footer.tf{padding-bottom:calc(1.6rem + 70px);margin-bottom:-70px}
  .tf-wrap{width:min(100% - 32px,1200px)}
  .tf-top{grid-template-columns:1fr 1fr;gap:2.2rem 1.4rem}
  .tf-name{font-size:2.1rem}
  .tf-col a{font-size:1rem;min-height:40px}
  .tf-col li{margin-bottom:.35rem}
  .tf-col h2::after{margin-bottom:1.1rem}
  .tf-bottom{flex-direction:column;align-items:flex-start;gap:.4rem}
  .tf-copy{font-size:.9rem}
  .tf-paese-menu{right:auto;left:0}
}
@media (max-width:360px){.tf-top{grid-template-columns:1fr}}
@media print{footer.tf{background:#fff;color:#000}footer.tf a,.tf-name,.tf-copy,.tf-tagline{color:#000}}

/* difese: le pagine di servizio (legale.css) hanno regole su ul/li che non devono entrare nel footer */
footer.tf li{padding:0;border:0;list-style:none;position:static}
footer.tf li::before,footer.tf li::after{content:none!important}
footer.tf ul{padding:0;margin:0;list-style:none}
footer.tf p{margin:0}
footer.tf .tf-name{font-size:clamp(1.7rem,2.75vw,2.55rem);color:#F4EEE5}
footer.tf .tf-tagline{font-size:1.18rem;color:#F4EEE5}
footer.tf .tf-legal{font-size:.78rem;color:#a9bbb2;margin-top:1.1rem}
footer.tf .tf-eyebrow{font-size:.8rem;color:#C98A5B;margin:0 0 1rem}
footer.tf .tf-copy{font-size:1rem}
footer.tf a{border:0}

/* v6: banner più sottile */
footer.tf{padding:clamp(1.8rem,3.5vw,2.6rem) 0 1.2rem}
.tf-top{gap:1.4rem clamp(1.2rem,2.5vw,2.4rem)}
.tf-mark{width:40px;height:40px;margin:0 0 .6rem}
footer.tf .tf-name{font-size:clamp(1.35rem,2.1vw,1.85rem)}
.tf-rule{margin:.7rem 0 .6rem}
footer.tf .tf-eyebrow{margin:0 0 .5rem;font-size:.7rem}
footer.tf .tf-tagline{font-size:1rem}
.tf-col h2{margin-top:.1rem;font-size:.78rem}
.tf-col h2::after{margin:.55rem 0 .9rem}
.tf-col li{margin-bottom:.3rem}
.tf-col a{font-size:.98rem;min-height:26px}
.tf-social svg{width:1.4rem;height:1.4rem}
.tf-social li{margin-bottom:.3rem}
.tf-bottom{margin-top:1.3rem;padding-top:.9rem}
.tf-paese summary{min-height:36px}
@media (max-width:760px){
  footer.tf{padding:2rem 0 1rem}
  body:has(.mobile-buy) footer.tf{padding-bottom:calc(1rem + 70px);margin-bottom:-70px}
  footer.tf .tf-name{font-size:1.6rem}
  .tf-top{gap:1.3rem 1.2rem}
  .tf-col a{min-height:34px}
}

.tf-ident{margin:.6rem 0 0;font-size:.78rem;line-height:1.5;opacity:.75;flex-basis:100%}
