/* ============================================================
   SOL SRL – style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;700&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
  /* Colori settore */
  --imprese:        #0189a0;   /* tutto ciò che riguarda le imprese */
  --imprese-light:  #d0eef2;
  --enti:           #085ea1;   /* tutto ciò che riguarda gli enti */
  --enti-light:     #d0e3f4;
  --misto:          #007b90;   /* sezioni miste / nav / footer / CTA generiche */
  --misto-light:    #cce8ec;

  /* Gradienti brand (usati in "Perché scegliere" e footer) */
  --grad-start:     #0d94a7;   /* teal caldo (sinistra/alto) */
  --grad-mid:       #0f6d8c;   /* teal-blu intermedio */
  --grad-end:       #0d3d5f;   /* blu navy scuro (destra/basso) */

  /* Testi */
  --text:           #666666;
  --text-dark:      #333333;
  --text-nav:       #666666;
  --white:          #ffffff;

  --font:           'Lato', sans-serif;
  --max-w:          1280px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); font-size: 15px; line-height: 1.65; font-weight: 400; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Container ───────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 60px; }

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e8e8e8;
}
.header-inner {
  max-width: 100%;
  padding: 16px 60px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
}
.logo-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.logo-wrap img { height: 72px; width: auto; }
.logo-tagline { font-size: 12.5px; color: var(--text-nav); font-weight: 400; margin-top: 2px; }

.main-nav { display: flex; align-items: center; padding-top: 20px; }
.main-nav ul { display: flex; gap: 40px; align-items: center; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--text-nav);
  transition: color 0.2s;
  text-align: center;
  display: block;
  line-height: 1.3;
}
.main-nav a:hover { color: var(--misto); }
/* Active: imprese = teal, enti = blu, altre = misto */
.main-nav a.active { color: var(--misto); font-weight: 600; }
.main-nav a.active-imprese { color: var(--imprese); font-weight: 600; }
.main-nav a.active-enti { color: var(--enti); font-weight: 600; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--misto); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* ── PAGE HEADER BOX (sostituisce service-banner per pagine macro) ── */
.page-header-box {
  background: var(--misto);
  padding: 20px 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}
.page-header-box.imprese { background: var(--imprese); }
.page-header-box.enti    { background: var(--enti); }
.page-header-box img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.page-header-box h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── SERVICE BANNER (usato per sotto-pagine servizi singoli) ── */
.service-banner {
    background: var(--imprese-light);
    padding: 12px 0;
    width: fit-content;
    position: absolute;
    border-bottom-right-radius: 26px;
}
.service-banner.enti { background: var(--enti-light); }
.banner-inner { max-width: var(--max-w); padding: 0 60px; display: flex; align-items: center; gap: 14px; }
.banner-inner img { height: 44px; width: auto; }
.banner-inner h2 { font-size: 16px; font-weight: 600; color: var(--text-dark); letter-spacing: 0.04em; text-transform: uppercase; }

/* ── HOMEPAGE HERO ───────────────────────────────────────── */
.hero-home { display: grid; grid-template-columns: 0.6fr 1fr; min-height: 78vh; overflow: hidden; }
.hero-home-text { padding: 64px 60px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.hero-tagline { font-size: 22px; font-weight: 400; color: var(--text); margin-bottom: 28px; line-height: 1.4; }
.hero-home-text h1 { font-size: 36px; font-weight: 400; color: var(--text-dark); line-height: 1.3; margin-bottom: 20px; }
.hero-home-text p { font-size: 14px; color: var(--text); margin-bottom: 32px; max-width: 440px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────────────────── */
/* Generico / misto */
.btn-primary {
  display: inline-block; padding: 12px 28px;
  background: var(--misto); color: var(--white);
  border: 2px solid var(--misto); border-radius: 4px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }

/* Imprese */
.btn-imprese {
  display: inline-block; padding: 12px 28px;
  background: var(--imprese); color: var(--white);
  border: 2px solid var(--imprese); border-radius: 4px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s;
}
.btn-imprese:hover { opacity: 0.88; }

/* Enti */
.btn-enti {
  display: inline-block; padding: 12px 28px;
  background: var(--enti); color: var(--white);
  border: 2px solid var(--enti); border-radius: 4px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s;
}
.btn-enti:hover { opacity: 0.88; }

/* Outline generico */
.btn-outline {
  display: inline-block; padding: 12px 28px;
  background: transparent; color: var(--misto);
  border: 2px solid var(--misto); border-radius: 4px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--misto); color: var(--white); }

/* Outline imprese */
.btn-outline-imprese {
  display: inline-block; padding: 12px 28px;
  background: transparent; color: var(--imprese);
  border: 2px solid var(--imprese); border-radius: 4px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn-outline-imprese:hover { background: var(--imprese); color: var(--white); }

/* Outline enti */
.btn-outline-enti {
  display: inline-block; padding: 12px 28px;
  background: transparent; color: var(--enti);
  border: 2px solid var(--enti); border-radius: 4px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn-outline-enti:hover { background: var(--enti); color: var(--white); }

.hero-home-image { position: relative; overflow: hidden; }
.hero-home-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ── HERO OVERVIEW ────────────────────────────────────────── */
.hero-overview { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; overflow: hidden; }
.hero-overview-text { padding: 50px 60px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.hero-overview-text h1 { font-size: 30px; font-weight: 400; color: var(--text-dark); margin-bottom: 18px; line-height: 1.35; }
.hero-overview-text > p { font-size: 14px; color: var(--text); line-height: 1.75; margin-bottom: 20px; }
.hero-bullet-list { margin: 4px 0 24px 0; display: flex; flex-direction: column; gap: 8px; }
.hero-bullet-list li { font-size: 14px; color: var(--text); padding-left: 20px; position: relative; line-height: 1.5; }
.hero-bullet-list li::before { content: '•'; position: absolute; left: 0; color: var(--imprese); font-size: 16px; }
.hero-bullet-list.enti li::before { color: var(--enti); }
.hero-overview-image { overflow: hidden; }
.hero-overview-image img { width: 100%; height: 73vh; object-fit: cover; object-position: center; }

/* ── HERO SERVICE SUB-PAGE ───────────────────────────────── */
.hero-service { align-items: center; display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; overflow: hidden; background: var(--white); }
.hero-service-text { padding: 48px 60px; display: flex; flex-direction: column; justify-content: center; }
.hero-service-text h1 { font-size: 30px; font-weight: 400; color: var(--text-dark); margin-bottom: 16px; line-height: 1.35; }
.hero-service-text p { font-size: 14px; color: var(--text); line-height: 1.75; margin-bottom: 24px; font-weight: 400; }
.link-cta { display: inline-block; font-size: 13.5px; color: var(--imprese); border: 1.5px solid var(--imprese); padding: 9px 20px; border-radius: 4px; font-weight: 600; align-self: flex-start; transition: background 0.2s, color 0.2s; }
.link-cta:hover { background: var(--imprese); color: var(--white); }
.link-cta.enti { color: var(--enti); border-color: var(--enti); }
.link-cta.enti:hover { background: var(--enti); color: var(--white); }
.link-cta.misto { color: var(--misto); border-color: var(--misto); }
.link-cta.misto:hover { background: var(--misto); color: var(--white); }
.hero-service-icon { height: 60%; display: flex; align-items: center; justify-content: center; background: var(--imprese-light); padding: 40px; border-radius: 60px 0 0 60px; }
.hero-service-icon.enti { background: var(--enti-light); }
.hero-service-icon img { max-width: 240px; max-height: 240px; width: auto; height: auto; object-fit: contain; }

/* ── A CHI SI RIVOLGE (homepage two cards) ───────────────── */
.achi-home { background: var(--misto-light); padding: 60px 0; }
.achi-home h2 { text-align: center; font-size: 26px; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; }
.achi-home > .container > p { text-align: center; font-size: 14.5px; color: var(--text); margin-bottom: 36px; line-height: 1.7; }
.achi-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Card imprese */
.achi-card { background: var(--white); border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.achi-card.imprese { border-color: var(--imprese); }
.achi-card.enti    { border-color: var(--enti); }
.achi-card-header { background: var(--white); padding: 20px 24px 20px 0; display: flex; align-items: center; gap: 0; }

.achi-card-ribbon {
  width: 130px;
  height: 80px;
  min-width: 92px;
  background: var(--imprese);
  clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 14px;
}
.achi-card-ribbon.enti { background: var(--enti); }
.achi-card-ribbon img { height: 60px; width: auto; filter: brightness(0) invert(1); }

.achi-card-header h3 { font-size: 16px; font-weight: 600; color: var(--imprese); line-height: 1.3; margin-left: 14px; }
.achi-card-header.enti h3 { color: var(--enti); }
.achi-card-body { padding: 24px; }
.achi-card-body p { font-size: 13.5px; color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.achi-icon-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.achi-icon-row-single { display: flex; justify-content: center; margin-bottom: 18px; }
.achi-icon-row-single .achi-icon-item { max-width: 48%; }
.achi-icon-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.achi-icon-item img { height: 80px; width: auto; }
.achi-icon-item span { font-size: 12px; color: var(--text); line-height: 1.35; }
.achi-card-link { font-size: 13px; color: var(--imprese); font-weight: 600; display: inline-block; margin-top: 4px; }
.achi-card-link.enti { color: var(--enti); }
.achi-card-link:hover { text-decoration: underline; }

/* ── CTA LINK INSIDE BOX (centrato) ─────────────────────── */
.achi-card-cta { text-align: left; margin-top: 10px; }
.achi-card-cta a {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--imprese);
  transition: opacity 0.2s;
}
.achi-card-cta a:hover { opacity: 0.75; text-decoration: underline; }
.achi-card-cta.enti a { color: var(--enti); }

/* ── A CHI SI RIVOLGE (service sub-pages) ────────────────── */
.achi-section { background: var(--imprese-light); padding: 44px 0; }
.achi-section.enti { background: var(--enti-light); }
.achi-section h2 { font-size: 22px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.achi-section p { font-size: 14px; color: var(--text); line-height: 1.75; max-width: 860px; }

/* ── COSA FACCIAMO / COME FUNZIONA ───────────────────────── */
.cosa-come { background: var(--white); padding: 56px 0; }
.cosa-come .container { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cosa-col, .come-col { border: 1.5px solid var(--imprese-light); border-radius: 14px; overflow: hidden; }
.cosa-col.enti, .come-col.enti { border-color: var(--enti-light); }
.cosa-col h3, .come-col h3 { font-size: 16px; font-weight: 600; color: var(--white); background: var(--imprese); padding: 14px 22px; margin-bottom: 0; }
.cosa-col h3.enti, .come-col h3.enti { background: var(--enti); }
.cosa-list { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.cosa-item { display: flex; gap: 14px; align-items: flex-start; }
.cosa-num { width: 28px; height: 28px; min-width: 28px; background: var(--imprese); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; margin-top: 1px; }
.cosa-num.enti { background: var(--enti); }
.cosa-item p { font-size: 13.5px; color: var(--text); line-height: 1.6; }
.come-list { display: flex; flex-direction: column; gap: 16px; padding: 22px; }
.come-item { display: flex; flex-direction: column; gap: 4px; }
.come-item h4 { font-size: 14px; font-weight: 600; font-style: italic; color: var(--imprese); margin-bottom: 2px; }
.come-item h4.enti { color: var(--enti); }
.come-item p { font-size: 13px; color: var(--text); line-height: 1.6; }

/* ── VANTAGGI ────────────────────────────────────────────── */
.vantaggi { background: var(--white); padding: 48px 0; }
.vantaggi .container { background: var(--imprese-light); border-radius: 22px; padding: 36px 40px; }
.vantaggi.enti .container { background: var(--enti-light); }
.vantaggi h2 { font-size: 20px; font-weight: 600; color: var(--text-dark); margin-bottom: 28px; text-align: center; }
.vantaggi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vantaggio-card { background: transparent; box-shadow: none; padding: 16px 10px; text-align: center; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.vantaggio-card img { display: block; width: 76px; height: 76px; object-fit: contain; padding: 14px; margin: 0 auto 14px; }
.circle-vantaggio { width: fit-content; border-radius: 50%; background: white; }
.vantaggio-card p { font-size: 13px; color: var(--text); line-height: 1.55; }

/* ── PERCHÉ SCEGLIERE (homepage) ─────────────────────────── */
.perche {
  background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-mid) 55%, var(--grad-end) 100%);
  padding: 0;
  overflow: hidden;
}
.perche .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.perche-text h2 { font-size: 24px; font-weight: 600; color: var(--white); margin-bottom: 18px; }
.perche-text > p { font-size: 14px; color: rgba(255,255,255,0.88); line-height: 1.75; margin-bottom: 36px; text-align:center; }
.perche-text { padding: 60px 0; display: flex; flex-direction: column; justify-content: center; align-items:center; }
.perche-icons { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.perche-icon-item { text-align: center; }
.perche-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.perche-icon-wrap img { height: 42px; width: auto; }
.perche-icon-item h4 { font-size: 13.5px; font-weight: 600; color: var(--white); margin-bottom: 6px; line-height: 1.3; }
.perche-icon-item p { font-size: 12px; color: rgba(255,255,255,0.78); line-height: 1.55; }
/* Foto più grande e con più senso */
.perche-photo { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.perche-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: top center; }

/* ── COME LAVORIAMO (homepage) ───────────────────────────── */
.come-lavoriamo { background: var(--white); padding: 70px 0; }
.come-lavoriamo h2 { text-align: center; font-size: 26px; font-weight: 600; color: var(--misto); margin-bottom: 10px; }
.come-lavoriamo > .container > .sub { text-align: center; font-size: 14.5px; color: var(--text); margin-bottom: 50px; }
.come-3step-image { width: 100%; max-width: 860px; margin: 0 auto 36px; display: block; }
.come-3step-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 860px; margin: 0 auto; text-align: center; }
.step-label h3 { font-size: 15px; font-weight: 600; color: var(--misto); margin-bottom: 8px; }
.step-label p { font-size: 13px; color: var(--text); line-height: 1.6; }
/* icone 3 step: riduco peso visivo */
.come-3step-image { opacity: 0.92; }

/* ── CHI È SOL (homepage) ────────────────────────────────── */
.chi-sol-home { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; overflow: hidden; }
.chi-sol-home-image { overflow: hidden; max-height: 800px; }
.chi-sol-home-image img { width: 100%; max-height: 800px; object-fit: cover; object-position: center top; }
.chi-sol-home-text { background: var(--enti-light); padding: 50px 60px; display: flex; flex-direction: column; justify-content: center; }
.chi-sol-home-text h2 { font-size: 22px; font-weight: 600; color: var(--text-dark); margin-bottom: 16px; }
.chi-sol-home-text p { font-size: 14px; color: var(--text); line-height: 1.75; margin-bottom: 24px; }

/* ── CTA SECTIONS ────────────────────────────────────────── */
.cta-section { background: var(--white); padding: 68px 0; text-align: center; }
.cta-section h2 { font-size: 28px; font-weight: 600; color: var(--misto); margin-bottom: 14px; line-height: 1.3; }
.cta-section p { font-size: 14.5px; color: var(--text); margin-bottom: 32px; max-width: 680px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── CHI SIAMO PAGE ──────────────────────────────────────── */
.chi-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 73vh; overflow: hidden; }
.chi-hero-text { padding: 52px 60px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.chi-hero-text h1 { font-size: 30px; font-weight: 400; color: var(--text-dark); margin-bottom: 16px; }
.chi-hero-text p { font-size: 14px; color: var(--text); line-height: 1.8; }
/* Immagine ritagliata e proporzionata */
.chi-hero-image { overflow: hidden; max-height: 73vh; }
.chi-hero-image img { width: 100%; height: 73vh; object-fit: cover; object-position: center top; }

.chi-identita-approccio { background: var(--misto-light); padding: 60px 0; }
.chi-identita-approccio .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

/* Titoli identità e approccio più grandi */
.identita-col h2, .approccio-col h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
/* Icona accanto a La nostra identità più grande */
.identita-col h2 img { height: 42px; }
.approccio-col h2 img { height: 28px; }

.identita-col p { font-size: 14px; color: var(--text); line-height: 1.8; margin-bottom: 14px; }
.identita-col p strong { font-weight: 600; }

.approccio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.approccio-card { background: var(--white); border-radius: 8px; padding: 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.approccio-card img { height: 90px; margin-bottom: 12px; }
.approccio-card h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.approccio-card p { font-size: 12.5px; color: var(--text); line-height: 1.55; }

.perche-lavorare { background: var(--white); padding: 54px 0; }
.perche-lavorare h2 { font-size: 22px; font-weight: 600; color: var(--text-dark); margin-bottom: 32px; }
.perche-lavorare-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.perche-lavorare .vantaggio-card { background: var(--enti-light); border-radius: 10px; padding: 28px 20px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.perche-lavorare .vantaggio-card img { display: block; width: 75px; height: 75px; object-fit: contain; background: transparent; border-radius: 0; padding: 0; margin: 0 auto 14px; }

/* A chi ci rivolgiamo – colori corretti */
.achi-ci-rivolgiamo { padding: 54px 0; background: var(--white); }
.achi-ci-rivolgiamo h2 { font-size: 22px; font-weight: 600; color: var(--text-dark); margin-bottom: 28px; }
.achi-ci-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.achi-ci-card { border: 1.5px solid var(--imprese); border-radius: 8px; padding: 28px; }
.achi-ci-card.enti { border-color: var(--enti); }
.achi-ci-card h3 { font-size: 17px; font-weight: 600; color: var(--imprese); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.achi-ci-card.enti h3 { color: var(--enti); }
.achi-ci-card h3 img { height: 55px; }
.achi-ci-card p { font-size: 13.5px; color: var(--text); line-height: 1.7; margin-bottom: 14px; }
.achi-ci-card a { font-size: 13px; color: var(--imprese); font-weight: 600; }
.achi-ci-card.enti a { color: var(--enti); }
.achi-ci-card a:hover { text-decoration: underline; }

/* ── OVERVIEW: Mappa servizi ─────────────────────────────── */
.mappa-servizi { background: var(--imprese-light); padding: 60px 0; }
.mappa-servizi.enti-bg { background: var(--enti-light); }

/* Titolo "Mappa dei servizi" – peso maggiore */
.mappa-servizi .mappa-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--imprese);
  margin-bottom: 12px;
  text-align: center;
}
.mappa-servizi.enti-bg .mappa-title { color: var(--enti); }

/* Titolo successivo (es. "Lavorare con la PA") – centrato, più piccolo */
.mappa-servizi > .container > p { font-size: 14px; color: var(--text); line-height: 1.75; margin-bottom: 40px; text-align: center; }

.mappa-area { margin-bottom: 50px; }
.mappa-area h3 { font-size: 19px; font-weight: 600; color: var(--imprese); margin-bottom: 10px; padding-bottom: 10px; text-align: center; }
.mappa-area h3.enti-area { color: var(--enti); border-bottom-color: var(--enti-light); }
.mappa-area > p { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 24px; text-align: center; }

.mappa-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mappa-card { border: 1.5px solid var(--imprese); border-radius: 8px; padding: 24px; background: var(--white); display: flex; flex-direction: column; }
.mappa-card.enti-card { border-color: var(--enti); }
.mappa-card h4 { font-size: 15.5px; font-weight: 600; color: var(--imprese); margin-bottom: 10px; }
.mappa-card.enti-card h4 { color: var(--enti); }
.mappa-card p { font-size: 13.5px; color: var(--text); line-height: 1.7; flex: 1; }
/* CTA dentro mappa-card centrata */
.mappa-card .achi-card-link {
  margin-top: 16px;
  text-align: center;
  display: block;
  padding: 8px 16px;
  border: 1.5px solid var(--imprese);
  border-radius: 4px;
  color: var(--imprese);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.mappa-card .achi-card-link:hover { background: var(--imprese); color: var(--white); text-decoration: none; }
.mappa-card.enti-card .achi-card-link { border-color: var(--enti); color: var(--enti); }
.mappa-card.enti-card .achi-card-link:hover { background: var(--enti); color: var(--white); }

.container-title-card { display: flex; align-items: center; gap: 10px; }
.container-title-card img { width: 110px; }

/* ── CONTATTI PAGE ───────────────────────────────────────── */
.contatti-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 73vh; overflow: hidden; }
.contatti-hero-text { padding: 52px 60px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.contatti-hero-text h1 { font-size: 30px; font-weight: 400; color: var(--text-dark); margin-bottom: 16px; }
.contatti-hero-text p { font-size: 14px; color: var(--text); line-height: 1.8; margin-bottom: 10px; }
.contatti-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Come possiamo aiutarti – bordo misto */
.come-aiutare { background: var(--misto-light); padding: 56px 0; }
.come-aiutare h2 { text-align: center; font-size: 26px; font-weight: 600; color: var(--text-dark); margin-bottom: 36px; }
.come-aiutare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.aiutare-card {
  text-align: center;
  border: 2px solid var(--misto);
  padding: 24px 16px;
  border-radius: 10px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Contenitore icona per "Scegli percorso" */
.aiutare-card .icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--misto-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.aiutare-card img { height: 40px; margin: 0; }
.aiutare-card h3 { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; }
.aiutare-card p { font-size: 13.5px; color: var(--text); line-height: 1.65; }

/* Scegli il percorso */
.scegli-percorso { background: var(--misto-light); padding: 56px 0; }
.scegli-percorso h2 { text-align: center; font-size: 24px; font-weight: 600; color: var(--text-dark); margin-bottom: 32px; }
.scegli-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.scegli-card { background: var(--white); border-radius: 8px; padding: 32px; border: 2px solid var(--misto-light); box-shadow: 0 2px 12px rgba(0,0,0,0.06); overflow: hidden; }
.scegli-card.imprese { border-color: var(--imprese); }
.scegli-card.enti    { border-color: var(--enti); }
.scegli-card h3 { font-size: 18px; font-weight: 600; color: var(--imprese); display: flex; align-items: center; gap: 14px; margin: 0 0 14px -32px; }
.scegli-card.enti h3 { color: var(--enti); }
/* Contenitore icona nelle scegli-card */
.scegli-card h3 .icon-badge {
  width: 70px; height: 60px;
  border-radius: 0px;
  background: var(--imprese-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.scegli-card.enti h3 .icon-badge { background: var(--enti); }
.scegli-card h3 img { height: 45px; }
.scegli-card p { font-size: 13.5px; color: var(--text); line-height: 1.7; margin-bottom: 14px; }
.scegli-card ul { display: flex; flex-direction: column; gap: 6px; }
.scegli-card ul li { font-size: 13px; color: var(--text); padding-left: 16px; position: relative; }
.scegli-card ul li::before { content: '•'; position: absolute; left: 0; color: var(--imprese); }
.scegli-card.enti ul li::before { color: var(--enti); }

/* Contatti diretti */
.contatti-diretti { background: var(--white); padding: 56px 0; }
.contatti-diretti h2 { text-align: center; font-size: 26px; font-weight: 600; color: var(--text-dark); margin-bottom: 36px; }
.contatti-diretti-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.contatto-card { background: var(--white); border: 2px solid var(--misto); border-radius: 10px; padding: 32px 24px; text-align: center; }
.contatto-card img { height: 48px; margin: 0 auto 14px; }
.contatto-card h3 { font-size: 17px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.contatto-card .value { font-size: 16px; font-weight: 600; color: var(--misto); margin-bottom: 4px; }
.contatto-card .sub { font-size: 12.5px; color: var(--text); margin-bottom: 14px; }
.contatto-card .addr { font-size: 13.5px; color: var(--text); line-height: 1.6; margin-bottom: 14px; }
.contatto-btn { display: inline-block; padding: 9px 22px; border: 1.5px solid var(--misto); border-radius: 4px; font-size: 13px; font-weight: 600; color: var(--misto); transition: background 0.2s, color 0.2s; }
.contatto-btn:hover { background: var(--misto); color: var(--white); }

/* Form section */
.form-section { background: var(--misto-light); padding: 56px 0; }
.form-section .container { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: start; }
.form-section h2 { font-size: 22px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.form-section > .container > .form-left > p { font-size: 13.5px; color: var(--text); line-height: 1.7; margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12.5px; font-weight: 600; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea { padding: 10px 14px; border: 1px solid #bcd5da; border-radius: 4px; font-family: var(--font); font-size: 13.5px; color: var(--text-dark); background: var(--white); outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--misto); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--text); line-height: 1.5; }
.form-check input[type=checkbox] { margin-top: 2px; }
.btn-submit { align-self: flex-start; padding: 12px 34px; background: var(--misto); color: var(--white); border: none; border-radius: 4px; font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; }
.btn-submit:hover { opacity: 0.88; }

/* Informazioni utili – allineate al form, sfondo bianco con bordo misto */
.form-info { margin-top: 0; }
.form-info h3 { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 14px; }
.form-info-item { background: var(--white); border-radius: 6px; padding: 16px; margin-bottom: 12px; border-left: 3px solid var(--misto); }
.form-info-item h4 { font-size: 13.5px; font-weight: 600; color: var(--misto); margin-bottom: 6px; }
.form-info-item p { font-size: 12.5px; color: var(--text); line-height: 1.6; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(100deg, var(--imprese) 0%, var(--grad-mid) 55%, var(--grad-end) 100%);
  padding: 52px 0 0;
}
.footer-inner { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 40px; margin-bottom: 40px; max-width: var(--max-w); margin-left: auto; margin-right: auto; padding: 0 60px; }
.footer-brand .logo-wrap img { height: 58px; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.75); font-size: 12px; margin-top: 6px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 14px; letter-spacing: 0.03em; }
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.78); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col p { font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.7; }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.15); padding: 14px 60px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; max-width: var(--max-w); margin: 0 auto; }
.footer-bar p, .footer-bar a { font-size: 12px; color: rgba(255,255,255,0.6); }
.footer-bar a:hover { color: var(--white); }
.footer-bar .footer-links { display: flex; gap: 20px; }

/* ── HERO SERVICE (singole schede servizi) ── testo NON bold */
.hero-service-text p strong,
.hero-service-text p b { font-weight: 400; }
.banner-inner h2 { font-weight: 600; }

.scegli-card h3 .icon-badge {
  width: 90px;
  height: 60px;
  min-width: 72px;
  background: var(--imprese);
  clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 12px;
  flex-shrink: 0;
}
.scegli-card.enti h3 .icon-badge { background: var(--enti); }
.scegli-card h3 img {
  height: 45px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ── CHI SIAMO — Layout combinato "Perché + A chi ci rivolgiamo" ── */
.chi-combined { background: white; padding: 56px 0; }
.chi-combined .container {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 50px;
    align-items: start;
    padding-top: 60px;
    padding-bottom: 80px;
    border: 2px solid var(--imprese);
    border-radius: 16px;
}


/* --- Colonna sinistra: Perché lavorare con noi --- */
.chi-combined-left > h2 { font-size: 22px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.chi-combined-left > p { font-size: 14.5px; color: var(--text); line-height: 1.7; margin-bottom: 10px; }
.chi-combined-left { display: flex; flex-direction: column; }
.chi-combined-left .perche-lavorare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex: 1;
  align-items: stretch;
}
.chi-combined-left .vantaggio-card {
  background: var(--white);
  border: 1.5px solid var(--misto-light);
  border-radius: 8px;
  padding: 22px 14px;
  text-align: center;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.chi-combined-right { display: flex; flex-direction: column; margin-top:43px; }
.chi-combined-right .achi-ci-grid { flex: 1; display: grid; grid-template-columns: 1fr; gap: 14px; }
.chi-combined-right .achi-ci-card { display: flex; flex-direction: column; justify-content: center; }
.chi-combined-left .vantaggio-card img { width: 52px; height: 52px; padding: 0; margin: 0 auto 12px; object-fit: contain; }
.chi-combined-left .vantaggio-card h4 { font-size: 13.5px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; line-height: 1.3; }
.chi-combined-left .vantaggio-card p { font-size: 12.5px; color: var(--text); line-height: 1.55; }

/* --- Colonna destra: A chi ci rivolgiamo (stile info-item) --- */
.chi-combined-right > h3 { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.chi-combined-right .achi-ci-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.chi-combined-right .achi-ci-card {
    background: var(--white);
    border: 1px solid var(--misto-light);
    border-left: 3px solid var(--imprese);
    border-radius: 6px;
    padding: 16px;
}
.chi-combined-right .achi-ci-card.enti { border-left-color: var(--enti); }
.chi-combined-right .achi-ci-card h3 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--imprese);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.chi-combined-right .achi-ci-card.enti h3 { color: var(--enti); }
.chi-combined-right .achi-ci-card h3 img { height: 22px; width: auto; }
.chi-combined-right .achi-ci-card p { font-size: 12px; color: var(--text); line-height: 1.6; margin-bottom: 8px; }
.chi-combined-right .achi-ci-card a { font-size: 12px; color: var(--imprese); font-weight: 600; }
.chi-combined-right .achi-ci-card.enti a { color: var(--enti); }
.chi-combined-right .achi-ci-card a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .chi-combined .container { grid-template-columns: 1fr; gap: 30px; }
  .chi-combined-left .perche-lavorare-grid { grid-template-columns: 1fr; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 30px; }
  .header-inner { padding: 12px 30px 10px; min-height: auto; }
  .banner-inner { padding: 0 30px; }
  .page-header-box { padding: 16px 30px; }
  .footer-inner { padding: 0 30px; grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bar { padding: 14px 30px; }
  .service-banner {
    background: var(--imprese-light);
    padding: 12px 0;
    width: fit-content;
    position: relative;
    border-bottom-right-radius: 26px;
}
}
@media (max-width: 900px) {
    
    .vantaggi-grid {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    flex-direction: column;
}

  .main-nav { display: none; }
  .site-header { position: relative; }
  .main-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 999; }
  .main-nav.open ul { flex-direction: column; gap: 16px; }
  .menu-toggle { display: flex; }
  .hero-home, .hero-overview, .hero-service, .chi-sol-home, .chi-hero, .contatti-hero { grid-template-columns: 1fr; }
  .hero-service-icon { min-height: 220px; border-radius: 0; }
  .achi-cards, .scegli-grid, .chi-identita-approccio .container, .perche .container { grid-template-columns: 1fr; }
  .cosa-come .container { grid-template-columns: 1fr; gap: 36px; }
  .vantaggi-grid { grid-template-columns: repeat(2, 1fr); }
  .approccio-cards { grid-template-columns: 1fr; }
  .mappa-cards { grid-template-columns: 1fr; }
  .come-3step-labels { grid-template-columns: 1fr; gap: 20px; }
  .come-aiutare-grid { grid-template-columns: 1fr; }
  .contatti-diretti-grid { grid-template-columns: 1fr; }
  .form-section .container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .perche-icons { grid-template-columns: 1fr 1fr; }
  .perche-lavorare-grid { grid-template-columns: 1fr; }
  .achi-ci-grid { grid-template-columns: 1fr; }
  .chi-sol-home-image { max-height: 300px; }
  .chi-sol-home-image img { height: 300px; }
  .chi-hero-image { max-height: 300px; }
  .chi-hero-image img { height: 300px; }
}
@media (max-width: 600px) {
    
    .btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--misto);
    color: var(--white);
    border: 2px solid var(--misto);
    border-radius: 4px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

    .perche-photo img {
    width: 100%;
    height: 42vh;
    max-height: none;
    object-fit: cover;
    object-position: top center;
}
  .hero-home-text h1 { font-size: 26px; }
  .cta-section h2 { font-size: 22px; }
  .vantaggi-grid { grid-template-columns: 1fr; }
  .achi-icon-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}