﻿/* ============================================================
   PAGINE INTERNE
   ============================================================ */

.pagina-interna {
 position: relative;
 padding: 55px 20px 85px 20px;
 background: linear-gradient( to bottom, rgba(255,245,215,.055) 0%, rgba(255,245,215,0) 260px );
}

.pagina-layout {
 max-width: 1100px;
 margin: 0 auto;
}

.pagina-contenuto {
 max-width: 850px;
 margin: 0 auto;
}

/* ============================================================
   SEZIONI
   ============================================================ */

.sezione-pagina {
 margin-bottom: 55px;
}

 .sezione-pagina h2 {
  margin: 0 0 22px 0;
  color: #fff1ad;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(255,216,107,.22), 2px 2px 5px rgba(0,0,0,.30);
 }

 .sezione-pagina p {
  margin: 0 0 18px 0;
  color: #fff5d7;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.85;
 }

/* ============================================================
   INTRO BOX
   ============================================================ */

.intro-pagina {
 position: relative;
 padding: 40px 44px;
 background: rgba(255,248,230,.065);
 border: 1px solid rgba(255,216,107,.18);
 border-radius: 24px;
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
 box-shadow: 0 18px 48px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.06);
 overflow: hidden;
}

 .intro-pagina::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient( 90deg, transparent, rgba(255,216,107,.70), transparent );
 }

 .intro-pagina::after {
  content: "";
  position: absolute;
  top: 0;
  left: -220%;
  width: 180%;
  height: 100%;
  background: linear-gradient( 115deg, transparent 0%, rgba(255,255,255,0) 42%, rgba(255,241,173,.08) 50%, rgba(255,255,255,0) 58%, transparent 100% );
  animation: paginaGlow 12s linear infinite;
  pointer-events: none;
 }

 .intro-pagina h2,
 .intro-pagina p {
  position: relative;
  z-index: 2;
 }

@keyframes paginaGlow {
 0% {
  left: -220%;
 }

 100% {
  left: 220%;
 }
}

/* ============================================================
   CTA
   ============================================================ */

.btn-pagina {
 display: inline-block;
 padding: 14px 28px;
 border-radius: 999px;
 color: #ffd86b;
 text-decoration: none;
 font-weight: 700;
 border: 1px solid rgba(255,216,107,.35);
 background: rgba(255,216,107,.08);
 transition: all .25s ease;
}

 .btn-pagina:hover {
  color: #fff;
  background: rgba(255,216,107,.18);
  box-shadow: 0 0 20px rgba(255,216,107,.25);
 }

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

 .pagina-interna {
  padding: 36px 16px 65px 16px;
 }

 .intro-pagina {
  padding: 28px 24px;
  border-radius: 20px;
 }

 .sezione-pagina {
  margin-bottom: 42px;
 }

  .sezione-pagina p {
   font-size: 16px;
   line-height: 1.75;
  }
}
/* ============================================================
   LISTA ELEGANTE
   ============================================================ */

.lista-elegante {
 display: grid;
 gap: 18px;
}

 .lista-elegante > div {
  padding: 24px 28px;
  background: rgba(255,248,230,.05);
  border: 1px solid rgba(255,216,107,.14);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all .25s ease;
 }

  .lista-elegante > div:hover {
   transform: translateY(-2px);
   border-color: rgba(255,216,107,.28);
   box-shadow: 0 10px 24px rgba(0,0,0,.15);
  }

 .lista-elegante strong {
  display: block;
  margin-bottom: 8px;
  color: #fff1ad;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
 }

 .lista-elegante span {
  display: block;
  color: #fff5d7;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.8;
 }

/* ============================================================
   BOX AVVISO
   ============================================================ */

.box-avviso {
 padding: 34px;
 border-radius: 22px;
 background: linear-gradient( 135deg, rgba(255,216,107,.08), rgba(255,216,107,.03) );
 border: 1px solid rgba(255,216,107,.20);
}

 .box-avviso h2 {
  color: #ffd86b;
 }

/* ============================================================
   CTA
   ============================================================ */

.cta-pagina {
 text-align: center;
 padding: 45px 30px;
 border-radius: 24px;
 background: rgba(255,248,230,.05);
 border: 1px solid rgba(255,216,107,.16);
 backdrop-filter: blur(8px);
 -webkit-backdrop-filter: blur(8px);
}

 .cta-pagina h2 {
  margin-bottom: 18px;
 }

 .cta-pagina p {
  max-width: 760px;
  margin: 0 auto 30px auto;
 }

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

 .lista-elegante > div {
  padding: 20px;
 }

 .box-avviso {
  padding: 24px;
 }

 .cta-pagina {
  padding: 30px 22px;
 }

 .lista-elegante strong {
  font-size: 1.2rem;
 }
}

/* ============================================================
   RAFFINATURE AKASHA PAGINE INTERNE
   ============================================================ */

.sezione-pagina h2 {
 position: relative;
 padding-left: 36px;
}

 .sezione-pagina h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  width: 20px;
  height: 20px;
  background: url("/grafica/diamante.webp") center center / contain no-repeat;
  opacity: .9;
  filter: drop-shadow(0 0 8px rgba(255,216,107,.45));
 }

 .sezione-pagina h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, rgba(255,216,107,.85), transparent);
 }

.cta-pagina h2 {
 padding-left: 0;
}

 .cta-pagina h2::before {
  position: static;
  display: block;
  margin: 0 auto 14px auto;
  width: 26px;
  height: 26px;
 }

 .cta-pagina h2::after {
  margin: 14px auto 0 auto;
 }

/* ============================================================
   CARTE ELEGANTI
   ============================================================ */

.lista-elegante > div {
 position: relative;
 overflow: hidden;
 border-left: 3px solid rgba(255,216,107,.55);
}

 .lista-elegante > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( 115deg, transparent 0%, rgba(255,241,173,0) 45%, rgba(255,241,173,.08) 50%, rgba(255,241,173,0) 55%, transparent 100% );
  transform: translateX(-120%);
  transition: transform .65s ease;
  pointer-events: none;
 }

 .lista-elegante > div:hover::before {
  transform: translateX(120%);
 }

/* ============================================================
   CITAZIONE AKASHA
   ============================================================ */

.citazione-akasha {
 position: relative;
 margin: 38px 0;
 padding: 30px 36px;
 border-radius: 22px;
 background: rgba(255,248,230,.055);
 border: 1px solid rgba(255,216,107,.18);
 color: #fff1ad;
 font-family: "Playfair Display", Georgia, serif;
 font-size: clamp(1.45rem, 3vw, 2rem);
 line-height: 1.45;
 text-align: center;
 text-shadow: 0 0 16px rgba(255,216,107,.18);
}

 .citazione-akasha::before {
  content: "◆";
  display: block;
  color: #ffd86b;
  font-size: 22px;
  margin-bottom: 12px;
  text-shadow: 0 0 14px rgba(255,216,107,.55);
 }

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

 .sezione-pagina h2 {
  padding-left: 30px;
 }

  .sezione-pagina h2::before {
   width: 17px;
   height: 17px;
  }

 .citazione-akasha {
  padding: 24px 22px;
 }
}

.immagine-pagina {
 margin: 34px 0;
 text-align: center;
}

 .immagine-pagina img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,216,107,.18);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
 }

 .immagine-pagina figcaption {
  margin-top: 12px;
  color: rgba(255,245,215,.76);
  font-size: 14px;
 }

.immagine-pagina-piccola img {
 max-width: 360px;
}

.link-approfondisci {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 margin-top: 12px;
 color: #b88a44;
 font-size: .95rem;
 font-weight: 600;
 text-decoration: none;
 letter-spacing: .04em;
 transition: all .25s ease;
}

 .link-approfondisci:hover {
  color: #d4a45d;
 }

  .link-approfondisci:hover::after {
   transform: translateX(4px);
  }

 .link-approfondisci::after {
  content: "→";
  transition: transform .25s ease;
 }



/* ============================================================
   FORM CONTATTI - STILE AKASHA
   ============================================================ */

.form-contatti {
 position: relative;
 margin-top: 32px;
 padding: 38px;
 border: 1px solid rgba(118, 64, 43, .16);
 border-radius: 18px;
 background: radial-gradient( circle at 100% 0, rgba(255, 216, 107, .18) 0, rgba(255, 216, 107, 0) 32% ), linear-gradient( 145deg, #fffdf8 0%, #fbf5eb 100% );
 box-shadow: 0 18px 45px rgba(76, 29, 20, .10), 0 4px 12px rgba(76, 29, 20, .05);
 overflow: hidden;
}

 .form-contatti::before {
  content: "";
  position: absolute;
  top: 0;
  left: 38px;
  right: 38px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient( 90deg, transparent 0%, #bd8b32 20%, #f0d27c 50%, #bd8b32 80%, transparent 100% );
 }

.form-riga {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 24px;
}

.form-campo {
 position: relative;
 margin-bottom: 24px;
}

 .form-campo label {
  display: block;
  margin: 0 0 9px 2px;
  color: #651a13;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .015em;
 }

.form-control {
 display: block;
 width: 100%;
 box-sizing: border-box;
 padding: 14px 16px;
 border: 1px solid rgba(112, 62, 43, .24);
 border-radius: 10px;
 background: rgba(255, 255, 255, .88);
 color: #33231e;
 font-family: "Montserrat", Arial, sans-serif;
 font-size: 16px;
 line-height: 1.5;
 box-shadow: inset 0 1px 2px rgba(54, 24, 17, .025), 0 1px 0 rgba(255, 255, 255, .8);
 transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease, transform .22s ease;
}

 .form-control:hover {
  border-color: rgba(147, 50, 36, .42);
  background: #fff;
 }

 .form-control:focus {
  outline: none;
  border-color: #a6281c;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(166, 40, 28, .10), 0 7px 18px rgba(91, 32, 24, .07);
 }

select.form-control {
 min-height: 54px;
 cursor: pointer;
}

textarea.form-control {
 min-height: 190px;
 resize: vertical;
}

.form-privacy {
 margin: 6px 0 25px;
 padding: 20px 22px;
 border: 1px solid rgba(189, 139, 50, .23);
 border-left: 4px solid #bd8b32;
 border-radius: 10px;
 background: rgba(255, 248, 226, .68);
 color: #46332c;
 font-family: "Montserrat", Arial, sans-serif;
 font-size: 14px;
 line-height: 1.7;
}

 .form-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 9px 0 0;
  vertical-align: top;
  accent-color: #9d241a;
  cursor: pointer;
 }

 .form-privacy label {
  display: inline;
  color: #46332c;
  font-weight: 400;
  cursor: pointer;
 }

 .form-privacy p {
  margin: 10px 0 0 27px;
 }

.form-azioni {
 margin-top: 26px;
 text-align: center;
}

 .form-azioni .btn-pagina {
  min-width: 230px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(111, 28, 20, .20);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
 }

  .form-azioni .btn-pagina:hover {
   transform: translateY(-2px);
   box-shadow: 0 14px 30px rgba(111, 28, 20, .26);
   filter: brightness(1.04);
  }

  .form-azioni .btn-pagina:active {
   transform: translateY(0);
   box-shadow: 0 6px 16px rgba(111, 28, 20, .18);
  }

.form-error {
 display: block;
 margin: 7px 0 0 2px;
 color: #a20f0f;
 font-family: "Montserrat", Arial, sans-serif;
 font-size: 13px;
 font-weight: 600;
 line-height: 1.4;
}

.form-error-summary {
 margin: 0 0 24px;
 padding: 17px 20px;
 border: 1px solid rgba(162, 15, 15, .16);
 border-left: 5px solid #a20f0f;
 border-radius: 9px;
 background: #fff2f1;
 color: #85100d;
 font-family: "Montserrat", Arial, sans-serif;
 font-size: 14px;
 line-height: 1.6;
}

 .form-error-summary ul {
  margin: 9px 0 0 20px;
  padding: 0;
 }

.form-esito {
 display: block;
 margin-top: 25px;
 padding: 18px 20px;
 border-radius: 10px;
 font-family: "Montserrat", Arial, sans-serif;
 font-size: 15px;
 font-weight: 600;
 line-height: 1.6;
 text-align: left;
}

.form-esito-ok {
 border: 1px solid rgba(46, 121, 66, .18);
 border-left: 5px solid #397e4a;
 background: #eef9f0;
 color: #285f36;
}

.form-esito-errore {
 border: 1px solid rgba(162, 15, 15, .16);
 border-left: 5px solid #a20f0f;
 background: #fff2f1;
 color: #85100d;
}

/* Honeypot antispam: nascosto fuori dallo schermo */
.campo-antispam {
 position: absolute !important;
 left: -10000px !important;
 top: auto !important;
 width: 1px !important;
 height: 1px !important;
 overflow: hidden !important;
}


/* ============================================================
   LINK TELEFONO, EMAIL E WHATSAPP
   ============================================================ */

/*
   Queste regole eliminano il blu predefinito del browser
   nei link presenti nel contenuto delle pagine.
*/

.pagina-contenuto a[href^="tel:"],
.pagina-contenuto a[href^="mailto:"],
.pagina-contenuto a[href*="wa.me"] {
 color: #8e2118;
 font-family: "Montserrat", Arial, sans-serif;
 font-weight: 700;
 text-decoration: none;
 transition: color .2s ease, text-shadow .2s ease;
}

 .pagina-contenuto a[href^="tel:"]:visited,
 .pagina-contenuto a[href^="mailto:"]:visited,
 .pagina-contenuto a[href*="wa.me"]:visited {
  color: #8e2118;
 }

 .pagina-contenuto a[href^="tel:"]:hover,
 .pagina-contenuto a[href^="mailto:"]:hover,
 .pagina-contenuto a[href*="wa.me"]:hover {
  color: #bd8b32;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-shadow: 0 0 12px rgba(189, 139, 50, .18);
 }

 .pagina-contenuto a[href^="tel:"]:focus-visible,
 .pagina-contenuto a[href^="mailto:"]:focus-visible,
 .pagina-contenuto a[href*="wa.me"]:focus-visible {
  outline: 2px solid #bd8b32;
  outline-offset: 4px;
  border-radius: 3px;
 }


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

 .form-contatti {
  padding: 28px 20px;
  border-radius: 14px;
 }

  .form-contatti::before {
   left: 20px;
   right: 20px;
  }

 .form-riga {
  grid-template-columns: 1fr;
  gap: 0;
 }

 .form-campo {
  margin-bottom: 20px;
 }

 .form-control {
  /*
     Manteniamo almeno 16px per evitare lo zoom
     automatico degli input su iPhone.
  */
  font-size: 16px;
 }

 .form-privacy {
  padding: 17px;
 }

  .form-privacy p {
   margin-left: 0;
  }

 .form-azioni .btn-pagina {
  width: 100%;
  min-width: 0;
 }
}


/* ============================================================
   MAPPA DEL SITO
   ============================================================ */

.mappa-sito-grid {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 28px;
 margin-top: 20px;
}

.mappa-sito-sezione {
 position: relative;
 padding: 28px;
 border: 1px solid rgba(112, 62, 43, .16);
 border-radius: 16px;
 background: radial-gradient( circle at 100% 0, rgba(255, 216, 107, .15) 0, rgba(255, 216, 107, 0) 35% ), linear-gradient( 145deg, #fffdf8 0%, #faf3e8 100% );
 box-shadow: 0 14px 34px rgba(76, 29, 20, .08), 0 3px 9px rgba(76, 29, 20, .04);
}

 .mappa-sito-sezione::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;
  height: 3px;
  background: linear-gradient( 90deg, transparent, #bd8b32, #f0d27c, #bd8b32, transparent );
 }

 .mappa-sito-sezione h2 {
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.25;
  color: #6b1912;
 }

  .mappa-sito-sezione h2 a {
   color: #6b1912;
   text-decoration: none;
  }

   .mappa-sito-sezione h2 a:hover {
    color: #bd8b32;
   }

.mappa-sito-lista,
.mappa-sito-sottolivello {
 margin: 0;
 padding: 0;
 list-style: none;
}

 .mappa-sito-lista > li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid rgba(112, 62, 43, .10);
 }

  .mappa-sito-lista > li:last-child {
   border-bottom: 0;
  }

  .mappa-sito-lista > li::before {
   content: "◆";
   position: absolute;
   left: 0;
   top: 11px;
   color: #bd8b32;
   font-size: 10px;
  }

 .mappa-sito-lista a,
 .mappa-sito-sottolivello a {
  color: #772018;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
 }

  .mappa-sito-lista a:visited,
  .mappa-sito-sottolivello a:visited {
   color: #772018;
  }

  .mappa-sito-lista a:hover,
  .mappa-sito-sottolivello a:hover {
   color: #bd8b32;
   text-decoration: underline;
   text-underline-offset: 4px;
  }

.mappa-sito-sottolivello {
 margin-top: 10px;
 padding: 8px 0 0 18px;
 border-left: 1px solid rgba(189, 139, 50, .36);
}

 .mappa-sito-sottolivello li {
  position: relative;
  margin: 7px 0;
  padding-left: 15px;
 }

  .mappa-sito-sottolivello li::before {
   content: "–";
   position: absolute;
   left: 0;
   color: #bd8b32;
  }

.mappa-sito-home {
 grid-column: 1 / -1;
 text-align: center;
}

 .mappa-sito-home h2 {
  margin: 0;
 }

@media (max-width: 800px) {

 .mappa-sito-grid {
  grid-template-columns: 1fr;
  gap: 20px;
 }

 .mappa-sito-sezione {
  padding: 23px 20px;
 }

 .mappa-sito-home {
  grid-column: auto;
 }
}


/* ============================================================
   LINK GENERICI NELLE PAGINE INTERNE
   ============================================================ */

.pagina-contenuto a {
 color: #8e2118;
 text-decoration: none;
 transition: color .2s ease, text-decoration-color .2s ease;
}

 .pagina-contenuto a:visited {
  color: #8e2118;
 }

 .pagina-contenuto a:hover {
  color: #bd8b32;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
 }

 .pagina-contenuto a:focus-visible {
  outline: 2px solid #bd8b32;
  outline-offset: 4px;
  border-radius: 3px;
 }