.guide-product-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.guide-product-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.guide-product-visual {
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 100%;
}

.guide-img-wrapper {
  width: 100%;
  min-height: 520px;
  background: linear-gradient(135deg, #f9f9fc 0%, #ffffff 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.guide-img-3d {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: none;
  transition: transform 0.4s ease;
}

.guide-img-wrapper:hover .guide-img-3d {
  transform: scale(1.05);
}

.guide-product-info {
  padding-left: 10px;
}

.guide-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--testo);
  margin: 12px 0 16px 0;
  line-height: 1.2;
}

.guide-price {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.price-current {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--magenta-sec);
}

.price-strikethrough {
  font-size: 1.1rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 600;
}

.guide-short-desc {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.5;
}

.guide-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn-guide-primary,
.btn-guide-secondary {
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 28px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-guide-primary {
  background-color: var(--magenta-sec);
  color: var(--bianco);
  box-shadow: 0 4px 15px rgba(181, 42, 143, 0.35);
}

.btn-guide-primary:hover {
  background-color: var(--viola-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(72, 64, 149, 0.35);
}

.btn-guide-secondary {
  background-color: transparent;
  color: var(--magenta-sec);
  border: 2px solid var(--magenta-sec);
}

.btn-guide-secondary:hover {
  background-color: var(--magenta-sec);
  color: var(--bianco);
  transform: translateY(-2px);
}

.guide-legal-note {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.4;
  margin-top: 8px;
}

.guide-legal-note a {
  color: var(--magenta-sec);
  text-decoration: underline;
}

/* MODAL DOWNLOAD / APPUNTAMENTO */

.guide-modal-content {
  max-width: 620px;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--testo);
  margin-bottom: 10px;
}

.modal-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--testo);
}

.form-group input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--magenta-sec);
  box-shadow: 0 0 0 3px rgba(181, 42, 143, 0.12);
}

.form-consent {
  margin: 14px 0 18px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #444;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--magenta-sec);
}

.checkbox-label a {
  color: var(--magenta-sec);
  text-decoration: underline;
}

.form-actions {
  margin-top: 8px;
}

.btn-full {
  width: 100%;
}

.download-success-message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background-color: #f0fff4;
  border: 1px solid #c6f6d5;
  color: #22543d;
  font-size: 0.95rem;
}

.appointment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.btn-appointment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 16px;
  border-radius: 16px;
  border: 2px solid var(--magenta-sec);
  background-color: #fff;
  color: var(--magenta-sec);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-appointment-option:hover {
  background-color: var(--magenta-sec);
  color: var(--bianco);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(181, 42, 143, 0.25);
}

.appointment-icon {
  font-size: 2rem;
  line-height: 1;
}

.appointment-label {
  text-align: center;
}

/* SEZIONE DESCRIZIONE + FEATURES + CALLOUT */

.guide-description-section {
  padding: 90px 0 80px;
  background-color: var(--grigio-chiaro);
}

.guide-description-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.guide-description-content {
  max-width: 760px;
}

.guide-badge {
  display: inline-block;
  background-color: var(--viola-main);
  color: var(--bianco);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.guide-description-text {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}

.guide-description-features {
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  align-self: center;
}

.features-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--testo);
  margin-bottom: 22px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.features-list li:last-child {
  margin-bottom: 0;
}

.feature-icon {
  font-size: 1.05rem;
  color: var(--magenta-sec);
  line-height: 1.4;
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.55;
}

.guide-bottom-callout {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.guide-mini-box {
  max-width: 860px;
  width: 100%;
  padding: 22px 24px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-top: 3px solid var(--magenta-sec);
}

.mini-box-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(181, 42, 143, 0.12);
  color: var(--magenta-sec);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.mini-box-content {
  flex: 1;
}

.mini-box-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--testo);
  margin-bottom: 8px;
}

.mini-box-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .guide-product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .guide-product-info {
    padding-left: 0;
  }

  .guide-img-wrapper {
    height: 320px;
  }

  .guide-title {
    font-size: 1.6rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .appointment-options {
    grid-template-columns: 1fr;
  }

  .guide-description-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .guide-description-features {
    order: -1;
  }

  .guide-description-content {
    max-width: 100%;
  }

  .guide-mini-box {
    max-width: 100%;
  }
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.62);
  padding: 24px;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
}

.modal.is-open {
  display: flex;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  padding: 34px 30px;
  animation: modalPop 0.28s ease-out;
  margin: auto;
}

@keyframes modalPop {
  from {
    transform: translateY(12px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 30px;
  line-height: 1;
  color: #9a9a9a;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  color: var(--magenta-sec);
  transform: rotate(90deg);
}

.guide-modal-content {
  max-width: 620px;
}

.modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--testo);
  margin-bottom: 10px;
  padding-right: 30px;
}

.modal-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.55;
}

.appointment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.btn-appointment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 16px;
  border-radius: 18px;
  border: 2px solid rgba(181, 42, 143, 0.35);
  background: linear-gradient(180deg, #fff 0%, #fff7fc 100%);
  color: var(--magenta-sec);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  min-height: 132px;
}

.btn-appointment-option:hover {
  background: linear-gradient(180deg, var(--magenta-sec) 0%, #9e1f7b 100%);
  color: var(--bianco);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(181, 42, 143, 0.22);
}

.appointment-icon {
  font-size: 1.45rem;
  line-height: 1;
  color: inherit;
}

.appointment-label {
  text-align: center;
}

@media (max-width: 480px) {

  .guide-product-section {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
  }

  .guide-img-wrapper {
    min-height: 400px;
  }

  .guide-cta-row {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .guide-cta-row .btn-guide-primary,
  .guide-cta-row .btn-guide-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .guide-short-desc {
    margin-bottom: 40px;
  }

  .guide-description-section{
    padding-top: 40px;
  }

  .btn-guide-secondary{
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    padding: 28px 22px;
    max-width: 100%;
  }

  .appointment-options {
    grid-template-columns: 1fr;
  }

}

