/* Palette da AL_x_IRYNA DON Palette+Font.pdf — tema scuro */
:root {
  --vino: #6d2935;
  --rosa: #f8c7c8;
  --nero: #1d1d1b;
  --bianco: #ffffff;
  --max: 1120px;
  --font: "Source Serif 4", "Source Serif Pro", "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--nero);
  color: var(--bianco);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: var(--rosa); }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 30;
  background: var(--rosa);
  color: var(--nero);
  padding: 8px 12px;
}

.prova-banner {
  background: var(--vino);
  color: var(--rosa);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.2rem));
  margin: 0 auto;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgba(29, 29, 27, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vino);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--rosa);
}

.brand img {
  height: 40px;
  width: auto;
  padding: 6px;
  background: var(--vino);
  border-radius: 2px;
}

.brand strong {
  font-weight: 560;
  letter-spacing: 0.1em;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lang {
  display: flex;
  border: 1px solid var(--vino);
}

.lang button {
  background: transparent;
  color: var(--rosa);
  border: 0;
  padding: 0.35rem 0.65rem;
  font: inherit;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--vino);
  color: var(--rosa);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--rosa);
  border: 1px solid var(--vino);
  padding: 0.4rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--rosa);
  font-size: 1rem;
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 140px);
  align-items: stretch;
  background: var(--nero);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.2rem 8% 4.2rem 10%;
  color: var(--bianco);
}

.hero-copy a { color: inherit; }

.kicker {
  color: var(--rosa);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 1rem;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 560;
  line-height: 1.18;
  color: var(--rosa);
}

.hero-copy h1,
.hero-copy h2 {
  color: var(--rosa);
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin: 0.4rem 0 0.8rem;
  letter-spacing: 0.06em;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 0 0 0.85rem; }

.hero-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 500;
}

.lead, .hero-copy p {
  max-width: 36rem;
}

.hero-copy p {
  color: var(--bianco);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0.8rem 1.25rem;
}

.btn-primary {
  background: var(--vino);
  color: var(--rosa);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--vino);
  color: var(--rosa);
}

.hero .btn-ghost {
  color: var(--rosa);
  border-color: var(--vino);
}

.hero-copy .crediti-foto {
  margin: 2.4rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--rosa);
  opacity: 0.75;
}

.hero-copy .crediti-foto a {
  color: var(--rosa);
}

.hero-photo {
  min-height: 420px;
  background: var(--vino) center / cover no-repeat;
}

.section { padding: 4.4rem 0; }
.section-rosa { background: var(--vino); }

.grid-3, .grid-2 {
  display: grid;
  gap: 1.2rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; gap: 2.8rem; align-items: start; }

.card {
  border: 1px solid var(--vino);
  padding: 1.5rem;
  background: #161614;
}

.card h3 { margin-top: 0; color: var(--rosa); }

.sedi {
  display: grid;
  gap: 0.9rem;
  margin: 1.6rem 0 1.8rem;
}

.sede {
  border-left: 4px solid var(--rosa);
  background: var(--vino);
  padding: 1.1rem 1.2rem;
}

.sede h2 {
  margin: 0 0 0.35rem;
  color: var(--rosa);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.sede p {
  margin: 0;
  color: var(--bianco);
  font-size: 1.15rem;
}

.portrait {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: top;
  background: var(--vino);
}

.foto-colonna {
  display: grid;
  gap: 1.15rem;
  align-content: start;
}

.foto-colonna .portrait,
.foto-studio {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.foto-studio img {
  width: 100%;
  height: auto;
  display: block;
}

.foto-apertura {
  margin: 0 0 1.6rem;
  border: 0;
  overflow: hidden;
}

.foto-apertura img {
  width: 100%;
  height: clamp(190px, 26vw, 280px);
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.foto-contatti img {
  object-position: center 78%;
}

.albo-link {
  display: inline-block;
  width: min(280px, 100%);
  margin-top: 1.5rem;
}

.albo {
  width: 100%;
  background: var(--bianco);
  border: 0;
  padding: 0.8rem;
}

.foto-albo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.albo-link-centro {
  width: min(420px, 80%);
  margin: 0 0 2rem;
}

.albo-trasparente {
  background: transparent;
  padding: 0;
}

.form { display: grid; gap: 0.85rem; }

.contatti-grid {
  align-items: stretch;
}

.contatti-col {
  display: flex;
  flex-direction: column;
}

.contatti-grid .form.card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.foto-contatti-2 img {
  object-position: center 60%;
}

.contatti-grid .campo-msg {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.contatti-grid .campo-msg textarea {
  flex: 1 1 auto;
  min-height: 6rem;
  resize: vertical;
}

.contatti-grid .form-status:empty { display: none; }
.contatti-grid .form .note { margin: 0; }
.contatti-col > p:last-child { margin: auto 0 0; }

label { display: grid; gap: 0.3rem; font-size: 0.95rem; color: var(--rosa); }

input, textarea {
  font: inherit;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--vino);
  background: #161614;
  color: var(--bianco);
}

.hp { position: absolute; left: -9999px; }
.note, .form-status { color: var(--rosa); font-size: 0.95rem; }

footer.site {
  background: var(--nero);
  color: var(--rosa);
  border-top: 1px solid var(--vino);
  padding: 2.2rem 0 2.6rem;
  font-size: 0.95rem;
}

footer.site a { color: var(--rosa); }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.legale {
  max-width: 760px;
}

.legale h2 {
  margin-top: 2rem;
}

.legale .prosa li {
  color: var(--bianco);
}

.check-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--bianco);
  font-size: 0.95rem;
}

.check-privacy input {
  width: auto;
  margin-top: 0.35rem;
  accent-color: var(--rosa);
}

body:has(.cookie-bar) {
  padding-bottom: 5.5rem;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--vino);
  color: var(--rosa);
  padding: 0.9rem 0;
}

.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-bar p {
  margin: 0;
  max-width: 46rem;
}

.cookie-bar a {
  color: var(--bianco);
}

ul.plain {
  padding-left: 1.1rem;
  color: var(--bianco);
}

ul.elenco-logo {
  list-style: none;
  padding-left: 0;
}

ul.elenco-logo li {
  position: relative;
  padding-left: 2.15rem;
}

ul.elenco-logo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.38em;
  height: 1.38em;
  background: url("../img/logo-elenco.png") center / contain no-repeat;
}

.prosa p {
  color: var(--bianco);
  margin: 0 0 1.2rem;
}

@media (max-width: 860px) {
  .hero, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { padding: 3rem 1.2rem; }
  .hero-photo { min-height: 380px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--nero);
    flex-direction: column;
    padding: 1rem 1.2rem 1.2rem;
    border-bottom: 1px solid var(--vino);
  }
  .nav.is-open .nav-links { display: flex; }
  .cookie-bar-inner { flex-direction: column; align-items: stretch; }
}
