/* ========================================================================
   Fonts and root variables
   ======================================================================== */
@font-face {
  font-family: "Chiasmo";
  src: url("../fonts/Nelchiasmo_Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Chiasmo";
  src: url("../fonts/Nelchiasmo_Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Eixample-Dip-Bold";
  src: url("../fonts/Eixample-Dip-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --default-site-bg: #fffaf2;
  /* Site-wide default background color (white with a hint of cream) */
  --default-text-color: #401711;
  /* Default text color (dark brown) */
  --green-bg: #53803b;
  /* green background color */
  --orange-bg: #EE5340;
  /* orange background color */
  --yellow-bg: #ffc107;
  /* yellow background color */

  /* Bootstrap variables */
  --bs-white: var(--default-site-bg);
  --bs-body-bg: var(--default-site-bg);
  --bs-white-rgb: 255, 250, 242;
  --bs-body-bg-rgb: 255, 250, 242;
  --bs-body-color: var(--default-text-color);
}


/* ========================================================================
     Base / Typography
     ======================================================================== */
body {
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  background-color: var(--default-site-bg);
  margin: 0;
  padding: 0;
  color: var(--default-text-color);
}

/* Add padding-top on mobile to account for fixed header */
@media (max-width: 991px) {
  body {
    padding-top: 80px;
  }
}

/* Global button border radius */
button,
.btn,
[type="button"],
[type="submit"],
[type="reset"],
input[type="button"],
input[type="submit"],
input[type="reset"] {
  border-radius: 3rem !important;
}

/* Standardized Typography Classes */
/* Page titles (h1) - consistent across all pages */
h1 {
  font-family: 'Barlow', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.1;
  color: inherit;
}

/* Page subtitles (h2) - consistent across all pages */
h2 {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
  color: inherit;
}

/* Body text - consistent across all pages */
p {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
  color: inherit;
}

/* Secondary text - for smaller descriptions */
h6 {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: inherit;
}

/* Responsive adjustments for larger screens */
@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1.5rem;
  }

  h6 {
    font-size: 1.2rem;
  }
}

/* Logo */
.logo {
  height: 38px;
  width: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.logo-path {
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.logo:hover .logo-path {
  stroke: #ff6b5a;
  stroke-width: 10px;
}

/* Small utility for sections default width */
section {
  width: 100%;
}

/* Center sections on larger screens */
@media (min-width: 768px) {
  section {
    margin: 0 auto;
    /* Center the sections */
  }
}


/* ========================================================================
     Header / Navigation / Menu overlay
   ======================================================================== */
header {
  padding: 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  background-color: var(--default-site-bg);
  color: var(--default-text-color);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.25s ease;
}

#menu-toggle {
  border: none;
  font-size: 1.5rem;
}

header.scrolled {
  color: var(--default-text-color) !important;
  background-color: transparent !important;
  transition: background-color 0.3s ease;
  box-shadow: none;
}

#menu-toggle.scrolled {
  color: var(--default-text-color);
}

header .nav-link {
  color: var(--default-text-color);
  transition: color 0.2s ease;
}

header.scrolled .nav-link {
  color: var(--default-text-color);
}

@media (min-width: 992px) {

  #menu-overlay .menu-close {
    display: none;
  }

  #menu-overlay {
    display: none !important;
  }

  #header nav {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  #header .nav-link {
    color: inherit;
    font-size: 1rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  #header .nav-link:hover {
    text-decoration: underline;
  }

  #header .nav-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--orange-bg);
    color: var(--orange-bg);
    background-color: transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  #header .nav-btn:hover {
    background-color: var(--orange-bg);
    color: var(--default-site-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 83, 62, 0.3);
    text-decoration: none;
  }

  #header .nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(236, 83, 62, 0.2);
  }
}

#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--default-site-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  pointer-events: none;
}

#menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#menu-overlay .menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 100%;
  background: var(--orange-bg);
  color: var(--default-site-bg);
  transform: translateX(110%);
  transition: transform 360ms cubic-bezier(.2, .9, .2, 1);
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  z-index: 1100;
}

#menu-overlay.active .menu-panel {
  transform: translateX(0);
}

#menu-overlay .menu-panel nav {
  margin-top: 28px;
}

#menu-overlay .menu-panel .nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

#menu-overlay .menu-panel .nav-link {
  color: var(--default-site-bg);
  font-size: 1.4rem;
  text-decoration: none;
}

#menu-overlay .menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  color: var(--default-site-bg);
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1100;
}

#video_mood {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.video-hero-img {
  display: block;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 4/1;
}

.video-mood-overlay-text {
  font-family: "Chiasmo", "Barlow", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 95vw;
  max-width: 98vw;
  padding: 0 8px;
  z-index: 2;
  pointer-events: none;
  line-height: 1.1;
}

.video-mood-subtitle {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  display: block;
  margin-top: 1rem;
  text-shadow: none;
  opacity: 0.9;
}

@media (min-width: 768px) {
  #video_mood {
    height: auto;
    max-height: unset;
    min-height: unset;
    background: unset;
  }

  .video-hero-img {
    width: 100vw;
    height: auto;
    min-height: 0;
    aspect-ratio: 1698/955;
    object-fit: contain;
    object-position: center;
    max-height: unset;
  }

  .video-mood-overlay-text {
    font-size: 4rem;
    width: 80vw;
    max-width: 900px;
    padding: 0;
  }

  .video-mood-subtitle {
    font-size: 2rem;
  }

  @media (min-width: 992px) {
    #video_mood {
      margin-top: 80px;
    }
  }
}


/* ========================================================================
     Sections: Bisogno, Manifesto, Dati, Chisiamo
     ======================================================================== */
#bisogno {
  background-color: var(--orange-bg);
  color: var(--default-site-bg);
  padding: 20px;
  text-align: left;
  min-height: 600px;
}

#bisogno .container {
  position: relative;
  min-height: 600px;
}

#bisogno .line {
  font-family: "Barlow", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--default-site-bg);
  margin-bottom: 1.2rem;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

#bisogno .align-image {
  max-height: 56px;
  height: auto;
  width: auto;
  display: inline-block;
}

@media (min-width: 768px) {
  #bisogno {
    min-height: 800px;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #bisogno .container {
    min-height: 700px;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  #bisogno .row {
    position: relative;
    height: 700px;
    width: 100%;
  }

  #bisogno .row>div:nth-child(1) {
    position: absolute;
    top: 5%;
    left: calc(50% - 500px);
    width: auto;
    max-width: 340px;
  }

  #bisogno .row>div:nth-child(2) {
    position: absolute;
    top: 25%;
    left: calc(50% - 300px);
    width: auto;
    max-width: 340px;
  }

  #bisogno .row>div:nth-child(3) {
    position: absolute;
    top: 45%;
    left: calc(50% - 100px);
    width: auto;
    max-width: 340px;
  }

  #bisogno .row>div:nth-child(4) {
    position: absolute;
    top: 65%;
    left: calc(50% + 100px);
    width: auto;
    max-width: 340px;
  }

  #bisogno .line {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

.manifesto-group {
  background-image: url("../img/Icona equilibrio movimento.png");
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 800px;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
}

.manifesto-section {
  position: relative;
  z-index: 1;
}

#manifesto1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

#manifesto2 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  margin-top: 2rem;
  width: 100%;
}

.manifesto-equilibrio {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.manifesto-movimento {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.manifesto-description {
  max-width: 700px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.manifesto-body {
  font-family: "Barlow", Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--default-text-color);
  text-align: right;
  margin-top: 1rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: 0;
}

.manifesto-button-wrapper {
  text-align: center;
  margin-top: 2rem;
  z-index: 1;
  position: relative;
}

@media (min-width: 992px) {
  .manifesto-body {
    max-width: 340px;
  }

  .manifesto-group {
    display: block;
    min-height: 800px;
    padding: 3rem 4rem;
    position: relative;
  }

  #manifesto1 {
    position: absolute;
    top: 3rem;
    left: 4rem;
    max-width: 400px;
    width: auto;
  }

  #manifesto2 {
    position: absolute;
    bottom: 8rem;
    right: 4rem;
    max-width: 400px;
    width: auto;
    margin-top: 0;
    text-align: right !important;
  }

  #manifesto2 * {
    text-align: right !important;
  }

  .manifesto-button-wrapper {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    margin-top: 0;
    padding-left: 0;
  }

  .manifesto-equilibrio {
    text-align: left;
  }

  .manifesto-description {
    text-align: left;
    max-width: 100%;
  }

  .manifesto-movimento {
    justify-content: flex-end;
    width: 100%;
  }

  .manifesto-movimento-text {
    text-align: right !important;
    margin-left: auto;
    margin-right: 0;
  }

  .manifesto-body {
    text-align: right !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
  }
}

.highlight {
  font-family: "Chiasmo", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -1%;
}

.highlight.rosso {
  padding-top: 20px;
  padding-bottom: 20px;
  color: var(--orange-bg);
}

.movimento-text,
.manifesto-title {
  text-align: center;
  font-size: 3.2rem;
  line-height: 1.05;
  word-break: normal;
  max-width: 90vw;
  box-sizing: border-box;
  padding-right: 0;
  display: inline-block;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .movimento-text {
    font-size: 4.2rem;
    max-width: 100vw;
    padding-right: 0;
  }

  .manifesto-group {
    display: block;
    min-height: 700px;
  }

  .manifesto-title,
  .manifesto-movimento-text {
    font-size: 5.2rem;
    line-height: 1;
  }
}


.dati-section {
  background: var(--default-site-bg);
  padding: 40px 0 20px 0;
  text-align: center;
  min-height: 80vh;
}

.dati-title {
  font-family: "Barlow", sans-serif;
  color: var(--orange-bg);
  font-size: 2rem;
  margin-bottom: 2rem;
  background: var(--green-bg);
  color: var(--default-site-bg);
  padding: 1.5rem 1rem;
  border-radius: 0 0 1.2rem 1.2rem;
  display: inline-block;
  margin-bottom: 2rem;
}

.dati-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.dati-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}

.dati-label {
  font-family: "Chiasmo", "Barlow", sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--green-bg);
}

.dati-desc {
  font-size: 1.2rem;
  color: var(--default-text-color);
}

.chisiamo {
  background-image: url("../img/grass.jpg");
  background-size: cover;
  background-position: bottom;
  display: inline-block;
  padding: 20px 0px;
  color: var(--default-site-bg);
  position: relative;
}

.hand-image {
  max-width: 404px;
  width: 100%;
  display: block;
  border-radius: 20px 20px 0 0;
}

.chisiamo-overlay {
  background-color: var(--default-site-bg);
  border-radius: 0 0 20px 20px;
  padding: 20px;
  margin-top: 0;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.chisiamo-overlay-text {
  font-family: "Chiasmo", "Barlow", sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  color: var(--orange-bg);
  text-align: center;
  width: 100%;
  line-height: 1.1;
  display: block;
  margin: 0 auto 15px auto;
}

.chisiamo-overlay-desc {
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  display: block;
  color: var(--default-text-color);
  position: relative;
  left: 0;
  max-width: 100%;
}

.chisiamo-btn {
  background-color: var(--default-site-bg);
  color: var(--orange-bg);
  border: 2px solid var(--orange-bg);
  border-radius: 3rem;
  padding: 10px 20px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.chisiamo-btn:hover {
  background-color: var(--orange-bg);
  color: var(--default-site-bg);
  text-decoration: none;
}

@media (min-width: 992px) {
  .chisiamo-overlay-text {
    font-size: 36px;
  }

  .chisiamo-overlay {
    max-width: 600px;
    padding: 30px;
  }

  .hand-image {
    max-width: 604px;
  }
}


/* ========================================================================
     Servizi (cards / list)
     ======================================================================== */
.card-img-top {
  height: 200px;
  /* Adjust as needed */
  object-fit: cover;
}

.servizi {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  box-sizing: border-box;
}

.servizi-title {
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 600;
  font-size: 3.5rem;
  line-height: 3.5rem;
  letter-spacing: -1%;
  color: var(--orange-bg);
  margin-bottom: 2rem;
}

.servizi-list {
  color: var(--default-text-color);
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: -1%;
  vertical-align: middle;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.servizi-item {
  margin: 18px 0;
  background: var(--orange-bg);
  color: var(--default-site-bg);
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 1.2rem;
  padding: 1rem;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  text-align: center;
  min-width: 0;
  width: 100%;
}



@media (min-width: 992px) {
  .servizi-title {
    font-size: 3.5rem;
    line-height: 3.5rem;
  }


  .servizi-list {
    font-size: 1.5rem;
    line-height: 1.5rem;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
  }

  .servizi-item {
    margin: 30px 0;
    min-width: 180px;
    width: auto;
    font-size: 1.5rem;
    padding: 1.2rem 2.2rem;
  }
}



/* ========================================================================
     Metodo
     ======================================================================== */
.Metodo {
  position: relative;
  min-height: 120vh;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--orange-bg);
  background-repeat: no-repeat;
  background-size: auto 660px;
  background-position: bottom center;
  z-index: 1;
  box-sizing: border-box;
  padding: 0 0.5rem;
}

.Metodo-content {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Metodo img {
  position: relative;
  z-index: 2;
}

.Metodo-title {
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 3rem;
  letter-spacing: -1%;
  color: var(--default-site-bg);
  margin-bottom: 2rem;
  text-align: center;
}

.Metodo-chiaro {
  font-family: "Chiasmo", "Barlow", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 3rem;
  letter-spacing: -1%;
  color: var(--default-site-bg);
}

.Metodo-description {
  color: var(--default-site-bg);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.7rem;
  margin-bottom: 1.2rem;
  max-width: 98vw;
  text-align: justify;
}

.Metodo-body {
  color: var(--default-site-bg);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.7rem;
  margin-bottom: 1.2rem;
  max-width: 98vw;
  text-align: justify;
  position: inherit;
  right: 0;
  top: 0;
}



@media (min-width: 992px) {
  .Metodo {
    max-width: none;
    padding: 0 1rem;
  }

  .Metodo-title {
    font-size: 50px;
    line-height: 48px;
  }

  .Metodo-chiaro {
    font-size: 68px;
    line-height: 48px;
  }

  .Metodo-description,
  .Metodo-body {
    font-size: 1.5rem;
    line-height: 2rem;
    max-width: 700px;
    position: relative;
    /* right: 8%; */
    top: 50px;
  }
}


/* ========================================================================
     Dicono di noi
     ======================================================================== */
.Dicono_di_noi {
  background: var(--default-site-bg);
  padding: 2.5rem 0 2rem 0;
  text-align: left;
}

.dicono-header {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  text-align: center;
  justify-content: center;
}

.dicono-title {
  font-family: 'Barlow', Arial, sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--orange-bg);
  margin-bottom: 0.5rem;
  text-align: center;
}

.dicono-highlight {
  font-family: 'Chiasmo', 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--orange-bg);
  font-size: 3rem;
  letter-spacing: 0.02em;
}


.dicono-card {
  background: var(--green-bg);
  border-radius: 24px;
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  max-width: 370px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

/* Dicono di noi horizontal scroll */
.dicono-cards-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  max-width: 100vw;
}

.dicono-cards-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 1rem;
}

.dicono-cards-scroll::-webkit-scrollbar {
  display: none;
}

/* Arrow buttons for desktop horizontal scroll */
.dicono-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--orange-bg);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: var(--orange-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dicono-arrow:hover {
  background: var(--orange-bg);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.dicono-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.dicono-arrow-left {
  left: 10px;
}

.dicono-arrow-right {
  right: 10px;
}

/* Hide arrows on mobile */
@media (max-width: 767px) {
  .dicono-arrow {
    display: none;
  }
}

.dicono-card {
  min-width: 85%;
  max-width: 85%;
  flex: 0 0 85%;
  margin: 0;
  scroll-snap-align: center;
  box-sizing: border-box;
}

.dicono-dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.dicono-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange-bg);
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s;
}

.dicono-dot.active {
  background: var(--green-bg);
}

.dicono-quote {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--default-site-bg);
  margin: 0;
  white-space: pre-line;
}

.dicono-author {
  font-family: 'Chiasmo', 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 2rem;
  color: var(--default-site-bg);
  margin: 0;
}

.emoji {
  font-size: 1.3em;
  vertical-align: middle;
}

/* Mobile-first Dicono di noi defaults */
.dicono-header,
.dicono-card {
  max-width: 98vw;
  /* padding-left: 0.5rem;
    padding-right: 0.5rem; */
}

.dicono-title,
.dicono-highlight {
  font-size: 3.5rem;
  text-align: center;
}

.dicono-quote {
  font-size: 1.1rem;
}

.dicono-card {
  min-width: 94vw;
  max-width: 100vw;
  margin: 0;
}

@media (min-width: 992px) {

  .dicono-header,
  .dicono-card {
    max-width: 600px;
    /* padding-left: 0;
      padding-right: 0; */
  }

  .dicono-title,
  .dicono-highlight {
    font-size: 3.5rem;
    text-align: center;
  }

  .dicono-quote {
    font-size: 1.5rem;
  }

  .dicono-card {
    min-width: 90%;
    max-width: 370px;
    margin: 0 auto;
  }

  .dicono-cards-wrapper {
    max-width: 700px;
  }
}


/* ========================================================================
     Footer
     ======================================================================== */
.footer {
  background-color: var(--orange-bg);
  color: var(--default-site-bg);
  padding: 20px;
  text-align: left;
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  height: 50px;
  width: auto;
}

.footer-icons a {
  display: inline-block;
  margin-left: 10px;
}

.footer-icons img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  vertical-align: middle;
  transition: opacity 160ms ease, transform 160ms ease;
}

.footer-icons a:hover img {
  opacity: 0.9;
  transform: translateY(-2px);
}

.footer-links {
  margin-top: 20px;
}

.footer-links p {
  margin: 5px 0;
  font-size: 1rem;
}

.footer-link {
  color: var(--default-site-bg);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 20px;
}

.footer-bottom p {
  margin: 5px 0;
  font-size: 1rem;
}

/* Contact form styles */
.contact-form {
  background: rgba(255, 255, 255, 0.85);
  padding: 1.4rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--default-text-color);
}

.contact-form .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(236, 83, 62, 0.12);
  border-color: var(--orange-bg);
}

.contact-form .btn-danger {
  background: var(--orange-bg);
  border-color: var(--orange-bg);
}

.contact-form .btn-outline-secondary {
  border-color: rgba(0, 0, 0, 0.08);
}


@media (min-width: 768px) {
  .contact-form {
    padding: 2rem;
  }
}

/* Form status alerts */
.form-alert {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.form-alert-info {
  background: rgba(64, 23, 17, 0.06);
  color: var(--default-text-color);
}

.form-alert-success {
  background: rgba(83, 128, 59, 0.12);
  color: var(--green-bg);
}

.form-alert-error {
  background: rgba(236, 83, 62, 0.08);
  color: var(--orange-bg);
}


.btn-outline-chiasmo {
  border-color: var(--orange-bg);
  color: var(--orange-bg);
}

.btn-outline-chiasmo:hover {
  background-color: var(--orange-bg);
  color: var(--default-site-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}



/* Custom Utilities */
.border-10 {
  border-width: 10px !important;
}

.border-danger {
  border-color: var(--orange-bg) !important;
}

.border-success {
  border-color: var(--green-bg) !important;
}

.border-warning {
  border-color: var(--yellow-bg) !important;
}