/* ============================
   SITI WEB PAGE - STYLES
   ============================ */

/* HERO */
.sw-hero {
  background: linear-gradient(135deg, #1B2A4E 0%, #2D4373 70%, #3B82F6 100%);
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  color: #FFFFFF;
}

.sw-hero h1 {
  color: #FFFFFF;
  font-size: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.sw-hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* TRUST SECTION */
.sw-trust-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2F3640;
}

.sw-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.sw-check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background-color: #FFFFFF;
  border-radius: 6px;
  border-left: 3px solid #3B82F6;
  box-shadow: 0 2px 8px rgba(27, 42, 78, 0.06);
  font-size: 0.95rem;
  color: #2F3640;
}

.sw-check {
  color: #3B82F6;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* PORTFOLIO CARDS */
.sw-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sw-portfolio-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(27, 42, 78, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid #3B82F6;
  display: flex;
  flex-direction: column;
}

.sw-portfolio-card:hover {
  box-shadow: 0 8px 30px rgba(27, 42, 78, 0.15);
  transform: translateY(-3px);
}

.sw-portfolio-img {
  height: 180px;
  overflow: hidden;
}

.sw-portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1B2A4E 0%, #2D4373 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sw-portfolio-placeholder span {
  font-size: 3rem;
}

.sw-portfolio-placeholder small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sw-portfolio-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sw-portfolio-label {
  display: inline-block;
  background-color: #EFF6FF;
  color: #3B82F6;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.sw-portfolio-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #1B2A4E;
}

.sw-portfolio-body > p {
  font-size: 0.9rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.sw-portfolio-ideal {
  font-size: 0.85rem;
  color: #2F3640;
  margin-bottom: 1.25rem;
}

.sw-portfolio-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* PRICING */
.sw-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.sw-pricing-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(27, 42, 78, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  border-top: 4px solid #3B82F6;
}

.sw-pricing-card:hover {
  box-shadow: 0 8px 30px rgba(27, 42, 78, 0.15);
  transform: translateY(-3px);
}

.sw-pricing-featured {
  border-top: 4px solid #2563EB;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2);
}

.sw-pricing-badge {
  position: absolute;
  top: 0;
  right: 1rem;
  background-color: #2563EB;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.4rem 0.75rem;
  border-radius: 0 0 6px 6px;
}

.sw-pricing-header {
  padding: 1.5rem 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid #F5F7FA;
}

.sw-pricing-header h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #1B2A4E;
}

.sw-pricing-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #3B82F6;
}

.sw-pricing-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.sw-pricing-desc {
  font-size: 0.9rem;
  color: #6B7280;
  margin-bottom: 1rem;
  text-align: center;
  font-style: italic;
}

.sw-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.sw-pricing-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #2F3640;
  line-height: 1.5;
}

.sw-pricing-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #3B82F6;
  font-weight: 700;
}

.sw-pricing-meta {
  padding-top: 1rem;
  border-top: 1px solid #F5F7FA;
}

.sw-pricing-meta p {
  font-size: 0.85rem;
  color: #2F3640;
  margin-bottom: 0.25rem;
}

.sw-pricing-footer {
  padding: 1rem 1.5rem 1.5rem;
  text-align: center;
}

.sw-pricing-footer .btn {
  width: 100%;
}

/* PROCESSO / TIMELINE */
.sw-process {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 3rem;
}

.sw-process::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #3B82F6;
  border-radius: 2px;
}

.sw-process-step {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.sw-process-step:last-child {
  padding-bottom: 0;
}

.sw-process-num {
  position: absolute;
  left: -3rem;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #1B2A4E 0%, #3B82F6 100%);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(27, 42, 78, 0.15);
  z-index: 1;
}

.sw-process-content {
  background-color: #FFFFFF;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(27, 42, 78, 0.08);
  flex: 1;
  border-left: 3px solid #3B82F6;
}

.sw-process-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: #1B2A4E;
}

.sw-process-content p {
  font-size: 0.9rem;
  color: #6B7280;
  margin-bottom: 0.5rem;
}

.sw-process-time {
  display: inline-block;
  background-color: #EFF6FF;
  color: #3B82F6;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* SERVIZI AGGIUNTIVI */
.sw-extras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.sw-extra-item {
  background-color: #FFFFFF;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(27, 42, 78, 0.1);
  border-top: 3px solid #3B82F6;
  text-align: center;
  transition: all 0.3s ease;
}

.sw-extra-item:hover {
  box-shadow: 0 8px 25px rgba(27, 42, 78, 0.15);
  transform: translateY(-2px);
}

.sw-extra-item h4 {
  font-size: 0.95rem;
  color: #1B2A4E;
  margin-bottom: 0.5rem;
}

.sw-extra-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #3B82F6;
  margin-bottom: 0.5rem;
}

.sw-extra-item p {
  font-size: 0.85rem;
  color: #6B7280;
}

/* FAQ */
.sw-faq {
  max-width: 800px;
  margin: 0 auto;
}

.sw-faq-item {
  margin-bottom: 0.75rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(27, 42, 78, 0.06);
}

.sw-faq-question {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background-color: #FFFFFF;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1B2A4E;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.sw-faq-question:hover {
  background-color: #F5F7FA;
}

.sw-faq-question[aria-expanded="true"] {
  background-color: #1B2A4E;
  color: #FFFFFF;
}

.sw-faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.sw-faq-question[aria-expanded="true"] .sw-faq-icon {
  transform: rotate(45deg);
}

.sw-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #FFFFFF;
}

.sw-faq-answer.open {
  max-height: 300px;
}

.sw-faq-answer p {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #2F3640;
  line-height: 1.7;
}

/* FORM SECTION */
.sw-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.sw-form-wrap .form select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #F5F7FA;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: border-color 0.2s ease;
  appearance: auto;
}

.sw-form-wrap .form select:focus {
  outline: none;
  border-color: #3B82F6;
}

.sw-contact-alt {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #F5F7FA;
}

.sw-contact-alt p {
  font-size: 0.9rem;
  color: #6B7280;
  margin-bottom: 0.75rem;
}

.sw-contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .sw-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sw-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sw-pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
  }

  .sw-extras-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sw-hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .sw-hero h1 {
    font-size: 1.5rem;
  }

  .sw-hero-sub {
    font-size: 1rem;
  }

  .sw-trust-grid {
    grid-template-columns: 1fr;
  }

  .sw-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .sw-pricing-grid {
    grid-template-columns: 1fr;
  }

  .sw-pricing-card:last-child {
    max-width: none;
  }

  .sw-extras-grid {
    grid-template-columns: 1fr;
  }

  .sw-process {
    padding-left: 2.5rem;
  }

  .sw-process::before {
    left: 1rem;
  }

  .sw-process-num {
    left: -2.5rem;
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
  }
}
