/* ============================================
   FONDAZIONE VECCHIONI — Tailwind Input CSS
   Brand Identity Guide 2026

   FIX: tutti i colori custom usano theme()
   invece di @apply per evitare errori di
   risoluzione classi in @layer components.
   ============================================ */

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  line-height: 1.7;
  color: #232323;
  background-color: #f9f9f7;
}

h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #232323;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

h5 {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

a {
  text-decoration-line: none;
  color: #e51282;
  transition: color 0.3s;
}

a:hover {
  color: #c40e6e;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

blockquote {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  font-style: italic;
  color: #555;
  border-left: 4px solid #e51282;
}

.brand-a {
  color: #e51282;
  font-style: normal;
}

strong,
  b {
  font-weight: 900;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

/* ─── Announcement Bar ─── */

.announcement-bar {
  position: relative;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  background-color: #232323;
  font-weight: 400;
  line-height: 1.6;
}

.announcement-bar strong {
  font-weight: 900;
}

.announcement-bar a {
  text-decoration-line: underline;
  color: #f5c242;
}

.announcement-bar a:hover {
  color: #fff;
}

/* ─── Header ─── */

.site-header {
  position: sticky;
  top: 0px;
  z-index: 50;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  overflow-x: clip;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-header .logo img {
  height: 48px;
  width: auto;
}

/* ─── Desktop Nav ─── */

.main-nav {
  display: none;
  align-items: center;
  gap: 0px;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

.main-nav {
  height: 100%;
}

.nav-item {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  cursor: pointer;
}

.nav-item>a,
  .nav-item>span {
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #232323;
  font-weight: 700;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item:hover>a,
  .nav-item:hover>span {
  color: #e51282;
}

/* Dropdown */

.dropdown {
  visibility: hidden;
  position: absolute;
  left: 0px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  opacity: 0;
  top: 100%;
  min-width: 260px;
  padding: 20px 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-top: 3px solid #e51282;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  transform: translateY(6px);
  z-index: 200;
}

.animate-on-scroll.nav-item:hover .dropdown {
  opacity: 1;
  transform: translateY(0);
}

.nav-item:hover .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-group {
  margin-bottom: 1rem;
}

.dropdown-group:last-child {
  margin-bottom: 0px;
}

.dropdown-heading {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 900;
  color: #e51282;
}

.dropdown a {
  display: block;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #232323;
  font-weight: 400;
  transition: color 0.2s, padding-left 0.2s;
}

.dropdown a:hover {
  color: #e51282;
  padding-left: 6px;
}

/* Nav right actions */

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .nav-actions {
    display: flex;
  }
}

.search-toggle {
  cursor: pointer;
  border-style: none;
  background-color: transparent;
  padding: 0.5rem;
  color: #232323;
  transition: color 0.2s;
}

.search-toggle:hover {
  color: #e51282;
}

.btn-accedi {
  border-radius: 0.375rem;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #f5c242;
  color: #232323;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-accedi:hover {
  background-color: #dba520;
  transform: translateY(-1px);
}

/* ─── Mobile Menu ─── */

.mobile-menu-btn {
  cursor: pointer;
  border-style: none;
  background-color: transparent;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 5px 0;
  background-color: #232323;
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  position: fixed;
  inset: 0px;
  z-index: 150;
  overflow-y: auto;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  display: none;
  padding-top: 70px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-inner {
  padding: 1.5rem;
}

.mobile-nav-item {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}

.mobile-nav-item>button {
  display: flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  border-style: none;
  background-color: transparent;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #232323;
  font-weight: 700;
}

.mobile-nav-item>button .chevron {
  transition: transform 0.3s;
  font-size: 0.7rem;
}

.mobile-nav-item>button.active .chevron {
  transform: rotate(180deg);
}

.mobile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 1rem;
  padding-bottom: 0px;
}

.mobile-dropdown.open {
  max-height: 600px;
  padding-bottom: 1rem;
}

.mobile-dropdown-heading {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 900;
  color: #e51282;
}

.mobile-dropdown a {
  display: block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #232323;
  font-weight: 400;
}

.mobile-dropdown a:hover {
  color: #e51282;
}

.mobile-nav-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
  padding-top: 1.5rem;
}

.mobile-nav-actions .btn-accedi {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ─── Fullscreen Search Overlay ─── */

.search-overlay {
  position: fixed;
  inset: 0px;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.search-overlay.open {
  display: flex;
  opacity: 1;
}

.search-overlay-inner {
  width: 100%;
  max-width: 42rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.search-overlay-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
  border-style: none;
  background-color: transparent;
  color: #232323;
  font-size: 2rem;
  line-height: 1;
  transition: color 0.2s;
}

.search-overlay-close:hover {
  color: #e51282;
}

.search-overlay label {
  margin-bottom: 1rem;
  display: block;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #798b87;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper input {
  width: 100%;
  border-width: 0px;
  border-bottom-width: 2px;
  background-color: transparent;
  text-align: center;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  color: #232323;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  padding: 12px 0;
  border-color: #b1c7bf;
  outline: none;
  font-weight: 400;
  transition: border-color 0.3s;
}

.search-input-wrapper input:focus {
  border-color: #e51282;
}

.search-input-wrapper input::-moz-placeholder {
  color: #b1c7bf;
}

.search-input-wrapper input::placeholder {
  color: #b1c7bf;
}

.search-submit {
  position: absolute;
  right: 0px;
  top: 50%;
  cursor: pointer;
  border-radius: 9999px;
  border-style: none;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  background-color: #e51282;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.search-submit:hover {
  background-color: #c40e6e;
}

/* ─── Hero ─── */

.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
  background: linear-gradient(160deg, #f9f9f7 0%, #eef3f0 50%, #d6e4dd 100%);
}

.hero-section h1 {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  max-width: 56rem;
  color: #232323;
}

.hero-cta-group {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  padding-left: 2rem;
  padding-right: 2rem;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 900;
  font-size: 0.85rem;
  padding-top: 14px;
  padding-bottom: 14px;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.btn-primary {
  background-color: #e51282;
  color: #fff;
  border-color: #e51282;
}

.btn-primary:hover {
  background-color: #c40e6e;
  border-color: #c40e6e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 18, 130, 0.3);
}

.btn-accent {
  background-color: #f5c242;
  color: #232323;
  border-color: #f5c242;
}

.btn-accent:hover {
  background-color: #dba520;
  border-color: #dba520;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 194, 66, 0.4);
}

/* ─── Quote ─── */

.quote-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #b1c7bf;
}

.quote-block {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
  text-align: center;
}

.quote-block .quote-text {
  margin-bottom: 1.5rem;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  color: #232323;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.9;
  font-weight: 400;
}

.quote-block .quote-author {
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  color: #232323;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.quote-block .quote-role {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #798b87;
  font-weight: 400;
}

/* ─── Sections ─── */

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-title {
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  max-width: 42rem;
  text-align: center;
  color: #555;
  font-size: 1.05rem;
  font-weight: 400;
}

/* ─── Accordion ─── */

.accordion-trigger {
  display: flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  gap: 0.625rem;
  border-style: none;
  background-color: transparent;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  text-align: left;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: #e51282;
  transition: color 0.3s;
}

.accordion-trigger:hover {
  color: #c40e6e;
}

.accordion-trigger .icon {
  font-size: 1.125rem;
  line-height: 1.75rem;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.accordion-trigger.active .icon {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.accordion-content {
  overflow: hidden;
  padding: 0px;
  max-height: 0;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.accordion-content.open {
  padding-top: 1rem;
  padding-bottom: 1rem;
  max-height: 5000px;
}

.accordion-content p {
  margin-bottom: 0.75rem;
  line-height: 1.8;
  font-weight: 400;
}

/* ─── Cards ─── */

.cards-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  border-radius: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 2.25rem;
  text-align: center;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-top: 4px solid #e51282;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  width: 60px;
  height: 60px;
  background-color: #eef3f0;
  color: #e51282;
  font-size: 1.5rem;
}

.card h5 {
  margin-bottom: 0.75rem;
  color: #232323;
}

.card p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #666;
  font-weight: 400;
}

/* ─── Content Row ─── */

.content-row {
  display: grid;
  align-items: center;
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
}

.content-row.reverse {
  direction: rtl;
}

.content-row.reverse>* {
  direction: ltr;
}

.content-image {
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.content-image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s;
}

.content-image:hover img {
  transform: scale(1.03);
}

/* ─── Donation ─── */

.donation-section {
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  background: linear-gradient(135deg, #232323 0%, #3a3a3a 100%);
}

.donation-section h2,
  .donation-section h4,
  .donation-section p {
  color: #fff;
}

.donation-amounts {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.donation-btn {
  cursor: pointer;
  border-radius: 0.5rem;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  font-weight: 900;
  font-size: 1.1rem;
  padding: 12px 24px;
  min-width: 80px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
}

.donation-btn:hover,
  .donation-btn.active {
  background-color: #e51282;
  color: #fff;
  border-color: #e51282;
  transform: translateY(-2px);
}

.donation-btn.free-amount {
  font-size: 0.85rem;
  padding: 12px 20px;
}

/* ─── Bank Details ─── */

.bank-details {
  background-color: #eef3f0;
}

.bank-info-box {
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  border-radius: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.bank-info-box p {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
}

.bank-info-box strong {
  color: #232323;
  font-weight: 900;
}

/* ─── Footer (da vecchioni_footer.pptx) ─── */

.site-footer {
  padding: 0;
  background-color: #fff;
}

/* Logo area */

.footer-logo {
  padding: 32px 0 20px;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

/* Fascia principale grigia con bordo rosa top */

.footer-main {
  background-color: #e8e8e8;
  border-top: 4px solid #e51282;
  padding: 32px 0;
}

.footer-main-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
}

/* Colonna link */

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #232323;
  font-weight: 700;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #e51282;
}

/* Colonna info */

.footer-info p {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #232323;
  font-weight: 400;
}

.footer-info strong {
  font-weight: 900;
}

.footer-info a {
  color: #232323;
  transition: color 0.2s;
}

.footer-info a:hover {
  color: #e51282;
}

.footer-powered {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #888;
  font-weight: 400;
}

/* Fascia inferiore: social + newsletter */

.footer-bottom-bar {
  padding: 28px 0;
}

.footer-bottom-grid {
  display: grid;
  align-items: flex-start;
  gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
}

.footer-label {
  margin-bottom: 0.75rem;
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e51282;
  font-weight: 900;
}

/* Social links */

.footer-social .social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  background-color: #eef3f0;
  color: #232323;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: #e51282;
  color: #fff;
  transform: translateY(-2px);
}

/* Newsletter form */

.newsletter-form {
  display: flex;
  max-width: 360px;
}

.newsletter-form input {
  flex: 1 1 0%;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 10px 14px;
  border: 2px solid #ddd;
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: #fff;
  color: #232323;
  font-weight: 400;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input:focus {
  border-color: #e51282;
}

.newsletter-form input::-moz-placeholder {
  color: #aaa;
}

.newsletter-form input::placeholder {
  color: #aaa;
}

.newsletter-form button {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-style: none;
  padding: 0 16px;
  border-radius: 0 6px 6px 0;
  background-color: #e51282;
  color: #fff;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: #c40e6e;
}

/* Copyright */

.footer-copyright {
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1rem;
  border-top: 1px solid #e0e0e0;
  color: #999;
}

/* ─── Mobile Nav Close Button ─── */

.mobile-nav-close {
  position: absolute;
  cursor: pointer;
  border-style: none;
  background-color: transparent;
  top: 20px;
  right: 20px;
  color: #232323;
  z-index: 10;
  padding: 8px;
  transition: color 0.2s;
}

.mobile-nav-close:hover {
  color: #e51282;
}

/* ─── Subtitle Banner (rosa) ─── */

.section-subtitle-banner {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
  background-color: #fff;
}

.section-subtitle-banner p {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  color: #e51282;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.6;
}

/* ─── Mission Banner (grigio) ─── */

.mission-banner {
  margin-top: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background-color: #e8e8e8;
}

.mission-banner p {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.7;
  color: #232323;
}

/* ─── Testimonial Card ─── */

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-arrows {
  flex-shrink: 0;
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s;
}

.testimonial-arrows:hover {
  color: #e51282;
}

.testimonial-inner {
  display: flex;
  flex: 1 1 0%;
  align-items: flex-start;
  gap: 2rem;
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
}

.testimonial-image {
  flex-shrink: 0;
  width: 280px;
}

.testimonial-image .image-placeholder {
  border-radius: 0;
}

.testimonial-content {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-right: 1.5rem;
}

.testimonial-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.testimonial-author {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.testimonial-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 400;
}

/* ─── Form Placeholder ─── */

.form-placeholder {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 0.75rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
  background: #f5f5f5;
  border: 2px dashed #ccc;
  color: #999;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ─── Donation Types (2 columns) ─── */

.donation-types-section {
  padding-top: 0px;
  padding-bottom: 0px;
}

.donation-types-grid {
  display: grid;
  gap: 0px;
  grid-template-columns: 1fr 1fr;
}

.donation-type-card {
  padding: 2rem;
  background: #e8e8e8;
}

.donation-type-card:last-child {
  background: #d9d9d9;
}

.donation-type-card h4 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.donation-type-card p {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
}

.donation-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  color: #e51282;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ─── Help Card ─── */

.help-card {
  display: flex;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #eef3f0;
  max-width: 800px;
  margin: 0 auto;
}

.help-card-image {
  flex-shrink: 0;
  width: 260px;
}

.help-card-content {
  padding: 2rem;
}

.help-card-content ul {
  list-style-type: disc;
  padding-left: 1.25rem;
}

.help-card-content li {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-weight: 400;
  font-size: 0.95rem;
}

/* ─── Fundraiser Banner (rosa) ─── */

.fundraiser-banner {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-color: #e51282;
  color: #fff;
}

.fundraiser-banner p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
}

/* ─── Fundraiser Steps ─── */

.fundraiser-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  flex-wrap: wrap;
}

.fundraiser-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 160px;
}

.fundraiser-step-icon {
  margin-bottom: 0.75rem;
  color: #e51282;
}

.fundraiser-step span {
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e51282;
  font-weight: 900;
}

.fundraiser-step-arrow {
  font-size: 1.5rem;
  color: #ccc;
  margin-top: -20px;
}

/* ─── Misc ─── */

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-style: italic;
  color: #798b87;
  background: linear-gradient(135deg, #eef3f0, #b1c7bf);
  min-height: 300px;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.visible {
  visibility: visible;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-0 {
  margin-bottom: 0px;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.flex {
  display: flex;
}

.hidden {
  display: none;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.list-disc {
  list-style-type: disc;
}

.items-center {
  align-items: center;
}

.gap-2 {
  gap: 0.5rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.pl-5 {
  padding-left: 1.25rem;
}

.text-center {
  text-align: center;
}

.font-body {
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.opacity-60 {
  opacity: 0.6;
}

/* ── Base ── */

/* ── Components ── */

/* ── Responsive ── */

@media (max-width: 1023px) {
  .content-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-row.reverse {
    direction: ltr;
  }

  .testimonial-inner {
    flex-direction: column;
  }

  .testimonial-image {
    width: 100%;
  }

  .testimonial-arrows {
    display: none;
  }
}

@media (max-width: 768px) {
  .section,
  .hero-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-grid {
    grid-template-columns: 1fr;
  }

  .donation-types-grid {
    grid-template-columns: 1fr;
  }

  .help-card {
    flex-direction: column;
  }

  .help-card-image {
    width: 100%;
  }

  .fundraiser-steps {
    gap: 1rem;
  }

  .fundraiser-step-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (min-width: 1024px) {
  .lg\:hidden {
    display: none;
  }
}
