/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Montserrat', sans-serif;
  color: #4a4a4a;
  background: #f8f6f4;
  -webkit-font-smoothing: antialiased;
}

/* SPLIT LAYOUT */
.split {
  display: flex;
  min-height: 100vh;
}

/* IMAGE SIDE */
.split-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

/* OVERLAY ELEGANTE */
.split-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(214, 184, 176, 0.35); /* rosa cipria soft */
}

/* CONTENT SIDE */
.split-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  background: #ffffff;
  animation: fadeIn 1s ease forwards;
}

/* LOGO */
.logo {
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

.logo img {
  max-width: 160px;
}

/* TEXT WRAPPER */
.text-wrapper {
  max-width: 520px;
}

/* TITLE */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #6e4b4b;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.4s;
}

/* LINEA DECORATIVA */
h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #d6b8b0;
  margin-top: 15px;
}

/* TEXT */
p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

/* ANIMATION DELAY PROGRESSIVO */
p:nth-of-type(1) { animation-delay: 0.6s; }
p:nth-of-type(2) { animation-delay: 0.8s; }
p:nth-of-type(3) { animation-delay: 1s; }
p:nth-of-type(4) { animation-delay: 1.2s; }
p:nth-of-type(5) { animation-delay: 1.4s; }

/* MAIN TEXT */
.main-text {
  font-size: 1.05rem;
}

/* CLOSING */
.closing {
  margin-top: 25px;
  font-style: italic;
  color: #7a5c5c;
}

/* ANIMAZIONI */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .split {
    flex-direction: column;
  }

  .split-image {
    height: 320px;
  }

  .split-content {
    padding: 50px 25px;
  }

  h1 {
    font-size: 2rem;
  }

  .logo img {
    max-width: 130px;
  }
}