/*==================================================
  ALA NEXT - SAFEGUARDING
==================================================*/

:root {
  --ala-blue: #143a5a;
  --ala-magenta: #d6007f;
  --ala-text: #5f6c7b;
  --ala-light: #f7f9fc;
  --ala-border: #e7edf4;
}

/*==================================================
  GENERALE
==================================================*/

.sg-hero,
.sg-about {
  padding: 100px 0;
}

.section-heading {
  max-width: 760px;

  margin: 0 auto 70px;

  text-align: center;
}

.section-tag {
  display: inline-block;

  padding: 10px 22px;

  border-radius: 999px;

  background: #f8eaf2;

  color: var(--ala-magenta);

  font-size: 0.82rem;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 4vw, 3.3rem);

  color: var(--ala-blue);

  margin-bottom: 24px;
}

.section-heading p {
  color: var(--ala-text);

  line-height: 1.9;

  font-size: 1.08rem;
}

/*==================================================
  HERO
==================================================*/

.sg-hero {
  position: relative;

  overflow: hidden;

  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 70%);
}

.sg-hero::before {
  content: "";

  position: absolute;

  width: 550px;

  height: 550px;

  top: -220px;

  right: -220px;

  border-radius: 50%;

  background: rgba(214, 0, 127, 0.05);
}

.sg-hero-grid {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 80px;

  align-items: center;
}

.sg-breadcrumb {
  margin-bottom: 30px;
}

.sg-badge {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 10px 20px;

  border-radius: 999px;

  background: #f8eaf2;

  color: var(--ala-magenta);

  font-weight: 700;

  text-transform: uppercase;

  font-size: 0.82rem;

  letter-spacing: 0.08em;

  margin-bottom: 28px;
}

.sg-hero h1 {
  color: var(--ala-blue);

  font-size: clamp(3rem, 5vw, 4.6rem);

  line-height: 1.05;

  margin-bottom: 28px;
}

.sg-hero p {
  color: var(--ala-text);

  font-size: 1.1rem;

  line-height: 1.9;

  margin-bottom: 38px;
}

.sg-hero-image {
  display: flex;

  justify-content: flex-end;
}

.sg-hero-image img {
  width: 100%;

  max-width: 460px;

  border-radius: 28px;

  display: block;

  object-fit: cover;

  box-shadow: 0 25px 60px rgba(20, 58, 90, 0.15);

  transition: 0.4s;
}

.sg-hero-image img:hover {
  transform: scale(1.02);
}

/*==================================================
  ABOUT
==================================================*/

.sg-about {
  background: var(--ala-light);
}

.sg-about-grid {
  display: grid;

  grid-template-columns: 1.5fr 0.9fr;

  gap: 70px;

  align-items: start;
}

.sg-about-text p {
  color: var(--ala-text);

  line-height: 2;

  margin-bottom: 28px;

  font-size: 1.05rem;
}

.sg-about-card {
  background: #fff;

  border: 1px solid var(--ala-border);

  border-radius: 24px;

  padding: 36px;

  position: sticky;

  top: 110px;

  box-shadow: 0 15px 35px rgba(20, 58, 90, 0.05);
}

.sg-about-card h3 {
  color: var(--ala-blue);

  margin-bottom: 28px;
}

.sg-about-card ul {
  list-style: none;

  padding: 0;

  margin: 0;
}

.sg-about-card li {
  display: flex;

  align-items: center;

  gap: 14px;

  padding: 16px 0;

  border-bottom: 1px solid var(--ala-border);

  color: #4e5a67;
}

.sg-about-card li:last-child {
  border: none;
}

.sg-about-card i {
  color: #17a45b;
}

/*==================================================
  RESPONSIVE
==================================================*/

@media (max-width: 992px) {
  .documents-grid {
    grid-template-columns: 1fr;
  }

  .responsabile-card {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .sg-hero-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .sg-hero-image {
    order: -1;
  }

  .sg-about-grid {
    grid-template-columns: 1fr;
  }
}

.sg-breadcrumb {
  margin-bottom: 30px;

  font-size: 0.95rem;

  color: #7a8795;
}

.sg-breadcrumb a {
  color: var(--ala-blue);

  text-decoration: none;
}

.sg-breadcrumb span {
  margin: 0 6px;
}

.documents {
  padding: 110px 0;
}

.documents-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 32px;
}

.document-card {
  display: flex;

  flex-direction: column;

  padding: 36px;

  border-radius: 24px;

  background: #fff;

  border: 1px solid #e7edf4;

  transition: 0.3s;
}

.document-card:hover {
  transform: translateY(-10px);

  border-color: #d6007f;

  box-shadow: 0 25px 60px rgba(20, 58, 90, 0.12);
}

/*==================================================
DOCUMENTI
==================================================*/

.documents {
  padding: 100px 0;

  background: #ffffff;
}

.documents-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 32px;

  margin-top: 60px;
}

.document-card {
  background: #fff;

  border: 1px solid #e6edf5;

  border-radius: 24px;

  padding: 38px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  transition: 0.3s;

  box-shadow: 0 10px 30px rgba(20, 58, 90, 0.04);
}

.document-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 20px 45px rgba(20, 58, 90, 0.08);
}

.document-icon {
  width: 82px;

  height: 82px;

  border-radius: 22px;

  font-size: 34px;

  background: linear-gradient(135deg, #d6007f, #b4006c);

  color: #fff;
}

.document-card h3 {
  color: #143a5a;

  margin-bottom: 15px;

  font-size: 1.35rem;
}

.document-card p {
  color: #6b7280;

  line-height: 1.8;

  flex: 1;

  margin-bottom: 30px;
}

.document-card .button {
  width: 100%;

  min-height: 54px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 700;
}

/*==================================================
RESPONSABILE
==================================================*/

.responsabile {
  padding: 100px 0;

  background: #f7f9fc;
}

.responsabile-card {
  max-width: 700px;

  margin: 60px auto 0;

  background: #fff;

  border-radius: 28px;

  padding: 50px;

  text-align: center;

  border: 1px solid #e6edf5;

  box-shadow: 0 15px 35px rgba(20, 58, 90, 0.05);
}

.responsabile-icon {
  width: 90px;

  height: 90px;

  margin: 0 auto 30px;

  border-radius: 50%;

  background: #143a5a;

  color: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 36px;
}

.responsabile-card h3 {
  color: #143a5a;

  margin-bottom: 8px;
}

.role {
  color: #d6007f;

  font-weight: 600;

  margin-bottom: 35px;
}

.responsabile-info {
  margin-bottom: 35px;
}

.responsabile-info p {
  margin: 12px 0;

  color: #5f6c7b;

  font-size: 1.05rem;
}

.responsabile-info i {
  color: #d6007f;

  width: 25px;
}

.document-card {
  position: relative;
}

.document-type {
  position: absolute;

  top: 22px;

  right: 22px;

  background: #143a5a;

  color: #fff;

  font-size: 0.72rem;

  font-weight: 700;

  padding: 6px 12px;

  border-radius: 50px;

  letter-spacing: 0.08em;
}

.fade-up {
  opacity: 0;

  transform: translateY(40px);

  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;

  transform: none;
}

.documents-grid,
.report-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 30px;

  margin-top: 50px;
}

.doc-card,
.report-grid div,
.responsabile-card {
  background: #fff;

  padding: 35px;

  border-radius: 18px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: 0.3s;
}

.doc-card:hover,
.report-grid div:hover,
.responsabile-card:hover {
  transform: translateY(-8px);
}

.doc-card {
  text-decoration: none;

  text-align: center;

  color: #143a5a;
}

.doc-card i {
  font-size: 46px;

  color: #d6007f;

  margin-bottom: 20px;
}

.responsabile {
  padding: 90px 0;

  background: #f7f9fc;
}

.responsabile-card {
  display: flex;

  gap: 30px;

  align-items: center;

  max-width: 850px;

  margin: auto;
}

.avatar {
  width: 90px;

  height: 90px;

  border-radius: 50%;

  background: #143a5a;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 38px;

  color: white;
}

.report {
  padding: 90px 0;
}

.cta-safeguarding {
  padding: 90px 0;

  background: #143a5a;

  text-align: center;

  color: white;
}

.cta-safeguarding h2 {
  color: white;

  margin-bottom: 20px;
}

.cta-safeguarding p {
  max-width: 700px;

  margin: auto;

  opacity: 0.9;
}

/* ==========================================
   CHIUSURA PAGINA
========================================== */

.sg-closing {
  padding: 90px 20px;

  background: #143a5a;

  color: #fff;

  text-align: center;
}

.sg-closing i {
  font-size: 52px;

  color: #d6007f;

  margin-bottom: 25px;
}

.sg-closing h2 {
  color: #fff;

  margin-bottom: 20px;
}

.sg-closing p {
  max-width: 760px;

  margin: auto;

  line-height: 1.8;

  opacity: 0.9;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  z-index: 9999;
}
