/* ==========================================================================
   Export do Itálie — ver3 stylesheet
   Modern restyle inspired by Made in Italy Export ver2. Brand: Czech-green
   (#0C6608) and Italy-red (#E00721) on a deep forest base; Space Grotesk
   (display) + Inter (body). Builds on Bootstrap 5 and Bootstrap Icons
   (loaded from the shared /assets vendor folder).
   ========================================================================== */

:root {
  --xdi-green: #0C6608;
  --xdi-green-600: #0A5306;
  --xdi-green-dark: #074004;
  --xdi-green-deep: #042D02;
  --xdi-red: #E00721;
  --xdi-ink: #131c12;
  --xdi-muted: #5a6a5a;
  --xdi-bg: #f5faf5;
  --xdi-card: #ffffff;
  --xdi-line: #dfe9df;
  --xdi-soft: #e7f5e7;
  --xdi-mint: #9fdc9f;
  --xdi-radius: 20px;
  --xdi-shadow: 0 18px 50px -18px rgba(7, 64, 4, .24);
  --xdi-shadow-sm: 0 8px 26px -12px rgba(7, 64, 4, .18);
  --font-display: "Space Grotesk", "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", "Open Sans", system-ui, sans-serif;
}

/* ---------- Base ---------- */

*::selection {
  background: var(--xdi-green);
  color: #fff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--xdi-ink);
  background: var(--xdi-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--xdi-ink);
}

a {
  color: var(--xdi-green-600);
  text-decoration: none;
  transition: color .18s ease;
}

a:hover {
  color: var(--xdi-green-dark);
}

.container {
  max-width: 1180px;
}

section {
  position: relative;
}

.section-pad {
  padding: clamp(64px, 9vw, 110px) 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section-header .kicker,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--xdi-soft);
  color: var(--xdi-green-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.kicker i {
  font-size: 14px;
}

.section-header h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--xdi-muted);
  font-size: 17px;
  margin: 0;
}

.tricolor {
  display: inline-block;
  width: 46px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--xdi-green) 33%, #e9f0ea 33% 66%, var(--xdi-red) 66%);
  vertical-align: middle;
}

/* ---------- Buttons ---------- */

.btn-xdi {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.btn-xdi i {
  font-size: 17px;
}

.btn-xdi-primary {
  background: var(--xdi-green);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(12, 102, 8, .55);
}

.btn-xdi-primary:hover {
  background: var(--xdi-green-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(12, 102, 8, .6);
}

.btn-xdi-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: .92;
}

.btn-xdi-ghost:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* ---------- Topbar ---------- */

.xdi-topbar {
  background: var(--xdi-green-deep);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  padding: 9px 0;
}

.xdi-topbar a {
  color: var(--xdi-mint);
  font-weight: 600;
}

.xdi-topbar a:hover {
  color: #fff;
}

.xdi-topbar i {
  color: var(--xdi-mint);
  margin-right: 4px;
}

/* ---------- Header ---------- */

.xdi-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--xdi-line);
  transition: box-shadow .25s ease;
}

.xdi-header.scrolled {
  box-shadow: 0 10px 34px -18px rgba(7, 64, 4, .28);
}

.xdi-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--xdi-ink);
}

.xdi-logo .l1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -.02em;
}

.xdi-logo .l1 em {
  font-style: italic;
  color: var(--xdi-red);
  font-weight: 700;
}

.xdi-logo .l1 em::before {
  content: " ";
}

.xdi-logo .l2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--xdi-green-600);
  margin-top: 5px;
}

.xdi-nav .nav-link {
  color: var(--xdi-ink);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 10px;
}

.xdi-nav .nav-link:hover,
.xdi-nav .nav-link:focus,
.xdi-nav .nav-link.active {
  color: var(--xdi-green-600);
  background: var(--xdi-soft);
}

.xdi-nav .dropdown-menu {
  border: 1px solid var(--xdi-line);
  border-radius: 16px;
  box-shadow: var(--xdi-shadow);
  padding: 10px;
  min-width: 300px;
}

.xdi-nav .dropdown-item {
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--xdi-ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.xdi-nav .dropdown-item i {
  color: var(--xdi-green-600);
  font-size: 16px;
}

.xdi-nav .dropdown-item:hover,
.xdi-nav .dropdown-item:focus {
  background: var(--xdi-soft);
  color: var(--xdi-green-dark);
}

.xdi-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--xdi-green-dark);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  transition: background .18s ease, transform .18s ease;
}

.xdi-header-cta:hover {
  background: var(--xdi-green-600);
  color: #fff;
  transform: translateY(-1px);
}

.xdi-mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--xdi-line);
  background: #fff;
  color: var(--xdi-ink);
  font-size: 22px;
  align-items: center;
  justify-content: center;
}

/* ---------- Mobile nav ---------- */

.xdi-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: linear-gradient(160deg, var(--xdi-green-deep), var(--xdi-green-dark) 70%);
  color: #fff;
  padding: 26px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
}

.xdi-mobile-nav.open {
  transform: translateX(0);
}

.xdi-nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: #fff;
  font-size: 20px;
}

.xdi-mobile-nav .xdi-logo .l1 {
  color: #fff;
}

.xdi-mobile-nav .xdi-logo .l2 {
  color: var(--xdi-mint);
}

.xdi-mobile-nav .nav-link {
  color: rgba(255, 255, 255, .88);
  font-weight: 500;
  font-size: 17px;
  padding: 13px 6px;
}

.xdi-mobile-nav .nav-link:hover {
  color: #fff;
}

.xdi-mobile-nav .mobile-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding-left: 14px;
  margin-bottom: 8px;
}

.xdi-mobile-nav .mobile-services a {
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  padding: 7px 6px;
}

.xdi-mobile-nav .mobile-services a:hover {
  color: var(--xdi-mint);
}

/* ---------- Hero ---------- */

.xdi-hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(12, 102, 8, .55), transparent 60%),
    linear-gradient(165deg, var(--xdi-green-deep), var(--xdi-green-dark) 75%);
  color: #fff;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 clamp(72px, 9vw, 116px);
}

.xdi-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--xdi-green) 33%, #134a34 33% 66%, var(--xdi-red) 66%);
}

.xdi-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.xdi-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 20px;
}

.xdi-hero h1 .accent {
  color: var(--xdi-mint);
}

.xdi-hero .lead {
  color: rgba(255, 255, 255, .8);
  font-size: clamp(16px, 1.9vw, 18.5px);
  max-width: 560px;
  margin-bottom: 34px;
}

.xdi-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .85);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 26px;
}

.xdi-hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--xdi-mint);
  box-shadow: 0 0 0 4px rgba(159, 220, 159, .25);
}

.xdi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.xdi-hero-actions .btn-xdi-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}

.xdi-hero-actions .btn-xdi-ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.xdi-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(20px, 3vw, 40px);
}

.xdi-hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  color: #fff;
}

.xdi-hero-stats .stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
}

.xdi-hero-figure {
  position: relative;
  display: flex;
  justify-content: center;
}

.xdi-hero-figure img {
  max-width: 380px;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
  animation: xdi-float 7s ease-in-out infinite;
}

@keyframes xdi-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}

.xdi-hero-figure .flag-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--xdi-ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--xdi-shadow-sm);
}

.xdi-hero-figure .flag-chip i {
  color: var(--xdi-green);
}

.xdi-hero-figure .chip-1 {
  top: 6%;
  left: 0;
}

.xdi-hero-figure .chip-2 {
  bottom: 10%;
  right: 0;
}

/* ---------- Split + cards ---------- */

.xdi-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.xdi-split .more {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--xdi-muted);
  margin-top: 18px;
}

.xdi-card {
  background: var(--xdi-card);
  border: 1px solid var(--xdi-line);
  border-radius: var(--xdi-radius);
  padding: 26px 24px;
  box-shadow: var(--xdi-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.xdi-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--xdi-soft);
  color: var(--xdi-green-600);
  font-size: 23px;
  margin-bottom: 16px;
}

.xdi-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.xdi-card p {
  color: var(--xdi-muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- Service cards ---------- */

.svc-card {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--xdi-shadow);
  border-color: rgba(12, 102, 8, .35);
}

.svc-card h3 {
  color: var(--xdi-ink);
}

.svc-card p {
  margin-bottom: 18px;
}

.svc-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--xdi-green-600);
}

.svc-card .card-link i {
  transition: transform .2s ease;
}

.svc-card:hover .card-link i {
  transform: translateX(5px);
}

.svc-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--xdi-green) 33%, transparent 33% 66%, var(--xdi-red) 66%);
  opacity: 0;
  transition: opacity .2s ease;
}

.svc-card:hover::after {
  opacity: 1;
}

/* ---------- Steps ---------- */

.xdi-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.xdi-step {
  background: var(--xdi-card);
  border: 1px solid var(--xdi-line);
  border-radius: var(--xdi-radius);
  padding: 28px 24px 24px;
  position: relative;
  counter-increment: step;
}

.xdi-step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--xdi-green-600);
  background: var(--xdi-soft);
  border-radius: 10px;
  padding: 5px 12px;
  display: inline-block;
  margin-bottom: 14px;
}

.xdi-step h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.xdi-step p {
  color: var(--xdi-muted);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Network ---------- */

.xdi-net {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.net-card {
  background: var(--xdi-card);
  border: 1px solid var(--xdi-line);
  border-radius: var(--xdi-radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.net-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--xdi-shadow-sm);
}

.net-card i {
  font-size: 28px;
  color: var(--xdi-green-600);
  display: block;
  margin-bottom: 12px;
}

.net-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  margin-bottom: 6px;
}

.net-card span {
  font-size: 13.5px;
  color: var(--xdi-muted);
}

/* ---------- FAQ ---------- */

.xdi-faq .accordion-item {
  border: 1px solid var(--xdi-line);
  border-radius: 16px !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--xdi-card);
}

.xdi-faq .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--xdi-ink);
  padding: 18px 22px;
}

.xdi-faq .accordion-button:not(.collapsed) {
  background: var(--xdi-soft);
  color: var(--xdi-green-dark);
  box-shadow: none;
}

.xdi-faq .accordion-button:focus {
  box-shadow: none;
}

.xdi-faq .accordion-body {
  color: var(--xdi-muted);
  font-size: 15px;
  padding-top: 0;
}

.xdi-faq .faq-ul-stile {
  padding-left: 20px;
  margin: 10px 0 0;
}

/* ---------- Contact ---------- */

.xdi-contact {
  background:
    radial-gradient(800px 400px at 15% -20%, rgba(159, 220, 159, .14), transparent 60%),
    linear-gradient(165deg, var(--xdi-green-deep), var(--xdi-green-dark) 75%);
  color: #fff;
}

.xdi-contact .section-header h2 {
  color: #fff;
}

.xdi-contact .section-header p {
  color: rgba(255, 255, 255, .75);
}

.xdi-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.xdi-contact-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--xdi-radius);
  padding: 30px 22px;
  text-align: center;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}

.xdi-contact-card:hover {
  background: rgba(255, 255, 255, .11);
  transform: translateY(-4px);
  color: #fff;
}

.xdi-contact-card i {
  font-size: 30px;
  color: var(--xdi-mint);
  display: block;
  margin-bottom: 12px;
}

.xdi-contact-card h6 {
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--xdi-mint);
  margin-bottom: 6px;
}

.xdi-contact-card p {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

.xdi-contact-note {
  text-align: center;
  color: rgba(255, 255, 255, .62);
  font-size: 14.5px;
  margin: 28px 0 0;
}

/* Contact: info + form layout (same system as Made in Italy Export) */
.xdi-contact-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.xdi-contact-info {
  display: grid;
  gap: 14px;
  align-content: start;
}

.xdi-contact-info .xdi-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 20px 22px;
}

.xdi-contact-info .xdi-contact-card i {
  font-size: 26px;
  margin: 0;
}

.xdi-contact-info .xdi-contact-note {
  margin: 8px 0 0;
}

/* Contact form */
.xdi-form {
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  color: var(--xdi-ink);
}

.xdi-form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 6px;
}

.xdi-form .form-note {
  font-size: 13.5px;
  color: rgba(19, 28, 18, .6);
  margin-bottom: 18px;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.f-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.f-field label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(19, 28, 18, .75);
}

.f-field input,
.f-field select,
.f-field textarea {
  background: #f4f8f5;
  border: 1px solid #d9e5dc;
  border-radius: 12px;
  color: var(--xdi-ink);
  font: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus {
  outline: none;
  border-color: var(--xdi-green);
  box-shadow: 0 0 0 3px rgba(12, 102, 8, .14);
}

.f-field textarea {
  min-height: 130px;
  resize: vertical;
}

.f-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2371806f' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13.5px;
  color: rgba(19, 28, 18, .75);
  margin: 6px 0 22px;
}

.consent input {
  margin-top: 3px;
  accent-color: var(--xdi-green);
}

.consent a {
  color: var(--xdi-green-600);
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -5000px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-msg {
  display: none;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

.form-msg.show {
  display: block;
}

.form-msg.ok {
  background: rgba(12, 102, 8, .12);
  color: #0b5c31;
  border: 1px solid rgba(12, 102, 8, .35);
}

.form-msg.error {
  background: rgba(180, 113, 46, .1);
  color: #8F5620;
  border: 1px solid rgba(180, 113, 46, .35);
}

.form-msg a {
  color: inherit;
  text-decoration: underline;
}

/* ---------- Footer ---------- */

.xdi-footer {
  background: var(--xdi-green-deep);
  color: rgba(255, 255, 255, .72);
  padding: clamp(52px, 7vw, 80px) 0 0;
  font-size: 14.5px;
}

.xdi-footer .brand .l1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
}

.xdi-footer .brand .l1 em {
  font-style: italic;
  color: var(--xdi-red);
}

.xdi-footer .brand .l1 em::before {
  content: " ";
}

.xdi-footer .brand .l2 {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--xdi-mint);
  margin-top: 5px;
}

.xdi-footer a {
  color: rgba(255, 255, 255, .78);
}

.xdi-footer a:hover {
  color: var(--xdi-mint);
}

.xdi-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
}

.xdi-footer p {
  font-size: 13.5px;
}

.xdi-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.xdi-footer .footer-links li {
  margin-bottom: 9px;
}

.xdi-footer .footer-links i {
  color: var(--xdi-mint);
  font-size: 12px;
  margin-right: 8px;
}

.xdi-footer .mattoni {
  height: 18px;
  vertical-align: -4px;
  margin-left: 6px;
}

.xdi-footer .footer-brands {
  font-size: 12.5px;
  line-height: 2.1;
  color: rgba(255, 255, 255, .55);
  margin-top: 34px;
}

.xdi-footer .footer-brands a {
  color: #7fd6a4;
  white-space: nowrap;
}

.xdi-footer .footer-brands a:hover {
  color: #fff;
}

.xdi-footer .footer-brands .bico {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  vertical-align: -4px;
  margin-right: 5px;
}

.xdi-footer .footer-brands .blogo {
  display: inline-block;
  height: 16px;
  width: auto;
  vertical-align: -3px;
  margin-right: 5px;
}

.xdi-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 40px;
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* ---------- Floating buttons ---------- */

.xdi-float {
  position: fixed;
  right: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  z-index: 1100;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}

.xdi-float:hover {
  transform: translateY(-3px) scale(1.05);
}

.xdi-float.whatsapp {
  bottom: 88px;
  background: #25d366;
  color: #fff;
}

.xdi-float.cookie {
  bottom: 24px;
  background: #fff;
  color: var(--xdi-green-600);
  border: 1px solid var(--xdi-line);
}

.xdi-top {
  position: fixed;
  left: 22px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--xdi-green-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35);
}

.xdi-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- Page hero (service pages) ---------- */

.xdi-page-hero {
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(12, 102, 8, .5), transparent 60%),
    linear-gradient(165deg, var(--xdi-green-deep), var(--xdi-green-dark) 75%);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0;
  overflow: hidden;
}

.xdi-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--xdi-green) 33%, #134a34 33% 66%, var(--xdi-red) 66%);
}

.xdi-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.xdi-breadcrumb a {
  color: rgba(255, 255, 255, .75);
}

.xdi-breadcrumb a:hover {
  color: #fff;
}

.xdi-breadcrumb .sep {
  opacity: .5;
}

.xdi-page-hero .icon-bubble {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--xdi-mint);
  font-size: 30px;
  margin-bottom: 24px;
}

.xdi-page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.6vw, 46px);
  max-width: 760px;
  margin-bottom: 16px;
}

.xdi-page-hero .lead {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(16px, 1.8vw, 18.5px);
  max-width: 700px;
  margin-bottom: 28px;
}

/* ---------- Legal pages (cookie policy, privacy) ---------- */

.xdi-legal {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15.5px;
  color: var(--xdi-ink);
}

.xdi-legal h2 {
  font-size: clamp(19px, 2.6vw, 23px);
  margin: 42px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--xdi-line, rgba(10, 83, 6, .12));
}

.xdi-legal h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.xdi-legal h3 {
  font-size: 16.5px;
  margin: 26px 0 10px;
}

.xdi-legal p {
  line-height: 1.75;
  margin-bottom: 14px;
}

.xdi-legal ul,
.xdi-legal address {
  line-height: 1.75;
  padding-left: 22px;
  margin-bottom: 16px;
}

.xdi-legal ul li {
  margin-bottom: 6px;
}

.xdi-legal a {
  color: var(--xdi-green-600);
  font-weight: 600;
}

.xdi-legal a:hover {
  color: var(--xdi-green-dark);
}

.xdi-legal .table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 14px 0 20px;
  border: 1px solid rgba(10, 83, 6, .14);
  border-radius: 12px;
}

.xdi-legal .table-wrap::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 26px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(10, 83, 6, .1));
  border-radius: 0 11px 11px 0;
  pointer-events: none;
}

.xdi-legal table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}

.xdi-legal table th,
.xdi-legal table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(10, 83, 6, .1);
  vertical-align: top;
}

.xdi-legal table thead th {
  background: rgba(159, 220, 159, .18);
  font-family: var(--font-display);
  white-space: nowrap;
}

.xdi-legal table tbody tr:last-child td {
  border-bottom: 0;
}

.xdi-legal .updated {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--xdi-green-600);
  background: rgba(159, 220, 159, .2);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 8px;
}

@media (max-width: 575.98px) {
  .xdi-legal {
    font-size: 15px;
  }

  .xdi-legal h2 {
    margin-top: 34px;
  }
}

/* ---------- Checklist ---------- */

.xdi-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.xdi-checklist li {
  position: relative;
  padding: 10px 0 10px 38px;
  border-bottom: 1px dashed var(--xdi-line);
  color: var(--xdi-ink);
}

.xdi-checklist li:last-child {
  border-bottom: 0;
}

.xdi-checklist li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 11px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--xdi-soft);
  color: var(--xdi-green-dark);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.xdi-checklist.cols-2 {
  columns: 2;
  column-gap: 48px;
}

/* ---------- Service page extras ---------- */

.xdi-why .xdi-card {
  height: 100%;
}

.xdi-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.xdi-related a {
  display: block;
  background: var(--xdi-card);
  border: 1px solid var(--xdi-line);
  border-radius: var(--xdi-radius);
  padding: 22px 20px;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}

.xdi-related a:hover {
  transform: translateY(-4px);
  box-shadow: var(--xdi-shadow-sm);
}

.xdi-related i.rel-icon {
  font-size: 24px;
  color: var(--xdi-green-600);
  display: block;
  margin-bottom: 10px;
}

.xdi-related strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--xdi-ink);
  margin-bottom: 5px;
}

.xdi-related span {
  font-size: 13.5px;
  color: var(--xdi-muted);
}

.xdi-cta-box {
  background: linear-gradient(135deg, var(--xdi-green), var(--xdi-green-600));
  color: #fff;
  border-radius: var(--xdi-radius);
  padding: clamp(30px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--xdi-shadow);
}

.xdi-cta-box h3 {
  color: #fff;
  font-size: clamp(20px, 2.6vw, 26px);
  margin-bottom: 8px;
}

.xdi-cta-box p {
  color: rgba(255, 255, 255, .85);
  margin: 0;
  max-width: 560px;
}

.xdi-cta-box .btn-xdi {
  background: #fff;
  color: var(--xdi-green-dark);
  box-shadow: none;
}

.xdi-cta-box .btn-xdi:hover {
  background: #f2fbf2;
  color: var(--xdi-green-deep);
}

/* ---------- Responsive ---------- */

@media (max-width: 1199.98px) {
  .xdi-net {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .xdi-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .xdi-hero .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .xdi-hero-actions,
  .xdi-hero-stats {
    justify-content: center;
  }

  .xdi-hero-figure {
    order: -1;
  }

  .xdi-hero-figure img {
    max-width: 300px;
  }

  .xdi-split {
    grid-template-columns: 1fr;
  }

  .xdi-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .xdi-contact-grid,
  .xdi-contact-wrap,
  .xdi-related {
    grid-template-columns: 1fr;
  }

  .f-row {
    grid-template-columns: 1fr;
  }

  .xdi-checklist.cols-2 {
    columns: 1;
  }

  .xdi-mobile-toggle {
    display: inline-flex;
  }

  .xdi-desktop-only {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .xdi-footer .legal {
    padding-bottom: 104px;
  }

  .xdi-page-hero .icon-bubble {
    display: flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 24px;
    margin: 6px 0 14px;
  }

  .xdi-steps {
    grid-template-columns: 1fr;
  }

  .xdi-net {
    grid-template-columns: 1fr;
  }

  .xdi-hero-figure .flag-chip {
    display: none;
  }

  .xdi-cta-box {
    text-align: center;
    justify-content: center;
  }
}

/* ---------- AOS compat + no-JS fallback ---------- */

[data-aos] {
  pointer-events: auto;
}

html:not(.js) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

@media (prefers-reduced-motion: reduce) {
  .xdi-hero-figure img {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
