/* RESET BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #ffffff;
  color: #0B1730;
  line-height: 1.5;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER (uguale su tutte le pagine) */
.header {
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
  flex-wrap: wrap; /* si adatta su mobile */
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* HOME: non c’è il logo, quindi menu allineato a destra */
.home .header-inner{
  justify-content: flex-end;
}

/* MENU */
.menu {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap; /* si adatta come le altre pagine */
  justify-content: flex-end;
}

.menu a {
  font-size: 14px;
  text-decoration: none;
  color: #1F2933;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.menu a:hover {
  background: #0B1730;
  color: #ffffff;
}

/* HERO CANVA (HOME) */
.hero-canva {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background-color: #000000;
  margin-top: 0;
}

.hero-canva-interactive{
  position: relative;
  width: 100%;
}

.hero-canva-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

/* HOTSPOT CLICCABILI (telefono/email) */
.hero-hotspot{
  position: absolute;
  display: block;
  z-index: 9999;
  background: rgba(255,0,0,0);
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

/* Coordinate per home-hero-canva.png (2048×1153) */
.hero-hotspot-phone  { left: 3.42%; top: 63.49%; width: 24.66%; height: 5.12%; }
.hero-hotspot-email1 { left: 3.42%; top: 67.22%; width: 25.15%; height: 4.60%; }
.hero-hotspot-email2 { left: 5.86%; top: 70.08%; width: 15.14%; height: 4.68%; }

/* DEBUG (se vuoi vedere i rettangoli cliccabili, attiva e poi disattiva)
.hero-hotspot{ background: rgba(255,0,0,0.18); }
*/

/* BOTTONI */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.btn.primary {
  background: #0B1730;
  color: #ffffff;
}

.btn.primary:hover {
  background: #111827;
}

/* SEZIONE SERVIZI */
.services {
  padding: 50px 0;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
}

.service-list {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.service-row {
  flex: 1 1 30%;
  max-width: 32%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-image {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 8px;
}

.service-image img {
  width: 100%;
  display: block;
}

.link-more {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #0B1730;
  text-decoration: none;
}

.link-more:hover {
  text-decoration: underline;
}

/* PACK PAGES */
.pack-center { text-align: center; }

.pack-hero-img{
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: 0 auto 16px;
  border-radius: 12px;
  display: block;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* EBOOK */
.ebook-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ebook-title {
  font-size: 26px;
  margin-bottom: 18px;
}

.ebook-cover {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  border-radius: 8px;
}

.ebook-subtitle {
  margin-bottom: 20px;
  color: #4B5563;
  font-size: 15px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .service-list { flex-direction: column; }
  .service-row { max-width: 100%; }
}

@media (max-width: 860px) {
  .menu { width: 100%; justify-content: flex-start; gap: 8px; }
  .menu a { font-size: 13px; padding: 6px 10px; }
}
