:root {
  --gw-wine: 339.8 39.2% 44.5%;
  --gw-wine-light: 340 40% 50%;
  --gw-wine-dark: 340 50% 30%;
  --gw-champagne: 340 38% 95%;
  /* Text on the wine: white at 85% reads at 4.84:1 (AA); more transparent falls below it. Links light up to white. */
  --gw-on-wine-text: hsl(0 0% 100% / .85);
  --gw-champagne-light: 340 35% 97%;
  --gw-blush: 340 30% 95%;
  --gw-cream: 30 30% 98%;
  --gw-fg: 345 10% 20%;
  --gw-muted-fg: 345 10% 32%;
  --gw-border: 30 20% 88%;
  --gw-white: 0 0% 100%;
  --gw-font-sans: 'Inter', system-ui, sans-serif;
  --gw-font-serif: 'Playfair Display', Georgia, serif;
  --gw-radius: 0.75rem;
  --gw-shadow-soft: 0 4px 20px -4px hsl(var(--gw-wine) / .15);
  --gw-shadow-card: 0 2px 12px -2px hsl(var(--gw-fg) / .08);
  --gw-shadow-elevated: 0 8px 30px -6px hsl(var(--gw-wine) / .2);

  --bs-primary: hsl(var(--gw-wine));
  --bs-primary-rgb: 158, 69, 99;
  --bs-border-radius: var(--gw-radius);
  --bs-border-radius-sm: calc(var(--gw-radius) - 0.25rem);
  --bs-border-radius-lg: calc(var(--gw-radius) + 0.25rem);
  --bs-body-font-family: var(--gw-font-sans);
  --bs-body-color: hsl(var(--gw-fg));
  --bs-body-bg: hsl(var(--gw-cream));
  --bs-border-color: hsl(var(--gw-border));
  --bs-link-color: hsl(var(--gw-wine));
  --bs-link-hover-color: hsl(var(--gw-wine-dark));
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
html, body { overflow-x:clip; }
/* With html clipping overflow-x the viewport scrolls by html, so the overflow:hidden Bootstrap puts on body
   no longer holds the page still behind an open panel or modal: html takes it. */
html:has(.offcanvas.show, .offcanvas.showing, body.modal-open) { overflow:hidden; }
body { font-family:var(--gw-font-sans); color:hsl(var(--gw-fg)); line-height:1.6; -webkit-font-smoothing:antialiased; }
::selection { background:hsl(var(--gw-wine)/.85); color:#fff; }
/* Serif riservato ai titoli principali (h1/h2); h3 e sotto = Inter */
h1,h2 { font-family:var(--gw-font-serif); }
h3,h4,h5,h6 { font-family:var(--gw-font-sans); }
img { max-width:100%; display:block; }
.container { max-width:1080px; margin-inline:auto; padding-inline:1.25rem; }

.canvas {
  background:
    radial-gradient(1000px 600px at 88% -5%, hsl(var(--gw-wine)/.10), transparent 65%),
    radial-gradient(800px 500px at 0% 16%, hsl(var(--gw-wine)/.06), transparent 60%),
    radial-gradient(900px 550px at 100% 52%, hsl(var(--gw-wine)/.05), transparent 60%),
    radial-gradient(800px 500px at 4% 80%, hsl(var(--gw-wine)/.06), transparent 60%),
    linear-gradient(180deg, hsl(var(--gw-champagne)) 0%, hsl(var(--gw-cream)) 18%, hsl(var(--gw-cream)) 100%);
}

.panel { border-radius:1.75rem; }
.panel-blush { background:linear-gradient(160deg, hsl(var(--gw-blush)), hsl(var(--gw-champagne-light))); border:1px solid hsl(var(--gw-wine)/.08); }
.panel-wine { background:linear-gradient(135deg, hsl(var(--gw-wine)) 0%, hsl(var(--gw-wine-dark)) 100%); color:#fff; overflow:hidden; position:relative; }

/* Eyebrow stile partecipazione: maiuscoletto spaziato, niente pillola né filetti */
.gw-eyebrow { display:inline-flex; align-items:center; gap:.75rem; color:hsl(var(--gw-wine)); font-size:.72rem; font-weight:600; letter-spacing:.22em; text-transform:uppercase; }
.gw-eyebrow small { letter-spacing:.14em; font-weight:500; color:hsl(var(--gw-muted-fg)); font-size:inherit; }
.btn-wine { display:inline-block; background:hsl(var(--gw-wine)); color:#fff; font-weight:500; padding:.9rem 2rem; border:0; border-radius:var(--gw-radius); text-decoration:none; cursor:pointer; transition:background .18s ease, box-shadow .18s ease, transform .18s ease; }
.btn-wine:hover { background:hsl(var(--gw-wine-dark)); box-shadow:var(--gw-shadow-elevated); transform:translateY(-1px); }
.btn-ghost { display:inline-block; color:hsl(var(--gw-fg)); border:1px solid hsl(var(--gw-fg)/.35); font-weight:500; padding:.75rem 1.8rem; border-radius:var(--gw-radius); text-decoration:none; transition:background .18s ease, color .18s ease, border-color .18s ease; }
.btn-ghost:hover { background:hsl(var(--gw-fg)); border-color:hsl(var(--gw-fg)); color:#fff; }
/* One or two calls in a row, the wine one first: the same height, and one under the other, as wide as the longer, once
   they no longer fit. The row shrinks to its buttons only where its parent starts it (a grid or a column). */
.gw-btn-row { display:flex; flex-wrap:wrap; gap:.75rem; }
.gw-btn-row > a { flex:1 1 auto; display:inline-flex; align-items:center; justify-content:center; }
.gw-btn-row > .btn-ghost { padding-block:calc(.9rem - 1px); }

.rv { opacity:0; transform:translateY(34px); transition:opacity .8s ease, transform .8s ease; }
.rv.in { opacity:1; transform:none; }
.rv.d1 { transition-delay:.08s; } .rv.d2 { transition-delay:.16s; } .rv.d3 { transition-delay:.24s; }
.rv.rv--l:not(.in) { transform:translateX(-44px); }
.rv.rv--r:not(.in) { transform:translateX(44px); }
.rv.rv--zoom:not(.in) { transform:translateY(30px) scale(.93); }

/* Scroll parallax: site.js writes --par (px offset) on [data-par] elements.
   Rules that override transform on these elements must include translateY(var(--par,0)). */
[data-par] { transform:translateY(var(--par, 0px)); will-change:transform; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity:1; transform:none; transition:none; }
  [data-par] { transform:none; will-change:auto; }
}

/* ── Bootstrap component overrides (ported from WP theme.css) ── */
.btn-primary {
  --bs-btn-bg: hsl(var(--gw-wine));
  --bs-btn-border-color: hsl(var(--gw-wine));
  --bs-btn-hover-bg: hsl(var(--gw-wine-dark));
  --bs-btn-hover-border-color: hsl(var(--gw-wine-dark));
  --bs-btn-active-bg: hsl(var(--gw-wine-dark));
  --bs-btn-active-border-color: hsl(var(--gw-wine-dark));
  --bs-btn-disabled-bg: hsl(var(--gw-wine) / .5);
  --bs-btn-disabled-border-color: hsl(var(--gw-wine) / .5);
  --bs-btn-focus-shadow-rgb: 158, 69, 99;
}
.btn-primary:hover { box-shadow:var(--gw-shadow-soft); }
.btn-outline-primary {
  --bs-btn-color: hsl(var(--gw-wine));
  --bs-btn-focus-shadow-rgb: 158, 69, 99;
  --bs-btn-border-color: hsl(var(--gw-wine));
  --bs-btn-hover-bg: hsl(var(--gw-wine));
  --bs-btn-hover-border-color: hsl(var(--gw-wine));
  --bs-btn-active-bg: hsl(var(--gw-wine-dark));
  --bs-btn-active-border-color: hsl(var(--gw-wine-dark));
}
.btn-outline-secondary {
  --bs-btn-color: hsl(var(--gw-fg));
  --bs-btn-border-color: hsl(var(--gw-border));
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: hsl(var(--gw-fg));
  --bs-btn-hover-border-color: hsl(var(--gw-fg));
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: hsl(var(--gw-fg));
  --bs-btn-active-border-color: hsl(var(--gw-fg));
}
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: hsl(var(--gw-wine) / .5);
  box-shadow: 0 0 0 0.25rem hsl(var(--gw-wine) / .15);
}
.form-check-input:checked { background-color: hsl(var(--gw-wine)); border-color: hsl(var(--gw-wine)); }
.form-switch .form-check-input:focus:not(:checked) { --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23c98a9c'/%3e%3c/svg%3e"); }
.text-muted { color: hsl(var(--gw-muted-fg)) !important; }
/* The couple's free tools, on the Home doors and in the tools panel of the product pages. */

/* ── Site header (ported from WP theme.css) ── */
.gw-site-header {
  position:sticky; top:0; z-index:1030;
  background:hsl(0 0% 100% / .95);
  backdrop-filter:saturate(180%) blur(8px);
  -webkit-backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid hsl(var(--gw-border));
}
.gw-site-header.is-scrolled { box-shadow:var(--gw-shadow-card); }
.gw-site-header .btn-outline-secondary { border-color:hsl(var(--gw-fg) / .3); }
/* normal height by default, shrinks on scroll (all pages) */
.gw-header-inner { padding-block:1rem; transition:padding-block .3s ease; }
.gw-site-header.is-scrolled .gw-header-inner { padding-block:.5rem; }
/* Only the menu links shrink: the buttons keep their size, or the small one on phones would grow. */
.gw-site-header.is-scrolled .gw-nav-link { padding-block:.4rem; }

.gw-logo { display:inline-flex; align-items:center; color:hsl(var(--gw-wine)); text-decoration:none; line-height:0; }
.gw-logo:hover { color:hsl(var(--gw-wine-dark)); }
.gw-logo__svg { width:auto; height:1rem; display:block; }
@media (min-width:992px){ .gw-logo__svg { height:1.25rem; } }
.gw-logo__svg--lg { height:1.25rem; }
@media (min-width:992px){ .gw-logo__svg--lg { height:1.5rem; } }

.gw-megamenu { width:min(560px, 90vw); max-height:calc(100vh - 5rem); overflow-y:auto; padding:1rem; background:hsl(var(--gw-white)); }
.gw-megamenu__heading { margin-bottom:0.75rem; padding-inline:0.5rem; }
.gw-megamenu__grid { display:grid; grid-template-columns:1fr 1fr; gap:0.5rem; list-style:none; padding:0; margin:0; }
.gw-megamenu--3col { width:min(780px, 92vw); }
.gw-megamenu--3col .gw-megamenu__grid { grid-template-columns:repeat(3, 1fr); }
.gw-megamenu__item { display:flex; align-items:flex-start; gap:0.75rem; padding:0.75rem; border-radius:calc(var(--gw-radius) - 0.25rem); text-decoration:none; color:inherit; transition:background-color .2s; }
.gw-megamenu__item:hover,
.gw-megamenu__item[aria-current="page"] { background:hsl(var(--gw-champagne)); color:hsl(var(--gw-wine)); }
.gw-megamenu__item:hover .gw-megamenu__icon,
.gw-megamenu__item[aria-current="page"] .gw-megamenu__icon { background:hsl(var(--gw-wine)); color:#fff; }
.gw-megamenu__icon { flex-shrink:0; width:2.5rem; height:2.5rem; display:inline-flex; align-items:center; justify-content:center; border-radius:calc(var(--gw-radius) - 0.25rem); background:hsl(var(--gw-wine) / .1); color:hsl(var(--gw-wine)); transition:background-color .2s, color .2s; }
.gw-megamenu__icon svg { width:1.25rem; height:1.25rem; }
.gw-megamenu__label { font-size:0.875rem; font-weight:500; color:hsl(var(--gw-fg)); line-height:1.2; }
.gw-megamenu__desc { display:block; font-size:0.75rem; color:hsl(var(--gw-muted-fg)); margin-top:0.25rem; line-height:1.3; }
.gw-megamenu__footer { margin-top:0.75rem; padding-top:0.75rem; border-top:1px solid hsl(var(--gw-border)); padding-inline:0.5rem; }
.gw-megamenu__all { font-size:0.875rem; font-weight:500; color:hsl(var(--gw-wine)); text-decoration:none; }
.gw-megamenu__all:hover,
.gw-megamenu__all[aria-current="page"] { text-decoration:underline; }

.gw-nav-link { position:relative; font-size:0.875rem; font-weight:500; color:hsl(var(--gw-muted-fg)); text-decoration:none; padding:0.5rem 0; transition:color .2s, padding-block .3s ease; }
.gw-nav-link:hover,
.gw-nav-link.is-current,
.gw-nav-link[aria-current="page"] { color:hsl(var(--gw-wine)); }
/* Drawn inside the padding, so the current link keeps the height of the others. */
.gw-nav-link.is-current::before,
.gw-nav-link[aria-current="page"]::before { content:''; position:absolute; inset:auto 0 0; height:2px; border-radius:1px; background:currentColor; }
/* After any key press Chrome counts the next click as keyboard focus, and Bootstrap rings the open menu in blue: the colour is enough. */
.gw-nav-link.btn:focus-visible { box-shadow:none; color:hsl(var(--gw-wine)); }
.gw-nav-link.dropdown-toggle::after { display:none; }
.gw-nav-caret { display:inline-block; margin-left:.35rem; font-size:.74em; opacity:.9; vertical-align:middle; transition:transform .25s ease; }
.gw-nav-link[aria-expanded="true"] .gw-nav-caret { transform:rotate(180deg); }

/* For professionals: another audience, kept on the right beside the account, each page in its own tint. */
.gw-nav-pro { margin-right:.75rem; }
.gw-nav-pro__short { display:none; }
@media (max-width:1199.98px) {
  .gw-nav-pro { margin-right:0; }
  .gw-nav-pro__long { display:none; }
  .gw-nav-pro__short { display:inline; }
}
.gw-nav-link,
.gw-header-inner .btn { white-space:nowrap; }
.gw-megamenu--pro { width:min(340px, 90vw); }
.gw-megamenu--pro .gw-megamenu__grid { grid-template-columns:1fr; }
.gw-megamenu__item--tint .gw-megamenu__icon { background:hsl(var(--field-base)); color:hsl(var(--field-ink)); }
.gw-megamenu__item--tint:hover .gw-megamenu__icon,
.gw-megamenu__item--tint[aria-current="page"] .gw-megamenu__icon { background:hsl(var(--field-ink)); color:#fff; }

.gw-header-bar-cta { letter-spacing:.04em; text-transform:uppercase; }
.gw-hamburger { color:hsl(var(--gw-fg)); line-height:0; }
.gw-hamburger:hover,
.gw-hamburger:focus-visible { color:hsl(var(--gw-wine)); }

.gw-mobile-menu .gw-mobile-item { display:flex; align-items:center; justify-content:space-between; gap:.75rem; width:100%; padding:1rem 0; font-size:1rem; font-weight:500; color:hsl(var(--gw-fg)); text-decoration:none; background:transparent; border:0; border-bottom:1px solid hsl(var(--gw-border)); text-align:start; cursor:pointer; }
.gw-mobile-menu .gw-mobile-item:hover { color:hsl(var(--gw-wine)); }
/* Wine is kept for links: an open group and the page you are on stay in ink, marked by weight and the solid icon. */
.gw-mobile-menu .gw-mobile-item[aria-expanded="true"],
.gw-mobile-menu .gw-mobile-item[aria-current="page"] { font-weight:600; }
.gw-mobile-menu .gw-mobile-item[aria-expanded="true"] .bi-chevron-down { transform:rotate(180deg); }
.gw-mobile-menu .bi-chevron-down { transition:transform .2s; }
/* Two columns: Fornitori alone has 20 entries, and one column pushed everything else two screens down. */
.gw-mobile-menu .collapse-body { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:.5rem; margin-inline:-.5rem; padding:.6rem 0 .9rem; }
.gw-mobile-menu .collapse-body a.gw-mobile-all { grid-column:1 / -1; }
.gw-mobile-menu .collapse-body a { display:flex; align-items:center; gap:.5rem; padding:.45rem .5rem; border-radius:.75rem; font-size:.875rem; line-height:1.25; color:hsl(var(--gw-muted-fg)); text-decoration:none; }
.gw-mobile-menu .collapse-body a:hover { color:hsl(var(--gw-wine)); }
.gw-mobile-menu .collapse-body .gw-megamenu__icon { width:2.25rem; height:2.25rem; }
@media (max-width:359.98px){ .gw-mobile-menu .collapse-body { column-gap:0; } .gw-mobile-menu .collapse-body a { padding-inline:.35rem; } }
.gw-mobile-menu .gw-mobile-tool .gw-megamenu__icon { background:hsl(var(--field-base)); color:hsl(var(--field-ink)); }
/* The couples' tools one per line, each with its line under the name: by name alone two of them sound alike. */
.gw-mobile-menu .collapse-body--list { grid-template-columns:minmax(0, 1fr); row-gap:.15rem; }
.gw-mobile-menu .gw-mobile-tool > span:last-child { display:flex; flex-direction:column; min-width:0; }
.gw-mobile-menu .gw-mobile-tool b { font-size:.95rem; font-weight:500; color:hsl(var(--gw-fg)); }
.gw-mobile-menu .gw-mobile-tool small { font-size:.78rem; font-weight:400; line-height:1.35; color:hsl(var(--gw-muted-fg)); }
.gw-mobile-menu .gw-mobile-tool:hover b,
.gw-mobile-menu .gw-mobile-tool:focus-visible b { color:hsl(var(--gw-wine)); }
.gw-mobile-menu .gw-mobile-tool[aria-current="page"] b { font-weight:600; }
/* The browser ring boxes a whole row in black on a phone: the wine colour marks focus, as on desktop. */
.gw-mobile-menu .gw-mobile-item:focus-visible,
.gw-mobile-menu .collapse-body a:focus-visible,
.gw-mobile-menu .gw-mobile-pro:focus-visible { outline:none; color:hsl(var(--gw-wine)); }
.gw-mobile-menu .collapse-body a[aria-current="page"] { background:hsl(var(--gw-champagne)); font-weight:600; color:hsl(var(--gw-fg)); }
.gw-mobile-menu .gw-mobile-tool[aria-current="page"] .gw-megamenu__icon,
.gw-mobile-menu .gw-mobile-pro[aria-current="page"] .gw-megamenu__icon { background:hsl(var(--field-ink)); color:#fff; }
.gw-mobile-menu .collapse-body a.gw-mobile-all { margin-top:.5rem; font-weight:500; color:hsl(var(--gw-wine)); }
.gw-mobile-menu .gw-mobile-group { margin:1.75rem 0 .35rem; font-size:.7rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:hsl(var(--gw-muted-fg)); }
.gw-mobile-menu .gw-mobile-group:first-child { margin-top:.25rem; }
.gw-mobile-menu .gw-mobile-pro { display:flex; align-items:center; gap:.75rem; padding:.75rem 0; border-bottom:1px solid hsl(var(--gw-border)); text-decoration:none; color:hsl(var(--gw-fg)); }
.gw-mobile-menu .gw-mobile-pro .gw-megamenu__icon { background:hsl(var(--field-base)); color:hsl(var(--field-ink)); }
.gw-mobile-menu .gw-mobile-pro > span:nth-child(2) { flex:1; display:flex; flex-direction:column; min-width:0; }
.gw-mobile-menu .gw-mobile-pro b { font-size:1rem; font-weight:500; line-height:1.3; }
.gw-mobile-menu .gw-mobile-pro small { font-size:.8rem; line-height:1.35; color:hsl(var(--gw-muted-fg)); }
.gw-mobile-menu .gw-mobile-pro > .bi { color:hsl(var(--gw-muted-fg)); }
.gw-mobile-menu .gw-mobile-pro:hover b { color:hsl(var(--gw-wine)); }
.gw-mobile-menu .gw-mobile-pro[aria-current="page"] b { font-weight:600; }
/* Always in view, whatever is open above. */
.gw-mobile-menu__foot { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; padding:.9rem var(--bs-offcanvas-padding-x) calc(.9rem + env(safe-area-inset-bottom)); border-top:1px solid hsl(var(--gw-border)); }

/* ── Hero (approvata, invariata) ── */
.hero { padding:5rem 0 3.5rem; }
.hero-grid { display:grid; grid-template-columns:minmax(0,6fr) minmax(0,5fr); gap:3.5rem; align-items:center; }
.hero h1 { font-size:clamp(2.5rem,5.2vw,4rem); line-height:1.05; font-weight:500; margin:1.4rem 0 1.1rem; letter-spacing:-.01em; }
.hero h1 em { font-style:italic; color:hsl(var(--gw-wine)); }
.hero .lead { font-size:1.1rem; color:hsl(var(--gw-muted-fg)); max-width:30rem; }
.hero-actions { display:flex; align-items:center; gap:1.4rem; margin-top:2rem; flex-wrap:wrap; }
.free-note { font-size:.85rem; color:hsl(var(--gw-muted-fg)); line-height:1.45; }
.free-note strong { color:hsl(var(--gw-fg)); }
/* Phones: hero CTAs stack full-width for easy tapping */
@media (max-width:575.98px) {
  .hero-actions { flex-direction:column; align-items:stretch; gap:.75rem; width:100%; }
  .hero-actions .btn { width:100%; }
}
.hero-proof { display:flex; align-items:center; gap:.75rem; margin-top:2.25rem; font-size:.82rem; color:hsl(var(--gw-muted-fg)); }
.avatars { display:flex; }
.avatars img { width:45px; height:45px; border-radius:50%; border:2px solid #fff; object-fit:cover; margin-left:-15px; }
.avatars img:first-child { margin-left:0; }
.hero-proof b { color:hsl(var(--gw-wine)); }
.hero-collage { position:relative; min-height:540px; }
.shot { position:absolute; border-radius:18px; overflow:hidden; border:6px solid #fff; box-shadow:0 36px 74px -22px hsl(var(--gw-wine)/.48); }
.shot img { width:100%; height:100%; object-fit:cover; }
.shot-a { width:66%; top:0; right:0; aspect-ratio:3/4; transform:rotate(2deg); z-index:2; }
.shot-b { width:50%; bottom:0; left:0; aspect-ratio:4/5; transform:rotate(-3deg); z-index:3; }
.shot-c { width:40%; top:8%; left:2%; aspect-ratio:1/1; transform:rotate(-7deg); z-index:1; box-shadow:0 20px 46px -14px hsl(var(--gw-wine)/.35); }
.float-chip { position:absolute; background:#fff; border-radius:999px; box-shadow:var(--gw-shadow-soft); padding:.55rem 1.05rem; font-size:.8rem; display:flex; align-items:center; gap:.5rem; animation:bob 5s ease-in-out infinite; z-index:2; }
.float-chip b { color:hsl(var(--gw-wine)); }
.chip-1 { right:4%; bottom:26%; animation-delay:1.2s; z-index:4; }
.chip-2 { left:14%; top:-2%; z-index:4; }
.dot { width:8px; height:8px; border-radius:50%; background:hsl(var(--gw-wine)); flex-shrink:0; }
.dot.warn { background:hsl(35 80% 45%); }
@keyframes bob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-7px); } }

.block { padding:3.75rem 0; }
/* A section reached by its anchor stops below the sticky header, not under it. */
.block[id] { scroll-margin-top:3rem; }

/* ── SHOWCASE cinematografico: il video protagonista ── */
.showcase-head { text-align:center; max-width:42rem; margin:0 auto 2.5rem; }
.showcase-head h2 { font-size:clamp(1.9rem,3.6vw,2.7rem); font-weight:500; line-height:1.12; margin-top:1rem; }
.showcase-head h2 em { font-style:italic; color:hsl(var(--gw-wine)); }
.showcase-head p { color:hsl(var(--gw-muted-fg)); margin-top:.75rem; }
.cinema { position:relative; }
.cinema-frame { position:relative; border-radius:1.25rem; overflow:hidden; box-shadow:0 34px 80px -24px hsl(var(--gw-wine)/.38); border:1px solid hsl(var(--gw-border)); background:#fff; }
.cinema-bar { display:flex; align-items:center; gap:6px; padding:.7rem 1rem; border-bottom:1px solid hsl(var(--gw-border)); background:#fff; }
.cinema-bar i { width:10px; height:10px; border-radius:50%; background:hsl(var(--gw-champagne)); border:1px solid hsl(var(--gw-border)); }
.cinema-bar span { margin-left:.5rem; font-size:.75rem; color:hsl(var(--gw-muted-fg)); }
.cinema-screen { aspect-ratio:16/9; position:relative; display:flex; align-items:center; justify-content:center;
  background:
    radial-gradient(240px 240px at 22% 38%, hsl(var(--gw-wine)/.10) 0 58px, transparent 60px),
    radial-gradient(200px 200px at 48% 68%, hsl(var(--gw-wine)/.08) 0 46px, transparent 48px),
    radial-gradient(220px 220px at 74% 32%, hsl(var(--gw-wine)/.09) 0 52px, transparent 54px),
    radial-gradient(160px 160px at 88% 74%, hsl(var(--gw-wine)/.07) 0 36px, transparent 38px),
    linear-gradient(160deg, hsl(var(--gw-champagne-light)), hsl(var(--gw-blush)));
}
.cinema-screen .veil { position:absolute; inset:0; background:linear-gradient(to top, hsl(var(--gw-wine-dark)/.16), transparent 45%); }
.play-wrap { position:relative; display:flex; flex-direction:column; align-items:center; gap:.9rem; }
.play-xl { position:relative; width:84px; height:84px; border-radius:50%; background:hsl(var(--gw-wine)); display:grid; place-items:center; cursor:pointer; box-shadow:0 16px 40px hsl(var(--gw-wine)/.45); transition:transform .2s ease; }
.play-xl:hover { transform:scale(1.07); }
.play-xl::before { content:''; position:absolute; inset:-14px; border-radius:50%; border:1px solid hsl(var(--gw-wine)/.35); animation:pulse 2.6s ease-out infinite; }
.play-xl::after { content:''; border-left:24px solid #fff; border-top:15px solid transparent; border-bottom:15px solid transparent; margin-left:6px; }
@keyframes pulse { 0% { transform:scale(.85); opacity:1; } 100% { transform:scale(1.35); opacity:0; } }
.play-cap { font-size:.9rem; font-weight:600; color:hsl(var(--gw-wine-dark)); }
.play-sub { font-size:.78rem; color:hsl(var(--gw-muted-fg)); margin-top:-.5rem; }
.cine-chip { position:absolute; background:#fff; border-radius:999px; box-shadow:var(--gw-shadow-soft); padding:.55rem 1.05rem; font-size:.8rem; display:flex; align-items:center; gap:.5rem; z-index:3; animation:bob 6s ease-in-out infinite; }
.cine-chip b { color:hsl(var(--gw-wine)); }
.cc-1 { top:-16px; left:6%; }
.cc-2 { bottom:-16px; right:8%; animation-delay:1.4s; }
.cc-3 { top:34%; right:-14px; animation-delay:.7s; }
/* Carosello azioni — slide larghe, full-bleed oltre il container */
.loops-swiper { margin-top:5rem; overflow:visible; }
.loops-swiper .swiper-slide { width:min(720px, 82vw); transition:opacity .3s ease; }
.loops-swiper .swiper-slide:not(.swiper-slide-active) { opacity:.45; }
.loop-slide { background:#fff; border:1px solid hsl(var(--gw-border)); border-radius:1.25rem; overflow:hidden; box-shadow:var(--gw-shadow-card); }
.swiper-slide-active .loop-slide { box-shadow:0 24px 60px -18px hsl(var(--gw-wine)/.3); }
.loop-slide .bar { display:flex; align-items:center; gap:6px; padding:.6rem .9rem; border-bottom:1px solid hsl(var(--gw-border)); }
.loop-slide .bar i { width:9px; height:9px; border-radius:50%; background:hsl(var(--gw-champagne)); border:1px solid hsl(var(--gw-border)); }
.loop-slide .bar span { margin-left:.5rem; font-size:.72rem; color:hsl(var(--gw-muted-fg)); }
.loop-slide .screen { aspect-ratio:16/9; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.55rem;
  background:linear-gradient(160deg, hsl(var(--gw-champagne-light)), hsl(var(--gw-blush))); }
.loop-slide .loop-glyph { width:46px; height:46px; border-radius:50%; border:1.5px solid hsl(var(--gw-wine)/.45); color:hsl(var(--gw-wine)); display:grid; place-items:center; font-size:1.1rem; background:#fff; box-shadow:var(--gw-shadow-soft); }
.loop-slide .act { font-size:.95rem; font-weight:600; color:hsl(var(--gw-wine-dark)); }
.loop-slide .dur { font-size:.72rem; color:hsl(var(--gw-muted-fg)); }
.loop-slide .caption { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; padding:1.05rem 1.4rem 1.2rem; }
.loop-slide .caption b { font-size:.98rem; font-weight:600; }
.loop-slide .caption span { font-size:.85rem; color:hsl(var(--gw-muted-fg)); text-align:right; }
.loops-nav { display:flex; align-items:center; justify-content:center; gap:1.25rem; margin-top:1.75rem; }
.loops-btn { width:44px; height:44px; border-radius:50%; border:1px solid hsl(var(--gw-border)); background:#fff; color:hsl(var(--gw-wine)); font-size:1.05rem; display:grid; place-items:center; cursor:pointer; box-shadow:var(--gw-shadow-card); transition:background .15s ease, color .15s ease; user-select:none; }
.loops-btn:hover { background:hsl(var(--gw-wine)); color:#fff; }
.loops-frac { font-size:.85rem; color:hsl(var(--gw-muted-fg)); min-width:3.5rem; text-align:center; }
.loops-frac b { color:hsl(var(--gw-wine)); font-weight:600; }

/* ── Momento emotivo: foto a tutta larghezza, il "perché" ── */
.moment { display:grid; grid-template-columns:minmax(0,11fr) minmax(0,9fr); min-height:60vh; margin:2.5rem 0; }
.moment-txt { display:flex; flex-direction:column; justify-content:center; padding:4.5rem clamp(2rem,7vw,6.5rem) 4.5rem clamp(1.5rem,9vw,9rem); }
.moment-line { font-family:var(--gw-font-serif); font-size:clamp(2rem,4.2vw,3.4rem); line-height:1.16; margin-top:1.3rem; font-weight:500; color:hsl(var(--gw-fg)); letter-spacing:-.01em; }
.moment-line em { font-style:italic; color:hsl(var(--gw-wine)); }
.moment-sub { margin-top:1.3rem; font-size:1rem; color:hsl(var(--gw-muted-fg)); max-width:26rem; }
.moment-pic { position:relative; border-radius:2.25rem 0 0 2.25rem; overflow:hidden; margin-block:2rem; box-shadow:0 24px 60px -20px hsl(var(--gw-wine)/.35); }
.moment-pic img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
@media (max-width:900px){ .moment { grid-template-columns:1fr; } .moment-pic { min-height:56vw; position:relative; order:-1; border-radius:0 0 2.25rem 2.25rem; margin-block:0 1rem; } .moment-txt { padding:2.5rem 1.5rem; } }

/* ── Pannello documenti (unico pannello centrale) ── */
.panel-pad { padding:3.5rem clamp(1.5rem,4vw,3.5rem); }
.panel-head { text-align:center; max-width:38rem; margin:0 auto 2.75rem; }
.panel-head h2 { font-size:clamp(1.7rem,3.2vw,2.4rem); font-weight:500; line-height:1.15; margin-top:1rem; }
.panel-head h2 em { font-style:italic; color:hsl(var(--gw-wine)); }
.panel-head p { color:hsl(var(--gw-muted-fg)); margin-top:.7rem; }
.docs-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; align-items:start; }
.doc { background:#fff; border:1px solid hsl(var(--gw-border)/.5); border-radius:1rem; padding:1.6rem 1.5rem; box-shadow:var(--gw-shadow-card); transition:transform .2s ease, box-shadow .2s ease; color:inherit; text-decoration:none; }
.doc:hover { transform:translateY(-4px); box-shadow:var(--gw-shadow-elevated); }
.doc:nth-child(2) { margin-top:1.5rem; }
.doc { padding:0; overflow:hidden; }
.doc-shot { aspect-ratio:16/10; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.55rem;
  background:linear-gradient(160deg, hsl(var(--gw-champagne-light)), hsl(var(--gw-blush))); border-bottom:1px solid hsl(var(--gw-border)/.6); }
.doc-shot svg { width:34px; height:34px; stroke:hsl(var(--gw-wine)); }
.doc-shot .cap { font-size:.72rem; color:hsl(var(--gw-muted-fg)); }
.doc-body { padding:1.2rem 1.5rem 1.5rem; }
.doc h3 { font-size:1.15rem; font-weight:600; margin:0 0 .35rem; }
.doc p { font-size:.875rem; color:hsl(var(--gw-muted-fg)); }

/* ── Quote ALL'ARIA APERTA: niente scatola ── */
.quote-open { position:relative; padding:4.5rem 0 3.5rem; }
.quote-open .bigmark { position:absolute; top:-1.5rem; left:-1rem; font-family:var(--gw-font-serif); font-size:16rem; line-height:1; color:hsl(var(--gw-wine)/.08); pointer-events:none; user-select:none; }
.quote-grid { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:3.5rem; align-items:center; }
blockquote { font-family:var(--gw-font-serif); font-style:italic; font-size:clamp(1.5rem,2.8vw,2.1rem); line-height:1.38; position:relative; }
.quote-by { margin-top:1.5rem; font-size:.875rem; color:hsl(var(--gw-muted-fg)); display:flex; align-items:center; gap:.75rem; }
.quote-by b { color:hsl(var(--gw-fg)); }
.quote-by::before { content:''; width:2.25rem; height:1px; background:hsl(var(--gw-wine)); }
.quote-photo { border-radius:16px; overflow:hidden; border:5px solid #fff; box-shadow:var(--gw-shadow-elevated); transform:rotate(2deg); aspect-ratio:4/5; }
.quote-photo img { width:100%; height:100%; object-fit:cover; }

/* ── Pricing su canvas aperto ── */
.price-duo { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; max-width:820px; margin-inline:auto; }
.plan { border-radius:1.15rem; padding:2rem 1.8rem; }
.plan.free { background:#fff; border:1px solid hsl(var(--gw-border)); box-shadow:var(--gw-shadow-card); }
.badge-free { display:inline-block; font-size:.72rem; font-weight:600; color:hsl(var(--gw-wine)); background:hsl(var(--gw-wine)/.08); border-radius:999px; padding:.3rem .8rem; }
.plan h3 { font-size:1.4rem; margin:.95rem 0 0; }
.amount { font-family:var(--gw-font-serif); font-size:2.7rem; color:hsl(var(--gw-wine)); }
.amount small { font-family:var(--gw-font-sans); font-size:.8rem; color:hsl(var(--gw-muted-fg)); font-weight:400; }
.plan ul { list-style:none; margin-top:1.15rem; font-size:.9rem; }
.plan ul li { padding:.32rem 0 .32rem 1.5rem; position:relative; color:hsl(var(--gw-muted-fg)); }
.plan ul li::before { content:'✓'; position:absolute; left:0; color:hsl(var(--gw-wine)); font-weight:700; }
.plan.domain { background:linear-gradient(135deg, hsl(var(--gw-wine)), hsl(var(--gw-wine-dark))); color:#fff; box-shadow:var(--gw-shadow-elevated); }
.plan.domain h3, .plan.domain .amount { color:#fff; }
.plan.domain .amount small { color:hsl(var(--gw-champagne)); }
.plan.domain ul li { color:hsl(var(--gw-champagne)); }
.plan.domain ul li::before { color:#fff; }
.badge-domain { display:inline-block; font-size:.72rem; font-weight:600; color:#fff; background:rgba(255,255,255,.16); border-radius:999px; padding:.3rem .8rem; }
.plan.domain .note { font-size:.8rem; margin-top:1.15rem; padding-top:1rem; border-top:1px solid rgba(255,255,255,.25); color:hsl(var(--gw-champagne)); }
.price-foot { text-align:center; margin-top:1.5rem; font-size:.85rem; color:hsl(var(--gw-muted-fg)); }

/* ── Chiusura: unico altro pannello ── */
.closing-inner { text-align:center; padding:4rem clamp(1.5rem,4vw,3rem); position:relative; }
.panel-wine::before { content:''; position:absolute; inset:0;
  background:
    radial-gradient(500px 300px at 15% 20%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(500px 320px at 85% 85%, rgba(255,255,255,.06), transparent 60%);
}
.closing-kicker { font-family:var(--gw-font-sans); font-size:1rem; font-weight:500; color:hsl(var(--gw-champagne)); position:relative; margin-bottom:.9rem; text-wrap:balance; }
.closing-inner h2 { color:#fff; font-size:clamp(1.9rem,3.6vw,2.7rem); font-weight:500; position:relative; }
.closing-inner h2 em { font-style:italic; color:hsl(var(--gw-champagne)); }
.btn-light { display:inline-block; margin-top:1.6rem; background:#fff; color:hsl(var(--gw-wine-dark)); font-weight:600; padding:.95rem 2.3rem; border-radius:var(--gw-radius); text-decoration:none; position:relative; transition:transform .18s ease, box-shadow .18s ease; }
.btn-light:hover { transform:translateY(-2px); box-shadow:0 14px 34px rgba(0,0,0,.25); }
/* On a phone the side padding gives way first, then on the narrowest ones the type, so a button's words stay on
   one line; the closing button takes the panel's whole width. */
@media (max-width:575.98px) {
  .btn-wine, .btn-light, .btn-ghost { padding-inline:1.1rem; }
  .closing-inner .btn-light { display:block; }
}
@media (max-width:359.98px) {
  .btn-wine, .btn-light, .btn-ghost { padding-inline:.8rem; font-size:.92rem; }
}
.assure { margin-top:1rem; font-size:.85rem; color:hsl(var(--gw-champagne)); position:relative; text-wrap:balance; }

/* Chiusura con foto reale sotto overlay vino: profondità + calore, testo bianco leggibile */
.panel-wine--photo .panel-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 42%; }
.panel-wine--photo::before {
  content:''; position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(80% 120% at 50% 0%, hsl(var(--gw-wine)/.78), transparent 70%),
    linear-gradient(135deg, hsl(var(--gw-wine)/.9) 0%, hsl(var(--gw-wine-dark)/.92) 100%);
}
.panel-wine--photo .closing-inner { position:relative; z-index:2; }

/* ── Card layout: desktop (>=992px) = griglia CSS vera; sotto = Swiper orizzontale
   con peek e full-bleed. Lo Swiper è istanziato via JS solo sotto i 992px. ── */
@media (max-width:991.98px){
  .swiper.gw-swiper-bleed { margin-inline:calc(50% - 50vw); }
}
.gw-home-swiper { padding-block:.5rem 1rem; margin-block:-.5rem -1rem; }
.gw-home-swiper .swiper-slide { height:auto; display:flex; }
.gw-home-swiper .swiper-slide > * { width:100%; }
@media (min-width:992px){
  .swiper.gw-home-swiper { overflow:visible; }
  .gw-home-swiper .swiper-wrapper { display:grid; gap:1.5rem; transform:none !important; }
  .gw-home-swiper[data-gw-swiper="venues"] .swiper-wrapper,
  .gw-home-swiper[data-gw-swiper="journey"] .swiper-wrapper,
  .gw-home-swiper[data-gw-swiper="vendors"] .swiper-wrapper { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .gw-home-swiper .swiper-slide { width:auto !important; }
}

/* ── A bento grid of photo tiles from 992px, below it a carousel like the tools' doors ── */
@media (min-width:992px) {
  .gw-home-swiper .gw-bento { grid-template-columns:repeat(3,1fr); grid-auto-rows:230px; gap:1.1rem; }
  .gw-bento__slide--tall { grid-row:span 2; }
}
/* A photo tile: the picture, a dark fade at its foot, the caption and its arrow. */
.gw-bento__tile {
  position:relative; border-radius:20px; overflow:hidden; display:block;
  isolation:isolate; text-decoration:none;
}
.gw-bento__tile img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1;
  transition:transform 1s cubic-bezier(.22,1,.36,1);
}
.gw-bento__tile:hover img { transform:scale(1.06); }
.gw-bento__tile::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(185deg, transparent 40%, hsl(340 55% 15% / .78));
}
.gw-bento__cap {
  position:absolute; inset:auto 0 0 0; padding:1.4rem 1.5rem; color:#fff;
  display:flex; align-items:flex-end; justify-content:space-between; gap:1rem;
}
.gw-bento__cap b { font-family:var(--gw-font-serif); font-weight:600; font-size:1.35rem; line-height:1.15; display:block; }
.gw-bento__cap small { display:block; margin-top:.3rem; opacity:.85; font-size:.82rem; line-height:1.4; }
.gw-bento__go {
  flex:none; width:40px; height:40px; border-radius:50%;
  border:1px solid hsl(0 0% 100% / .5); display:grid; place-items:center; color:#fff;
  transition:background .3s ease, border-color .3s ease, transform .35s cubic-bezier(.22,1,.36,1);
}
.gw-bento__tile:hover .gw-bento__go { background:hsl(var(--gw-wine)); border-color:hsl(var(--gw-wine)); transform:rotate(-45deg); }
@media (max-width:991.98px) {
  .gw-bento__tile { min-height:22.5rem; }
}

/* ── Testimonianza video (stile sito ufficiale): video protagonista a destra
   (formato ~4:3), card citazione vino che sborda a sinistra e ci si sovrappone ── */
.testimonial { position:relative; }
.testi-video { position:relative; display:block; width:76%; margin-left:auto; aspect-ratio:4/3; border-radius:1.25rem; overflow:hidden; box-shadow:0 40px 92px -34px hsl(var(--gw-wine)/.5); }
.testi-video img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.testi-video:hover img { transform:scale(1.03); }
.testi-video .play-xl { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:2; }
.testi-video:hover .play-xl { transform:translate(-50%,-50%) scale(1.07); }

/* ── A video on Bunny Stream (partials/components/video.php): the poster until the click, then the player ── */
.gw-video { position:relative; aspect-ratio:var(--video-ratio, 16 / 9); overflow:hidden; border-radius:1.25rem; background:#1b1416; box-shadow:0 0 0 1px hsl(var(--gw-border)), 0 40px 92px -34px hsl(var(--gw-wine)/.5); }
.gw-video__start { display:block; width:100%; height:100%; padding:0; border:0; background:none; cursor:pointer; }
.gw-video__start img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.gw-video__start:hover img { transform:scale(1.03); }
.gw-video .play-xl { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:2; }
.gw-video__start:hover .play-xl { transform:translate(-50%,-50%) scale(1.07); }
.gw-video__start:focus-visible { outline:3px solid hsl(var(--gw-wine)); outline-offset:3px; }
.gw-video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
/* In the phone the video keeps its full width, in the middle of the taller screen; above and below it the screen
   takes the colours of the video's own top and bottom edge, so no band shows, and the island sits over the top one. */
.gw-video-phone .gw-rp-phone__screen { background:linear-gradient(var(--video-top, #000) 50%, var(--video-bottom, #000) 50%); }
.gw-video-phone .gw-video { position:absolute; top:50%; left:0; width:100%; border-radius:0; background:none; box-shadow:none; transform:translateY(-50%); }
.testi-quote { position:absolute; z-index:3; top:50%; left:0; transform:translateY(-50%); width:min(44%,30rem); padding:2.75rem 2.5rem 2.5rem; border-radius:1.25rem; color:#fff; background:hsl(var(--gw-wine)); box-shadow:0 30px 72px -26px hsl(var(--gw-wine-dark)/.7); }
.testi-mark { position:absolute; top:-1.15rem; left:1.75rem; display:flex; align-items:center; justify-content:center; width:3rem; height:3rem; padding-top:1rem; background:#fff; border-radius:.85rem; color:hsl(var(--gw-wine)); font-family:var(--gw-font-serif); font-weight:700; font-size:3.2rem; line-height:1; box-shadow:0 10px 24px hsl(var(--gw-wine-dark)/.28); }
.testi-quote blockquote { position:relative; margin:0; font-family:var(--gw-font-sans); font-style:normal; font-size:clamp(1rem,1.3vw,1.18rem); line-height:1.55; color:hsl(var(--gw-champagne)); }
.testi-quote blockquote b { display:block; margin-top:.9rem; color:#fff; font-weight:600; }
.testi-by { margin-top:1.4rem; font-size:.88rem; font-weight:500; color:hsl(var(--gw-champagne)/.85); }

@media (max-width:900px){
  .hero-grid,.quote-grid{grid-template-columns:1fr;}
  .docs-grid,.price-duo{grid-template-columns:1fr;}
  .doc:nth-child(2){margin-top:0;}
  .cc-3{display:none;}
  /* single column: center the hero content so it doesn't sit left with empty space */
  .hero-grid{text-align:center;}
  .hero .lead{margin-inline:auto;}
  .hero-actions{justify-content:center;}
  .hero-proof{justify-content:center;}
  /* collage under the text: cap the width so % shots don't balloon on wide
     phones/tablets (else shot-b, anchored bottom:0, overflows up onto the proof).
     Use an EXPLICIT width (not max-width): the collage only holds position:absolute
     shots, so with width:auto + margin:auto a grid item collapses to 0 and the
     photos vanish. Clear separation from the proof line, all 3 shots shown. */
  .hero-collage{min-height:420px;width:min(28rem,100%);margin:2.5rem auto 0;}
  .shot-a{width:64%;}
  .shot-b{width:50%;}
  .shot-c{width:40%;top:4%;left:0;}
  .float-chip{font-size:.72rem;padding:.45rem .85rem;}
  .chip-2{top:0;left:auto;right:2%;}
  .chip-1{bottom:0;right:auto;left:0;}
  .testi-video{width:100%;aspect-ratio:16/9;}
  /* the quote rises over the video's bottom edge: the play sits in the middle of what stays visible */
  .testi-video .play-xl{top:44%;}
  .testi-quote{position:relative;top:auto;transform:none;width:auto;margin:-1.75rem 1rem 0;padding-top:2.75rem;}
}
@media (max-width:575.98px){
  .testi-video{aspect-ratio:4/3;}
  .testi-video .play-xl{width:60px;height:60px;}
  .testi-video .play-xl::before{inset:-10px;}
  .testi-video .play-xl::after{border-left-width:17px;border-top-width:11px;border-bottom-width:11px;margin-left:4px;}
}

.visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip-link { position:absolute; left:-999px; top:0; background:#fff; color:hsl(var(--gw-wine)); padding:.5rem 1rem; z-index:2000; }
.skip-link:focus { left:0; }

/* ── Site footer (ported from WP theme.css) ── */
.gw-site-footer { position:relative; overflow:hidden; color:var(--gw-on-wine-text); padding-top:2.5rem; padding-bottom:1.25rem; margin-top:3.5rem; }
@media (min-width:992px){ .gw-site-footer { padding-top:4rem; padding-bottom:1.75rem; } }
.gw-site-footer__bg { position:absolute; inset:0; background:hsl(var(--gw-wine)); pointer-events:none; }
.gw-site-footer a { color:var(--gw-on-wine-text); text-decoration:none; transition:color .2s ease; }
.gw-site-footer a:hover { color:#fff; }

.gw-site-footer__newsletter { display:grid; gap:1.25rem; align-items:center; padding-bottom:2rem; margin-bottom:2rem; border-bottom:1px solid hsl(0 0% 100% / .1); }
@media (min-width:992px){ .gw-site-footer__newsletter { grid-template-columns:minmax(0,1fr) minmax(0,26rem); padding-bottom:2.5rem; margin-bottom:2.5rem; } }
.gw-site-footer__newsletter h2 { font-family:var(--gw-font-serif); font-size:1.5rem; font-weight:500; color:#fff; margin-bottom:.35rem; }
.gw-site-footer__newsletter h2 em { font-style:italic; color:hsl(var(--gw-champagne)); }
.gw-site-footer__newsletter p { font-size:.875rem; color:var(--gw-on-wine-text); margin:0; }
/* Fields on the wine: the newsletter in the footer, the webinar's form on its closing panel. */
.gw-newsletter-form .form-control, .gw-ru-signup--panel .form-control { background:hsl(0 0% 100% / .12); border-color:hsl(0 0% 100% / .25); color:#fff; }
.gw-newsletter-form .form-control::placeholder, .gw-ru-signup--panel .form-control::placeholder { color:hsl(0 0% 100% / .55); }
.gw-newsletter-form .form-control:focus, .gw-ru-signup--panel .form-control:focus { background:hsl(0 0% 100% / .16); border-color:hsl(0 0% 100% / .5); box-shadow:0 0 0 .25rem hsl(0 0% 100% / .1); color:#fff; }
/* neutralize the closing-CTA .btn-light sizing inside the compact form row. It is also a Bootstrap .btn, which greys it
   on hover and press: it stays white, as the closing's call does, and only lifts. */
.gw-newsletter-form .btn-light { margin-top:0; padding:.55rem 1.4rem; white-space:nowrap; --bs-btn-hover-bg:#fff; --bs-btn-hover-border-color:#fff; --bs-btn-hover-color:hsl(var(--gw-wine-dark)); --bs-btn-active-bg:#fff; --bs-btn-active-border-color:#fff; --bs-btn-active-color:hsl(var(--gw-wine-dark)); }
.gw-site-footer__newsletter .gw-newsletter-note { margin-top:.6rem; color:hsl(var(--gw-champagne)); }
.gw-site-footer__newsletter .gw-newsletter-note.is-error { color:#fff; font-weight:500; }
.gw-site-footer__newsletter .gw-newsletter-legal { margin-top:.6rem; font-size:.78rem; color:var(--gw-on-wine-text); }
.gw-newsletter-legal a { text-decoration:underline; text-underline-offset:.2em; }
/* While a form is on its way, a wheel takes the button's label; the button keeps its width and stays fully opaque. */
.btn-light.is-loading, .btn-wine.is-loading { position:relative; color:transparent; opacity:1; }
.btn-light.is-loading::after, .btn-wine.is-loading::after { content:""; position:absolute; inset:0; width:1.15rem; height:1.15rem; margin:auto; border:2px solid hsl(var(--gw-wine)); border-right-color:transparent; border-radius:50%; animation:gw-spin .7s linear infinite; }
@keyframes gw-spin { to { transform:rotate(360deg); } }
.btn-wine.is-loading::after { border-color:#fff; border-right-color:transparent; }
@media (prefers-reduced-motion:reduce){ .btn-light.is-loading::after, .btn-wine.is-loading::after { animation-duration:1.6s; } }

/* The field only bots fill in: off screen, out of the tab order, hidden from screen readers. */
.gw-form-hp { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }

.gw-site-footer__top { padding-bottom:2rem; }
@media (min-width:992px){ .gw-site-footer__top { padding-bottom:3rem; } }
.gw-site-footer a.gw-site-footer__brand { display:inline-flex; color:#fff; margin-bottom:.75rem; }
.gw-site-footer a.gw-site-footer__brand:hover { color:#fff; }
.gw-site-footer__desc { font-size:.8125rem; line-height:1.65; color:var(--gw-on-wine-text); max-width:24rem; margin:0; }
@media (min-width:992px){ .gw-site-footer__desc { font-size:.875rem; } }

.gw-site-footer__socials { display:flex; gap:.75rem; margin-top:1.25rem; }
@media (min-width:992px){ .gw-site-footer__socials { margin-top:1.5rem; } }
.gw-site-footer__social { display:inline-flex; align-items:center; justify-content:center; width:2.25rem; height:2.25rem; border-radius:50%; background:hsl(0 0% 100% / .1); color:#fff !important; font-size:1rem; transition:background .2s ease, transform .2s ease; }
.gw-site-footer__social:hover { background:hsl(0 0% 100% / .2); transform:scale(1.05); }
@media (min-width:992px){ .gw-site-footer__social { width:2.5rem; height:2.5rem; font-size:1.125rem; } }
/* A landing that keeps its people on it: only the logo and the socials above the legal line. */
.gw-site-footer__slim { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem 2rem; padding-bottom:1.6rem; }
.gw-site-footer__slim .gw-site-footer__brand { display:inline-flex; margin:0; }
.gw-site-footer__slim .gw-site-footer__socials { margin:0; }

/* On a phone the couples' long list takes one column and the two short ones stack beside it;
   the 1fr row soaks up its extra height, so the second short list sits right under the first. */
.gw-site-footer__nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto 1fr; gap:1.5rem; }
.gw-site-footer__sposi { grid-row:span 2; }
@media (min-width:576px){
  .gw-site-footer__nav { grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:none; }
  .gw-site-footer__sposi { grid-row:auto; }
}
@media (min-width:992px){ .gw-site-footer__nav { gap:3rem; } }
.gw-site-footer__heading { font-size:.75rem; font-family:var(--gw-font-sans); font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:#fff; margin-bottom:.75rem; }
@media (min-width:992px){ .gw-site-footer__heading { font-size:.8125rem; margin-bottom:1.25rem; } }
.gw-site-footer__links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.5rem; font-size:.8125rem; }
@media (min-width:992px){ .gw-site-footer__links { gap:.75rem; font-size:.875rem; } }

.gw-site-footer__bottom { display:flex; flex-direction:column; gap:.6rem; border-top:1px solid hsl(0 0% 100% / .1); padding:1rem 0; font-size:.75rem; color:var(--gw-on-wine-text); }
@media (min-width:992px){ .gw-site-footer__bottom { flex-direction:row; justify-content:space-between; align-items:center; gap:1.5rem; padding:1.5rem 0; font-size:.8125rem; } }
.gw-site-footer__bottom p { margin:0; }
.gw-site-footer__legal { list-style:none; display:flex; flex-wrap:wrap; gap:.25rem 1.25rem; padding:0; margin:0; }
.gw-site-footer__heart { color:hsl(var(--gw-champagne)); font-size:.875rem; margin:0 .125rem; vertical-align:-1px; }

/* ── The coloured field of a product: its page's hero and one band near the end, and its door
   on the home. Each product has its own tint, taken from the couple's palettes. ── */
.gw-field { position: relative; isolation: isolate; }
.gw-field::before,
.gw-field::after {
    content: '';
    position: absolute;
    inset: var(--field-inset, 0);
    z-index: -1;
    pointer-events: none;
}
.gw-field::before {
    background:
        radial-gradient(30% 55% at 80% 45%, hsl(0 0% 100% / .45), transparent 70%),
        radial-gradient(55% 75% at 0% 0%, hsl(var(--field-warm) / .75), transparent 70%),
        radial-gradient(50% 70% at 100% 100%, hsl(var(--field-deep) / .6), transparent 70%),
        hsl(var(--field-base));
}
/* The floral paper of the intro envelope, used as a stencil so it prints in the tint: floral-mask.webp keeps only its
   alpha, the one thing a mask reads. */
.gw-field::after {
    background: hsl(var(--field-ink) / .12);
    -webkit-mask: url(../img/patterns/floral-mask.webp) 0 0 / 520px repeat;
    mask: url(../img/patterns/floral-mask.webp) 0 0 / 520px repeat;
}
.gw-tint-rosa { --field-base: 345 34% 89%; --field-warm: 22 55% 91%; --field-deep: 342 34% 83%; --field-ink: 340 45% 36%; }
.gw-tint-lavanda { --field-base: 268 30% 90%; --field-warm: 318 35% 92%; --field-deep: 262 30% 82%; --field-ink: 266 30% 34%; }
.gw-tint-blu-notte { --field-base: 214 36% 89%; --field-warm: 196 40% 92%; --field-deep: 218 34% 81%; --field-ink: 216 36% 30%; }
.gw-tint-tramonto { --field-base: 18 62% 90%; --field-warm: 38 72% 90%; --field-deep: 10 50% 84%; --field-ink: 14 48% 36%; }
.gw-tint-sabbia { --field-base: 36 38% 88%; --field-warm: 44 55% 91%; --field-deep: 28 30% 80%; --field-ink: 30 32% 30%; }
.gw-tint-salvia { --field-base: 100 20% 88%; --field-warm: 68 30% 90%; --field-deep: 125 16% 80%; --field-ink: 110 20% 28%; }
.gw-tint-mare { --field-base: 176 30% 87%; --field-warm: 150 32% 91%; --field-deep: 188 30% 79%; --field-ink: 182 36% 25%; }
.gw-tint-smeraldo { --field-base: 152 42% 86%; --field-warm: 130 45% 90%; --field-deep: 162 38% 78%; --field-ink: 158 45% 24%; }
.gw-tint-oro { --field-base: 43 62% 86%; --field-warm: 52 70% 89%; --field-deep: 35 48% 79%; --field-ink: 34 52% 28%; }
.gw-tint-orchidea { --field-base: 306 30% 89%; --field-warm: 328 42% 92%; --field-deep: 296 26% 82%; --field-ink: 300 32% 30%; }
/* Giardino Toscano: fresher than Salvia, with a terracotta corner where Salvia's goes yellow. */
.gw-tint-giardino { --field-base: 98 32% 86%; --field-warm: 26 58% 90%; --field-deep: 106 28% 78%; --field-ink: 104 30% 27%; }
/* Cipria: the webinar landing's blush, with a terracotta corner. */
.gw-tint-cipria { --field-base: 10 52% 89%; --field-warm: 30 60% 91%; --field-deep: 6 46% 82%; --field-ink: 6 44% 36%; }

/* ── The phone of the replicas, on the product pages and in the home's Sito door: sizes inside
   are in cqi, so the screen is a real 390px phone scaled down ── */
/* isolation keeps the layers inside the screen (status bar, address bar) from rising over what overlaps the phone. */
.gw-rp-phone {
    isolation: isolate;
    width: clamp(15rem, 22vw, 18.5rem);
    aspect-ratio: 9 / 19.5;
    padding: .55rem;
    border-radius: 2.9rem;
    background: linear-gradient(150deg, #3a3034, #151113 55%);
    box-shadow:
        inset 0 0 0 1.5px hsl(0 0% 100% / .14),
        0 0 0 1px hsl(340 30% 8% / .5),
        0 45px 80px -30px hsl(340 60% 8% / .75);
}
.gw-rp-phone__screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    container-type: size;
    border-radius: 2.4rem;
    background: #2a2a28;
}
.gw-rp-phone__status {
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4.4cqi 7cqi 0 9cqi;
    font: 600 3.9cqi/1 -apple-system, 'Inter', sans-serif;
    color: #fff;
}
.gw-rp-phone__status span { display: flex; gap: 1.4cqi; font-size: 3.5cqi; }
.gw-rp-phone__island {
    position: absolute;
    top: 2.8cqi;
    left: 50%;
    z-index: 3;
    width: 30cqi;
    height: 8.6cqi;
    border-radius: 99px;
    background: #000;
    transform: translateX(-50%);
}
.gw-rp-phone__address {
    position: absolute;
    left: 6cqi;
    right: 6cqi;
    bottom: 6cqi;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6cqi;
    height: 11.5cqi;
    padding-inline: 4cqi;
    border-radius: 99px;
    background: rgba(250, 248, 248, .82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
    font: 400 3.6cqi/1 'Inter', sans-serif;
    color: #6b6168;
    white-space: nowrap;
    overflow: hidden;
}
.gw-rp-phone__address .bi { font-size: 2.8cqi; }
.gw-rp-phone__url { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gw-rp-phone__address [data-gw-url] { color: #2b2427; font-weight: 500; }
.gw-rp-phone__home {
    position: absolute;
    bottom: 2cqi;
    left: 50%;
    z-index: 3;
    width: 34cqi;
    height: 1.2cqi;
    border-radius: 99px;
    background: rgba(255, 255, 255, .85);
    transform: translateX(-50%);
}

/* Only the weights the replicas use, copied from the app's self-hosted catalog. */
@font-face { font-family: 'Cormorant Garamond'; font-weight: 300; font-display: swap; src: url(../fonts/cormorant-garamond/cormorant-garamond-300-latin.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-display: swap; src: url(../fonts/cormorant-garamond/cormorant-garamond-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-garamond/cormorant-garamond-600-latin.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-display: swap; src: url(../fonts/cormorant-garamond/cormorant-garamond-700-latin.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 300; font-display: swap; src: url(../fonts/montserrat/montserrat-300-latin.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 400; font-display: swap; src: url(../fonts/montserrat/montserrat-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 500; font-display: swap; src: url(../fonts/montserrat/montserrat-500-latin.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url(../fonts/montserrat/montserrat-600-latin.woff2) format('woff2'); }
@font-face { font-family: 'Great Vibes'; font-weight: 400; font-display: swap; src: url(../fonts/great-vibes/great-vibes-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Raleway'; font-weight: 300; font-display: swap; src: url(../fonts/raleway/raleway-300-latin.woff2) format('woff2'); }
@font-face { font-family: 'Raleway'; font-weight: 400; font-display: swap; src: url(../fonts/raleway/raleway-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 300; font-display: swap; src: url(../fonts/lato/lato-300-latin.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 400; font-display: swap; src: url(../fonts/lato/lato-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-display: swap; src: url(../fonts/dm-serif-display/dm-serif-display-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 400; font-display: swap; src: url(../fonts/cinzel/cinzel-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url(../fonts/cinzel/cinzel-700-latin.woff2) format('woff2'); }
@font-face { font-family: 'Cabin'; font-weight: 400; font-display: swap; src: url(../fonts/cabin/cabin-400-latin.woff2) format('woff2'); }

/* ── The guest site's cover inside a phone (partials/replicas.php, gw_site_cover): values follow the
   ≤768px rules of app/sites/templates/elegant/assets/css/style.css, 1em = 1rem of a 390px phone.
   Colours and fonts arrive as --pal-* and --site-* from the element that hosts them. ── */
.gw-rp-cover {
    position: absolute;
    inset: 0;
    isolation: isolate;
    display: flex;
    font-size: 4.1cqi;
    font-synthesis: none;
    color: #fff;
    opacity: 0;
    transition: opacity .9s ease;
}
.gw-rp-cover.is-active { opacity: 1; }
.gw-rp-cover__photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gw-rp-cover::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.gw-rp-cover__content { display: flex; flex-direction: column; }
.gw-rp-cover__cd { display: flex; flex-direction: column; align-items: center; }
.gw-rp-cover__cd b { font-variant-numeric: tabular-nums; line-height: 1; }
.gw-rp-cover__cd small { text-transform: uppercase; }
.gw-rp-cover__feed { position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 50%; font-size: 4.1cqi; }

.gw-rp-cover--elegant { align-items: center; justify-content: center; text-align: center; }
.gw-rp-cover--elegant::before { background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, .5) 100%); }
.gw-rp-cover--elegant .gw-rp-cover__photo { object-position: 58% center; }
.gw-rp-cover--elegant .gw-rp-cover__content { align-items: center; padding: 2em 2em 4em; }
.gw-rp-cover--elegant .gw-rp-cover__title {
    margin-bottom: .2em;
    font-family: var(--site-heading);
    font-size: 3.5em;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: .02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}
.gw-rp-cover--elegant .gw-rp-cover__date {
    margin-bottom: 1.5em;
    font-family: var(--site-body);
    font-size: 1.12em;
    font-weight: 300;
    letter-spacing: .15em;
    text-transform: uppercase;
    opacity: .9;
}
.gw-rp-cover--elegant .gw-rp-cover__countdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75em;
    width: 12.5em;
}
.gw-rp-cover--elegant .gw-rp-cover__cd {
    justify-content: center;
    gap: .25em;
    aspect-ratio: 1 / 1;
    padding: .75em .5em;
    border-radius: .75em;
    background: rgba(0, 0, 0, .3);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.gw-rp-cover--elegant .gw-rp-cover__cd b { font-family: var(--site-heading); font-weight: var(--site-hw); font-size: 1.34em; letter-spacing: .02em; }
.gw-rp-cover--elegant .gw-rp-cover__cd small { font-family: var(--site-body); font-size: .65em; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
.gw-rp-cover--elegant > .gw-rp-cover__feed,
.gw-sm-page--elegant > .gw-rp-cover__feed {
    bottom: 5.4em;
    left: 50%;
    width: 3.5em;
    height: 3.5em;
    border: 2px solid #fff;
    background: var(--pal-primary);
    color: #fff;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

/* The minimal theme's cover. */
.gw-rp-cover--minimal { align-items: flex-end; }
.gw-rp-cover--minimal::before {
    background:
        linear-gradient(to bottom, rgba(8, 10, 9, .5) 0%, rgba(8, 10, 9, .18) 8%, rgba(8, 10, 9, 0) 20%),
        linear-gradient(to top, rgba(8, 10, 9, .78) 0%, rgba(8, 10, 9, .45) 26%, rgba(8, 10, 9, .1) 52%, rgba(8, 10, 9, 0) 72%);
}
.gw-rp-cover--minimal .gw-rp-cover__photo { object-position: 45% 38%; }
.gw-rp-cover--minimal .gw-rp-cover__content { width: 100%; padding: 1.5em 1.25em 5.6em; }
.gw-rp-cover--minimal .gw-rp-cover__title {
    margin-bottom: .3em;
    padding-bottom: .3em;
    border-bottom: 1px solid rgba(255, 255, 255, .42);
    font-family: var(--site-heading);
    font-size: 3em;
    font-weight: var(--site-hw);
    line-height: .9;
    letter-spacing: -.05em;
}
.gw-rp-cover--minimal .gw-rp-cover__date,
.gw-rp-cover--minimal .gw-rp-cover__cd small {
    font-family: var(--site-body);
    letter-spacing: .2em;
    text-transform: uppercase;
}
.gw-rp-cover--minimal .gw-rp-cover__date { font-size: .9375em; color: rgba(255, 255, 255, .85); }
.gw-rp-cover--minimal .gw-rp-cover__countdown { display: flex; flex-wrap: wrap; gap: 1.25em; margin-top: 1em; }
.gw-rp-cover--minimal .gw-rp-cover__cd { align-items: flex-start; gap: .15em; }
.gw-rp-cover--minimal .gw-rp-cover__cd b { font-family: var(--site-heading); font-weight: 400; font-size: 1.22em; letter-spacing: -.02em; }
.gw-rp-cover--minimal .gw-rp-cover__cd small { font-size: .6875em; color: rgba(255, 255, 255, .7); }
.gw-rp-cover--minimal > .gw-rp-cover__feed,
.gw-sm-page--minimal > .gw-rp-cover__feed {
    right: 1.25em;
    bottom: 5.6em;
    width: 2.75em;
    height: 2.75em;
    border: 1px solid rgba(0, 0, 0, .12);
    background: var(--pal-bg);
    color: var(--pal-text);
}

/* ── A real couple: their photo and their names (the home's real weddings, the Esempi page) ── */
.gw-couple { display: flex; flex-direction: column; gap: .85rem; margin: 0; text-decoration: none; color: inherit; }
.gw-couple img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.gw-couple figcaption { padding-inline: .25rem; font-family: var(--gw-font-serif); font-size: 1.2rem; font-weight: 600; line-height: 1.25; color: hsl(var(--gw-fg)); }
/* The empty slot for the next couple, a link to sign up: after the real weddings of the home and of the Esempio page. */
.gw-couple__cap { padding-inline: .25rem; font-family: var(--gw-font-serif); font-size: 1.2rem; font-style: italic; font-weight: 600; line-height: 1.25; color: hsl(var(--gw-wine)); }
.gw-couple__slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  aspect-ratio: 4 / 5;
  padding: 1rem;
  border: 2px dashed hsl(var(--gw-wine) / .3);
  border-radius: 20px;
  background: hsl(var(--gw-champagne) / .35);
  text-align: center;
  transition: border-color .3s ease, background .3s ease;
}
.gw-couple__slot small { max-width: 11rem; font-size: .88rem; line-height: 1.45; text-wrap: balance; color: hsl(var(--gw-muted-fg)); }
.gw-couple__plus {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px -14px hsl(var(--gw-wine) / .6);
  font-size: 1.4rem;
  color: hsl(var(--gw-wine));
  transition: background .3s ease, color .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.gw-couple--you:hover .gw-couple__slot { border-color: hsl(var(--gw-wine) / .6); background: hsl(var(--gw-champagne) / .6); }
.gw-couple--you:hover .gw-couple__plus { background: hsl(var(--gw-wine)); color: #fff; transform: rotate(90deg); }
.gw-couple--you:focus-visible { outline: none; }
.gw-couple--you:focus-visible .gw-couple__slot { outline: 2px solid hsl(var(--gw-wine)); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .gw-couple__slot, .gw-couple__plus { transition: none; }
}

/* The avatars of the replicas: a person drawn in the colour of their element. */
.gw-rp-av--woman { --avatar: url(../img/avatars/woman.svg); }
.gw-rp-av--man { --avatar: url(../img/avatars/man.svg); }
.gw-rp-av--girl { --avatar: url(../img/avatars/girl.svg); }
.gw-rp-av--boy { --avatar: url(../img/avatars/boy.svg); }

/* ── A table of the tableau (partials/replicas.php, gw_tb_table): the Tableau page's plans and the
   home's Tableau door. Tables and seats are in cqi of the plan that holds them ── */
/* isolation: a seat's z-index lifts it over its table, never over the windows laid on the plan. */
.gw-rp-tbplan { position: relative; isolation: isolate; container-type: inline-size; font-family: var(--gw-font-sans); }
.gw-rp-tb-table {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--c);
    background: #fff;
}
.gw-rp-tb-table.is-round { border-radius: 50%; }
.gw-rp-tb-table.is-square,
.gw-rp-tb-table.is-rectangular { border-radius: 1.2cqi; }
.gw-rp-tb-table.is-imperial { border-radius: .8cqi; }
.gw-rp-tb-table.is-prop { border-style: dashed; border-radius: 1.2cqi; background: transparent; }
.gw-rp-tb-table > small { font-size: var(--tb-cap, 1.9cqi); font-weight: 500; line-height: 1.1; color: rgba(0, 0, 0, .45); }
.gw-rp-tb-table > b { max-width: 85%; font-size: var(--tb-name, 2.5cqi); font-weight: 700; line-height: 1.15; text-align: center; color: var(--c); }
.gw-rp-tb-seat {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: var(--s);
    height: var(--s);
    border-radius: 50%;
    box-shadow: 0 0 0 max(1px, .35cqi) #fff;
    transform: translate(-50%, -50%);
}
.gw-rp-tb-seat.is-empty { border: max(1px, .3cqi) solid rgba(0, 0, 0, .18); background: #fff; }
.gw-rp-tb-seat.is-empty > * { display: none; }
.gw-rp-tb-seat.is-on,
.gw-rp-tb-seat.is-wait {
    border: max(1px, .3cqi) solid #fff;
    background: var(--bg, hsl(var(--gw-wine)));
    box-shadow: 0 0 0 max(1px, .35cqi) #fff, 0 1px 3px rgba(0, 0, 0, .15);
    color: var(--ink, #fff);
}
/* A guest still to answer: the same colour, a dashed rim, a little faded. */
.gw-rp-tb-seat.is-wait { border-style: dashed; border-color: rgba(255, 255, 255, .7); opacity: .75; }
.gw-rp-tb-seat > i {
    width: 76%;
    height: 76%;
    background: currentColor;
    -webkit-mask: var(--avatar) center / contain no-repeat;
    mask: var(--avatar) center / contain no-repeat;
}
.gw-rp-tb-seat > em {
    position: absolute;
    left: 50%;
    padding: 0 .5cqi;
    border-radius: .4cqi;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
    font: normal 500 var(--tb-label, 2.1cqi)/1.25 var(--gw-font-sans);
    white-space: nowrap;
    color: rgba(0, 0, 0, .65);
    transform: translateX(-50%);
}
.gw-rp-tb-seat > em.is-below { top: calc(100% + .45cqi); }
.gw-rp-tb-seat > em.is-above { bottom: calc(100% + .45cqi); }
.gw-rp-tb-seat.is-intol { outline: .7cqi dashed hsl(38 92% 50%); outline-offset: .6cqi; }
.gw-rp-tb-seat.is-note { outline: .6cqi solid hsl(245 70% 45%); outline-offset: .5cqi; }
/* The seat that just received someone rings once, as when the editor jumps to a seat. */
.gw-rp-tb-seat.is-ping::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 3px solid hsl(var(--gw-wine) / .75);
    border-radius: 50%;
    animation: gw-tb-ping 1s ease-out forwards;
}
@keyframes gw-tb-ping {
    from { opacity: .9; transform: scale(1); }
    to { opacity: 0; transform: scale(2.6); }
}
.gw-rp-tbplan.is-far .gw-rp-tb-seat > em { display: none; }

/* ── Doors: the home's couple tools, one per product page, and the guest site's features on Welcome
   to Italy. Each in its tint with its scene in miniature, sized in em of a type that follows the door. ── */
@media (min-width: 992px) {
  .gw-home-swiper[data-gw-swiper="doors"] .swiper-wrapper { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(21rem, auto); gap: 1.1rem; }
  .gw-hm-slide--sito-matrimonio { grid-row: span 2; }
}
.gw-hm-door {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 21rem;
  overflow: hidden;
  border-radius: 20px;
  container-type: inline-size;
  text-decoration: none;
  color: hsl(var(--field-ink));
}
.gw-hm-door:focus-visible { outline: 2px solid hsl(var(--gw-wine)); outline-offset: 3px; }
.gw-hm-door__show {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.4rem .25rem;
  font-size: clamp(.62rem, 4.8cqi, .84rem);
  line-height: 1.35;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.gw-hm-door:hover .gw-hm-door__show { transform: translateY(-4px); }
.gw-hm-door__cap { padding: 1rem 1.4rem 1.35rem; }
.gw-hm-door__cap b { display: block; font-family: var(--gw-font-serif); font-size: 1.28rem; font-weight: 600; line-height: 1.2; }
.gw-hm-door__line { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: .35rem; }
.gw-hm-door__line small { font-size: .84rem; line-height: 1.45; color: hsl(var(--field-ink) / .8); }
.gw-hm-door__go {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid hsl(var(--field-ink) / .3);
  border-radius: 50%;
  transition: background .3s ease, border-color .3s ease, color .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.gw-hm-door:hover .gw-hm-door__go { background: hsl(var(--field-ink)); border-color: hsl(var(--field-ink)); color: #fff; transform: rotate(-45deg); }

.gw-hm-card {
  display: flex;
  flex-direction: column;
  gap: .6em;
  width: 100%;
  max-width: 18em;
  padding: 1em;
  border-radius: 1em;
  background: #fff;
  box-shadow: 0 0 0 1px hsl(var(--field-ink) / .08), 0 1.4em 2.6em -1.6em hsl(var(--field-ink) / .55);
  font-family: var(--gw-font-sans);
  color: hsl(var(--gw-fg));
}

/* The guest site in the phone: the couple, their countdown, their address. */
/* Smaller than the product pages' phone, so its corners and bezel shrink with it. */
.gw-hm-phone { width: min(100%, 13.5rem); padding: .42rem; border-radius: 1.8rem; }
.gw-hm-phone .gw-rp-phone__screen { border-radius: 1.45rem; }

/* A table as the Tableau page's hall shows it. Labels grow with the plan, which here is as wide as the door. */
.gw-hm-hall { --tb-label: 4.6cqi; --tb-name: 6.4cqi; --tb-cap: 4.6cqi; width: min(100%, 17em); aspect-ratio: 1; }

/* A gift of the list, on the guest site in the Mare palette. */
.gw-hm-gift { gap: .5em; max-width: 16em; padding: 0 0 1em; overflow: hidden; }
.gw-hm-gift img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.gw-hm-gift > b, .gw-hm-gift__bar, .gw-hm-gift__stats { margin-inline: 1em; }
.gw-hm-gift > b { margin-top: .35em; font-family: var(--gw-font-serif); font-size: 1.2em; font-weight: 500; color: #1A3333; }
.gw-hm-gift__bar { height: .45em; overflow: hidden; border-radius: 99px; background: #C8E0D8; }
.gw-hm-gift__bar i { display: block; height: 100%; border-radius: inherit; background: #3B7A7A; }
.gw-hm-gift__stats { display: flex; justify-content: space-between; font-size: .85em; color: #3D6860; }

/* The guests' feed: photos and a video, hearts on the ones they liked. */
.gw-hm-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45em; width: min(100%, 15em); padding: .45em; border-radius: 1em; background: #fff; box-shadow: 0 0 0 1px hsl(var(--field-ink) / .08), 0 1.4em 2.6em -1.6em hsl(var(--field-ink) / .55); font-family: var(--gw-font-sans); }
.gw-hm-feed__tile { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: .55em; }
.gw-hm-feed__tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gw-hm-feed__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: rgb(0 0 0 / .45); color: #fff; font-size: 1.1em; translate: -50% -50%; }
.gw-hm-feed__pill { position: absolute; left: .4em; bottom: .4em; display: inline-flex; align-items: center; gap: .3em; padding: .2em .55em; border-radius: 99px; background: rgb(0 0 0 / .5); font-size: .8em; font-weight: 600; color: #fff; }
.gw-hm-feed__pill i { color: #ff6b88; }

@media (max-width: 991.98px) {
  .gw-hm-door { min-height: 22.5rem; }
  .gw-hm-phone { width: 10.5rem; padding: .32rem; border-radius: 1.4rem; }
  .gw-hm-phone .gw-rp-phone__screen { border-radius: 1.12rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gw-hm-door__show, .gw-hm-door__go { transition: none; }
}

/* ── Immersive header over a full-screen hero (Home, Welcome to Italy): transparent, panna solida allo scroll ── */
.gw-site-header--overlay {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
/* transparent over the hero: kill the base glass blur, everything goes white */
.gw-site-header--overlay:not(.is-scrolled) {
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.gw-site-header--overlay:not(.is-scrolled) .gw-logo,
.gw-site-header--overlay:not(.is-scrolled) .gw-logo:hover,
.gw-site-header--overlay:not(.is-scrolled) .gw-nav-link,
.gw-site-header--overlay:not(.is-scrolled) .gw-hamburger { color: #fff; }
.gw-site-header--overlay:not(.is-scrolled) .gw-nav-link:hover { color: hsl(var(--gw-champagne)); }
.gw-site-header--overlay:not(.is-scrolled) .btn-outline-secondary {
  color: #fff;
  border-color: hsl(0 0% 100% / .6);
}
.gw-site-header--overlay:not(.is-scrolled) .btn-outline-secondary:hover {
  background: #fff;
  color: hsl(var(--gw-wine-dark));
  border-color: #fff;
}
.gw-site-header--overlay.is-scrolled {
  background: hsl(30 30% 98% / .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: hsl(var(--gw-border) / .6);
  box-shadow: 0 6px 30px -18px hsl(var(--gw-wine) / .3);
}

/* ── Cookie banner: a card in the bottom-left corner, a sheet across the bottom on the phone ── */
.gw-cc { position:fixed; z-index:1050; left:1.25rem; bottom:1.25rem; width:min(25rem, calc(100vw - 2.5rem)); max-height:calc(100dvh - 2.5rem); overflow-y:auto; background:#fff; color:hsl(var(--gw-fg)); border:1px solid hsl(var(--gw-border)); border-radius:1rem; box-shadow:var(--gw-shadow-elevated); padding:1.35rem 1.35rem 1rem; animation:gw-cc-in .3s ease-out; }
.gw-cc[hidden] { display:none; }
.gw-cc__close { position:absolute; top:.55rem; right:.55rem; width:2.5rem; height:2.5rem; display:grid; place-items:center; border:0; border-radius:50%; background:none; color:hsl(var(--gw-muted-fg)); transition:background .18s ease, color .18s ease; }
.gw-cc__close:hover { background:hsl(var(--gw-champagne)); color:hsl(var(--gw-fg)); }
.gw-cc__title { font-family:var(--gw-font-serif); font-size:1.2rem; font-weight:500; line-height:1.3; margin:0 2.5rem .55rem 0; }
.gw-cc__title:focus { outline:none; }
.gw-cc__text { font-size:.9rem; line-height:1.55; color:hsl(var(--gw-muted-fg)); margin:0 0 1.1rem; }
.gw-cc__text a { color:hsl(var(--gw-wine)); text-underline-offset:3px; }
.gw-cc__actions { display:grid; grid-template-columns:1fr 1fr; gap:.6rem; }
.gw-cc__actions--one { grid-template-columns:1fr; margin-top:.35rem; }
.gw-cc__btn { --bs-btn-padding-y:.75rem; --bs-btn-padding-x:1rem; --bs-btn-font-size:.95rem; --bs-btn-font-weight:500; --bs-btn-border-radius:var(--gw-radius); }
.gw-cc__more { display:block; margin:.7rem auto 0; padding:.35rem .6rem; border:0; background:none; color:hsl(var(--gw-fg)); font-size:.85rem; text-decoration:underline; text-underline-offset:3px; }
.gw-cc__more:hover { color:hsl(var(--gw-wine)); }
.gw-cc__row { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; padding:.85rem 0; border-top:1px solid hsl(var(--gw-border)); }
.gw-cc__name { display:block; font-size:.92rem; font-weight:600; margin:0 0 .2rem; }
.gw-cc__desc { font-size:.82rem; line-height:1.5; color:hsl(var(--gw-muted-fg)); margin:0; }
.gw-cc__always { padding-top:.1rem; font-size:.78rem; color:hsl(var(--gw-muted-fg)); white-space:nowrap; }
.gw-cc__links { display:flex; flex-wrap:wrap; justify-content:center; gap:.2rem 1.1rem; margin:.85rem 0 0; font-size:.8rem; }
.gw-cc__links a { color:hsl(var(--gw-muted-fg)); text-decoration:underline; text-underline-offset:3px; }
.gw-cc__links a:hover { color:hsl(var(--gw-wine)); }
.gw-cc .form-switch .form-check-input { width:2.6em; height:1.4em; margin:0; cursor:pointer; }
.gw-cc button:focus-visible,
.gw-cc a:focus-visible,
.gw-cc .form-check-input:focus-visible { outline:2px solid hsl(var(--gw-wine)); outline-offset:2px; }
.gw-site-footer__consent { padding:0; border:0; background:none; font:inherit; color:var(--gw-on-wine-text); transition:color .2s ease; }
.gw-site-footer__consent:hover { color:#fff; }
/* It slides in without fading: a text painted at opacity 0 is not counted, and the banner would become the largest
   text of the first screen only at some later repaint (Lighthouse's LCP). */
@keyframes gw-cc-in { from { transform:translateY(12px); } }
@media (max-width:575.98px) {
  .gw-cc { left:0; bottom:0; width:100%; max-height:85dvh; border-width:1px 0 0; border-radius:1rem 1rem 0 0; padding:1.2rem 1.1rem calc(1rem + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion:reduce) {
  .gw-cc { animation:none; }
}
