/* =========================
   ROOT & RESET
========================= */
:root {
  /* Palette */
  --sage: #6c9a8b;
  --rose: #e8998d;
  --rose-soft: #eed2cc;
  --paper: #fbf7f4;
  --text: #775047;
  --text-strong: #5b3f38;
  --accent: #a1683a;

  /* UI */
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* =========================
   ANIMATIONS
========================= */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(108, 154, 139, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.header-link {
  font-size: 15px;
  color: #fff;
  opacity: 0.8;
  padding: 8px 4px;
  line-height: 1;
}

.header-link:hover {
  opacity: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #fff;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-lg {
  padding: 12px 18px;
}

.btn-primary {
  background: var(--rose);
  color: var(--text-strong);
  box-shadow: 0 6px 18px rgba(232, 153, 141, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(232, 153, 141, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  text-decoration: none;
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 56px 0;
}

.section-soft {
  background: rgba(238, 210, 204, 0.18);
}

.section-head {
  max-width: 680px;
  margin-bottom: 22px;
}

.section-head h2 {
  font-family: "Bitter", Georgia, serif;
  font-size: 30px;
  margin: 0 0 8px;
  color: var(--text-strong);
}

/* =========================
   HERO
========================= */
.hero {
  background: var(--paper);
}

.hero-visual {
  padding: 64px 0 24px;
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.hero-image {
  position: relative;
  width: 320px;
  animation: heroFade 0.8s ease-out forwards;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-blob {
  position: absolute;
  inset: -10px;
  background: var(--rose);
  border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%;
  z-index: 0;
}

.hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.hero-content {
  position: relative;
  width: 100%;
  background: var(--paper);
  overflow: hidden;
  padding-bottom: 75px;
}

.hero-flowers {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: url("assets/background.png");
  background-repeat: no-repeat;
  background-position: left top;

  pointer-events: none;
  z-index: 0;
}

.hero-content h1,
.hero-content p,
.hero-content .btn {
  position: relative;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 24px 72px;
  text-align: center;
}

.hero-text h1 {
  margin-top: 56px;
  font-family: "Bitter", Georgia, serif;
}

/* =========================
   TREATMENTS
========================= */
.treatments-intro {
  background: var(--rose-soft);
  padding: 72px 24px;
  text-align: center;
}
.treatments-list {
  max-width: 420px;
  margin: 0 auto;
  display: grid;
  gap: 56px;
}
.treatment-item img {
  width: 72px;
  height: auto;
  display: block;
  margin: 0 auto 18px;
  opacity: 0.9;
}

.treatment-item h3 {
  font-family: "Bitter", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0;
}

/* =========================
   SPLIT SECTIONS
========================= */
.split {
  display: grid;
  gap: 18px;
  align-items: center;
}

.split-text {
  text-align: center;
}

.split-text h2 {
  font-family: "Bitter", Georgia, serif;
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--text-strong);
}

.split-text p {
  max-width: 70ch;
  margin-bottom: 32px;
}

.about-image {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.about-blob {
  position: absolute;
  inset: -8px;

  background: rgba(232, 153, 141, 0.35);
  border-radius: 58% 42% 60% 40% / 55% 60% 40% 45%;

  z-index: 0;
}

.about-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 58% 42% 60% 40% / 55% 60% 40% 45%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

.approach-image {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.approach-blob {
  position: absolute;
  inset: -6px;

  background: rgba(108, 154, 139, 0.25); /* verde salvia, molto soft */
  border-radius: 52% 48% 56% 44% / 52% 54% 46% 48%;

  z-index: 0;
}

.approach-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 52% 48% 56% 44% / 52% 54% 46% 48%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

.split-treatments .split-media img {
  width: 100%;
  border-radius: 0 24px 24px 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* =========================
   CTA BOX
========================= */
.cta-box {
  margin-top: 18px;
  padding: 16px;
  background: rgba(108, 154, 139, 0.12);
  border: 1px solid rgba(108, 154, 139, 0.22);
  border-radius: var(--radius-xl);
}

/* =========================
   CONTACT
========================= */
.contact-section {
  padding: 72px 0;
  background: rgba(108, 154, 139, 0.08);
}

.contact-box {
  max-width: 520px;
  text-align: center;
}

.contact-box h2 {
  font-family: "Bitter", Georgia, serif;
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--text-strong);
}

.contact-box p {
  margin-bottom: 24px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.contact-note {
  font-size: 14px;
  opacity: 0.85;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  margin-top: 10px;
  padding: 26px 0 10px;
  background: rgba(108, 154, 139, 0.92);
  color: #fff;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-info p {
  margin: 0 0 6px;
}

.footer-brand {
  font-family: "Bitter", Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  font-size: 14px;
  opacity: 0.85;
}

/* =========================
   LISTINO
========================= */
.listino-header h1 {
  font-family: "Bitter", Georgia, serif;
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--text-strong);
}

.listino-header p {
  max-width: 60ch;
}

.listino-head {
  margin-bottom: 32px;
}

.listino-image {
  max-width: 420px;
  margin-bottom: 16px;
}

.listino-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.listino-group h2 {
  font-family: "Bitter", Georgia, serif;
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--text-strong);
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 520px;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list span:first-child {
  font-size: 16px;
}

.price-list span:last-child {
  font-weight: 600;
  color: var(--text-strong);
}

.listino-note {
  max-width: 560px;
  text-align: center;
  font-size: 15px;
  opacity: 0.9;
}

.listino-note a {
  font-weight: 600;
  text-decoration: underline;
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 900px) {
  .treatments {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .brand-logo {
    height: 42px;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .hero-image {
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image img {
    height: 70vh;
    max-height: 680px;
    min-height: 520px;

    border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%;
  }

  .hero-blob {
    inset: -24px;
    border-radius: 58% 42% 60% 40% / 55% 60% 40% 45%;
  }

  .hero-content {
    text-align: left;
    padding: 64px;
    background: linear-gradient(
      to right,
      var(--paper) 0%,
      var(--paper) 60%,
      transparent 100%
    );
  }

  .hero-text {
    text-align: left;
    max-width: 820px;
    padding: 88px 32px 96px;
  }

  .hero-text h1 {
    font-size: 38px;
    line-height: 1.15;
  }

  .hero-text p {
    font-size: 18px;
    max-width: 68ch;
  }

  .hero-flowers {
    background-image: url("assets/background-desktop.png");
    background-position: left center;
    background-size: contain;
  }
  .treatments-list {
    max-width: 1000px;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    align-items: start;
  }

  .treatment-item img {
    margin-bottom: 24px;
    width: 88px;
    height: 88px;
    object-fit: contain;
    transition: transform 0.25s ease;
  }

  .treatment-item:hover img {
    transform: translateY(-4px);
  }

  .treatment-item h3 {
    font-size: 28px;
  }

  .split-text {
    text-align: left;
  }

  .about-image {
    max-width: 360px;
  }

  .about-blob {
    inset: -12px;
  }

  .approach-image {
    max-width: 360px;
  }

  .approach-blob {
    inset: -10px;
  }

  .split-approach {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .split-approach .split-media {
    order: -1;
  }

  .split-treatments {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
  }

  .split-treatments .split-text {
    max-width: 480px;
  }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-links {
    align-items: flex-end;
    text-align: right;
  }
  .price-list {
    max-width: 640px;
  }

  .listino-group {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 64px;
    align-items: start;
  }

  .listino-header h1 {
    font-size: 40px;
  }

  .listino-head {
    margin-bottom: 24px;
  }

  .price-list {
    max-width: 520px;
  }

  .listino-image {
    max-width: 320px;
  }

  .listino-image img {
    width: 100%;
    border-radius: 20px;
  }

  .listino-group:nth-child(even) {
    grid-template-columns: 1fr 320px;
  }

  .listino-group:nth-child(even) .listino-image {
    order: 2;
  }
}

@media (max-width: 480px) {
  .hero-image img {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 390px) {
  .hero-flowers {
    background-image: url("assets/background-small.png");
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
