/* ===== FONT ===== */
@font-face {
  font-family: "Gilroy";
  src:
    url("../fonts/gilroy-bold-webfont.woff2") format("woff2"),
    url("../fonts/gilroy-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src:
    url("../fonts/gilroy-medium-webfont.woff2") format("woff2"),
    url("../fonts/gilroy-medium-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src:
    url("../fonts/gilroy-regular-webfont.woff2") format("woff2"),
    url("../fonts/gilroy-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== VARIABILI ===== */
:root {
  --primary: #01b8b6;
  --primary-dark: #019a98;
  --secondary: #253680;
  --dark: #1a1a2e;
  --text: #444;
  --text-light: #777;
  --border: #e8e8e8;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
}

/* ===== BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Gilroy", "Open Sans", sans-serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
}

/* ===== BOTTONI ===== */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 0.55rem 1.6rem;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 54, 128, 0.35);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  border-radius: 50px;
  padding: 0.55rem 1.6rem;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 0.55rem 1.8rem;
  font-weight: 700;
  transition: all 0.25s ease;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  border-radius: 50px;
  padding: 0.55rem 1.8rem;
  font-weight: 600;
}

/* ===== NAVBAR ===== */
.sh-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  padding: 0.9rem 0;
  transition: box-shadow 0.3s;
}

.sh-navbar .navbar-brand img {
  transition: opacity 0.2s;
}
.sh-navbar .navbar-brand:hover img {
  opacity: 0.85;
}

.sh-navbar .nav-link {
  color: var(--dark) !important;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.75rem !important;
  border-radius: var(--radius-sm);
  transition:
    color 0.2s,
    background 0.2s;
}
.sh-navbar .nav-link:hover,
.sh-navbar .nav-link.active {
  color: var(--primary) !important;
  background: rgba(1, 184, 182, 0.07);
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
}

.carousel-item {
  height: calc(100vh - 120px);
  min-height: 560px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.72) 0%, rgba(37, 54, 128, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  min-height: 560px;
  padding-top: 70px;
  color: #fff;
  width: 50%;
  align-items: flex-start;
}

.hero-tag {
  display: inline-block;
  background: rgba(1, 184, 182, 0.2);
  border: 1px solid rgba(1, 184, 182, 0.5);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  /* margin-bottom: 1.2rem; */
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 1.2rem;
  max-width: 640px;
}

.hero-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 520px;
}

.text-accent {
  color: var(--primary);
}

.btn-hero {
  font-size: 1rem;
  padding: 0.7rem 2rem;
}

/* ===== SEZIONI COMUNI ===== */
.section-padded {
  padding: 90px 0;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 1rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 90px 0 60px;
  text-align: center;
}
.page-hero--short {
  padding: 70px 0 50px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}
.page-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}
.page-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.5);
}
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}
.post-hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}
.post-meta-hero {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.page-hero--post-image {
  background-size: cover;
  background-position: center;
  padding: 130px 0 90px;
  position: relative;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 40, 0.50) 0%,
    rgba(10, 15, 40, 0.72) 60%,
    rgba(10, 15, 40, 0.82) 100%
  );
}
.post-hero-content {
  position: relative;
  z-index: 2;
}
.post-hero-content .post-hero-title {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.post-hero-content .hero-tag {
  background: rgba(1, 184, 182, 0.85);
  backdrop-filter: blur(4px);
}
.post-hero-content .post-meta-hero {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ===== MISSION / PILLARS ===== */
.section-mission {
  padding: 90px 0;
  background: var(--white);
}
.section-mission .section-title {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}
.section-mission .section-subtitle {
  max-width: 600px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}
.pillar-card:hover,
.pillar-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.pillar-card.featured {
  border-color: var(--primary);
}

.pillar-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(1, 184, 182, 0.1), rgba(37, 54, 128, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--primary);
}
.pillar-card h4 {
  margin-bottom: 0.75rem;
}
.pillar-card p {
  color: var(--text-light);
  margin: 0;
}

/* ===== PROCESSO ===== */
.section-process {
  padding: 90px 0;
  background: var(--bg-light);
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.step-number {
  font-family: "Gilroy", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(1, 184, 182, 0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-icon {
  font-size: 2rem;
  color: var(--primary);
  display: block;
  margin-bottom: 1rem;
}

.process-step h5 {
  margin-bottom: 0.5rem;
}
.process-step p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== PRICING ===== */
.section-pricing {
  padding: 90px 0;
  background: var(--white);
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(1, 184, 182, 0.04) 0%, #fff 60%);
  box-shadow: 0 8px 40px rgba(1, 184, 182, 0.18);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.pricing-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-size: 2.8rem;
  font-family: "Gilroy", sans-serif;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1;
}
.pricing-price .currency {
  font-size: 1.4rem;
  vertical-align: top;
  margin-top: 0.5rem;
  display: inline-block;
}
.pricing-price .period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
  flex: 1;
}
.pricing-features li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-features i {
  color: var(--primary);
  margin-right: 0.5rem;
}

.btn-plan {
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
}

/* ===== BLOG ===== */
.section-blog {
  padding: 90px 0;
  background: var(--bg-light);
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-img--placeholder {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.6);
}
.blog-card-img--logo {
  background: #f4f7fb;
}
.blog-card-img--logo img {
  max-height: 70px;
  max-width: 60%;
  object-fit: contain;
  opacity: .75;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.blog-category {
  background: rgba(1, 184, 182, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
}
.blog-date {
  color: var(--text-light);
  font-size: 0.8rem;
}
.blog-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.blog-excerpt {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
}
.blog-readmore {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
  display: block;
}

/* Filtri blog */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-btn {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Libreria immagini admin ── */
.img-library {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
}
.img-library-header {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  background: #f8f9fa;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  gap: 0.4rem;
}
.img-library-header:hover { background: #eef0f3; }
.img-lib-arrow { transition: transform 0.2s; margin-left: auto; }
.img-library-header.open .img-lib-arrow { transform: rotate(180deg); }
.img-library-body { padding: 0.75rem; border-top: 1px solid var(--border); background: #fff; }
.img-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.5rem;
  max-height: 280px;
  overflow-y: auto;
}
.img-lib-item {
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
  display: flex;
  flex-direction: column;
}
.img-lib-item:hover { border-color: var(--primary); }
.img-lib-item.selected { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(1,184,182,.25); }
.img-lib-item img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
}
.img-lib-name {
  font-size: 0.65rem;
  padding: 3px 4px;
  background: #f8f9fa;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.img-upload-section { background: #f8f9fa; border-radius: 0.5rem; padding: 0.75rem 1rem; }
.img-library-grid--picker { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); max-height: 420px; }

/* ── Tag blog (cloud, chip su card, post) ── */
.blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.tag-cloud-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-right: 0.25rem;
}
.blog-tag {
  display: inline-block;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.blog-tag:hover,
.blog-tag.active {
  background: rgba(1, 184, 182, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}
.blog-tag-clear {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(220, 53, 69, 0.08);
  border: 1.5px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.blog-tag-clear:hover {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

/* Chip piccoli sulle card */
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.6rem;
  margin-bottom: 0.25rem;
}
.blog-tag-sm {
  background: rgba(1, 184, 182, 0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
}

/* Tag nel post singolo */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.post-tags-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
}

/* ── Tag chip input (admin) ── */
.tag-chip-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.35rem 0.65rem;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  background: #fff;
  cursor: text;
}
.tag-chip-input:focus-within {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(1, 184, 182, 0.12);
  color: #01B8B6;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem 0.15rem 0.7rem;
  white-space: nowrap;
}
.tag-chip button {
  background: none;
  border: none;
  color: #01B8B6;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  opacity: 0.7;
}
.tag-chip button:hover { opacity: 1; }
.tag-text-input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 120px;
  font-size: 0.9rem;
  padding: 0;
  background: transparent;
}
.tag-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.tag-suggest-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  padding: 0.15rem 0.65rem;
  cursor: pointer;
  transition: all 0.15s;
}
.tag-suggest-btn:hover {
  background: rgba(1,184,182,.1);
  border-color: #01B8B6;
  color: #01B8B6;
}

/* Paginazione */
.page-link {
  color: var(--primary);
  border-color: var(--border);
}
.page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}
.page-link:hover {
  color: var(--secondary);
}

/* ===== SINGOLO POST ===== */
.post-content {
  font-size: 1.05rem;
  line-height: 1.85;
}
.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.post-content p {
  margin-bottom: 1.25rem;
}
.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.post-content li {
  margin-bottom: 0.4rem;
}
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.post-content img[style*="float: left"],
.post-content img[style*="float:left"] {
  margin: 0 1.5rem 1rem 0;
}
.post-content img[style*="float: right"],
.post-content img[style*="float:right"] {
  margin: 0 0 1rem 1.5rem;
}
.post-content img[style*="display: block"],
.post-content img[style*="display:block"] {
  margin-left: auto;
  margin-right: auto;
}
/* clearfix: ogni paragrafo contiene il float */
.post-content p::after {
  content: "";
  display: table;
  clear: both;
}

/* ===== CTA SECTION ===== */
.section-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 80px 0;
}
.section-cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.section-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.sh-footer {
  background: #12121f;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}
.footer-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  max-width: 280px;
}
.footer-heading {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.contact-list i {
  color: var(--primary);
  margin-top: 0.3rem;
  font-size: 0.8rem;
}
.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.social-links a:hover {
  background: var(--primary);
  color: #fff;
}
.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 2rem 0 1.25rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-admin-link {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-admin-link:hover {
  color: var(--primary);
}

/* ===== ABOUT / SERVICES ===== */
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
  height: 100%;
}
.value-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.value-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  height: 100%;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.service-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.service-card h4 {
  margin-bottom: 0.75rem;
}
.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
}
.check-list i {
  color: var(--primary);
  margin-right: 0.6rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-number {
  font-family: "Gilroy", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}
.stat-label {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ===== SHOP CHECKOUT ===== */
.order-summary {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}
.order-plan {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.order-plan.featured {
  border-color: var(--primary);
}
.plan-name {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.25rem;
}
.plan-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.plan-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
}
.order-features {
  list-style: none;
  padding: 0;
}
.order-features li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.order-features li:last-child {
  border-bottom: none;
}
.checkout-form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

/* ===== SUCCESS / ERROR ===== */
.success-icon {
  font-size: 5rem;
  color: #28a745;
}
.error-icon {
  font-size: 5rem;
  color: #dc3545;
}
.success-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
  text-align: left;
}

/* ===== ACCORDION PRICING FAQ ===== */
.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(1, 184, 182, 0.05);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-item {
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
}
.accordion-button {
  border-radius: var(--radius-sm) !important;
  font-weight: 600;
}

/* ===== ADMIN ===== */
.admin-body {
  background: #f0f2f5;
  min-height: 100vh;
}

.admin-login-body {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-login-wrap {
  width: 100%;
  max-width: 400px;
  padding: 1.5rem;
}
.admin-login-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
}
.admin-logo {
  max-height: 50px;
  width: auto;
}

.admin-navbar {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-nav-title {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
}
.admin-nav-link {
  color: var(--text) !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}
.admin-nav-link:hover,
.admin-nav-link.active {
  color: var(--primary) !important;
  background: rgba(1, 184, 182, 0.08);
}
.btn-link.admin-nav-link {
  text-decoration: none;
}

.admin-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.admin-table {
  font-size: 0.9rem;
}
.admin-table thead th {
  background: var(--bg-light);
  border-bottom: 2px solid var(--border);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  padding: 1rem 1.25rem;
}
.admin-table td {
  padding: 1rem 1.25rem;
  vertical-align: middle;
  border-color: var(--border);
}
.admin-table tbody tr:hover {
  background: rgba(1, 184, 182, 0.03);
}

.admin-editor {
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
}

.stat-admin-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.stat-admin-num {
  font-family: "Gilroy", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}
.stat-admin-label {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* ===== BILLING TOGGLE ===== */
.billing-toggle-wrap {
  margin-bottom: 0.5rem;
}
.billing-toggle {
  background: var(--bg-light);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
}
.billing-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  transition: color 0.2s;
}
.billing-label.active {
  color: var(--primary);
}
.billing-switch {
  cursor: pointer;
  width: 2.6em;
  height: 1.4em;
}
.billing-switch:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.billing-switch:focus {
  box-shadow: 0 0 0 0.2rem rgba(1, 184, 182, 0.25);
}

/* ===== USERS SLIDER ===== */
.users-range {
  accent-color: var(--primary);
}
.users-slider-label strong {
  font-size: 1.1rem;
  color: var(--dark);
}

/* ===== LAUNCH PROMO ===== */
.launch-promo-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #01b8b6 100%);
  color: #fff;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.launch-promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 12px,
    rgba(255,255,255,0.04) 12px, rgba(255,255,255,0.04) 24px
  );
  pointer-events: none;
}
.launch-promo-banner strong {
  font-size: 1rem;
}
.launch-promo-badge {
  background: #fff;
  color: var(--secondary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  flex-shrink: 0;
}
.launch-promo-sub {
  font-size: 0.82rem;
  opacity: 0.85;
}

.launch-disc-badge {
  position: absolute;
  top: -14px;
  right: 1.25rem;
  background: #e53e3e;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.75rem;
  border-radius: 50px;
  white-space: nowrap;
  z-index: 1;
}

.price-original-row {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 0.1rem;
}

.checkout-launch-badge {
  background: rgba(229, 62, 62, 0.08);
  border: 1px solid rgba(229, 62, 62, 0.25);
  color: #c53030;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
}

/* ===== PRICING CARD — UNAVAILABLE ===== */
.pricing-card.plan-unavailable {
  opacity: 0.55;
  filter: grayscale(0.4);
  pointer-events: none;
}
.pricing-card.plan-unavailable .btn {
  background: #ccc;
  border-color: #ccc;
  color: #fff;
}
.price-breakdown {
  min-height: 1.2em;
  font-size: 0.8rem;
}

/* ===== COMPARISON TABLE ===== */
.compare-section {
  border-top: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table thead th {
  padding: 0.9rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  border-bottom: 2px solid var(--border);
}
.compare-table .feat-col {
  width: 40%;
  text-align: left;
}
.compare-table .plan-col {
  width: 20%;
}
.compare-table .featured-col {
  background: rgba(1, 184, 182, 0.04);
}
.compare-table tbody tr {
  border-bottom: 1px solid var(--border);
}
.compare-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}
.compare-table tbody td {
  padding: 0.65rem 1rem;
  vertical-align: middle;
}
.chapter-row td {
  background: var(--bg-light);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0.5rem 1rem;
}
.feat-yes {
  color: var(--primary);
  font-size: 1rem;
}
.feat-no {
  color: #ccc;
  font-size: 1rem;
}
.feat-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

/* Colonne tabella disabilitate dallo slider utenze */
.compare-table th,
.compare-table td {
  transition: opacity 0.2s;
}
.compare-table.silver-off th:nth-child(2),
.compare-table.silver-off td:nth-child(2) {
  opacity: 0.25;
}
.compare-table.gold-off th:nth-child(3),
.compare-table.gold-off td:nth-child(3) {
  opacity: 0.25;
}

/* ===== PROMO BAR ===== */
.promo-bar {
  background: var(--dark);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.45rem 0;
}
.promo-track {
  display: inline-flex;
  gap: 2rem;
  animation: promo-scroll 28s linear infinite;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.promo-track span {
  flex-shrink: 0;
}
.promo-dot {
  color: var(--primary);
}
@keyframes promo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== HERO OVERLAY DARK (variant C) ===== */
.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 12, 24, 0.82) 0%, rgba(26, 26, 46, 0.65) 100%);
}

.hero-trial-tag {
  display: inline-block;
  background: rgba(40, 167, 69, 0.2);
  border: 1px solid rgba(40, 167, 69, 0.5);
  color: #5dd879;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}

.hero-indicators {
  bottom: 24px;
}
.hero-indicators button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  border: none !important;
  opacity: 0.4;
  background: #fff !important;
}
.hero-indicators button.active {
  opacity: 1;
}

/* ===== MANIFESTO ===== */
.section-manifesto {
  padding: 90px 0;
  background: var(--white);
}

.manifesto-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: var(--dark);
}
.manifesto-muted {
  color: var(--text-light);
  font-weight: 400;
}

.manifesto-p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.manifesto-eyebrow2 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.manifesto-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.manifesto-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.manifesto-list li:last-child {
  border-bottom: 1px solid var(--border);
}
.ml-title {
  font-family: "Gilroy", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
}
.ml-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Chart ── */
.manifesto-chart {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.chart-headline {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.chart-stat {
  text-align: center;
}
.chart-num {
  font-family: "Gilroy", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--dark);
}
.chart-num.accent {
  color: var(--primary);
}
.chart-unit {
  font-size: 1.4rem;
}
.chart-cap {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}
.chart-arrow {
  font-size: 1.6rem;
  color: var(--text-light);
  flex: 1;
  text-align: center;
}
.chart-label-head {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.chart-row {
  display: grid;
  grid-template-columns: 130px 1fr 80px;
  gap: 0.75rem;
  align-items: center;
}
.chart-row-label {
  font-size: 0.82rem;
  color: var(--text);
}
.chart-track {
  position: relative;
  height: 20px;
  background: #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
}
.chart-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 4px;
}
.chart-fill.before {
  background: rgba(37, 54, 128, 0.25);
  z-index: 1;
}
.chart-fill.after {
  background: var(--primary);
  z-index: 2;
}
.chart-vals {
  display: flex;
  gap: 0.4rem;
  font-size: 0.78rem;
  justify-content: flex-end;
}
.before-val {
  color: var(--text-light);
}
.after-val {
  color: var(--primary);
  font-weight: 700;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 1.25rem;
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.legend-dot.before {
  background: rgba(37, 54, 128, 0.35);
}
.legend-dot.after {
  background: var(--primary);
}

/* ===== CAPACITÀ ===== */
.section-capacita {
  padding: 90px 0;
  background: var(--bg-light);
}

.cap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}
.cap-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.cap-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(1, 184, 182, 0.1), rgba(37, 54, 128, 0.07));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.cap-icon svg {
  width: 26px;
  height: 26px;
}
.cap-title {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
}
.cap-desc {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== TRIAL BADGE (card piani) ===== */
.trial-badge-card {
  display: inline-block;
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #1e7e34;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

/* ===== TRIAL NOTICE (checkout) ===== */
.trial-notice {
  background: rgba(40, 167, 69, 0.08);
  border: 1px solid rgba(40, 167, 69, 0.25);
  color: #1e7e34;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

/* ===== TRIAL NOTICE (success page) ===== */
.trial-notice-success {
  display: inline-block;
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #1e7e34;
  border-radius: 50px;
  padding: 0.5rem 1.4rem;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-padded {
    padding: 60px 0;
  }
  .hero-content {
    text-align: center;
    align-items: center;
  }
  .hero-content p {
    margin: 0 auto 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .admin-navbar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  /* Manifesto */
  .manifesto-list li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .chart-row {
    grid-template-columns: 100px 1fr 70px;
  }
  /* Capacità */
  .cap-card {
    padding: 1.5rem;
  }
}

/* Language switcher */
.lang-switcher {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.lang-btn {
  color: var(--text-muted);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 3px;
  transition:
    color 0.2s,
    background 0.2s;
}
.lang-btn:hover {
  color: var(--primary);
}
.lang-btn.active {
  color: var(--primary);
  background: rgba(1, 184, 182, 0.08);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1080;
  background: rgba(18, 22, 44, 0.97);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}
.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1 1 320px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.cookie-banner__policy-link {
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  margin-left: 0.35rem;
}
.cookie-banner__policy-link:hover {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Cookie buttons */
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
  line-height: 1.3;
  font-family: inherit;
}
.cookie-btn--primary {
  background: var(--primary);
  color: #fff;
}
.cookie-btn--primary:hover {
  background: var(--primary-dark);
}
.cookie-btn--outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.cookie-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.cookie-btn--link {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.45rem 0.5rem;
  font-weight: 400;
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-btn--link:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Cookie preferences modal */
.cookie-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-pref-info {
  flex: 1;
}
.cookie-pref-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}
.cookie-pref-badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(1, 184, 182, 0.12);
  color: var(--primary-dark);
  padding: 0.1rem 0.5rem;
  border-radius: 20px;
  white-space: nowrap;
}
.cookie-pref-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Provacy and Contract Modals */
#contractModal *,
#privacyModal * {
  text-align: left;
}
#contractModal table,
#privacyModal table {
  width: 100% !important;
}
#contractModal h1,
#privacyModal h1 {
  font-size: 1.8rem;
}
#contractModal h2,
#privacyModal h2 {
  font-size: 1.5rem;
}

/* Footer legal links */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.footer-legal__sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

@media (max-width: 767px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions {
    justify-content: flex-end;
  }
  .cookie-btn--link {
    text-align: left;
    padding-left: 0;
  }
}
