/* =============================================
   SERVIZIO CRESCERE - CSS UNIFICATO v2.0
   Homepage ID: 23094
   ============================================= */

/* --- Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* --- Variables --- */
:root {
  --sc-blue: #193A5D;
  --sc-blue-dark: #122a42;
  --sc-teal: #92D0CD;
  --sc-teal-hover: #7abfbc;
  --sc-ice: #f7fafa;
  --sc-white: #ffffff;
  --sc-gray: #4D4D4D;
  --sc-font-heading: "Poppins", sans-serif;
  --sc-font-body: "Open Sans", sans-serif;
  --sc-section-pad: 80px;
  --sc-content-max: 800px;
}

/* --- Base --- */
body.page-id-23094 {
  overflow-x: hidden;
}

body.page-id-23094 .vc_row[data-vc-full-width="true"] {
  overflow: hidden;
}

body.page-id-23094 h1,
body.page-id-23094 h2,
body.page-id-23094 h3,
body.page-id-23094 h4,
body.page-id-23094 h5,
body.page-id-23094 h6 {
  font-family: var(--sc-font-heading);
}

body.page-id-23094 p,
body.page-id-23094 .vc_column_text p {
  font-family: var(--sc-font-body);
}

body.page-id-23094 a {
  color: var(--sc-teal);
}

body.page-id-23094 a:hover {
  color: var(--sc-teal-hover);
}

/* --- Section Spacing (via vc_custom class selectors) --- */
/* Pofo theme does NOT propagate el_class to vc_row <section> elements.
   We use the vc_custom_sc_* classes from the css parameter instead. */

/* Standard sections: 80px */
body.page-id-23094 .vc_custom_sc_chisiamo .vc_column-inner,
body.page-id-23094 .vc_custom_sc_direttrice_bg .vc_column-inner,
body.page-id-23094 .vc_custom_sc_pic_title .vc_column-inner,
body.page-id-23094 .vc_custom_sc_contatti .vc_column-inner {
  padding-top: var(--sc-section-pad) !important;
  padding-bottom: var(--sc-section-pad) !important;
}

/* Section with bottom-close: title + subtitle only */
body.page-id-23094 .vc_custom_sc_services_title .vc_column-inner,
body.page-id-23094 .vc_custom_sc_spec_title .vc_column-inner {
  padding-top: var(--sc-section-pad) !important;
  padding-bottom: 20px !important;
}

/* Hide Pofo page title bar */
body.page-id-23094 .pofo-page-title-bg {
  display: none !important;
}

/* --- Content Width Constraint --- */
body.page-id-23094 .sc-content-narrow {
  max-width: var(--sc-content-max);
  margin-left: auto;
  margin-right: auto;
}

/* --- Section Divider --- */
body.page-id-23094 .sc-divider {
  width: 60px;
  height: 3px;
  margin: 0 auto 30px;
  display: block;
  border: none;
  outline: none;
}

body.page-id-23094 .sc-divider--teal {
  background-color: var(--sc-teal);
}

body.page-id-23094 .sc-divider--blue {
  background-color: var(--sc-blue);
}

/* --- Hero (piu ampio) --- */
body.page-id-23094 .vc_custom_sc_hero_col {
  padding-top: 180px !important;
  padding-bottom: 180px !important;
}

body.page-id-23094 .sc-hero-logo img {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
}

body.page-id-23094 .sc-hero-motto p {
  font-size: 18px;
  font-style: italic;
  opacity: 0.9;
  text-align: center;
  margin: 0;
}

/* --- Service Cards --- */
body.page-id-23094 .sc-card {
  background: var(--sc-white);
  border-radius: 10px;
  padding: 35px 25px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  border-top: 3px solid var(--sc-teal);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

body.page-id-23094 .sc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

body.page-id-23094 .sc-card__icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  display: block;
}

body.page-id-23094 .sc-card--small .sc-card__icon {
  width: 55px;
  height: 55px;
  margin-bottom: 18px;
}

body.page-id-23094 .sc-card h4 {
  color: var(--sc-blue);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 16px;
}

body.page-id-23094 .sc-card p {
  color: var(--sc-gray);
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  margin: 0;
}

body.page-id-23094 .sc-card--small h4 {
  font-size: 15px;
}

body.page-id-23094 .sc-card--small p {
  font-size: 13px;
}

/* Fix WPBakery column bottom margin inside service rows */
body.page-id-23094 .vc_custom_sc_services_r1 .vc_column_container,
body.page-id-23094 .vc_custom_sc_services_r2 .vc_column_container {
  margin-bottom: 0;
}

body.page-id-23094 .vc_custom_sc_services_r1 .wpb_content_element,
body.page-id-23094 .vc_custom_sc_services_r2 .wpb_content_element {
  margin-bottom: 0;
}

/* --- Direttrice Section (legacy inline) --- */
body.page-id-23094 .sc-direttrice-info {
  padding: 20px;
  border-left: 3px solid var(--sc-teal);
  margin-bottom: 20px;
}

body.page-id-23094 .sc-direttrice-info h5 {
  color: var(--sc-teal);
  font-weight: 600;
  margin-bottom: 10px;
}

body.page-id-23094 .sc-direttrice-info p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
}

/* --- Director Card (Specialisti section) --- */
body.page-id-23094 .sc-director {
  background: linear-gradient(135deg, #193A5D 0%, #1e4a73 100%);
  border-radius: 12px;
  padding: 40px 35px;
  color: var(--sc-white);
  position: relative;
  overflow: hidden;
}

body.page-id-23094 .sc-director::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: rgba(146,208,205,0.15);
  border-radius: 50%;
}

body.page-id-23094 .sc-director::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: 40px;
  width: 80px;
  height: 80px;
  background: rgba(146,208,205,0.1);
  border-radius: 50%;
}

body.page-id-23094 .sc-director__header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

body.page-id-23094 .sc-director__avatar {
  width: 80px;
  height: 80px;
  background: var(--sc-teal);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-id-23094 .sc-director__avatar span {
  font-size: 32px;
  font-weight: 700;
  color: var(--sc-blue);
}

body.page-id-23094 .sc-director__header h3 {
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--sc-white);
}

body.page-id-23094 .sc-director__header p {
  color: var(--sc-teal);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

body.page-id-23094 .sc-director__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  position: relative;
  z-index: 1;
}

body.page-id-23094 .sc-director__skill {
  flex: 1 1 calc(50% - 8px);
  min-width: 250px;
  padding: 15px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  border-left: 3px solid var(--sc-teal);
}

body.page-id-23094 .sc-director__skill h6 {
  color: var(--sc-teal);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.page-id-23094 .sc-director__skill p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* --- Steps (Presa in Carico) --- */
body.page-id-23094 .sc-step {
  padding: 18px 20px;
  background: rgba(255,255,255,0.35);
  border-radius: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

body.page-id-23094 .sc-step:last-child {
  margin-bottom: 0;
}

/* Step su sfondo scuro */
body.page-id-23094 .sc-step--dark {
  background: rgba(255,255,255,0.1);
}

body.page-id-23094 .sc-step__number--teal {
  background: var(--sc-teal);
  color: var(--sc-blue);
}

body.page-id-23094 .sc-step__text--light {
  color: #ffffff !important;
}

/* Forza testo bianco in tutta la sezione Presa in Carico */
body.page-id-23094 .vc_custom_sc_steps .sc-step__text {
  color: #ffffff !important;
}

body.page-id-23094 .vc_custom_sc_pic_title .vc_column_text p {
  color: #ffffff !important;
}

body.page-id-23094 .sc-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--sc-blue);
  color: var(--sc-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  margin-right: 15px;
  font-family: var(--sc-font-heading);
}

body.page-id-23094 .sc-step__text {
  font-size: 15px;
  font-weight: 600;
  color: var(--sc-blue);
  font-family: var(--sc-font-body);
}

/* --- Team Cards --- */
body.page-id-23094 .sc-team-card {
  background: var(--sc-ice);
  border-radius: 10px;
  padding: 30px 15px;
  text-align: center;
  border-bottom: 3px solid var(--sc-teal);
  height: 100%;
}

body.page-id-23094 .sc-team-card__avatar {
  width: 55px;
  height: 55px;
  background: var(--sc-teal);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-id-23094 .sc-team-card__avatar span {
  color: var(--sc-blue);
  font-size: 20px;
  font-weight: 700;
  font-family: var(--sc-font-heading);
}

body.page-id-23094 .sc-team-card h5 {
  color: var(--sc-blue);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

body.page-id-23094 .sc-team-card p {
  color: var(--sc-gray);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

/* Fix WPBakery column spacing and centering in team row */
body.page-id-23094 .vc_custom_sc_spec_team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

body.page-id-23094 .vc_custom_sc_spec_team .vc_column_container {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

body.page-id-23094 .vc_custom_sc_spec_team .wpb_content_element {
  margin-bottom: 0;
}

/* --- Contact Icons --- */
body.page-id-23094 .sc-contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(146,208,205,0.2);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--sc-teal);
  font-size: 24px;
  color: var(--sc-teal);
}

body.page-id-23094 .sc-contact-item {
  padding: 25px 15px;
  text-align: center;
}

body.page-id-23094 .sc-contact-item h5 {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--sc-teal);
}

body.page-id-23094 .sc-contact-item p {
  font-size: 16px;
  margin: 0;
  color: var(--sc-white);
}

/* Contatti su sfondo teal */
body.page-id-23094 .sc-contact-item--dark h5 {
  color: var(--sc-blue);
}

body.page-id-23094 .sc-contact-item--dark p {
  color: var(--sc-blue);
}

body.page-id-23094 .sc-contact-icon--dark {
  background: rgba(25,58,93,0.15);
  border-color: var(--sc-blue);
  color: var(--sc-blue);
}

/* --- Centraggio globale --- */
body.page-id-23094 .vc_column_text,
body.page-id-23094 .wpb_text_column {
  margin-left: auto;
  margin-right: auto;
}

body.page-id-23094 .text-center .vc_column-inner .wpb_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.page-id-23094 .text-center .vc_column-inner .wpb_wrapper > * {
  width: 100%;
}

body.page-id-23094 .text-center .vc_custom_heading {
  width: 100%;
}

/* Centraggio logo hero */
body.page-id-23094 .sc-hero-logo .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Centraggio divider */
body.page-id-23094 hr.sc-divider {
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
body.page-id-23094 .sc-footer p {
  font-size: 13px;
  margin: 0;
  opacity: 0.7;
  text-align: center;
}

/* =============================================
   RESPONSIVE - Tablet (768-1024px)
   ============================================= */
@media (max-width: 1024px) {
  body.page-id-23094 .sc-director__skill {
    flex: 1 1 100%;
    min-width: 100%;
  }

  /* Servizi 2a riga: 2 colonne su tablet */
  body.page-id-23094 .vc_custom_sc_services_r2 .vc_column_container {
    width: 50% !important;
  }
}

/* =============================================
   RESPONSIVE - Mobile (<768px)
   ============================================= */
@media (max-width: 767px) {
  /* Section padding ridotto */
  body.page-id-23094 .vc_custom_sc_chisiamo .vc_column-inner,
  body.page-id-23094 .vc_custom_sc_direttrice_bg .vc_column-inner,
  body.page-id-23094 .vc_custom_sc_pic_title .vc_column-inner,
  body.page-id-23094 .vc_custom_sc_contatti .vc_column-inner,
  body.page-id-23094 .vc_custom_sc_services_title .vc_column-inner,
  body.page-id-23094 .vc_custom_sc_spec_title .vc_column-inner {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  /* Hero ridotto su mobile */
  body.page-id-23094 .vc_custom_sc_hero_col {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
  }

  /* Typography */
  body.page-id-23094 h1 { font-size: 28px !important; }
  body.page-id-23094 h2 { font-size: 24px !important; }
  body.page-id-23094 h3 { font-size: 18px !important; }

  body.page-id-23094 .sc-hero-motto p {
    font-size: 15px;
  }

  /* Servizi: full width su mobile */
  body.page-id-23094 .vc_custom_sc_services_r1 .vc_column_container,
  body.page-id-23094 .vc_custom_sc_services_r2 .vc_column_container {
    width: 100% !important;
    padding: 8px 15px !important;
  }

  /* Team: 2 colonne su mobile */
  body.page-id-23094 .vc_custom_sc_spec_team .vc_column_container {
    width: 50% !important;
    margin-bottom: 15px;
  }

  /* Steps: full width */
  body.page-id-23094 .vc_custom_sc_steps .vc_column_container {
    width: 100% !important;
  }

  /* Contatti: stack */
  body.page-id-23094 .vc_custom_sc_contatti .vc_column_inner {
    width: 100% !important;
    margin-bottom: 10px;
  }

  /* Director card padding */
  body.page-id-23094 .sc-director {
    padding: 30px 20px;
  }

  /* Direttrice sezione: stack colonne */
  body.page-id-23094 .vc_custom_sc_direttrice_bg .vc_column_inner {
    width: 100% !important;
  }

  /* Steps padding ridotto */
  body.page-id-23094 .vc_custom_sc_steps .vc_column-inner {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* =============================================
   RESPONSIVE - Small Mobile (<480px)
   ============================================= */
@media (max-width: 480px) {
  body.page-id-23094 h1 { font-size: 24px !important; }
  body.page-id-23094 h3 { font-size: 16px !important; }

  body.page-id-23094 .vc_custom_sc_hero_col {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }

  body.page-id-23094 .sc-hero-logo img {
    max-width: 180px;
  }

  /* Team: 1 colonna */
  body.page-id-23094 .vc_custom_sc_spec_team .vc_column_container {
    width: 100% !important;
  }

  body.page-id-23094 .sc-card {
    padding: 25px 18px;
  }

  body.page-id-23094 .sc-step {
    padding: 14px 16px;
  }

  body.page-id-23094 .sc-step__text {
    font-size: 14px;
  }
}

/* --- Google Maps responsive --- */
body.page-id-23094 iframe[src*="google.com/maps"] {
  width: 100%;
  min-height: 400px;
}
