/* ===============================
   DI COSA MI OCCUPO PAGE STYLES
   =============================== */

.dco-section-1,
.dco-section-2,
.dco-section-3 {
  min-height: 100vh;
}

/* Section 1 */
.dco-section-1 {
  background: linear-gradient(160deg, #ffffff 0%, #b7b7a4 110%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 4rem;
  padding: 2rem 4rem;
  padding-top: 80px;
  padding-left: max(2rem, 10vw);
  position: relative;
}

.zigzag-layout {
  margin-top: 35px;
}

.zigzag-layout .text-block {
  max-width: 600px;
  padding: 30px;
  margin-bottom: 50px;
  position: relative;
}

.zigzag-layout .text-block::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-olive), var(--color-reseda));
  top: 0;
}

.zigzag-layout .text-block:nth-child(odd)::before {
  left: 30px;
}

.zigzag-layout .text-block:nth-child(even)::before {
  right: 30px;
}

.zigzag-layout p {
  color: var(--color-ink);
  line-height: 1.8;
  font-size: 1.25rem;
}

.dco-image-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dco-image {
  width: 55vh;
  margin-left: 1.5rem;
  border-radius: 10px;
}

.dco-image:last-child {
  margin-bottom: 3rem;
}

/* Wave Dividers */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-bottom {
  bottom: 0;
}

.wave-top {
  bottom: -50px;
  transform: scaleY(-1);
}

.wave-top-top {
  top: 0;
  transform: scaleY(-1);
}

@media (min-width: 1024px) {
  .wave-top-top {
    display: none;
  }
}

.wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

/* Section 2 */
.dco-section-2 {
  background-color: var(--color-cream);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 2rem 4rem;
  padding-left: max(2rem, 10vw);
  position: relative;
  margin-top: -1px;
}

.card-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: linear-gradient(135deg, #f8f6fb 0%, #ffffff 100%);
  padding: 1rem;
  border-radius: 16px;
  border: 2px solid #e8e3f0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(124, 111, 159, 0.15);
}

.card-icon {
  background: linear-gradient(135deg, var(--color-rose), var(--color-ruby));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
  padding: 0.75rem;
}

.card li {
  color: var(--color-ink);
  line-height: 1.8;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  margin-left: 1rem;
}

/* Section 3 - Pricing */
.dco-section-3 {
  background: linear-gradient(45deg, #ffffff 0%, #b7b7a4 125%);
  padding: 5rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-section {
  max-width: 900px;
  width: 100%;
  padding: 60px 40px;
}

.intro-text {
  color: #5a5d4f;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 50px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-title {
  color: var(--color-reseda);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.pricing-subtitle {
  color: var(--color-caramel);
  font-size: 1rem;
  font-style: italic;
}

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

.pricing-item {
  background: linear-gradient(135deg, #888b75 0%, #9fa291 100%);
  border-radius: 15px;
  padding: 25px 30px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(136, 139, 117, 0.2);
}

.pricing-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(136, 139, 117, 0.3);
  background: linear-gradient(135deg, #9fa291 0%, #888b75 100%);
}

.pricing-item::before {
  content: "";
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fdfcf8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M12 16.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 1 1 4.5 4.5 4.5 4.5 0 1 1-4.5 4.5"/><path d="M12 7.5V9"/><path d="M7.5 12H9"/><path d="M16.5 12H15"/><path d="M12 16.5V15"/><path d="m8 8 1.88 1.88"/><path d="M14.12 9.88 16 8"/><path d="m8 16 1.88-1.88"/><path d="M14.12 14.12 16 16"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pricing-description {
  color: #fdfcf8;
  font-size: 1.3rem;
  flex: 1;
  min-width: 200px;
}

.pricing-amount {
  color: #fdfcf8;
  font-size: 2rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 10px 20px;
  background: rgba(166, 124, 124, 0.3);
  border-radius: 10px;
  border: 2px solid rgba(253, 252, 248, 0.3);
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  padding: 25px;
  background: rgba(166, 124, 124, 0.1);
  border-left: 4px solid #a67c7c;
  border-radius: 10px;
  color: #5a5d4f;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===============================
   RESPONSIVE STYLES - DI COSA MI OCCUPO
   =============================== */

@media (max-width: 1024px) {
  .dco-image-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .dco-section-1,
  .dco-section-2 {
    padding: 1.5rem;
    padding-top: 100px;
    gap: 2rem;
    min-height: auto;
  }

  .dco-section-3 {
    padding: 4rem 10px;
  }

  .zigzag-layout {
    display: flex;
    flex-direction: column;
  }

  .zigzag-layout .text-block {
    margin-left: 0;
    margin-bottom: 30px;
    padding: 20px;
  }

  .zigzag-layout p {
    font-size: 1.1em;
  }

  .card-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 30px 20px;
  }

  .card-icon {
    font-size: 1.2rem;
    padding: 0.6rem;
  }

  .card li {
    font-size: 1rem;
  }

  .wave svg {
    height: 50px;
  }

  .pricing-section {
    padding: 40px 25px;
  }

  .pricing-title {
    font-size: 2rem;
  }

  .intro-text {
    font-size: 1rem;
    margin-bottom: 35px;
  }

  .pricing-item {
    padding: 25px 20px;
    gap: 15px;
  }

  .pricing-item::before {
    width: 30px;
    height: 30px;
  }

  .pricing-content {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }

  .pricing-description {
    font-size: 1rem;
  }

  .pricing-amount {
    font-size: 1.5rem;
    align-self: flex-end;
  }

  .pricing-note {
    padding: 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .pricing-section {
    padding: 0;
  }

  .pricing-title {
    font-size: 1.75rem;
  }

  .pricing-item {
    padding: 20px 15px;
  }

  .pricing-amount {
    font-size: 1.15rem;
    padding: 6px 10px;
  }
}
