@charset "utf-8";
/* CSS Document */
body {
  margin: 0;
  font-family: Garamond, Georgia, "Times New Roman", serif;
  background: #f7f4ef;
  color: #2b2b2b;
}

header {
  text-align: center;
  padding: 40px 20px 20px;
}

header img {
  max-width: 500px;
  width: 80%;
  height: auto;
}

header.home img{
    max-width:1000px;
}

nav {
  border-top: 1px solid #c8b8a8;
  border-bottom: 1px solid #c8b8a8;
  text-align: center;
  padding: 14px 10px;
  background: #ffffff;
}

nav a {
  margin: 0 18px;
  text-decoration: none;
  color: #6f5d4f;
  font-size: 20px;
  letter-spacing: 0.5px;
}

nav a:hover {
  color: #000000;
}

main {
  max-width: 1080px;
  margin: 65px auto;
  padding: 0 28px;
}

h1 {
  text-align: center;
  font-size: 42px;
  font-weight: normal;
  color: #6f5d4f;
  margin-bottom: 14px;
}

.subtitle {
  text-align: center;
  font-size: 22px;
  color: #8a7665;
  font-style: italic;
  margin-bottom: 50px;
}

h2 {
  font-size: 31px;
  font-weight: normal;
  color: #6f5d4f;
  border-bottom: 1px solid #c8b8a8;
  padding-bottom: 8px;
  margin-top: 55px;
}

p {
  font-size: 21px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.intro {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 23px;
  line-height: 1.65;
}

.support-grid,
.payment-grid,
.contact-grid,
.project-grid,
.org-grid,
.three-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.support-card,
.payment-card,
.contact-card,
.project-card,
.org-card,
.box {
  background: #ffffff;
  border: 1px solid #d8cfc4;
  padding: 28px 24px;
  text-align: center;
}

.support-card h3,
.payment-card h3,
.contact-card h3,
.project-card h3,
.org-card h3,
.box h3 {
  font-size: 25px;
  font-weight: normal;
  color: #6f5d4f;
  margin: 0 0 14px;
}

.support-card p,
.payment-card p,
.contact-card p,
.project-card p,
.org-card p,
.box p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}

.button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 26px;
  border: 1px solid #8a7665;
  color: #6f5d4f;
  text-decoration: none;
  font-size: 17px;
  background: transparent;
}

.button:hover {
  background: #8a7665;
  color: #ffffff;
}

.quote,
.notice,
.donation-box,
.bank-box,
.main-contact,
.note {
  background: #ffffff;
  border: 1px solid #d8cfc4;
  margin-top: 35px;
  padding: 32px;
  text-align: center;
}

.quote {
  max-width: 850px;
  margin: 45px auto;
}

.quote p,
.note p {
  font-size: 25px;
  color: #6f5d4f;
  font-style: italic;
  margin: 0;
  line-height: 1.55;
}

a {
  color: #6f5d4f;
}

footer {
  text-align: center;
  font-size: 14px;
  color: #6f5d4f;
  padding: 35px 20px;
  border-top: 1px solid #c8b8a8;
  margin-top: 60px;
}

@media (max-width: 900px) {
  header img {
    width: 90%;
  }

  nav a {
    display: inline-block;
    margin: 6px 10px;
    font-size: 19px;
  }

  .support-grid,
  .payment-grid,
  .contact-grid,
  .project-grid,
  .org-grid,
  .three-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  nav {
    padding: 12px 6px;
  }

  nav a {
    margin: 6px 8px;
    font-size: 18px;
  }

  main {
    margin: 45px auto;
    padding: 0 20px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  p {
    font-size: 19px;
    line-height: 1.65;
  }

  .intro {
    font-size: 20px;
  }

  .support-grid,
  .payment-grid,
  .contact-grid,
  .project-grid,
  .org-grid,
  .three-boxes {
    grid-template-columns: 1fr;
  }
}

/* ===== RIQUADRO ISTITUZIONALE ===== */

.panel{
    background:#ffffff;
    border:1px solid #d8cfc4;
    padding:35px;
    margin:45px 0;
}

/* ===== MANIFESTO ===== */

.values-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:28px;
    margin:45px 0;
}

.value-box{
    background:#ffffff;
    border:1px solid #d8cfc4;
    padding:42px 36px;
    text-align:center;
}

.value-box h3{
    margin:0 0 18px;
    color:#6f5d4f;
    font-size:30px;
    font-weight:normal;
}

.value-box p{
    margin:0;
    font-size:20px;
    line-height:1.65;
}

@media(max-width:760px){

.values-grid{
grid-template-columns:1fr;
}

}

/* ===== FONDAZIONE ===== */

.method-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin:45px 0;
}

.method-box{

    background:#ffffff;

    border:1px solid #d8cfc4;

    padding:40px 34px;

    text-align:center;

}

.method-box h3{

    margin:0 0 18px;

    color:#6f5d4f;

    font-size:28px;

    font-weight:normal;

}

.method-box p{

    margin:0;

    font-size:20px;

    line-height:1.65;

}

@media(max-width:900px){

.method-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:760px){

.method-grid{
grid-template-columns:1fr;
}

}

/* =====================================================
   ORGANI
===================================================== */

.area-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin:45px 0;
}

.area-box{

    background:#ffffff;

    border:1px solid #d8cfc4;

    padding:40px 34px;

    text-align:center;

}

.area-box h3{

    margin:0 0 18px;

    color:#6f5d4f;

    font-size:28px;

    font-weight:normal;

}

.area-box p{

    margin:0;

    font-size:20px;

    line-height:1.65;

}

@media(max-width:900px){

.area-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:760px){

.area-grid{

grid-template-columns:1fr;

}

}

/* =====================================================
   ATTIVITÀ
===================================================== */

.activity-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  margin:45px 0;
}

.activity-box{
  background:#ffffff;
  border:1px solid #d8cfc4;
  padding:40px 34px;
  text-align:center;
}

.activity-box h3{
  margin:0 0 18px;
  color:#6f5d4f;
  font-size:28px;
  font-weight:normal;
}

.activity-box p{
  margin:0;
  font-size:20px;
  line-height:1.65;
}

@media(max-width:900px){
  .activity-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:760px){
  .activity-grid{
    grid-template-columns:1fr;
  }
}

/* =====================================================
   PROGETTI
===================================================== */

.process-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin:45px 0;
}

.process-box{

    background:#ffffff;

    border:1px solid #d8cfc4;

    padding:40px 34px;

    text-align:center;

}

.process-box h3{

    margin:0 0 18px;

    color:#6f5d4f;

    font-size:28px;

    font-weight:normal;

}

.process-box p{

    margin:0;

    font-size:20px;

    line-height:1.65;

}

@media(max-width:900px){

.process-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:760px){

.process-grid{

grid-template-columns:1fr;

}

}

/* =====================================================
   PULSANTI INDEX
===================================================== */

.buttons{
  margin-top:35px;
  text-align:center;
}

.buttons a{
  display:inline-block;
  margin:8px;
  padding:12px 26px;
  border:1px solid #8a7665;
  color:#6f5d4f;
  text-decoration:none;
  font-size:18px;
  background:#ffffff;
}

.buttons a:hover{
  background:#8a7665;
  color:#ffffff;
}

/* ===== CONTATTI RESPONSIVE ===== */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    width: 100%;
    min-height: auto;
  }
}


/* =====================================================
   PAGINE DI SOSTEGNO E MODULI
===================================================== */

.support-intro-box,
.contact-intro-box,
.payment-panel {
  background: #ffffff;
  border: 1px solid #d8cfc4;
  padding: 36px;
  margin: 38px 0;
}

.support-intro-box p,
.contact-intro-box p,
.payment-panel p {
  margin-top: 0;
}

.institutional-form {
  background: #ffffff;
  border: 1px solid #d8cfc4;
  padding: 38px;
  margin: 38px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label,
.contact-preferences legend {
  color: #6f5d4f;
  font-size: 19px;
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c8b8a8;
  background: #fdfcf9;
  color: #2b2b2b;
  padding: 13px 14px;
  font-family: Garamond, Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #8a7665;
  box-shadow: 0 0 0 2px rgba(138, 118, 101, 0.12);
}

.contact-preferences {
  border: 0;
  padding: 0;
  margin: 28px 0 20px;
}

.contact-preferences label {
  display: block;
  margin: 11px 0;
  font-size: 18px;
}

.privacy-consent {
  margin: 25px 0;
  font-size: 17px;
  line-height: 1.55;
}

.privacy-consent a {
  color: #6f5d4f;
}

.required-note {
  font-size: 16px;
  margin: 15px 0 0;
}

.form-actions {
  text-align: center;
  margin-top: 25px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin: 38px 0;
}

.payment-card {
  background: #ffffff;
  border: 1px solid #d8cfc4;
  padding: 34px;
  text-align: center;
  min-width: 0;
}

.payment-card h3 {
  margin: 0 0 18px;
  color: #6f5d4f;
  font-size: 28px;
  font-weight: normal;
}

.payment-card p {
  font-size: 19px;
  line-height: 1.6;
}

.bank-data {
  margin: 22px 0;
  font-size: 19px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.bank-data strong {
  color: #6f5d4f;
  font-weight: normal;
}

.confidential-note {
  background: #ffffff;
  border: 1px solid #d8cfc4;
  padding: 28px;
  margin: 35px 0;
  text-align: center;
}

.confidential-note p {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .institutional-form,
  .support-intro-box,
  .contact-intro-box,
  .payment-panel,
  .payment-card {
    padding: 26px 20px;
  }

  .form-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }
}


/* =====================================================
   IMMAGINE EVOCATIVA DELLA PAGINA INIZIALE
===================================================== */

.home-visual {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}

.home-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}