:root {
  --bg: #fcf7fb;
  --panel: #ffffff;
  --ink: #2e2130;
  --muted: #6a5a69;

  --pink: #e457a2;
  --pink-soft: #fff0f8;

  --gold: #caa24d;
  --gold-soft: #fff8e9;

  --line: #edd7e5;
  --lav: #8b5cf6;

  --shadow: 0 18px 42px rgba(88, 44, 89, 0.1);
}


/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;

  background: linear-gradient(
    180deg,
    #fff7fb 0%,
    #fcf7fb 38%,
    #ffffff 100%
  );

  color: var(--ink);
  line-height: 1.65;

  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: 1160px;

  margin-left: auto;
  margin-right: auto;

  padding-left: 22px;
  padding-right: 22px;
}


/* =========================================================
   HEADER
   ========================================================= */

.topbar {
  position: sticky;
  top: 0;

  z-index: 30;

  background: rgba(255, 250, 253, 0.96);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--line);
}

.top {
  width: 100%;
  max-width: 1380px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding-top: 10px;
  padding-bottom: 10px;
}


/* =========================================================
   LOGO
   ========================================================= */

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  flex: 0 0 auto;

  text-decoration: none;
}


/*
  Logo più largo.
  Non aumenta troppo l'altezza dell'header.
*/

.brand img {
  display: block;

  width: 245px;
  height: auto;

  max-height: 102px;

  object-fit: contain;

  background: #ffffff;

  border: 2px solid #f6d7e9;
  border-radius: 22px;

  padding: 4px;

  box-shadow:
    0 10px 26px rgba(212, 111, 170, 0.12);
}


/*
  Nasconde definitivamente
  il nome scritto accanto al logo.
*/

.brand span {
  display: none !important;
}


/* =========================================================
   NAVIGAZIONE DESKTOP
   ========================================================= */

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  flex-wrap: wrap;

  gap: 8px;

  min-width: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;

  padding: 9px 11px;

  border-radius: 999px;

  color: #594b57;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  white-space: nowrap;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--pink);

  background: #ffffff;

  box-shadow:
    0 8px 18px rgba(179, 105, 149, 0.08);
}

.nav a:hover {
  transform: translateY(-1px);
}


/* =========================================================
   CTA HEADER
   ========================================================= */

.cta-mini {
  padding: 11px 17px !important;

  background: linear-gradient(
    90deg,
    #ea5ca7,
    #8e63ff
  ) !important;

  color: #ffffff !important;

  box-shadow:
    0 12px 24px rgba(149, 90, 210, 0.22);
}


/* =========================================================
   MENU MOBILE
   ========================================================= */

.mobile-nav {
  display: none;

  position: relative;

  flex: 0 0 auto;
}

.mobile-nav summary {
  list-style: none;

  cursor: pointer;

  min-width: 48px;
  min-height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 9px 13px;

  border: 1px solid var(--line);
  border-radius: 12px;

  color: var(--ink);

  font-weight: 800;

  background: #ffffff;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav[open] summary {
  border-color: #eaa9cb;

  color: var(--pink);
}

.mobile-nav-panel {
  position: absolute;

  top: 55px;
  right: 0;

  width: min(320px, 88vw);

  padding: 10px;

  background: #ffffff;

  border: 1px solid var(--line);
  border-radius: 18px;

  box-shadow: var(--shadow);
}

.mobile-nav-panel a {
  display: block;

  min-height: 44px;

  padding: 11px 12px;

  border-radius: 10px;

  color: #5a4856;

  font-weight: 700;

  text-decoration: none;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a[aria-current="page"] {
  background: var(--pink-soft);

  color: var(--pink);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  padding-top: 46px;
  padding-bottom: 32px;
}

.hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.12fr)
    minmax(340px, 0.88fr);

  gap: 42px;

  align-items: center;
}

.crumbs {
  margin: 0 0 16px;

  color: #7b6f7b;

  font-size: 13px;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--pink);
}

.eyebrow,
.kicker {
  display: inline-block;

  margin: 0 0 16px;

  padding: 8px 12px;

  border-radius: 999px;

  background: var(--pink-soft);

  color: var(--pink);

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.09em;
}

.hero-text {
  min-width: 0;
}

.hero-text h1 {
  margin: 0 0 18px;

  max-width: 760px;

  font-size: clamp(38px, 5vw, 64px);

  line-height: 1.03;

  letter-spacing: -0.025em;
}

.hero-text h1 .accent {
  color: var(--pink);
}

.lead {
  max-width: 760px;

  margin-bottom: 0;

  color: var(--muted);

  font-size: 19px;

  line-height: 1.65;
}


/* =========================================================
   BOTTONI HERO
   ========================================================= */

.hero-actions,
.actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 26px;
}

.btn,
.cta,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding: 14px 20px;

  border-radius: 14px;

  font-weight: 800;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover,
.cta:hover,
.secondary:hover {
  transform: translateY(-1px);
}

.btn-primary,
.cta {
  background: linear-gradient(
    90deg,
    #ea5ca7,
    #8e63ff
  );

  color: #ffffff;

  box-shadow:
    0 16px 30px rgba(146, 89, 206, 0.23);
}

.btn-secondary,
.secondary {
  background: #ffffff;

  border: 1px solid var(--line);

  color: var(--ink);
}


/* =========================================================
   FOTO HERO
   ========================================================= */

.hero-photo {
  position: relative;

  min-width: 0;
}

.hero-photo > img {
  width: 100%;
  height: auto;

  max-height: 690px;

  object-fit: contain;
  object-position: center;

  border: 1px solid #f1dbe8;
  border-radius: 28px;

  background: #ffffff;

  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;

  left: 18px;
  right: 18px;
  bottom: 18px;

  max-width: 330px;

  padding: 14px 16px;

  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(6px);

  border: 1px solid var(--line);
  border-radius: 18px;

  box-shadow:
    0 12px 26px rgba(101, 61, 95, 0.1);
}

.hero-badge strong {
  display: block;

  margin-bottom: 6px;

  color: var(--pink);

  font-size: 14px;
}

.hero-badge span {
  color: #5c4f5b;

  font-size: 13px;

  line-height: 1.5;
}


/* =========================================================
   SEZIONI
   ========================================================= */

.section {
  padding-top: 30px;
  padding-bottom: 34px;
}

.section-title {
  margin: 0 0 12px;

  max-width: 900px;

  font-size: 34px;

  line-height: 1.13;

  letter-spacing: -0.015em;
}

.section-intro {
  max-width: 860px;

  margin: 0 0 24px;

  color: var(--muted);

  font-size: 18px;
}


/* =========================================================
   GRIGLIE
   ========================================================= */

.grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.grid-2 {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.split {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 22px;

  align-items: center;
}


/* =========================================================
   CARD
   ========================================================= */

.card {
  min-width: 0;

  padding: 24px;

  background: var(--panel);

  border: 1px solid var(--line);
  border-radius: 22px;

  box-shadow:
    0 12px 28px rgba(114, 72, 108, 0.06);
}

.card h2,
.card h3 {
  margin: 0 0 10px;

  line-height: 1.2;
}

.card h2 {
  font-size: 25px;
}

.card h3 {
  font-size: 21px;
}

.card p {
  margin: 0;

  color: var(--muted);
}

.card ul {
  margin: 14px 0 0;

  padding-left: 20px;

  color: var(--muted);
}

.card li + li {
  margin-top: 8px;
}

.card.pink {
  background: linear-gradient(
    180deg,
    #fff6fb,
    #ffffff
  );
}

.card.gold {
  background: linear-gradient(
    180deg,
    #fffaf0,
    #ffffff
  );
}


/* =========================================================
   GALLERIA QUINCEAÑERA
   ========================================================= */

.gallery {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;

  align-items: stretch;
}

.figure-card {
  display: flex;
  flex-direction: column;

  min-width: 0;

  margin: 0;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid var(--line);
  border-radius: 24px;

  box-shadow:
    0 12px 28px rgba(114, 72, 108, 0.06);
}

.figure-card img {
  width: 100%;
  height: auto;

  object-fit: contain;
  object-position: center top;

  background: #fff9fc;
}

.figure-card img.poster-fit,
.poster-fit {
  width: 100%;
  height: auto;

  object-fit: contain;

  background: linear-gradient(
    180deg,
    #fff7fb,
    #ffffff
  );

  padding: 10px;
}

.figure-card figcaption {
  flex: 1;

  padding: 18px 20px 20px;

  color: #564b54;

  font-size: 15px;

  line-height: 1.6;
}

.figure-card figcaption strong {
  display: block;

  margin-bottom: 6px;

  color: var(--ink);

  font-size: 16px;
}


/* =========================================================
   BOX NOTE
   ========================================================= */

.note {
  padding: 19px 21px;

  background: linear-gradient(
    90deg,
    var(--gold-soft),
    #ffffff
  );

  border: 1px solid #eed9a8;
  border-radius: 20px;

  color: #5d4a2f;
}


/* =========================================================
   CHECKLIST
   ========================================================= */

.checks {
  display: grid;

  gap: 10px;

  margin: 20px 0 0;

  padding: 0;

  list-style: none;
}

.checks li {
  position: relative;

  padding-left: 30px;

  color: #594f58;
}

.checks li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--pink);

  font-weight: 900;
}


/* =========================================================
   MEDIA
   ========================================================= */

.media {
  margin: 0;
}

.media img {
  width: 100%;
  height: auto;

  border: 1px solid var(--line);
  border-radius: 24px;

  box-shadow: var(--shadow);
}

.media figcaption {
  margin-top: 10px;

  color: #6f6270;

  font-size: 14px;
}


/* =========================================================
   LINK CORRELATI
   ========================================================= */

.related {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 14px;
}

.related a {
  display: block;

  padding: 18px;

  background: #ffffff;

  border: 1px solid var(--line);
  border-radius: 18px;

  font-weight: 800;

  text-decoration: none;

  box-shadow:
    0 10px 22px rgba(114, 72, 108, 0.05);

  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.related a span {
  display: block;

  margin-top: 6px;

  color: #6c5f6b;

  font-size: 14px;
  font-weight: 400;

  line-height: 1.5;
}

.related a:hover {
  transform: translateY(-2px);

  border-color: #ebb0ce;

  box-shadow:
    0 13px 28px rgba(114, 72, 108, 0.08);
}


/* =========================================================
   FAQ
   ========================================================= */

.faq details {
  padding: 18px 20px;

  background: #ffffff;

  border: 1px solid var(--line);
  border-radius: 18px;

  box-shadow:
    0 10px 22px rgba(114, 72, 108, 0.05);
}

.faq details + details {
  margin-top: 12px;
}

.faq summary {
  cursor: pointer;

  font-weight: 800;

  line-height: 1.4;
}

.faq p {
  margin-bottom: 0;

  color: var(--muted);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  margin-top: 28px;

  padding-top: 30px;
  padding-bottom: 96px;

  border-top: 1px solid var(--line);

  color: #655866;
}

.footer a {
  color: #5e4c5a;
}

.footer-links {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 14px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;

  min-height: 38px;

  padding: 7px 11px;

  background: #ffffff;

  border: 1px solid var(--line);
  border-radius: 999px;

  text-decoration: none;
}


/* =========================================================
   CTA MOBILE FISSA
   ========================================================= */

.mobile-cta {
  display: none;
}


/* =========================================================
   NOTEBOOK / SCHERMI MEDI
   ========================================================= */

@media (max-width: 1200px) {

  .top {
    gap: 16px;
  }

  .brand img {
    width: 215px;
  }

  .nav {
    gap: 5px;
  }

  .nav a {
    padding-left: 8px;
    padding-right: 8px;

    font-size: 13px;
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

  .nav {
    display: none;
  }

  .mobile-nav {
    display: block;

    margin-left: auto;
  }

  .brand img {
    width: 195px;
  }

  .hero-grid,
  .grid,
  .grid-2,
  .gallery,
  .split,
  .related {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    order: -1;

    max-width: 580px;

    margin-left: auto;
    margin-right: auto;
  }

  .hero-text {
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;
  }

  .gallery {
    max-width: 660px;

    margin-left: auto;
    margin-right: auto;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 820px) {

  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }


  /* HEADER */

  .top {
    min-height: 88px;

    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand img {
    width: 165px;
    height: auto;

    max-height: 82px;

    padding: 3px;

    border-radius: 18px;
  }

  .brand span {
    display: none !important;
  }


  /* HERO */

  .hero {
    padding-top: 26px;
    padding-bottom: 24px;
  }

  .crumbs {
    margin-bottom: 13px;

    font-size: 12px;
  }

  .eyebrow,
  .kicker {
    margin-bottom: 13px;

    font-size: 11px;
  }

  .hero-text h1 {
    margin-bottom: 15px;

    font-size: clamp(34px, 9vw, 47px);

    line-height: 1.04;
  }

  .lead {
    font-size: 17px;
  }


  /* BOTTONI */

  .hero-actions,
  .actions {
    display: grid;

    grid-template-columns: 1fr;

    gap: 9px;
  }

  .btn,
  .cta,
  .secondary {
    width: 100%;
  }


  /* FOTO */

  .hero-photo > img {
    max-height: none;

    border-radius: 22px;
  }

  .hero-badge {
    position: static;

    max-width: none;

    margin-top: 10px;

    border-radius: 16px;
  }


  /* SEZIONI */

  .section {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .section-title {
    font-size: 29px;
  }

  .section-intro {
    font-size: 17px;
  }


  /* CARD */

  .card {
    padding: 21px;

    border-radius: 18px;
  }


  /* GALLERIA */

  .gallery {
    gap: 16px;
  }

  .figure-card {
    border-radius: 20px;
  }

  .figure-card img {
    width: 100%;
    height: auto;

    object-fit: contain;
  }

  .figure-card figcaption {
    padding: 16px 17px 18px;

    font-size: 15px;
  }


  /* CTA WHATSAPP FISSA */

  .mobile-cta {
    display: block;

    position: fixed;

    left: 10px;
    right: 10px;
    bottom: 10px;

    z-index: 50;

    padding: 14px 16px;

    background: linear-gradient(
      90deg,
      #ea5ca7,
      #8e63ff
    );

    color: #ffffff;

    border-radius: 14px;

    font-weight: 900;

    text-align: center;

    text-decoration: none;

    box-shadow:
      0 12px 30px rgba(146, 89, 206, 0.28);
  }

  .footer {
    padding-bottom: 100px;
  }

}


/* =========================================================
   CELLULARI PICCOLI
   ========================================================= */

@media (max-width: 480px) {

  .wrap {
    padding-left: 15px;
    padding-right: 15px;
  }

  .top {
    min-height: 80px;
  }

  .brand img {
    width: 150px;

    max-height: 74px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .section-title {
    font-size: 27px;
  }

  .section-intro {
    font-size: 16px;
  }

  .card {
    padding: 19px;
  }

  .figure-card figcaption {
    font-size: 14px;
  }

  .mobile-nav-panel {
    right: -2px;
  }

}


/* =========================================================
   TELEFONI MOLTO STRETTI
   ========================================================= */

@media (max-width: 360px) {

  .brand img {
    width: 138px;
  }

  .hero-text h1 {
    font-size: 31px;
  }

}