/*
 * Eptamed — Pagina gamma Eq. Eptamed.
 * Colori principali e accento dai controlli Elementor.
 */

.ept-gam {
  box-sizing: border-box;
  font-family: 'Familjen Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1C2221;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.ept-gam *,
.ept-gam *::before,
.ept-gam *::after {
  box-sizing: border-box;
}

.ept-gam img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

.ept-gam a {
  text-decoration: none;
}

.ept-gam-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ept-gam-section {
  padding: 80px 48px;
}

.ept-gam-section-off {
  background: #F8FAFA;
}

/* Titoli e testi comuni */
.ept-gam-tag {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #134169;
  margin: 0 0 16px;
}

.ept-gam-h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: 0 0 18px;
}

.ept-gam-h2 em,
.ept-gam-hero h1 em,
.ept-gam-cta h2 em {
  font-style: italic;
  color: #0E2E4B;
}

.ept-gam-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #4E5655;
}

/* HERO */
.ept-gam-hero {
  background: #F8FAFA;
  padding: 76px 48px 0;
  overflow: hidden;
}

.ept-gam-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.ept-gam-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0E2E4B;
  border: 1.5px solid rgba(19, 65, 105, .18);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.ept-gam-badge span {
  width: 6px;
  height: 6px;
  background: #134169;
  border-radius: 50%;
}

.ept-gam-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0 0 20px;
}

.ept-gam-sub {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: #4E5655;
  max-width: 600px;
  margin: 0 auto 18px;
}

.ept-gam-hero-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #4E5655;
  max-width: 560px;
  margin: 0 auto 48px;
}

.ept-gam-hero-visual {
  padding-bottom: 64px;
}

/* BLOCCHI TESTO + IMMAGINE */
.ept-gam-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.ept-gam-split.is-reverse .ept-gam-split-img {
  order: -1;
}

.ept-gam-pull {
  margin-top: 24px;
  font-size: 1.375rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  color: #0E2E4B;
  border-left: 3px solid #BC5A29;
  padding-left: 20px;
}

.ept-gam-note {
  margin-top: 18px;
  font-size: .9375rem;
  line-height: 1.7;
  color: #4E5655;
}

/* FAMIGLIE */
.ept-gam-families-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.ept-gam-families-head .ept-gam-tag {
  display: flex;
  justify-content: center;
}

.ept-gam-families {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ept-gam-family h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  margin: 18px 0 8px;
}

.ept-gam-family p {
  font-size: .875rem;
  line-height: 1.6;
  color: #4E5655;
  margin: 0;
}

/* FASCIA SCELTA */
.ept-gam-statement {
  background: #EDE8DF;
  padding: 80px 48px;
}

.ept-gam-statement-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.ept-gam-statement h2 {
  font-size: clamp(1.625rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.02em;
  margin: 0 0 20px;
}

.ept-gam-statement p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #4E5655;
  margin: 0;
}

/* MANIFESTO */
.ept-gam-manifesto {
  padding: 88px 48px;
  background: #fff;
}

.ept-gam-manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ept-gam-lead {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 600;
  font-style: italic;
  color: #0E2E4B;
  line-height: 1.5;
  margin: 0 0 24px;
}

.ept-gam-sub-text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #4E5655;
  margin: 0;
}

/* CTA FINALE */
.ept-gam-cta {
  padding: 72px 48px;
  background: #F9FAFA;
}

.ept-gam-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.ept-gam-cta h2 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0F2E4B;
  margin: 0 0 32px;
}

.ept-gam-cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.ept-gam .ept-gam-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: #BC5A29;
  color: #fff !important;
  font-size: 1.0625rem;
  font-weight: 700;
  transition: background 150ms;
}

.ept-gam .ept-gam-btn:hover {
  background: #9E4A20;
}

.ept-gam .ept-gam-cta-secondary {
  font-size: .9375rem;
  font-weight: 700;
  color: #0F2E4B !important;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .ept-gam-split-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ept-gam-split.is-reverse .ept-gam-split-img {
    order: 0;
  }

  .ept-gam-families {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ept-gam-hero,
  .ept-gam-section,
  .ept-gam-statement,
  .ept-gam-manifesto,
  .ept-gam-cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .ept-gam-families {
    grid-template-columns: 1fr;
  }

  .ept-gam .ept-gam-btn {
    width: 100%;
  }
}
