@font-face {
  font-family: 'Glacial Indifference';
  src: url('GlacialIndifference-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Glacial Indifference';
  src: url('GlacialIndifference-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Kudryashev';
  src: url('Kudryashev.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

:root {
  --background: #f7f3ef;
  --surface: #ffffff;
  --primary: #cbb5a6;
  --primary-dark: #a98d7b;
  --text-main: #3a3330;
  --text-soft: #5e544d;
  --text-muted: #8d827a;
  --border: rgba(203, 181, 166, 0.35);
  --max-width: 1080px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(58, 51, 48, 0.12);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Glacial Indifference', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--primary-dark);
}

main {
  flex: 1;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.hero-header {
  position: relative;
  color: var(--text-main);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  min-height: clamp(28rem, 68vw, 40rem);
}

.hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  z-index: -2;
}

.hero-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  z-index: -1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(24, 20, 18, 0.55);
  backdrop-filter: blur(10px);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.8rem, 4vw, 3rem) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(160px, 18vw, 220px);
  border-radius: 0;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 70;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-label span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-label span::after {
  position: absolute;
  top: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-family: 'Kudryashev', serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.25rem 0;
  position: relative;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #ffffff;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.65);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.hero {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.hero-header .hero-banner {
  padding: clamp(4.5rem, 12vw, 7.5rem) 0 clamp(4rem, 10vw, 6.5rem);
  border: none;
}

.hero-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero-header .hero-layout {
  align-items: flex-end;
}

.hero-header .hero-text {
  max-width: 560px;
}

.hero-text h1,
section h2,
section h3 {
  font-family: 'Kudryashev', serif;
  color: var(--text-main);
  margin: 0 0 1rem;
}

.hero-header .hero-text h1 {
  color: var(--text-main);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
}

.hero-text p {
  color: var(--text-soft);
}

.hero-header .hero-text p {
  color: var(--text-soft);
}

.hero-header .hero-text strong,
.hero-header .hero-text em {
  color: var(--text-main);
}

.hero-header .hero-media img {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

section {
  padding: clamp(2.75rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

section .section-intro {
  max-width: 680px;
  color: var(--text-soft);
}

.section-layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 2rem;
}

.section-layout .section-content {
  color: var(--text-soft);
}

.section-layout .section-media {
  margin: 0;
}

.section-layout .section-media img {
  box-shadow: var(--shadow);
}

@media (max-width: 767px) {
  .page-corsi .hero-header .hero-media {
    display: none;
  }

  .section-layout + .btn {
    margin-top: 1.5rem;
  }
}

@media (min-width: 768px) {
  .section-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  }
}

.eventi-callout .container {
  display: grid;
  gap: 1.5rem;
  max-width: 720px;
  justify-items: start;
}

.eventi-callout .btn {
  justify-self: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.cards article {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  color: var(--text-soft);
}

.cards article p {
  margin: 0;
}

.contact-intro-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2rem;
}

.contact-intro .contact-cards {
  margin-top: 0;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.4rem;
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-card .meta {
  display: grid;
  gap: 0.25rem;
}

.contact-card .label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.contact-card a {
  font-weight: 700;
  color: var(--text-main);
}

.page-contatti .contact-intro figure,
.page-contatti .contact-intro img {
  display: none !important;
}

.contact-layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.contact-panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.contact-panel .privacy-note {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.map-embed iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: var(--radius);
}

.reviews-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(239, 242, 247, 0.55) 100%);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.review-list {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.review-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  display: grid;
  gap: 0.75rem;
  color: var(--text-soft);
}

.review-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.reviewer-name {
  margin: 0;
  color: var(--text-main);
  font-size: 1.05rem;
}

.review-meta {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.review-score {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.review-text {
  margin: 0;
  line-height: 1.6;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  color: var(--text-soft);
  font-weight: 600;
}

.hours-list span {
  font-weight: 400;
}

.media-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.3s ease;
}

.btn:hover,
.btn:focus {
  background: var(--primary-dark);
}

.two-columns {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.two-columns img {
  box-shadow: var(--shadow);
}

.figure-studio-desktop {
  display: none;
}

ul {
  margin: 1.2rem 0;
  padding-left: 1.4rem;
  color: var(--text-soft);
}

li + li {
  margin-top: 0.6rem;
}

.bio {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.bio .story {
  color: var(--text-soft);
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  color: var(--text-soft);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border 0.3s ease, transform 0.3s ease;
}

.social-links a:hover,
.social-links a:focus {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.social-links img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .hero-header {
    min-height: auto;
    overflow: visible;
  }

  .hero-header .hero-banner {
    padding: clamp(3.2rem, 15vw, 4.6rem) 0 clamp(2.8rem, 12vw, 4.2rem);
  }

  .hero-header .hero-layout {
    align-items: flex-start;
  }

  .hero-layout,
  .two-columns,
  .bio,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100vh;
    background: rgba(24, 20, 18, 0.94);
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    padding: 0;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    letter-spacing: 0.08em;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a:focus,
  .main-nav a.active {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle-label {
    display: inline-flex;
    position: relative;
    z-index: 1001;
    transition: background 0.3s ease, border-color 0.3s ease;
  }

  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label {
    position: fixed;
    top: clamp(1.2rem, 6vw, 2rem);
    right: clamp(1.1rem, 6vw, 1.8rem);
    background: rgba(24, 20, 18, 0.76);
    border-color: rgba(255, 255, 255, 0.55);
  }

  .nav-toggle:checked + .nav-toggle-label span::before,
  .nav-toggle:checked + .nav-toggle-label span::after {
    background: rgba(255, 255, 255, 0.85);
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-toggle:checked ~ .main-nav {
    transform: translateY(0);
  }
}

@media (min-width: 901px) {
  .hero-header {
    color: #ffffff;
    background: transparent;
  }

  .hero-header::before {
    background: url('Lalla in posa.jpg') center/cover no-repeat;
  }

  .page-home .hero-header .hero-media,
  .page-corsi .hero-header .hero-media,
  .page-eventi .hero-header .hero-media {
    display: none;
  }

  .hero-corsi::before {
    background:
      url('Lallaposa3.jpg') center/cover no-repeat,
      url('Lalla in posa.jpg') center/cover no-repeat;
  }

  .hero-eventi::before {
    background: url('LallaPosa2.jpg') center/cover no-repeat;
  }

  .hero-contatti::before {
    background:
      url('lallaposa4.jpg') center/cover no-repeat,
      url('Lalla in posa.jpg') center/cover no-repeat;
  }

  .hero-header::after {
    background: linear-gradient(180deg, rgba(28, 22, 20, 0.68) 0%, rgba(28, 22, 20, 0.45) 48%, rgba(20, 16, 14, 0.72) 100%);
  }

  .hero-header .hero-text h1 {
    color: #ffffff;
  }

  .hero-header .hero-text p {
    color: rgba(255, 255, 255, 0.82);
  }

  .hero-header .hero-text strong,
  .hero-header .hero-text em {
    color: #ffffff;
  }

}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
