/* Rossella Ilacqua — Festivi 2026 shared styles
   Palette dal brand: teal scuro + turchese + verde salvia chiaro
*/

:root {
  /* Palette ufficiale brand Rossella Ilacqua */
  --bg: #ffffff;              /* bianco */
  --bg-alt: #d0e8e6;          /* verde acqua molto chiaro */
  --ink: #000000;             /* nero puro per titoli */
  --ink-soft: #555555;        /* grigio scuro per corpo testo */
  --line: #b6cbcf;            /* verde salvia chiaro come linea */
  --card: #ffffff;

  --brand: #10555d;           /* teal scuro brand */
  --brand-mid: #5eb9af;       /* turchese medio brand */
  --brand-light: #b6cbcf;     /* verde salvia chiaro brand */
  --brand-tint: #d0e8e6;      /* verde acqua chiaro brand */
  --warm: #e6c19d;            /* accento caldo sabbia */

  /* Accenti stagionali derivati dalla palette */
  --hw: #10555d;              /* halloween usa il teal brand */
  --xmas-red: #10555d;        /* natale usa il teal brand */
  --xmas-gold: #e6c19d;       /* oro/sabbia dalla palette */
  --xmas-blue: #10555d;
  --xmas-silver: #b6cbcf;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --mono: 'Manrope', 'Inter', -apple-system, sans-serif;

  --w: 1180px;
  --gutter: clamp(24px, 5vw, 48px);
}

/* Weight predefinito per tutti gli eyebrow/label in Manrope */
[style*="var(--mono)"],
.eyebrow,
.kicker,
.label,
.season,
.name-mark small,
footer h4,
.footer-bottom {
  font-weight: 600;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Type scale */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 500; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.01em; color: var(--ink); }

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-mid);
  font-weight: 600;
}

/* NAV */
.nav {
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}
.brand-lockup img.logo {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.brand-lockup .brand-txt {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  min-width: 0;
}
.brand-lockup .brand-txt small {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
  align-items: center;
}
.nav-links a { color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--brand); }
.nav-links .nav-cta {
  background: var(--brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s, transform .2s;
  min-height: 44px;
  box-sizing: border-box;
}
.nav-links .nav-cta:hover { background: #0f3d43; color: #fff; transform: translateY(-1px); }
.nav-links .nav-cta .arrow { transition: transform .25s; display: inline-block; }
.nav-links .nav-cta:hover .arrow { transform: translateX(3px); }

@media (max-width: 640px) {
  .nav-inner { padding: 12px 0; gap: 12px; }
  .nav-links { gap: 10px; font-size: 0.78rem; }
  .nav-links .nav-secondary { font-size: 0.82rem; color: var(--brand); font-weight: 500; }
  .nav-links .nav-cta { padding: 10px 14px; font-size: 0.8rem; min-height: 42px; }
  .brand-lockup .brand-txt { font-size: 0.9rem; }
  .brand-lockup .brand-txt small { display: none; }
}
@media (max-width: 400px) {
  .nav-links { gap: 8px; }
  .nav-links .nav-secondary { font-size: 0.78rem; }
  .nav-links .nav-cta { padding: 9px 12px; font-size: 0.76rem; }
  .nav-links .nav-cta .arrow { display: none; }
  .brand-lockup .brand-txt { font-size: 0.82rem; }
}

/* HERO */
.hero {
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(24px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.hero-eyebrow { margin-bottom: 18px; }
.hero h1 {
  max-width: 20ch;
  margin-bottom: 24px;
}
.hero-lede {
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Section */
section { padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 22px; max-width: 720px; }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head p { margin-top: 8px; color: var(--ink-soft); max-width: 60ch; font-size: 0.98rem; }
.section-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); line-height: 1.15; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--brand);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--brand);
  border-radius: 999px;
  transition: transform .2s, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); background: #0f3d43; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Packages cards */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pkg {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .3s, transform .3s;
  border-radius: 4px;
}
.pkg:hover { border-color: var(--brand-mid); transform: translateY(-2px); }
.pkg .tag {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--brand);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.pkg .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-mid);
  margin-bottom: 12px;
  font-weight: 600;
}
.pkg h3 { margin-bottom: 8px; }
.pkg .sub { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 24px; }
.pkg .price {
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--brand);
  font-weight: 600;
}
.pkg .price-note { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 24px; }
.pkg ul {
  list-style: none;
  margin: 20px 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pkg ul li {
  font-size: 0.92rem;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.pkg ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 1px;
  background: var(--brand-mid);
}
.pkg .btn { margin-top: auto; align-self: flex-start; }

.pkg.featured {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.pkg.featured h3, .pkg.featured .price { color: #fff; }
.pkg.featured .label, .pkg.featured .sub, .pkg.featured .price-note {
  color: color-mix(in oklab, #fff 70%, transparent);
}
.pkg.featured ul { border-top-color: color-mix(in oklab, #fff 22%, transparent); }
.pkg.featured ul li { color: #fff; }
.pkg.featured ul li::before { background: var(--brand-light); }
.pkg.featured .tag { background: var(--bg); color: var(--brand); }
.pkg.featured .btn {
  background: var(--bg);
  color: var(--brand);
  border-color: var(--bg);
}
.pkg.featured .btn:hover { background: #fff; }

/* Theme cards */
.themes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.theme {
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s ease;
  border-radius: 4px;
}
.theme:hover { transform: translateY(-3px); }
.theme .img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.theme .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.theme:hover .img img { transform: scale(1.04); }
.theme .img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  background:
    repeating-linear-gradient(45deg,
      transparent 0 12px,
      color-mix(in oklab, var(--brand-light) 60%, transparent) 12px 13px),
    var(--brand-tint);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 20px;
}
.theme-body { padding: 20px 22px 24px; }
.theme .img { aspect-ratio: 4/5; }
.theme .season {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-mid);
  margin-bottom: 10px;
  font-weight: 600;
}
.theme.hw .season { color: var(--hw); }
.theme.xmas-red .season { color: var(--xmas-red); }
.theme.xmas-blue .season { color: var(--xmas-blue); }
.theme h3 { margin-bottom: 6px; font-size: 1.2rem; }
.theme p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

/* Info blocks */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.info-block {
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 4px;
}
.info-block h4 { margin-bottom: 8px; }
.info-block p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }
.info-block .big {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--brand);
  display: block;
  margin: 6px 0 4px;
  font-weight: 500;
}

/* FAQ */
.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  font-family: var(--serif);
  font-size: 1.1rem;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--ink);
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--brand-mid);
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  max-width: 70ch;
  line-height: 1.6;
}

/* CTA final */
.cta-final {
  text-align: center;
  padding: clamp(36px, 5.5vw, 68px) 0;
  border: none;
  background: var(--brand-tint);
}
.cta-final h2 { margin-bottom: 12px; max-width: 22ch; margin-left: auto; margin-right: auto; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-final p { color: var(--ink-soft); max-width: 54ch; margin: 0 auto 22px; }

/* Footer */
footer {
  background: var(--brand);
  color: #fff;
  padding: 44px 0 28px;
}
footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
footer h4 {
  color: #fff;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  opacity: 0.7;
  text-transform: uppercase;
  font-weight: 600;
}
footer p, footer a { font-size: 0.9rem; color: #fff; opacity: 0.88; margin-bottom: 6px; }
footer a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid color-mix(in oklab, #fff 20%, transparent);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  opacity: 0.55;
  text-transform: uppercase;
  grid-column: 1 / -1;
  font-weight: 500;
}

/* Season divider */
.season-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 28px 0 20px;
}
.season-divider .line { flex: 1; height: 1px; background: var(--line); }
.season-divider .label {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-mid);
  font-weight: 600;
}

/* Combo */
.combo {
  background: var(--brand);
  color: #fff;
  padding: 46px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  border-radius: 4px;
}
.combo .eyebrow { color: var(--brand-light); }
.combo h3 { color: #fff; margin: 10px 0 12px; font-size: 1.75rem; }
.combo p { color: color-mix(in oklab, #fff 78%, transparent); font-size: 0.96rem; max-width: 48ch; }
.combo .discount {
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 1;
  color: #fff;
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}
.combo .discount small {
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  opacity: 0.75;
  margin-top: 10px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .combo { grid-template-columns: 1fr; padding: 36px 28px; }
  .combo .discount { text-align: left; font-size: 3.4rem; }
}
