/* Thrinakie 2026 — servizi, garanzie, CTA e footer. */

/* ------------------------------------------------------------ servizi: schede e liste */
.t-services-teaser,
.t-services-full {
  background: #fff;
}

.t-services-full--tint {
  background: var(--t-sand);
}

.t-tablist {
  position: relative;
  display: none;
  width: max-content;
  max-width: 100%;
  margin: 0 0 32px;
  padding: 5px;
  border-radius: 999px;
  background: var(--t-sand);
}

.t-js .t-tablist {
  display: inline-flex;
}

.t-tablist button {
  position: relative;
  z-index: 1;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: 600 0.95rem var(--t-sans);
  color: var(--t-taupe-d);
  cursor: pointer;
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.t-tablist button[aria-selected="true"] {
  color: #fff;
}

.t-tab-ink {
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: 0;
  border-radius: 999px;
  background: var(--t-wine);
  transition: left 0.5s var(--t-ease), width 0.5s var(--t-ease);
}

.t-panel-title {
  margin: 0 0 18px;
  font: 400 clamp(1.3rem, 1.1rem + 1vw, 1.75rem) / 1.2 var(--t-serif);
  color: var(--t-wine);
}

.t-js .t-panel-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.t-tabpanel + .t-tabpanel {
  margin-top: 36px;
}

.t-js .t-tabpanel + .t-tabpanel {
  margin-top: 0;
}

.t-checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.t-checks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--t-bone);
  border: 1px solid var(--t-line);
  font: 400 1rem/1.55 var(--t-sans);
  color: var(--t-ink);
}

.t-checks .t-ico {
  width: 26px;
  height: 26px;
  padding: 5px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--t-wine);
  stroke: #fff;
  stroke-width: 2.2;
}

.t-js .t-tabpanel:not([hidden]) .t-checks li {
  animation: t-pop 0.7s var(--t-ease) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}

@keyframes t-pop {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 800px) {
  .t-checks,
  .t-checks--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------ garanzie */
.t-trust {
  background: var(--t-sand);
}

.t-trust-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.t-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.t-chips li {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(110, 12, 12, 0.3);
  background: rgba(255, 255, 255, 0.6);
  font: 400 0.92rem/1.35 var(--t-sans);
  color: var(--t-wine);
}

.t-chips .t-chip--link {
  background: var(--t-wine);
  border-color: var(--t-wine);
}

.t-chips .t-chip--link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.t-chips .t-ico {
  width: 16px;
  height: 16px;
}

@media (min-width: 960px) {
  .t-trust-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

/* ------------------------------------------------------------ CTA */
.t-cta {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(72px, 10vw, 140px);
  text-align: center;
  color: #fff;
  background: var(--t-deep);
}

.t-cta-inner {
  max-width: 860px;
}

.t-cta .t-kicker {
  justify-content: center;
}

.t-cta .t-actions {
  justify-content: center;
}

.t-cta-note {
  margin: 28px 0 0;
  font: 400 0.98rem var(--t-sans);
  color: rgba(255, 255, 255, 0.72);
}

.t-cta-note a {
  color: #fff;
}

/* ------------------------------------------------------------ footer */
.t-footer {
  padding: clamp(48px, 7vw, 88px) 0 calc(24px + env(safe-area-inset-bottom));
  color: rgba(246, 243, 234, 0.78);
  background: #1a0205;
}

.t-footer-top {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.t-footer-seal {
  width: 84px;
  height: 84px;
  color: var(--t-rose);
  --t-leg: #d7a5a1;
  --t-face: #1a0205;
}

.t-footer-name {
  margin: 14px 0 6px;
  font: 400 clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem) / 1.05 var(--t-serif);
  color: #fff;
}

.t-footer-name em {
  color: var(--t-rose);
}

.t-footer-sub {
  margin: 0 0 18px;
  font: 400 0.9rem/1.6 var(--t-sans);
}

.t-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(233, 201, 196, 0.5);
  color: var(--t-rose);
  font: 600 0.82rem var(--t-sans);
  text-decoration: none;
}

.t-pill .t-ico {
  width: 15px;
  height: 15px;
}

.t-footer-cols {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

.t-footer h3 {
  margin: 0 0 12px;
  font: 600 0.72rem var(--t-sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t-rose);
}

.t-footer p {
  margin: 0 0 8px;
  font: 400 0.97rem/1.6 var(--t-sans);
}

.t-footer a {
  color: inherit;
  text-underline-offset: 3px;
}

.t-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  font: 400 0.84rem/1.6 var(--t-sans);
  color: rgba(246, 243, 234, 0.55);
}

@media (min-width: 640px) {
  .t-footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .t-footer-top {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}
