  /* BASE */

:root {
  --bg-light: #ffffff;
  --bg-warm: #f3eee6;
  --accent: #C79A2B;
  --text-dark: #222;
  --text-soft: #555;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  background-color: #fbf8f2;
  color: #2e2e2e;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-alt {
  background: #f5efe6;
}

.section-warm {
  background: #fbf8f2;
}

html {
  scroll-behavior: smooth;
}
/*
.section-title-large {
  font-family: "Indie Flower", cursive;
  font-size: 2.2rem;
  margin-bottom: 50px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C79A2B;
}

.section-title-side {
  font-size: 1.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C79A2B;
  margin-bottom: 40px;
}

.section-title {
  position: relative;
  z-index: 2;
}

.title-right {
  text-align: right;
  padding-right: 10%;
}

.title-left {
  text-align: left;
  padding-left: 10%;
}
*/

.section:first-of-type {
  padding-top: 60px;
}

.editorial-image {
  text-align: center;
  margin: 50px auto 60px;
}

.editorial-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

  /* HEADER */

.site-header {
  position: sticky;
  top: 0;
  background: var(--bg-light);
  padding: 20px 0 15px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  border-bottom: 1px solid #caa44c;  
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px; /* spazio tra menu principali */
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/*
.site-title {
  font-family: 'Indie Flower', cursive;
  font-size: 2.8rem;
  margin-bottom: 18px;
  color: var(--accent);
}

.site-role {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 16px;
}
*/
/* NAV STRUCTURE */

.main-nav {
  width: 100%;
  margin-top: 10px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;     /* centra tutto */
  align-items: center;
  flex-wrap: nowrap;           /* resta su una riga */
  gap: clamp(25px, 3vw, 45px); /* distanza fluida */
  padding: 0;
  margin: 0;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  font-family: 'Indie Flower', cursive;
  font-size: 1.25rem;   /* prima era troppo piccolo */
  white-space: nowrap;   /* vieta l’andare a capo */
  letter-spacing: 1px;
  color: #5c4b2e;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #C79A2B;
}

/* WRAPPER TITOLI SEZIONE */

.section-heading {
  margin-bottom: 25px;
}

.section-heading.centered {
  text-align: center;
}

.section-title-large {
  margin-bottom: 8px;    /* controlliamo lo spazio sotto l’H2 */
}

@media (max-width: 768px) {

  .main-nav ul {
    flex-wrap: wrap;
    gap: 15px;
  }

  .main-nav a {
    font-size: 1.05rem;
  }

  .site-header {
    padding: 15px 0;
  }

}

/* FRASE POETICA */

.section-quote {
  margin-top: 4px;
  font-family: 'Indie Flower', cursive;
  font-size: 1.5rem;
  color: #C79A2B;
  opacity: 0.85;
  line-height: 1.4;
}

/* Versione più ariosa su desktop */

@media (min-width: 1024px) {
  .section-quote {
    font-size: 1.8rem;
  }
}

/* DROPDOWN */

.has-dropdown {
  position: relative;
  padding: 16px 0;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  margin-top: 10px;
  background: #ffffff;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  min-width: 200px;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Indicatore dropdown */

.has-dropdown > a {
  position: relative;
}

.has-dropdown {
  position: relative;
  display: inline-block; /* fondamentale */
  padding: 18px 0;
}

.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 2px solid #C79A2B;
  border-bottom: 2px solid #C79A2B;
  transform: rotate(45deg);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.has-dropdown:hover > a::after {
  transform: rotate(225deg);
}

/* Voci dropdown */

.dropdown a {
  font-family: 'Indie Flower', cursive;
  font-size: 1.25rem;
  color: #6d5e4a;
  text-align: center;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.dropdown a:hover {
  color: #C79A2B;
  transform: translateY(-2px);
}

/* HERO */

.hero-new {
  height: 36vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.25) 25%,
      rgba(255,255,255,0) 60%
    ),
    linear-gradient(
      135deg,
      #f7f2e8 0%,
      #efe3c6 60%,
      #e4cf9a 100%
    );
}

.hero-content {
  font-family: 'Indie Flower', cursive;
  font-size: 2.2rem;
  color: #C79A2B;
  text-align: center;
  max-width: 900px;
  line-height: 1.5;
}

.hero-highlight {
  font-size: 3rem;
}

.quote-left,
.quote-right {
  color: #C79A2B;
  font-size: 2.8rem;
  vertical-align: middle;
}

.quote-left {
  margin-right: 10px;
}

.quote-right {
  margin-left: 10px;
}

/* MANIFESTO */
/*
.about-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 30px;
}

.manifesto-images {
  display: flex;
  margin-top: 40px;
  flex-direction: column;
  gap: 100px;
}

.manifesto-images img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  display: block;
}

.about-text {
  max-width: 620px;
}

.about-text p {
  font-family: "Indie Flower", cursive;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.centered {
  text-align: center;
}

.manifesto-claim {
  color: #C79A2B;
  font-family: 'Indie Flower', cursive;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-align: center;
  margin: 30px auto;
  max-width: 600px;
  line-height: 1.6;
}
*/ 

/* CARD */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  margin-top: 80px;
}

.card {
  border: 1px solid rgba(199,154,43,0.15);
  background: #fff;
  transition: transform 0.3s ease;
}

.card img {
  max-height: 320px;
  object-fit: cover;
  height: auto;
  display: block;
}

.card-body {
  padding: 28px;
}

.card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card p {
  font-family: "Indie Flower", cursive;
  font-size: 1rem;
  margin-bottom: 20px;
}

.card-link {
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95rem;
  color: #B0895C;
}

.card:hover {
  transform: translateY(-6px);
}

/* LIBRI – card compatte eleganti */

#libri.section {
  padding-top: 70px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 40px;
  justify-items: center;
}

.book-card {
  background: #ffffff;
  border: 1px solid rgba(199,154,43,0.15);
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 580px; /* card libri <-----> */
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.book-cover img {
  width: 100%;
  max-width: 250px;   /* più piccoli */
  height: auto;
  display: block;
  margin: 0 auto 15px;
}

.book-body {
  font-family: "Indie Flower", cursive;
}

.book-body h3 {
  font-family: "Indie Flower", cursive;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.book-body p {
  font-family: "Indie Flower", cursive;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.book-link {
  font-family: "Indie Flower", cursive;
  font-size: 1rem;
  color: #C79A2B;
  text-decoration: none;
  transition: 0.3s ease;
}

.book-link:hover {
  letter-spacing: 0.5px;
}

.book-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.book-editorial-content .container {
  max-width: 1200px;
}

/* CANDELE MODERNE */

.candele-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 25px;
}

.card-image {
  width: 100%;
  aspect-ratio: 2 / 2.7;   /* più compatto del 3/4 */
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ora possiamo usare cover */
  display: block;
}

.candela-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.candela-body {
  padding: 10px 14px;
  text-align: center;
  font-family: "Indie Flower", cursive;
}

.candela-card h3 {
  font-family: "Indie Flower", cursive;
  font-size: 1.5rem;
  margin-bottom: 6px;
  font-weight: 500;
}

.candela-card p {
  font-family: "Indie Flower", cursive;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.candela-link {
  font-family: "Indie Flower", cursive;
  font-size: 1rem;
  color: #C79A2B;
  text-decoration: none;
  transition: 0.3s ease;
}

.candela-link:hover {
  letter-spacing: 0.5px;
}

.candela-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* SECTION DIVIDER */

.section-divider {
  position: relative;
  border-top: 1px solid #C79A2B;
}

.section-divider.left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  width: 1px;
  height: 60px;
  background: #C79A2B;
}

.section-divider.center::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: #C79A2B;
}

.section-divider.right::after {
  content: "";
  position: absolute;
  top: 0;
  right: 15%;
  width: 1px;
  height: 60px;
  background: #C79A2B;
}

/* LINEA ORIZZONTALE SUPERIORE */

.section {
  position: relative;
  border-top: 1px solid #C79A2B;
  padding: 120px 20px;
  scroll-margin-top: 120px;
}

.section::after {
  content: "";
  position: absolute;
  top: 0;              /* nasce ESATTAMENTE dal divider */
  width: 1px;
  height: 50px;
  background: #C79A2B;
}

/* TRATTINO SINISTRA */

.section.left::after {
  left: calc((100% - 1000px)/2 + 32px + 70px);
}

/* TRATTINO CENTRO */

.section.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section.right::after {
  left: calc((100% + 1000px)/2 - 32px - 270px);
}

/* FOOTER BASE */

.site-footer {
  position: relative;
  margin-top: 140px;
  padding-top: 50px;
  border-top: 1px solid #C79A2B;
  background: #f4efe6;
}

/* TRATTINO VERTICALE DI CHIUSURA */

.site-footer::after { /* footer */
  content: "";
  position: absolute;
  top: 0;
  left: calc(27% - 0.5px);
  width: 1px;
  height: 50px;
  background: #C79A2B;
}

/* CONTENUTO */

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 70px 32px;
  padding-top: 5px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.footer-brand p {
  white-space: nowrap;
}

.footer-brand p {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .footer-brand p {
    white-space: normal;
  }
}

.footer-col h3 {
  font-family: 'Indie Flower', cursive;
  color: #C79A2B;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: #C79A2B;
  font-weight: 500;
}

.footer-col p,
.footer-col li {
  font-family: 'Indie Flower', cursive;
  font-size: 0.95rem;
  color: #5c4b2e;
  margin-bottom: 8px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  text-decoration: none;
  color: #5c4b2e;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #C79A2B;
}

.footer-bottom {
  font-family: 'Indie Flower', cursive;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 25px 32px;
  border-top: 1px solid rgba(199,154,43,0.3);
  font-size: 0.85rem;
}

.footer-logo {
  margin-top: 15px;
  width: 50px;
  height: auto;
  opacity: 0.9;
}

.footer-col a {
  font-family: 'Indie Flower', cursive;
  font-size: 1.1rem;
  color: #6d5e4a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: #C79A2B;
  transition: 0.3s ease;
}

.footer-col a:hover {
  color: #C79A2B;
}

.footer-col a:hover::after {
  width: 100%;
}

.footer-col:not(.footer-brand) {
  margin-top: 10px;
}

.footer-mail {
  color: #C79A2B;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-mail:hover {
  letter-spacing: 0.5px;
}

.footer-icon {
  margin-right: 8px;
  color: #C79A2B;
}

.footer-signature {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 1.0;
}

.footer-signature a {
  color: #C79A2B;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-signature a:hover {
  letter-spacing: 0.5px;
}

.footer-links-grid {
  display: flex;
  gap: 40px;
}

.footer-links-left,
.footer-links-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-left a,
.footer-links-right a {
  white-space: nowrap;
}

.footer-col p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col:not(:last-child) {
  position: relative;
}

.footer-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -40px;
  width: 1px;
  height: 80%;
  background: rgba(199, 154, 43, 0.35);
}

@media (max-width: 768px) {

  footer {
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 10px;
  }

}

/* SCROLL */

#candele {
  scroll-margin-top: 95px;
}

#candele {
  padding-bottom: 40px;
}

#candele.section {
  padding-top: 60px;
}

#libri {
  padding-bottom: 50px;
}

#libri.section {
  padding-top: 35px;
}

#sentieri {
  padding-bottom: 10px;
}

#sentieri {
  scroll-margin-top: 120px;
}

#sentieri.section {
  padding-top: 80px;
}

#percorso.section {
  padding-top: 190px;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* GALLERY */

.candela-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

/* PAGINA CANDELA */

.candela-page {
  padding-top: 100px;
  padding-bottom: 50px;
}

.candela-intro-wrapper {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px auto;
}

.page-title {
  font-family: "Indie Flower", cursive;
  font-size: 2.4rem;
  color: #C79A2B;
  margin-bottom: 30px;
}

.candela-intro p {
  font-family: "Indie Flower", cursive;
  font-size: 1.25rem;
  line-height: 1.9;
}

.candle-story-link {
  text-align: center;
  margin: 70px 0 40px 0;
}

.story-phrase {
  font-family: 'Indie Flower', cursive;
  font-size: 1.4rem;
  color: #6d5e4a;
  margin-bottom: 15px;
}

.story-link {
  font-family: 'Indie Flower', cursive;
  font-size: 1.2rem;
  text-decoration: none;
  color: #c6a86a;
  transition: opacity 0.3s ease;
}

.story-link:hover {
  opacity: 0.7;
}

/* GALLERY FULL WIDTH */

.candela-gallery-full {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  padding: 0 6%;
  margin-bottom: 0;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  transition: 0.35s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.04);
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  cursor: pointer;
  padding: 20px;
  user-select: none;
}

.nav-arrow.left { left: 20px; }
.nav-arrow.right { right: 20px; }

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

/* EDITORIAL PAGE */

.editorial-page {
  padding: 100px 20px 120px;
  max-width: 900px;
  margin: 0 auto;
}

.editorial-header {
  text-align: center;
  margin-bottom: 90px;
}

.editorial-title {
  font-family: "Indie Flower", cursive;
  font-size: 3rem;
  color: #C79A2B;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(199,154,43,0.25);
}

.editorial-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: #8a7a60;
  letter-spacing: 1px;
}

.editorial-content {
  font-family: "Indie Flower", cursive;
  font-size: 1.25rem;
  line-height: 2.2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.book-ref {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.9rem;
  color: #8a7a60;
  margin-top: 25px;
  text-align: center;
  opacity: 0.9;
}

.poetic-separator {
  text-align: center;
  font-size: 1.6rem;
  color: #c6a86a;
  margin-top: 30px;
  margin-bottom: 30px;
  letter-spacing: 12px;
  opacity: 0.95;
}

.editorial-symbol {
  text-align: center;
  margin-bottom: 15px;
  color: #c6a86a;
}

.candle-icon {
  width: 52px;
  opacity: 0.9;
}

/* HERO LIBRO */

.book-hero-minimal {
  text-align: center;
  padding: 60px 20px 40px 20px; /* prima era 90 / 60 */
}

.book-cover-large img {
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-bottom: 35px;
}

.book-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  margin-bottom: 2px;
  color: #3a3124;
}

.book-subtitle {
  font-family: "Indie Flower", cursive;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: #C79A2B;
}

.book-tagline {
  font-family: "Indie Flower", cursive;
  font-size: 1.2rem;
  color: #C79A2B;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  margin-bottom: 5px;
}

.book-hero-minimal,
.book-editorial-content,
.book-availability {
  max-width: 900px;
  margin: 0 auto;
}

.book-intro-block {
  max-width: 700px;
  margin: 15px auto 20px auto;
  font-family: "Indie Flower", cursive;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: #6b5a3f;
}


/* CONTENUTO EDITORIALE */

.book-editorial-content {
  padding: 20px 20px 40px 20px;
}

.book-editorial-content:empty {
  display: none;
}

.book-text-container {
  max-width: 720px;
  margin: 0 auto;
  font-family: "Indie Flower", cursive;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4b4030;
}

.book-text-container p {
  margin-bottom: 18px;
}

/* ===== LAYOUT 50/50 SINGLE LIBRO ===== */

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.book-text {
  font-family: "Indie Flower", cursive;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4b4030;
}

.book-text p {
  margin-bottom: 18px;
}

.book-side-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.book-editorial-content {
  padding: 0 5%;
}

.book-editorial-content .sentieri-grid {
  max-width: 95%x;
  margin: 0 auto;
}


/* DISPONIBILITÀ */

.book-availability {
  text-align: center;
  padding-bottom: 50px; /* prima 80 */
  margin-top: 10px; /* aggiungi questo */
}

.availability-label {
  font-family: "Indie Flower", cursive;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #7a6a4a;
}

.book-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
}

.book-btn {
  padding: 10px 20px;
  border: 1px solid #C79A2B;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  color: #C79A2B;
  transition: 0.3s ease;
}

.book-btn:hover {
  background: #C79A2B;
  color: #fff;
}

.book-contact .contact-link {
  font-family: "Indie Flower", cursive;
  color: #B0895C;
  text-decoration: none;
}

/* HERO CONTATTI */

.contact-hero {
  text-align: center;
  padding: 80px 20px 40px 20px;
}

.contact-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.contact-tagline {
  font-family: "Indie Flower", cursive;
  font-size: 1.3rem;
  color: #C79A2B;
  max-width: 650px;
  margin: 0 auto;
}


/* INFO DIRETTE */

.contact-info {
  text-align: center;
  padding: 20px 20px 40px 20px;
}

.contact-direct a {
  color: #B0895C;
  text-decoration: none;
}

.contact-direct a:hover {
  text-decoration: underline;
}


/* FORM */

.contact-form-section {
  max-width: 600px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form-section input,
.contact-form-section textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(199,154,43,0.4);
  background: transparent;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
  outline: none;
  border-color: #C79A2B;
}

.contact-btn {
  padding: 10px 25px;
  border: 1px solid #C79A2B;
  background: transparent;
  color: #C79A2B;
  font-family: "Cormorant Garamond", serif;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-btn:hover {
  background: #C79A2B;
  color: #fff;
}

/* GALLERIA */

.gallery-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.gallery-quote {
  font-family: "Indie Flower", cursive;
  font-size: 1.2rem;
  color: #C79A2B;
  margin-bottom: 50px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/5;
  object-fit: contain;  /* NON cover */
  background: #f4f0ea;  /* colore neutro elegante */
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.gallery-title {
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.2rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* SENTIERI */

.sentieri-page {
  padding: 80px 20px;
}

.sentieri-title {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  margin-bottom: 60px;
}

#sentieri .section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.sentieri-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.sentieri-text {
  font-family: "Indie Flower", cursive;
  font-size: 1.15rem;
  line-height: 1.9;
  color: #4b4030;
}

.sentieri-images {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-end;
}

.sentieri-images img {
  width: 91%;
  max-width: 420px;
  border-radius: 8px;
  display: block;
}

.sentieri-box {
  border: 1px solid #C79A2B;
  padding: 18px 22px;
  margin: 35px auto;
  text-align: center;
  color: #C79A2B;
  font-family: 'Indie Flower', cursive;
  letter-spacing: 2px;
  font-size: 0.95rem;
  line-height: 1.6;
  background: rgba(199,154,43,0.05);
  border-radius: 6px;
  max-width: 400px;
}

#sentieri .about-grid {
  grid-template-columns: 1fr 460px;
  gap: 80px;
  align-items: start;
}

#sentieri .about-image {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 150px;
}

#sentieri .about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  display: block;
}

.sentieri-box::before,
.sentieri-box::after {
  content: "";
  display: block;
  height: 1px;
  background: #C79A2B;
  margin: 8px auto;
  width: 20%;
}

#sentieri .button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 26px;
  background: transparent;
  border: 1px solid #C79A2B;
  color: #C79A2B;
  text-decoration: none;       /* 👈 via sottolineatura */
  font-family: 'Indie Flower', cursive;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

#sentieri .button:hover {
  background: #C79A2B;
  color: #fff;
}

#sentieri .button {
  display: inline-block;
  margin: 40px auto 0 auto;
}

#sentieri .about-text {
  text-align: left;
}

#sentieri .about-text .button {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* SENTIERI */

#sentieri .about-image img {
  max-width: 380px;
  height: 480px;
  object-fit: cover;
}

/* Responsive */

@media (max-width: 900px) {
  .sentieri-grid {
    grid-template-columns: 1fr;
  }

  .sentieri-image {
    margin-top: 40px;
  }
}

.editorial-inline-image {
  margin: 3rem 0;
  text-align: center;
}

.editorial-inline-image img {
  max-width: 75%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.editorial-inline-image.final-image img {
  max-width: 65%;
  opacity: 0.95;
}

/* ===== PAGINA FU AUTONOMA ===== */

#fu-page {
  padding: 80px 0 100px 0;
}

/* header */
.fu-header {
  text-align: center;
  margin-bottom: 60px;
}

.fu-header h1 {
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.fu-subtitle {
  font-size: 0.95rem;
  opacity: 0.7;
  letter-spacing: 1px;
}

/* layout vero 50/50 */
.fu-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;   /* SOLDATINI */
}

/* colonna testo */
.fu-content {
  font-size: 1.1rem;
  line-height: 1.9;
}

/* paragrafi */
.fu-content p {
  margin-bottom: 22px;
}

/* auguri */
.fu-augurio {
  margin-top: 30px;
}

/* citazione libro */
.book-ref {
  margin-top: 40px;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* colonna immagine */
.fu-image {
  display: flex;
  justify-content: center;
}

.fu-image img {
  width: 100%;              
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* FIX CONTENITORE FU */

.book-editorial-content {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.book-editorial-content .sentieri-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* =========================
   1. RESET + BASE
========================= */

.site-header .site-identity .site-title {
  font-family: 'Indie Flower', cursive;
  color: #C79A2B;
}

/* =========================
   2. DESIGN TOKENS
========================= */

/* =========================
   3. LAYOUT (container, grid)
========================= */

/* =========================
   4. TYPOGRAPHY
========================= */

.editorial-title {
  font-family: "Indie Flower", cursive;
  font-size: 2.6rem;
  color: #C79A2B;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(199,154,43,0.25);
  text-align: center;
}

.title-handwritten {
  font-family: 'Indie Flower', cursive;
  font-size: 2.4rem;
  color: #C79A2B;
  text-align: center;
}

.title-left {
  text-align: left;
  padding-left: 1%;
}
/*
.title-lg {
  font-family: var(--font-title);
  font-size: 2rem;
  letter-spacing: 1px;
  color: #C79A2B;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.title-side {
  text-align: left;
}
*/
.subtitle {
  font-family: 'Indie Flower', cursive !important;
  text-align: center !important;
  font-size: 0.9rem !important;
  letter-spacing: 1px !important;
  color: var(--color-muted) !important;
}

/* LINK GLOBALI */
a {
  color: #C79A2B;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* =========================
   5. COMPONENTS
========================= */

.separator {
  text-align: center;
  color: var(--color-accent);
  letter-spacing: 6px;
  margin: var(--space-sm) 0;
}

.bottom-box {
  text-align: center;
  max-width: 420px;
  margin: 30px auto;
  font-family: 'Indie Flower', cursive;
  color: #C79A2B;
  line-height: 1.6;
   text-wrap: balance;
}

.mini-divider {
  display: block;
  width: 30px;
  height: 1px;
  background: #C79A2B;
  margin: 15px auto;
  opacity: 0.6;
  position: relative;
}

.mini-divider::after {
  content: "✧";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: #C79A2B;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 42px;
  height: 42px;
  border: 1px solid #C79A2B;
  background: rgba(199,154,43,0.08);
  color: #C79A2B;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  display: none;
  transition: all 0.3s ease;
  z-index: 999;
}

#backToTop:hover {
  background: #C79A2B;
  color: #fff;
}

/* =========================
   6. SECTIONS
========================= */

.section-split {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 900px) {
  .section-split {
    grid-template-columns: 1fr;
  }
}

.image-column {
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.image-column img {
  width: 95%;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.img-tall {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
}

section {
  scroll-margin-top: 100px; /* altezza header */
}

section {
  scroll-margin-top: 120px;
}

#sentieri {
  padding-top: 80px;
}

/* manifesto */

.manifesto-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.subtitle {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--color-muted);
}

.manifesto-text {
  font-family: 'Indie Flower', cursive;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
   margin-bottom: 16px;
   text-align: left;
  max-width: 620px;
}

.manifesto-claim {
  font-family: 'Indie Flower', cursive;
  font-size: 1.2rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
  color: #C79A2B;
  font-weight: 600;
}

.image-offset-sm {
  margin-top: 20px;
}

.image-offset-md {
  margin-top: 40px;
}

.image-offset-lg {
  margin-top: 80px;
}

.img-uniform {
  width: 100%;
  border-radius: 12px;
}

.text-column {
  max-width: 620px;
}

.manifesto-text {
  font-family: 'Indie Flower', cursive;
  font-size: 1.05rem;
  line-height: 1.8;
}

.manifesto-text p {
  margin-bottom: 18px;
}



/* candele */

/* =========================
   BOOK LAYOUT
========================= */

/* libri ----> pagine */ 

.book-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: stretch;
  max-width: 1100px;
}

.book-text {
  font-family: 'Indie Flower', cursive;
  font-size: 1.1rem;
  line-height: 1.9;
  color: #4b4030;
}

.book-images {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
}

.book-images img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* responsive */
@media (max-width: 900px) {
  .book-grid {
    grid-template-columns: 1fr;
  }
}

.book-title {
  font-family: 'Indie Flower', cursive;
  color: #C79A2B;
  text-align: center;
}

.book-tagline {
  text-align: center;
  font-family: 'Indie Flower', cursive;
  color: #C79A2B;
}

/* libri */

.book-editorial-content .sentieri-grid {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
  align-items: start;
}

.book-editorial-content .sentieri-images {
  width: 100%;
}

.book-editorial-content .sentieri-images img {
  width: 100%;
}

/* sentieri */

.sentieri-grid {
  align-items: center;
  align-items: stretch;
}

.site-title a {
  color: #C79A2B;
  text-decoration: none;
  font-family: 'Indie Flower', cursive;
  letter-spacing: 1px;
  font-size: 2.8rem;
  line-height: 1;
}

#sentieri .editorial-title {
  transform: translateX(90px);
}

.sentieri-images {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  justify-content: space-between;
}

.sentieri-images img:last-child {
  transform: translateY(-15px);
}

.sentieri-images img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
}

.sentieri-images img:first-child {
  margin-top: 30px; /* regola a gusto */
}

.sentieri-images img:last-child {
  height: 700px;       /* aumenta qui */
  object-fit: cover;
}

.sentieri-text {
  max-width: 620px;
}

#sentieri {
  padding: 80px 40px;
}

.sentieri-images img {
  max-width: 460px;
}

.sentieri-images {
  align-items: flex-end;
}

.sentieri-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

#sentieri .sentieri-text .button {
  display: block;
  margin: 40px auto 0 auto;
  width: fit-content;
}

.site-identity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.site-identity img {
  width: 100px;
  height: auto;
  transform: translateY(22px);
}

.sentieri-cta {
  margin-top: 40px;
  text-align: center;
}

.cta-main {
  display: inline-block;
  padding: 16px 32px;
  border: none;
  color: #fff;
  background: #C79A2B;
  text-decoration: none;
  font-family: 'Indie Flower', cursive;
  font-size: 1.05rem;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(199,154,43,0.3);
}

.site-identity img {
  transition: transform 0.3s ease;
}

.site-identity img:hover {
  transform: scale(1.03);
}

.footer-logo {
  width: 80px;
  height: auto;
  margin-top: 12px;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  opacity: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 28px;
  margin-top: 15px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-decoration: none;
  color: #7a6a4f;
  transition: 0.3s ease;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: #C79A2B;
  transition: 0.3s ease;
}

/* Brand colors on hover */

.social-item.instagram:hover .social-icon {
  fill: #E1306C;
}

.social-item.facebook:hover .social-icon {
  fill: #1877F2;
}

.social-item.youtube:hover .social-icon {
  fill: #FF0000;
}

.social-item:hover {
  transform: translateY(-3px);
}

.manifesto-text a {
  color: #C79A2B;
  text-decoration: none;
}

.manifesto-text a:hover {
  opacity: 0.7;
}