/*
 * Landing Page Styles
 * Sezioni: Hero, Unicusano, Main Text, CTA, Bullet Points, Accordion
 */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700;800&family=Poppins:wght@400;600;700&display=swap");

@font-face {
  font-family: "Bau-Super";
  src: url("../fonts/Bau-Super/Web%20Fonts/0578cb3a985344f2da826d002d7c5e5a.eot");
  src: url("../fonts/Bau-Super/Web%20Fonts/0578cb3a985344f2da826d002d7c5e5a.eot?#iefix") format("embedded-opentype"),
       url("../fonts/Bau-Super/Web%20Fonts/0578cb3a985344f2da826d002d7c5e5a.woff") format("woff"),
       url("../fonts/Bau-Super/Web%20Fonts/0578cb3a985344f2da826d002d7c5e5a.woff2") format("woff2"),
       url("../fonts/Bau-Super/Web%20Fonts/0578cb3a985344f2da826d002d7c5e5a.ttf") format("truetype"),
       url("../fonts/Bau-Super/Web%20Fonts/0578cb3a985344f2da826d002d7c5e5a.svg#Bau-Super") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body.single-landing {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #616161;
  margin: 0;
  padding: 0;
}

body.single-landing h1,
body.single-landing h2 {
  font-family: "Bau-Super", "Archivo", sans-serif;
  color: #040F34;
}

/* Header */
#landing-header {
  background-color: #ffffff;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 100;
  width: 100%;
}

#landing-header .un-landing-header-logo img {
  max-width: 200px;
  height: auto;
  display: inline-block;
}

/* ========== SEZIONE HERO (due colonne: testo bianco sinistra, immagine + badge destra) ========== */
#landing-hero {
  position: relative;
  overflow: hidden;
}

.un-landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.un-landing-hero-col-text {
  background-color: #ffffff;
  padding: 60px 15% 60px 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.un-landing-hero-title {
  font-family: "Bau-Super", "Archivo", sans-serif;
  font-weight: normal;
  font-size: 2.5rem;
  line-height: 1.2;
  color: #040F34;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.un-landing-hero-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  color: #002B7C;
  margin-bottom: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.un-landing-hero-testo {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #616161;
  margin-bottom: 25px;
  line-height: 1.6;
}

.un-landing-hero-link {
  display: inline-block;
  color: #002B7C;
  text-decoration: underline;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.un-landing-hero-link:hover {
  color: #053b8d;
  text-decoration: underline;
}

.un-landing-hero-col-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 400px;
}

/* Overlay centrale: badge + logo MUR */
.un-landing-hero-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.un-landing-hero-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: rotate(-3deg);
  margin-left: 25px;
}

.un-landing-hero-badge {
  display: block;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  max-width: 280px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.un-landing-hero-badge:nth-child(1) {
  margin-left: -15px;
}

.un-landing-hero-badge:nth-child(2) {
  margin-left: 5px;
}

.un-landing-hero-badge:nth-child(3) {
  margin-left: 25px;
}

.un-landing-hero-badge strong {
  color: inherit;
}

.un-landing-hero-mur {
  margin-top: 24px;
}

.un-landing-hero-mur img {
  max-width: 80px;
  height: auto;
  display: block;
}

/* ========== SEZIONE FORM (prima del footer, sfondo #002B7C) ========== */
#landing-form {
  background-color: #002B7C;
  padding: 80px 0;
  position: relative;
}

#landing-form .un-landing-form-container {
  background-color: transparent;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: none;
}

/* Form container base (per compatibilità) */
.un-landing-form-container {
  color: #ffffff;
}

.un-landing-form-container .wpcf7-form {
  color: #ffffff;
}

.un-landing-form-container .wpcf7-form p {
  margin-bottom: 20px;
}

.un-landing-form-container .wpcf7-form label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}

.un-landing-form-container .wpcf7-form input[type="text"],
.un-landing-form-container .wpcf7-form input[type="email"],
.un-landing-form-container .wpcf7-form input[type="tel"],
.un-landing-form-container .wpcf7-form input[type="url"],
.un-landing-form-container .wpcf7-form select,
.un-landing-form-container .wpcf7-form textarea {
  width: 100%;
  padding: 10px 15px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  color: #333333;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

.un-landing-form-container .wpcf7-form select{
  padding: 0px 15px;
}

.un-landing-form-container .wpcf7-form input:focus,
.un-landing-form-container .wpcf7-form select:focus,
.un-landing-form-container .wpcf7-form textarea:focus {
  outline: none;
  border-color: #87a1c8;
}

.un-landing-form-container .wpcf7-form textarea {
  min-height: 100px;
  resize: vertical;
}

.un-landing-form-container .wpcf7-form input[type="submit"],
.un-landing-form-container .wpcf7-form .wpcf7-submit {
  background-color: #fff;
  color: #44b0e5;
  padding: 15px 40px;
  border: none;
  border-radius: 30px !important;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%;
}

.un-landing-form-container .wpcf7-form input[type="submit"]:hover,
.un-landing-form-container .wpcf7-form .wpcf7-submit:hover {
  background-color: #44b0e5;
  color: #fff;
}

.un-landing-form-container .wpcf7-checkbox,
.un-landing-form-container .wpcf7-radio {
  margin: 15px 0;
}

.un-landing-form-container .wpcf7-checkbox label,
.un-landing-form-container .wpcf7-radio label {
  font-weight: 400;
  text-transform: none;
  font-size: 12px;
  line-height: 1.5;
}

.un-landing-form-container .wpcf7-response-output {
  color: #ffffff;
  font-size: 14px;
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
}

.un-landing-form-container .un-field p {
  margin-bottom: 10px;
}

.un-landing-form-container input[type="checkbox"],
.un-landing-form-container .un-radiobox,
.un-landing-form-container .un-checkbox {
  border-radius: 50px;
}

.un-landing-form-container input[type="checkbox"] + span,
.un-landing-form-container .un-radiobox + span,
.un-landing-form-container .un-checkbox + span {
  padding-left: 2px;
  margin-right: 10px;
}

.un-flex.un-flex-center > p {
  width: 100%;
}

.hiddenFields p {
  height: 0;
  overflow: hidden;
}

/* ========== SEZIONE UNICUSANO (card bianca su sfondo grigio) ========== */
#landing-unicusano {
  background-color: #e8e8e8;
  background-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  position: relative;
  clear: both;
}

.un-landing-unicusano-card {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 18px;
  padding: 60px 80px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.un-landing-unicusano-title {
  font-family: "Bau-Super", "Archivo", sans-serif;
  font-weight: normal;
  font-size: 36px;
  color: #040F34;
  margin: 0 0 15px 0;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}

.un-landing-unicusano-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  color: #002B7C;
  line-height: 1.6;
  margin-bottom: 50px;
  text-align: center;
}

.un-landing-unicusano-contenuti {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
}

.un-landing-unicusano-item {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #333333;
  line-height: 1.7;
  text-align: center;
  padding: 0 35px;
}

.un-landing-unicusano-item:not(:first-child) {
  border-left: 1px solid #002B7C;
}

.un-landing-unicusano-item strong {
  font-weight: 700;
  color: #040F34;
}

/* Mantieni .un-landing-section-title e .un-landing-section-subtitle per altre sezioni */
.un-landing-section-title {
  font-family: "Bau-Super", "Archivo", sans-serif;
  font-weight: normal;
  font-size: 36px;
  color: #040F34;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.un-landing-section-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  color: #002B7C;
  line-height: 1.6;
  margin-bottom: 60px;
  text-align: center;
}

/* ========== SEZIONE MAIN TEXT (sfondo bianco, testo allineato a sinistra) ========== */
#landing-main {
  background-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

#landing-main .un-wrap {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.un-landing-main-title {
  font-family: "Bau-Super", "Archivo", sans-serif;
  font-weight: normal;
  font-size: 36px;
  color: #040F34;
  margin: 0 0 20px 0;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: left;
}

.un-landing-main-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #002B7C;
  margin-bottom: 35px;
  line-height: 1.5;
  text-align: left;
}

.un-landing-main-content {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #888888;
  line-height: 1.8;
  text-align: left;
}

.un-landing-main-content p {
  margin-bottom: 24px;
}

.un-landing-main-content p:last-child {
  margin-bottom: 0;
}

.un-landing-main-content strong {
  font-weight: 700;
  color: #040F34;
}

/* ========== SEZIONE CTA (blu scuro, testo bianco sinistra, bottone bianco destra) ========== */
#landing-cta {
  padding: 50px 0;
  position: relative;
  background-color: #040F34;
  background-image: radial-gradient(ellipse 80% 50% at 100% 100%, rgba(0, 43, 124, 0.3) 0%, transparent 60%);
}

.un-landing-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.un-landing-cta-title {
  font-family: "Bau-Super", "Archivo", sans-serif;
  font-weight: normal;
  font-size: 28px;
  color: #ffffff;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: left;
  flex: 1;
  min-width: 200px;
}

.un-landing-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 25px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  text-transform: none;
  transition: opacity 0.3s ease;
  letter-spacing: 0;
  background-color: #ffffff;
  color: #002B7C;
  flex-shrink: 0;
}

.un-landing-cta-button:hover {
  opacity: 0.95;
  text-decoration: none;
  color: #002B7C;
}

.un-landing-cta-button-icon {
  max-height: 35px;
  width: auto;
  position: absolute;
  right: 22px;
  bottom: -5px;
}

/* ========== SEZIONE BULLET POINTS ========== */
#landing-bullet {
  padding: 40px 0;
  position: relative;
}

.un-landing-bullet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.un-landing-bullet-item {
  text-align: center;
}

.un-landing-bullet-icon {
  margin-bottom: 20px;
}

.un-landing-bullet-icon img {
  max-width: 50px;
  height: auto;
  display: inline-block;
}

.un-landing-bullet-title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
  line-height: 1.2;
  color: inherit;
}

.un-landing-bullet-text {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: inherit;
}

/* ========== SEZIONE ACCORDION (tondino +/-, ul espandibile) ========== */
#landing-accordion {
  background-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

#landing-accordion .un-wrap {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.un-landing-accordion-title {
  font-family: "Bau-Super", "Archivo", sans-serif;
  font-weight: normal;
  font-size: 36px;
  color: #040F34;
  margin: 0 0 15px 0;
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
}

.un-landing-accordion-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #002B7C;
  margin-bottom: 25px;
  text-align: left;
  line-height: 1.6;
}

.un-landing-accordion-testo {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #616161;
  margin-bottom: 45px;
  line-height: 1.8;
  text-align: left;
}

.un-landing-accordion-temi {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.un-landing-accordion-tema {
  border-bottom: 1px solid #e0e0e0;
}

.un-landing-accordion-tema:last-child {
  border-bottom: 1px solid #e0e0e0;
}

.un-landing-accordion-tema-head {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 25px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.un-landing-accordion-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 2px solid #002B7C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: #002B7C;
  transition: transform 0.2s ease;
}

.un-landing-accordion-tema-head[aria-expanded="true"] .un-landing-accordion-icon {
  border-color: #002B7C;
  color: #002B7C;
}

.un-landing-accordion-tema-title {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #002B7C;
  line-height: 1.4;
}

.un-landing-accordion-tema-title strong {
  font-weight: 700;
  color: #002B7C;
}

.un-landing-accordion-tema-body {
  overflow: hidden;
}

.un-landing-accordion-tema-body:not([hidden]) {
  padding-bottom: 25px;
}

.un-landing-accordion-tema-info {
  list-style: none;
  padding: 0 0 0 56px;
  margin: 0;
}

.un-landing-accordion-tema-info li {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #616161;
  line-height: 1.6;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.un-landing-accordion-tema-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #002B7C;
}

.un-landing-accordion-tema-info li:last-child {
  margin-bottom: 0;
}

/* ========== FOOTER ========== */
#landing-footer {
  background-color: #ffffff;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
}

.un-landing-footer-content {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #616161;
  text-align: center;
  line-height: 1.5;
}

.un-landing-footer-content a {
  color: #002b7c !important;
}

.un-landing-footer-content a:hover {
  color: #1E93D4 !important;
}

/* ========== CONTATTO AREA (colori #7AC9B0) ========== */
body.un-landing-contatto-area .un-landing-hero-link {
  color: #7AC9B0;
}

body.un-landing-contatto-area .un-landing-hero-link:hover {
  color: #5fb89a;
}

body.un-landing-contatto-area .un-landing-unicusano-item:not(:first-child) {
  border-left-color: #7AC9B0;
}

@media (max-width: 640px) {
  body.un-landing-contatto-area .un-landing-unicusano-item:not(:first-child) {
    border-top-color: #7AC9B0;
  }
}

body.un-landing-contatto-area .un-landing-accordion-icon {
  border-color: #7AC9B0;
  color: #7AC9B0;
}

body.un-landing-contatto-area .un-landing-accordion-tema-head[aria-expanded="true"] .un-landing-accordion-icon {
  border-color: #7AC9B0;
  color: #7AC9B0;
}

body.un-landing-contatto-area .un-landing-accordion-tema-info li::before {
  background-color: #7AC9B0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  #landing-hero {
    display: flex;
    flex-direction: column;
  }

  .un-landing-hero-grid {
    display: contents;
  }

  .un-landing-hero-col-text {
    order: 1;
    padding: 50px 8% 50px 8%;
  }

  .un-landing-hero-overlay {
    position: static;
    transform: none;
    order: 2;
    padding: 0 8% 30px;
    align-items: flex-start;
  }

  .un-landing-hero-col-image {
    order: 3;
    min-height: 350px;
  }

  .un-landing-hero-badges {
    transform: none;
    margin-left: 0;
    align-items: flex-start;
  }

  .un-landing-hero-badge {
    max-width: 240px;
    margin-left: 0 !important;
  }

  .un-landing-hero-mur img {
    max-width: 70px;
  }

  .un-landing-hero-title {
    font-size: 2rem;
  }

  .un-landing-unicusano-card {
    padding: 50px 40px;
  }

  .un-landing-bullet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #landing-unicusano {
    padding: 60px 15px;
  }

  #landing-main .un-wrap {
    padding-left: 30px;
    padding-right: 30px;
  }

  #landing-form {
    padding: 60px 20px;
  }
}

@media (max-width: 640px) {
  .un-landing-hero-col-text {
    padding: 40px 6% 40px 6%;
  }

  .un-landing-hero-overlay {
    padding: 0 6% 25px;
  }

  .un-landing-hero-col-image {
    min-height: 280px;
  }

  .un-landing-hero-badges {
    gap: 8px;
  }

  .un-landing-hero-badge {
    padding: 10px 16px;
    font-size: 11px;
    max-width: 200px;
  }

  .un-landing-hero-mur {
    position: absolute;
    right: 35px;
    margin-top: 0;
  }

  .un-landing-hero-mur img {
    max-width: 140px;
  }
  .un-landing-cta-button-icon {
    max-height: 35px;
    width: auto;
    position: relative;
    right: 0;
    bottom: 0;
  }

  .un-landing-form-container .wpcf7-form select{
    padding: 0px 15px;
  }

  .un-flex {
    display: block!important;  
  }

  .un-landing-hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .un-landing-hero-subtitle,
  .un-landing-hero-testo {
    font-size: 15px;
  }

  .un-landing-unicusano-card {
    padding: 40px 25px;
  }

  .un-landing-unicusano-title,
  .un-landing-section-title,
  .un-landing-main-title,
  .un-landing-accordion-title {
    font-size: 28px;
  }

  .un-landing-unicusano-subtitle {
    margin-bottom: 35px;
  }

  .un-landing-cta-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .un-landing-cta-title {
    text-align: center;
    font-size: 24px;
  }

  .un-landing-unicusano-contenuti {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .un-landing-unicusano-item {
    padding: 25px 15px;
  }

  .un-landing-unicusano-item:not(:first-child) {
    border-left: none;
    border-top: 1px solid #002B7C;
  }

  .un-landing-section-subtitle,
  .un-landing-accordion-subtitle {
    font-size: 16px;
  }

  #landing-main .un-wrap {
    padding-left: 25px;
    padding-right: 25px;
  }

  #landing-main,
  #landing-cta,
  #landing-bullet,
  #landing-accordion {
    padding: 50px 0;
  }

  #landing-form {
    padding: 50px 15px;
  }

  .un-landing-bullet-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .un-landing-cta-button {
    padding: 12px 30px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  #landing-header .un-landing-header-logo img {
    max-width: 150px;
  }

  .un-landing-hero-title {
    font-size: 1.5rem;
  }
}
