/* ==========================================================================
   Come Mamma Crea — stile
   Palette dal logo: rosa cipria, rosa antico, corallo, inchiostro nero.
   ========================================================================== */
:root {
  --paper: #fdf8f4;
  --paper-2: #f9eee9;
  --blush: #f6dcd8;
  --rose: #f2b8b8;
  --rose-deep: #a9505b;
  --rose-dark: #8c3f49;
  --coral: #f4a896;
  --ink: #2c2326;
  --muted: #6e5f63;
  --line: #ecdcd6;
  --white: #fff;

  --f-title: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-script: 'Parisienne', 'Brush Script MT', cursive;
  --f-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -24px rgba(108, 46, 56, .35);
  --shadow-lg: 0 30px 60px -30px rgba(108, 46, 56, .45);
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.7 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose-dark); }
h1, h2, h3 { font-family: var(--f-title); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
em { font-style: italic; color: var(--rose-deep); }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--rose); color: var(--ink); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.script { font-family: var(--f-script); font-weight: 400; color: var(--rose-deep); }
.kicker { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0 0 .2em; line-height: 1.2; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.icon { flex: none; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.6rem;
  font: 700 .82rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--rose-deep);
  border: 1.5px solid var(--rose-deep); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 10px 24px -12px rgba(169, 80, 91, .7);
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--rose-deep); box-shadow: none; }
.btn-ghost:hover { background: var(--rose-deep); color: #fff; }
.btn-small { padding: .7rem 1.1rem; font-size: .72rem; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--rose-deep); background: transparent; color: var(--rose-deep);
  font-size: 1.6rem; line-height: 1; cursor: pointer; transition: .2s;
}
.round-btn:hover { background: var(--rose-deep); color: #fff; }
.link-arrow { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.link-arrow .icon { width: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 244, .86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(108, 46, 56, .3); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 58px; height: 58px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-title); font-size: 1.5rem; font-weight: 600; letter-spacing: .02em; }
.brand-sub { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }

.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav > ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav > ul > li > a {
  display: block; padding: .6rem .8rem;
  font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none;
  position: relative;
}
.site-nav > ul > li > a::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 1.5px;
  background: var(--rose-deep); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav > ul > li:hover > a::after, .site-nav > ul > li.is-current > a::after { transform: scaleX(1); }
.site-nav .is-current > a { color: var(--rose-deep); }
.sub-toggle { display: none; }
.sub {
  position: absolute; top: 100%; left: -.5rem; min-width: 230px;
  list-style: none; margin: 0; padding: .6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: .5rem .8rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.sub a:hover { background: var(--paper-2); color: var(--rose-deep); }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-cta { display: none; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 72px; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 1.3rem; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 11px; border: 0; border-radius: 50%;
    background: var(--blush); cursor: pointer; z-index: 2;
  }
  .nav-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 72px 0 0 0; z-index: 1;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem 1.25rem 3rem; background: var(--paper);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a { flex: 1; font-family: var(--f-title); font-size: 1.7rem; font-weight: 500; padding: .7rem 0; }
  .site-nav > ul > li > a::after { display: none; }
  .sub-toggle {
    display: block; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative;
  }
  .sub-toggle::before, .sub-toggle::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink);
    transform: translate(-50%, -50%); transition: transform .3s;
  }
  .sub-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
  .sub-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(0); }
  .sub {
    position: static; flex-basis: 100%; min-width: 0; padding: 0 0 .8rem; border: 0; box-shadow: none; background: none;
    opacity: 1; visibility: visible; transform: none; display: none;
    columns: 2; column-gap: 1rem;
  }
  .sub.is-open { display: block; }
  .has-sub:hover .sub { transform: none; }
  .sub a { padding: .35rem 0; color: var(--muted); }
  .nav-cta { display: inline-flex; align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  right: -12vw; top: -14vw; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--blush), rgba(246, 220, 216, 0) 70%);
  z-index: -1;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { display: inline-block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-actions.center { justify-content: center; }
.hero-media { position: relative; min-height: 520px; }
.arch { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--blush); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-main { position: absolute; right: 0; top: 0; width: 72%; height: 100%; max-height: 560px; }
.arch-side { position: absolute; left: 0; bottom: 6%; width: 42%; aspect-ratio: 3 / 4; border: 8px solid var(--paper); border-radius: 999px 999px var(--radius) var(--radius); }
.hero-badge { position: absolute; left: 6%; top: 4%; width: 120px; height: 120px; animation: spin 40s linear infinite; filter: drop-shadow(0 10px 20px rgba(108, 46, 56, .2)); }
.petal { position: absolute; border-radius: 50% 0; background: var(--coral); opacity: .55; }
.petal-1 { width: 22px; height: 22px; right: -6px; bottom: 18%; transform: rotate(20deg); }
.petal-2 { width: 14px; height: 14px; left: 44%; top: -10px; background: var(--rose); transform: rotate(-30deg); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; aspect-ratio: 1 / 1.05; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-badge { width: 86px; height: 86px; }
}

/* ---------- Valori ---------- */
.values { padding: 1rem 0 clamp(2rem, 5vw, 4rem); }
.values-tint { background: var(--paper-2); padding: clamp(3rem, 6vw, 5rem) 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value { text-align: center; padding: 1.8rem 1.4rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.value .icon { width: 40px; height: 40px; color: var(--rose-deep); margin: 0 auto .8rem; padding: 8px; box-sizing: content-box; border-radius: 50%; background: var(--blush); }
.value h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.value p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } .value { display: grid; grid-template-columns: auto 1fr; text-align: left; gap: 0 1rem; align-items: center; padding: 1.2rem; } .value .icon { grid-row: span 2; margin: 0; } }

/* ---------- Sezioni ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding-top: clamp(1.5rem, 4vw, 3rem); }
.section-tint { background: var(--paper-2); position: relative; }
.section-tint::before, .section-tint::after {
  content: ''; position: absolute; left: 0; right: 0; height: 24px;
  background: radial-gradient(circle at 12px -4px, var(--paper) 13px, transparent 14px) repeat-x;
  background-size: 24px 24px;
}
.section-tint::before { top: 0; }
.section-tint::after { bottom: 0; transform: scaleY(-1); }
.section-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-row { display: flex; justify-content: space-between; align-items: end; text-align: left; gap: 1rem; }
.section-head-row h2 { margin: 0; }

/* Due card grandi */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.duo-card {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 4.4; color: #fff; text-decoration: none; isolation: isolate;
  box-shadow: var(--shadow);
}
.duo-small .duo-card { aspect-ratio: 4 / 3.2; }
.duo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.duo-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(44, 35, 38, 0) 30%, rgba(44, 35, 38, .55) 60%, rgba(44, 35, 38, .9)); }
.duo-card:hover img { transform: scale(1.06); }
.duo-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; }
.duo-body .script { color: var(--blush); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; }
.duo-title { font-family: var(--f-title); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; margin: .1em 0 .5em; }
.duo-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.duo-link .icon { transition: transform .3s var(--ease); }
.duo-card:hover .duo-link .icon { transform: translateX(5px); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo-card { aspect-ratio: 4 / 3.6; } }

/* Carosello */
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 28vw, 340px); gap: 1.2rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .5rem max(1.25rem, calc((100vw - var(--wrap)) / 2)) 1.5rem;
  scroll-padding-inline: max(1.25rem, calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-auto { scroll-snap-type: none; scroll-behavior: auto; }
.carousel-item { scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); background: var(--blush); }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.carousel-item:hover img { transform: scale(1.05); }
.carousel-nav { display: flex; gap: .6rem; }
@media (max-width: 600px) { .carousel { grid-auto-columns: 75vw; } .carousel-nav { display: none; } }

/* Griglia categorie */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.cat-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.cat-img { display: block; aspect-ratio: 1; border-radius: 50% 50% var(--radius) var(--radius); overflow: hidden; background: var(--blush); box-shadow: var(--shadow); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover .cat-img img { transform: scale(1.07); }
.cat-title { font-family: var(--f-title); font-size: 1.55rem; margin-top: .8rem; line-height: 1.1; transition: color .2s; }
.cat-card:hover .cat-title { color: var(--rose-deep); }
.cat-count { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .cat-title { font-size: 1.3rem; } }

/* Split testo/immagine */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media .arch { aspect-ratio: 4 / 5; max-width: 460px; margin-inline: auto; }
.split-text p:not(.kicker) { color: var(--muted); }
.split-video { grid-template-columns: 1.2fr .8fr; }
.split-video .video { max-width: 340px; margin-inline: auto; }
@media (max-width: 900px) { .split, .split-video { grid-template-columns: 1fr; } }

/* ---------- Testata pagine interne ---------- */
.page-hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; left: 50%; top: -40%; width: 900px; height: 600px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, var(--blush), rgba(246, 220, 216, 0)); z-index: -1;
}
.page-hero .lead { margin-inline: auto; }
.page-hero-small { padding-bottom: 1rem; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--rose-deep); }
.crumbs span { color: var(--rose); }
.notfound { padding: 7rem 0; }

/* Lista categorie di sezione */
.feature-list { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature.is-reversed .feature-media { order: 2; }
.feature-media { position: relative; display: block; padding: 0 0 2.5rem 2.5rem; }
.feature.is-reversed .feature-media { padding: 0 2.5rem 2.5rem 0; }
.feature-main { display: block; aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-media:hover .feature-main img { transform: scale(1.05); }
.feature-thumb { position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow); }
.feature.is-reversed .feature-thumb { left: auto; right: 0; }
.feature-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature-count { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-deep); background: var(--blush); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.feature h2 a { color: inherit; text-decoration: none; }
.feature h2 a:hover { color: var(--rose-deep); }
.feature-text p { color: var(--muted); max-width: 42ch; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 1.2rem; }
  .feature.is-reversed .feature-media { order: 0; padding: 0 0 2rem 2rem; }
  .feature.is-reversed .feature-thumb { left: 0; right: auto; }
  .feature-media { padding: 0 0 2rem 2rem; }
}

/* Chips + galleria masonry */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.chip { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; transition: .2s; }
.chip:hover { border-color: var(--rose-deep); color: var(--rose-deep); }
.chip.is-active { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.masonry { columns: 3 300px; column-gap: 1.2rem; }
.masonry-item {
  display: block; margin-bottom: 1.2rem; break-inside: avoid; border-radius: var(--radius); overflow: hidden;
  position: relative; background: var(--blush); box-shadow: var(--shadow); cursor: zoom-in;
}
.masonry-item img { width: 100%; transition: transform .8s var(--ease), filter .4s; }
.masonry-item::after {
  content: '+'; position: absolute; right: 1rem; bottom: 1rem; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--rose-deep); font-size: 1.6rem; line-height: 1;
  opacity: 0; transform: scale(.7); transition: .35s var(--ease);
}
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item:hover::after { opacity: 1; transform: none; }
@media (max-width: 600px) { .masonry { columns: 2; column-gap: .7rem; } .masonry-item { margin-bottom: .7rem; border-radius: 12px; } }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }

.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); font-family: var(--f-title); font-size: 1.6rem; line-height: 1.2; }
.pager a span { font-family: var(--f-body); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager a:hover { color: var(--rose-deep); }
.pager-next { text-align: right; }

/* ---------- Chi sono ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.story-text { font-size: 1.12rem; }
.story-text p { color: var(--muted); }
.dropcap { color: var(--ink) !important; font-size: 1.25rem; }
.dropcap::first-letter { float: left; font-family: var(--f-script); font-size: 4.8rem; line-height: .8; padding: .35rem .6rem 0 0; color: var(--rose-deep); }
.quote { margin: 2rem 0; padding: 1.4rem 1.8rem; border-left: 3px solid var(--rose); background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--f-title); font-style: italic; font-size: 1.6rem; line-height: 1.3; color: var(--ink); }
.signature { font-size: 3rem; margin: .5rem 0 1.5rem; }
.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; position: sticky; top: 110px; }
.story-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); cursor: zoom-in; }
.story-photo:first-child { grid-column: span 2; aspect-ratio: 4 / 3; border-radius: 999px 999px var(--radius) var(--radius); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story-photo:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story-photos { position: static; } }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--rose-deep); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .25); transition: transform .3s var(--ease), box-shadow .3s;
}
.video-play .icon { width: 30px; height: 30px; margin-left: 4px; }
.video:hover .video-play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 16px rgba(255, 255, 255, .2); }
.video-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.5rem 1rem .8rem; font-size: .75rem; color: #fff; text-align: center; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.video.is-playing .video-play, .video.is-playing .video-note, .video.is-playing img { display: none; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 2rem; margin-bottom: 2.5rem; }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info h2 { font-size: 2.2rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--rose-deep); }
.ci-icon { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose-deep); }
.tip { padding: 1.4rem 1.6rem; background: var(--paper-2); border-radius: var(--radius); border: 1px dashed var(--rose); }
.tip .script { font-size: 1.6rem; margin-bottom: .2rem; }
.tip p:last-child { margin: 0; color: var(--muted); font-size: .97rem; }
.contact-form { background: var(--white); padding: clamp(1.5rem, 4vw, 2.8rem); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose-deep); background: #fff; box-shadow: 0 0 0 4px rgba(242, 184, 184, .35); }
.has-error input, .has-error textarea { border-color: #c0392b; }
.field-error { color: #b03a2e; font-size: .85rem; margin: .35rem 0 0; }
.field-check label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--muted); }
.field-check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--rose-deep); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1.2rem 1.4rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.notice-ok { background: var(--paper-2); text-align: center; padding: 3rem 1.5rem; margin: 0; }
.notice-ok .script { font-size: 3rem; margin-bottom: .3rem; }
.notice-err { background: #fbeaea; color: #8a2b23; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Testo lungo ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin-top: 2rem; }
.prose p { color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.cta-inner {
  position: relative; text-align: center; overflow: hidden;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--blush), #fbe8e1 55%, #fde4da);
  border-radius: 40px;
}
.cta-inner::before, .cta-inner::after {
  content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(169, 80, 91, .25);
}
.cta-inner::before { width: 340px; height: 340px; left: -120px; top: -160px; }
.cta-inner::after { width: 260px; height: 260px; right: -80px; bottom: -140px; border-color: rgba(244, 168, 150, .6); }
.cta-inner p:not(.kicker) { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.cta h2 { max-width: 18ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: #2c2326; color: #d9c9c6; padding: 4.5rem 0 1.5rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-brand img { width: 96px; height: 96px; background: var(--paper); border-radius: 50%; padding: 4px; }
.footer-brand .script { color: var(--rose); font-size: 1.6rem; line-height: 1.3; margin-top: 1rem; }
.footer-title { font-family: var(--f-body); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a { color: #d9c9c6; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--rose); }
.footer-contacts li, .footer-contacts a { display: flex; gap: .6rem; align-items: center; word-break: break-word; }
.footer-contacts .icon { color: var(--rose); width: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #a8979a; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #a8979a; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4);
}
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(30, 22, 25, .94); padding: 3rem 4.5rem;
  animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-height: 100%; }
.lightbox img { max-width: min(92vw, 1400px); max-height: calc(100vh - 8rem); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox img.is-loading { opacity: .3; }
.lightbox figcaption { color: #e8d8d5; font-size: .9rem; margin-top: 1rem; letter-spacing: .04em; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 4rem .5rem; } .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Animazioni di comparsa ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Proposta stagionale ---------- */
.season { padding: clamp(1rem, 3vw, 2rem) 0 0; }
.season-card {
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; overflow: hidden;
  border-radius: var(--radius-lg); background: linear-gradient(120deg, #fff 0%, var(--paper-2) 100%);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.season-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.season-img { display: block; min-height: 260px; position: relative; }
.season-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.season-card:hover .season-img img { transform: scale(1.05); }
.season-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.6rem, 4vw, 3rem); }
.season-tag { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: var(--coral); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.season-title { font-family: var(--f-title); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; margin-bottom: .6rem; }
.season-text { color: var(--muted); margin-bottom: 1.2rem; max-width: 46ch; }
@media (max-width: 760px) { .season-card { grid-template-columns: 1fr; } .season-img { aspect-ratio: 16 / 10; min-height: 0; } }

/* ---------- Come funziona ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 2px dashed var(--rose); z-index: 0; }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-n {
  position: relative; z-index: 1; display: grid; place-items: center; margin: 0 auto 1.1rem;
  width: 68px; height: 68px; border-radius: 50%; background: var(--paper); border: 2px solid var(--rose);
  font-family: var(--f-script); font-size: 2.2rem; color: var(--rose-deep);
}
.step h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }
.steps-cta { margin-top: 2.8rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.2rem; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; text-align: left; align-items: start; }
  .step-n { grid-row: span 2; margin: 0; width: 56px; height: 56px; font-size: 1.8rem; }
}

/* ---------- Recensioni ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review { margin: 0; padding: 2rem 1.8rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.review::before { content: '“'; position: absolute; top: -.2rem; right: 1.4rem; font-family: var(--f-title); font-size: 6rem; line-height: 1; color: var(--blush); }
.stars { color: #e0a84f; letter-spacing: .15em; font-size: 1.05rem; margin-bottom: .8rem; }
.stars span { color: var(--line); }
.review blockquote { margin: 0 0 1.2rem; font-family: var(--f-title); font-size: 1.35rem; line-height: 1.4; font-style: italic; flex: 1; }
.review figcaption strong { display: block; }
.review figcaption span { font-size: .85rem; color: var(--muted); }

/* ---------- Instagram ---------- */
.plain { color: inherit; text-decoration: none; }
.plain:hover { color: var(--rose-deep); }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.ig-item { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--blush); }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ig-hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(169, 80, 91, .55); color: #fff; opacity: 0; transition: opacity .3s; }
.ig-hover .icon { width: 34px; height: 34px; }
.ig-item:hover img { transform: scale(1.06); }
.ig-item:hover .ig-hover { opacity: 1; }
.ig-video { position: absolute; top: .6rem; right: .6rem; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.4rem 3rem 1.4rem 0; font-family: var(--f-title); font-size: clamp(1.35rem, 2.2vw, 1.65rem); line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: var(--blush); color: var(--rose-deep); font-family: var(--f-body); font-size: 1.4rem; transition: transform .3s var(--ease), background .3s;
}
.faq-item[open] summary::after { content: '−'; background: var(--rose-deep); color: #fff; }
.faq-item summary:hover { color: var(--rose-deep); }
.faq-a { padding: 0 3rem 1.6rem 0; color: var(--muted); }

/* ---------- Chiedi info ---------- */
.masonry-link { display: block; cursor: zoom-in; }
.masonry-item::after { pointer-events: none; }
.ask-btn {
  position: absolute; left: .8rem; bottom: .8rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .85rem;
  border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--rose-deep);
  font-size: .78rem; font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.ask-btn .icon { width: 16px; height: 16px; }
.masonry-item:hover .ask-btn, .ask-btn:focus-visible { opacity: 1; transform: none; }
.ask-btn:hover { background: var(--rose-deep); color: #fff; }
@media (hover: none) { .ask-btn { opacity: 1; transform: none; padding: .45rem; } .ask-btn span { display: none; } }
.lightbox figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.2rem; }
.lightbox .lb-ask { position: static; width: auto; height: auto; border-radius: 999px; font-size: .72rem; }
.lightbox .lb-ask[hidden] { display: none; }
.ref-photo { display: flex; align-items: center; gap: 1rem; padding: .8rem; margin-bottom: 1.4rem; border-radius: var(--radius); background: var(--paper-2); border: 1px dashed var(--rose); }
.ref-photo img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.ref-photo p { margin: 0; line-height: 1.4; font-weight: 600; }
.ref-photo small { display: block; font-weight: 400; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ref-photo a { font-size: .85rem; font-weight: 400; }
