@font-face {
  font-family: "CarmenSans-SemiBold";
  src: url("https://db.onlinewebfonts.com/t/c66933abfaeaf8a1ba2cc6e78bfb03d2.eot");
  src:
    url("https://db.onlinewebfonts.com/t/c66933abfaeaf8a1ba2cc6e78bfb03d2.eot?#iefix")
      format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/c66933abfaeaf8a1ba2cc6e78bfb03d2.woff2")
      format("woff2"),
    url("https://db.onlinewebfonts.com/t/c66933abfaeaf8a1ba2cc6e78bfb03d2.woff")
      format("woff"),
    url("https://db.onlinewebfonts.com/t/c66933abfaeaf8a1ba2cc6e78bfb03d2.ttf")
      format("truetype"),
    url("https://db.onlinewebfonts.com/t/c66933abfaeaf8a1ba2cc6e78bfb03d2.svg#CarmenSans-SemiBold")
      format("svg");
}

* {
  font-family: "CarmenSans-SemiBold";
}
/* ====== Base ====== */
:root {
  --bg: #0b0f14;
  --card: #111823;
  --text: #eaf0ff;
  --muted: #a9b6cc;
  --brand: #5eead4;
  --brand2: #60a5fa;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --max: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  /* font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;*/
  background:
    radial-gradient(
      1200px 600px at 10% 0%,
      rgba(96, 165, 250, 0.22),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 90% 10%,
      rgba(94, 234, 212, 0.18),
      transparent 60%
    ),
    var(--bg);
  color: var(--text);
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background-image: url("assets/img/equiwash-hero.png");
  background-size: cover;
  /* background-position: center;*/
  display: flex;
  align-items: center;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* CONTENUTO */
.hero-content {
  position: relative;
  align-items: center;
  padding: 0 6%;
  z-index: 2;
}

.hero h1 {
  font-size: 2.9rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #f1f1f1;
}

.hero-title {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.9s ease-out forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.9s ease-out forwards;
  animation-delay: 0.35s;
}
@media (prefers-reduced-motion: reduce) {
  .hero-title {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* BOTTONI */
.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 14px 26px;
  border-radius: 30px;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Bottone principale */
.btn.primary {
  background: #6f7f66; /* verde naturale */
  color: #ffffff;
}

.btn.primary:hover {
  background: #5d6c56;
}

/* Bottone secondario */
.btn.secondary {
  background: #ffffff;
  color: #222;
}

.btn.secondary:hover {
  background: #eaeaea;
}

/* RESPONSIVE */

@media (max-width: 769px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: fit-content;
  }
  .hero {
    background-position: 70% 30%;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
  }

  .hero-buttons .btn {
    padding: 12px 8px;
    font-size: 0.85rem;
    text-align: center;
  }
}
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: fit-content;
  }
  .hero {
    background-position: 70% 30%;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
  }

  .hero-buttons .btn {
    padding: 12px 8px;
    font-size: 0.85rem;
    text-align: center;
  }
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  padding: 56px 0;
}
.section.alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  /*display: flex;*/
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.2px;
}
.section-head p {
  margin: 0;
  color: var(--muted);

  line-height: 1.6;
}

/* ====== Buttons / UI ====== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: white;
  /*color: var(--muted);*/
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
}
.btn.primary {
  border-color: rgba(94, 234, 212, 0.35);
  background: linear-gradient(
    135deg,
    rgba(94, 234, 212, 0.22),
    rgba(96, 165, 250, 0.16)
  );
}
.btn.ghost {
  background: transparent;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.badge {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

/* ====== WhatsApp FAB ====== */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: rgba(17, 24, 35, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 80;
}
.wa-fab span {
  font-weight: 800;
}
.wa-fab svg {
  width: 18px;
  height: 18px;
  fill: var(--brand);
}

*/
/* =========================
   TOPBAR
========================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent !important; /* niente sfondo pieno */
  border-bottom: none;
}

/* =========================
   NAV
========================= */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

/* =========================
   BRAND
========================= */
.logo,
.logo-img {
  flex: 0 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.2px;

  max-width: fit-content;
}
/* logo immagine */
.brand .logo-img {
  height: 123px; /* dimensione ideale navbar */
  width: 200px;
  display: block;

  object-fit: contain; /* evita deformazioni */
  image-rendering: auto;

  /* evita problemi flex */
  flex: 0 0 auto;
  padding-top: 28px;
}

/* logo placeholder */
.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

/* =========================
   MENU (EFFETTO ACQUA)
========================= */

.menu {
  display: flex;
  gap: 8.5px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px; /* super rotondo */

  /*background: rgba(255, 255, 255, 0.08);*/
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);

  /*border: 1px solid rgba(255, 255, 255, 0.18);*/
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* hover soft globale */
.topbar:hover .menu {
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

/* =========================
   MENU LINKS
========================= */

.menu a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}

/* =========================
   MENU BUTTON (MOBILE)
========================= */
.menu-btn {
  display: none;
  padding: 10px 14px;
  border-radius: 999px;
  /*border: 1px solid rgba(255, 255, 255, 0.25);*/
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  font-weight: 800;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .menu {
    padding: 8px 12px;
  }

  .menu a {
    padding: 8px 12px;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ====== Hero ====== */
.hero {
  margin-top: -150px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}
.hero-copy h1 {
  margin: 14px 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
}
.lead {
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
  max-width: 90ch;
}
.trust {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.trust-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
}
.trust-item strong {
  display: block;
  margin-bottom: 4px;
}
.trust-item span {
  color: var(--muted);
  font-size: 13px;
}

/* Media card */
.media-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}
.media-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.media-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* ====== Cards / grids ====== */
.grid3 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card .icon {
  font-size: 22px;
}
.card h3 {
  margin: 10px 0 8px;
}
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* Split cards */
.split {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 14px;
}
.split-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: stretch;
}
.split-card img {
  width: 160px;

  object-fit: cover;
}
.split-card > div {
  padding: 14px 14px 14px 0;
}
.split-card h3 {
  margin: 10px 0 6px;
}
.split-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.link {
  color: #60a5fa;
}

/* ===== CHI SIAMO GRID ===== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "img1 text1"
    "text2 img2";
  gap: 48px;
  margin-top: 48px;
  align-items: center;
}

.area-img-1 {
  grid-area: img1;
}
.area-text-1 {
  grid-area: text1;
}
.area-text-2 {
  grid-area: text2;
}
.area-img-2 {
  grid-area: img2;
}

.grid-item .img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.grid-item.text {
  max-width: 540px;
}

.grid-item.text h3 {
  margin-bottom: 12px;
}

.grid-item.text p {
  line-height: 1.6;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .split-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "img1"
      "text1"
      "img2"
      "text2";
    gap: 32px;
  }

  .grid-item img {
    max-height: 280px;
  }

  .grid-item.text {
    max-width: 100%;
  }
}

/* Steps */
.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.step {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.step-n {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.12);
  font-weight: 900;
}
.step h3 {
  margin: 10px 0 8px;
}
.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.note {
  margin-top: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--muted);
}

/* Pricing */
.pricing .price-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.price-card h3 {
  margin: 0 0 10px;
}
.price {
  font-size: 34px;
  font-weight: 900;
  margin: 0 0 12px;
}
.price-card ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.price-card.featured {
  border-color: rgba(94, 234, 212, 0.35);
  background: linear-gradient(
    135deg,
    rgba(94, 234, 212, 0.1),
    rgba(96, 165, 250, 0.08)
  );
}
.ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: rgba(17, 24, 35, 0.55);
  color: var(--text);
  font-weight: 800;
  font-size: 12px;
}
.mini-line {
  margin-top: 14px;
  color: var(--muted);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 12px;
}
.g {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.03);
}
.g img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.g.big img {
  height: 420px;
}

/* Testimonials */
.testimonials {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}
.t-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  box-shadow: var(--shadow);
}
.t-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}
.t-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 900;
}
.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  box-shadow: var(--shadow);
}
.contact-item {
  margin: 10px 0;
  color: var(--muted);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
}
input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Map */
.map-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 0.9fr fr;
}
.map-info {
  padding: 18px;
}
.map-info p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.map-card iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

/* Footer */
footer {
  padding: 26px 0 34px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mini {
  font-size: 13px;
}

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .media-card img {
    height: 360px;
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split-card {
    grid-template-columns: 140px 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .g img {
    height: 280px;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-card {
    grid-template-columns: 1fr;
  }
  .map-card iframe {
    height: 320px;
  }
  .menu-btn {
    display: inline-flex;
  }
  .menu {
    position: absolute;
    right: 18px;
    top: 60px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(17, 24, 35, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
  }
  .menu.open {
    display: flex;
  }
}

/* Two-column form grid */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}
.field.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}
.field.check input {
  margin-top: 4px;
}
@media (max-width: 980px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}

/* Logo image */
.logo-img {
  width: 44px;
  height: 34px;
  object-fit: contain;
  border-radius: 12px;

  padding: 6px;
}

/*
.logo-img {
  height: 100px; /* scegli: 36–48px */
/* width: auto; /* 🔥 evita il quadrato */
/* display: block;

  /* niente bordi o contorni */
/* outline: none;
  border: none;
  box-shadow: none;

  /* niente filtri strani */
/* filter: none;
}
*/

.gallery-swiper {
  margin-top: 32px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.swiper-slide img {
  width: 100%;
  height: 420px;
  object-fit: contain; /* 🔥 NO crop */

  display: block;
}

/* frecce */
.swiper-button-prev,
.swiper-button-next {
  color: white;
  z-index: 10;
  pointer-events: auto;
}

/* dots */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
}
.swiper-pagination-bullet-active {
  background: white;
}

/* mobile */
@media (max-width: 768px) {
  .swiper-slide img {
    height: 260px;
  }
}
/* social icon */
.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);

  transition: all 0.25s ease;
}

.social-icons a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* footer social icon*/
.footer-social {
  margin-top: 24px;
  text-align: center;
}

.footer-social-title {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 12px;
}

/* riuso social-icons ma con override footer */
footer .social-icons {
  justify-content: center;
}

footer .social-icons a {
  background: rgba(255, 255, 255, 0.08);
}

footer .social-icons a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.wa-options {
  display: none;
  margin-top: 12px;
}
.wa-options.show {
  display: block;
}

/* animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*TESTIMONIANZA*/
.testimonials {
  margin-top: 40px;
}

.testimonial-card {
  background: transparent; /* niente bianco */
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08); /* leggero bordo elegante */
  backdrop-filter: blur(6px); /* effetto vetro come menu */
  -webkit-backdrop-filter: blur(6px);
  transition: 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-card .quote {
  font-size: 16px;
  line-height: 1.6;
  color: inherit; /* usa il colore testo del tuo tema */
  margin-bottom: 20px;
}

.testimonial-card .author {
  font-size: 14px;
  opacity: 0.8;
}

.testimonial-card .author strong {
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}

.testimonial-card.featured {
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.testimonial-card .ribbon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}
