/* -----------------------------------
   FONT IMPORT
----------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Lato:wght@300;400;700&family=Dancing+Script:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* -----------------------------------
   PALETTE ESTESA (12 COLORI)
----------------------------------- */
:root {
  --c-beige: #EDE7E1;
  --c-crema: #F6F2ED;
  --c-sabbia: #D8CFC7;

  --c-tortora-dark: #5A5048;
  --c-tortora-mid: #7A6F66;
  --c-grigio-soft: #C4BCB4;

  --c-marrone: #8A6F5A;
  --c-marrone-deep: #6E5646;
  --c-terracotta-soft: #B48A72;

  --c-salvia: #AEB7A3;
  --c-oro-sabbia: #DCC7A1;
  --c-terracotta-deep: #9C6B55;

  --c-text-dark: #5A5048;
  --c-text-medium: #7A6F65;
}

/* -----------------------------------
   GLOBAL
----------------------------------- */
* {
  transition: all .25s ease;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background: var(--c-beige);
  color: var(--c-tortora-dark);
  line-height: 1.75;
  letter-spacing: 0.2px;
}

/* -----------------------------------
   HEADER
----------------------------------- */
.header {
  background: var(--c-crema);
  padding: 8px 16px;
  border-bottom: 1px solid var(--c-sabbia);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  width: 65px;
  height: auto;
  display: block;
}

.nav a {
  text-decoration: none;
  color: var(--c-tortora-dark);
  margin-left: 35px;
  font-size: 17px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--c-terracotta-soft);
}
/* -----------------------------------
   HERO — MOVIMENTO VERTICALE SENZA ZOOM
----------------------------------- */

.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Immagine hero con scorrimento verso l’alto */
.hero img {
  position: absolute;
  width: 100%;
  height: 120%; /* leggermente più alta per permettere lo scorrimento */
  object-fit: cover;
  object-position: center;
  top: 0;
  left: 0;
  animation: verticalPan 18s ease-in-out infinite alternate;
  filter: brightness(0.78) blur(2px);
  z-index: 1;
}

/* Animazione verticale pura */
@keyframes verticalPan {
  from { transform: translateY(0); }
  to   { transform: translateY(-10%); } /* scorre verso l’alto */
}

/* Overlay */
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(90, 80, 72, 0.12);
  z-index: 2;
}

/* Contenuto */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-10px);
}

/* Titolo */
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  font-weight: 800;
  color: white;
  margin: 0 0 15px 0;
  text-shadow: 0 4px 18px rgba(0,0,0,0.55);
}

/* Sottotitolo */
.subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 35px;
  font-weight: 800;
  color: rgba(255,255,255,0.97);
  text-shadow: 0 3px 12px rgba(0,0,0,0.45);
  margin: 0 0 35px 0;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Bottone */
.prenota-btn {
  display: inline-block;
  padding: 10px 38px;
  background: var(--c-crema);
  color: #5A5048;
  font-weight: 700;
  font-size: 18px;
  border: 1px solid rgba(90,80,72,0.35);
  border-radius: 8px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  margin-top: 35px;
}

/* Hover */
.prenota-btn:hover {
  background: rgba(255,255,255,0.85);
  border-color: rgba(90,80,72,0.55);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}
/* -----------------------------------
   SEZIONI
----------------------------------- */
.section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 15px;
}

.section-header .title {
  font-size: 1.7rem;
  font-weight: 600;
  color: #5A5048;
  margin: 0;
}

.section-header .subtitle {
  margin: 0;
}

.section p {
  margin: 0 0 10px 0;
}

/* -----------------------------------
   GRID 2×2
----------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  justify-content: center;
}

.card {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: var(--c-crema);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.card:hover img {
  transform: scale(1.06);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(90,80,72,0.15);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::after {
  opacity: 1;
}

.home-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-card-img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.home-card-link:hover .home-card-img {
  transform: scale(1.02);
  opacity: 0.95;
}

.card-image-wrapper {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -----------------------------------
   FADE-IN
----------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------
   GALLERY
----------------------------------- */
.gallery {
  text-align: center;
  margin: 10px 0;
}

.gallery img {
  display: inline-block;
  margin: 0;
  max-width: 100%;
  height: auto;
}

/* -----------------------------------
   MAP SECTION
----------------------------------- */
.map-section {
  padding: 20px 20px;
  background: #F7F4F1;
}

.map-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.map-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #5A5048;
  letter-spacing: 0.3px;
}

.map-section p {
  color: #7A6F65;
}

.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.map-wrapper iframe {
  width: 100%;
  height: 320px;
  display: block;
}

.map-cta {
  display: inline-block;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(90,80,72,0.35);
  border-radius: 6px;
  color: #5A5048;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(6px);
}

.map-cta:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(90,80,72,0.6);
}

.address {
  font-size: 16px;
  color: #5A5048;
  margin-bottom: 30px;
}

.map-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.map-container iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

/* -----------------------------------
   CLOSING SECTION
----------------------------------- */
.closing-section {
  padding: 20px 20px 40px 20px;
  background: #F7F4F1;
  text-align: center;
}

.closing-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #5A5048;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.closing-section .cta {
  padding: 14px 38px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(90,80,72,0.35);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  font-weight: 600;
  color: #5A5048;
}

.closing-section .cta:hover {
  background: rgba(255,255,255,0.75);
  border-color: rgba(90,80,72,0.55);
}

/* -----------------------------------
   FOOTER
----------------------------------- */
.footer {
  width: 100%;
  background-color: #7A6F66;
  text-align: center;
  color: white;
  font-family: 'Inter', sans-serif;
  padding: 10px 0 12px 0;
}

.footer-logo {
  width: 70px;
  filter: brightness(0) invert(1);
  display: block;
  margin: 0 auto;
}

.footer-name {
  font-size: 12px;
  font-weight: 600;
  color: white;
  margin: 2px 0 4px 0;
  line-height: 1.1;
}

.footer-info {
  font-size: 12px;
  line-height: 1.2;
  margin: 0 0 4px 0;
  color: white;
}

.footer-email {
  color: white;
  text-decoration: underline;
}

.footer-copy {
  font-size: 10px;
  font-style: italic;
  opacity: 0.9;
  margin: 4px 0 0 0;
}

/* -----------------------------------
   GALLERY CARD / MEDIA GRID
----------------------------------- */
.gallery-card {
  max-width: 900px;
  margin: 60px auto;
  padding: 32px;
  background: var(--c-crema);
  border-radius: 14px;
  border: 1px solid rgba(90,80,72,0.25);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  text-align: center;
}

.gallery-title {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
}

.gallery-text {
  margin: 0;
  font-size: 0.98rem;
  color: #5a5048;
}

.media-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  gap: 18px;
}

.media-grid > div {
  flex: 0 0 32%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.media-video {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: contain;
  background: #000;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  display: block;
  margin: 0 auto;
  pointer-events: none;
}

.media-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.media-small {
  width: 265px;
  height: 205px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.media-right-text {
  display: flex;
  justify-content: center;
  align-items: center;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5a5048;
}

.spec-list li {
  margin-bottom: 8px;
  position: relative;
}

.spec-list li::before {
  content: "•";
  color: #5a5048;
  margin-right: 8px;
}

.ending-text {
  font-size: 1.2rem;
  color: #5a5048;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}

/* -----------------------------------
   PAGE ENDING
----------------------------------- */
.page-ending {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centra verticalmente */
  align-items: center;       /* centra orizzontalmente */
  text-align: center;
  margin: 80px auto;         /* distacco dal contenuto precedente */
  max-width: 100%;          /* mantiene lo stile boutique */
}

/* -----------------------------------
   FORM
----------------------------------- */
.media-right-text form {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.85rem;
  color: #5a5048;
  opacity: 0.8;
  margin-bottom: 4px;
}

.form-row input,
.form-row select,
.form-row textarea {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d8d2cc;
  border-radius: 10px;
  background: #faf9f7;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-row input[type="date"] {
  min-width: 0;
}

/* -----------------------------------
   CONTACT LINE
----------------------------------- */
.contact-line {
  white-space: nowrap;
  text-align: left;
  font-size: 1rem;
  color: #5a5048;
  margin-bottom: 10px;
}

.contact-line a {
  color: var(--c-tortora-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--c-terracotta-soft);
  padding-bottom: 2px;
}

.contact-line a:hover {
  color: var(--c-terracotta-soft);
}

/* -----------------------------------
   REVIEWS
----------------------------------- */
.section-title {
  margin-bottom: 45px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.review-box {
  background: #faf9f7;
  border: 1px solid #e6e1dc;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: all .25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  width: 380px;
  margin: 0 auto;
}

.review-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  border-color: var(--c-terracotta-soft);
}

.review-title {
  font-size: 1.05rem;
  color: #5a5048;
  margin-bottom: 4px;
}

.review-text {
  font-size: 0.95rem;
  color: #6a625c;
  line-height: 1.45;
  margin-bottom: 0;
}

.review-score {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

#dicono-di-noi .gallery-title {
  margin-bottom: 45px !important;
}

#dicono-di-noi .reviews-grid {
  grid-template-columns: 1fr 1fr;
  gap: 18px !important;
  margin-top: 10px;
}

/* -----------------------------------
   INTRO / SPACER
----------------------------------- */
.intro-section {
  overflow: auto;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 20px 0 20px;
}

.intro-text {
  font-size: 1rem;
  line-height: 1.55;
  color: #5a5048;
}

.section-spacer {
  height: 60px;
}

/* -----------------------------------
   PRICING
----------------------------------- */
section.pricing-page .pricing-card {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  background: var(--c-crema, #ffffff);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

section.pricing-page .pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.10);
}

section.pricing-page .pricing-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
  text-align: center;
}

section.pricing-page .pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

section.pricing-page .pricing-table thead th {
  text-align: left;
  padding: 0.7rem 0.4rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-weight: 600;
}

section.pricing-page .pricing-table tbody td {
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

section.pricing-page .pricing-table td:last-child,
section.pricing-page .pricing-table th:last-child {
  text-align: right;
}

section.pricing-page .pricing-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

section.pricing-page {
  padding-bottom: 4rem;
}

.pricing-table {
  table-layout: fixed;
  width: 100%;
}

.pricing-table th,
.pricing-table td {
  text-align: center;
}

.pricing-table th:nth-child(1),
.pricing-table td:nth-child(1) {
  text-align: left;
}

.pricing-table th:nth-child(3),
.pricing-table td:nth-child(3) {
  text-align: right;
}

.pricing-table thead th:nth-child(2) {
  text-align: center !important;
}


/* -----------------------------------
   CONDITIONS
----------------------------------- */
.conditions-wrapper {
  width: 100%;
  background-color: #F7F4F1;
  padding: 60px 0;
  margin-top: 60px;
}

.conditions-box {
  max-width: 750px;
  margin: 0 auto;
  background-color: #D8D1CA;
  padding: 40px 30px;
  border-radius: 12px;
}

.conditions-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--c-text-dark);
}

.conditions-text {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--c-text-medium);
}

/* -----------------------------------
   LANGUAGE SWITCHER
----------------------------------- */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.language-switcher .lang {
  color: var(--c-text-dark);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.language-switcher .lang:hover {
  opacity: 0.7;
}

.language-switcher .divider {
  color: var(--c-text-medium);
}

/* -----------------------------------
   BUTTON GENERICO
----------------------------------- */
.details-btn {
  display: inline-block;
  padding: 14px 42px;
  border: 1px solid rgba(90,80,72,0.45);
  border-radius: 8px;
  background: #5A5048;
  color: white;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}

.details-btn:hover {
  background: #6A6058;
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}



/* -----------------------------------
  MOBILE 
----------------------------------- */
@media (max-width: 768px) {

  /* HERO */
  .hero {
    height: 45vh;
  }

  .hero img {
    height: 130%;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  /* SECTION */
  .section {
    max-width: 92%;
    padding: 0 12px;
    margin: 30px auto;
  }

  /* GRID */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* CARD */
  .card {
    aspect-ratio: auto;
    padding: 0;
    border-radius: 14px;
  }

  .card img {
    height: auto;
  }

  /* GALLERY / MEDIA */
  .media-grid {
    flex-direction: column;
    gap: 20px;
  }

  .media-grid > div {
    flex: 1 1 100%;
    width: 100%;
  }

  .media-video,
  .media-small {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* FORM */
  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    font-size: 1rem;
  }

  /* REVIEWS */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-box {
    width: 100%;
  }

  /* MAP */
  .map-wrapper iframe {
    height: 260px;
  }

  /* FOOTER */
  .footer {
    padding: 25px 0;
  }
}


/* -----------------------------------
  MOBILE SMALL PHONES
----------------------------------- */
@media (max-width: 600px) {

  /* HERO */
  .hero {
    height: 40vh;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  /* CARD */
  .card {
    padding: 0;
  }

  /* CONDITIONS */
  .conditions-box {
    padding: 24px 16px;
  }

  .conditions-title {
    font-size: 1.3rem;
  }

  .conditions-text {
    font-size: 0.95rem;
  }

  /* LANGUAGE SWITCHER */
  .language-switcher {
    font-size: 0.85rem;
  }

  /* FOOTER */
  .footer-logo {
    width: 55px;
  }
}

/* -----------------------------------
   HEADER STICKY MOBILE
----------------------------------- */
@media (max-width: 768px) {

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(246, 242, 237, 0.85); /* crema con trasparenza */
    backdrop-filter: blur(8px);
    padding: 10px 14px;
    border-bottom: 1px solid rgba(90,80,72,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Spazio per evitare che il contenuto salga sotto l’header */
  body {
    padding-top: 70px;
  }

  /* Logo più proporzionato */
  .header-logo {
    width: 50px;
  }

  /* Navigazione mobile */
  .nav {
    display: flex;
    gap: 14px;
  }

  .nav a {
    font-size: 0.95rem;
    margin-left: 0;
    padding: 6px 0;
  }
}

/* Small phones */
@media (max-width: 480px) {

  .header {
    padding: 8px 12px;
  }

  .header-logo {
    width: 44px;
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 0.82rem;
    letter-spacing: 0.3px;
  }

  body {
    padding-top: 62px;
  }
}

/* Riduzione spazi verticali su mobile */
@media (max-width: 768px) {

  .section {
    margin: 25px auto;
  }

  .page-ending {
    margin: 40px auto;
  }

  .conditions-wrapper {
    padding: 35px 0;
    margin-top: 30px;
  }

  .closing-section {
    padding: 20px 20px 25px 20px;
  }
}

@media (max-width: 480px) {

  .section {
    margin: 20px auto;
  }

  .page-ending {
    margin: 30px auto;
  }

  .conditions-wrapper {
    padding: 28px 0;
    margin-top: 20px;
  }

  .closing-section {
    padding: 16px 16px 20px 16px;
  }
}

/* -----------------------------------
   FORM MOBILE OTTIMIZZATO
----------------------------------- */
@media (max-width: 768px) {

  /* Contenitore form */
  .media-right-text form {
    width: 100%;
    max-width: 100%;
    padding: 0 6px;
  }

  /* Righe del form in colonna */
  .form-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
  }

  /* Campi */
  .form-row input,
  .form-row select,
  .form-row textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 10px;
  }

  /* Label più compatte */
  .form-label {
    font-size: 0.85rem;
    margin-bottom: 3px;
    opacity: 0.85;
  }

  /* Textarea più armoniosa */
  textarea {
    min-height: 110px;
  }

  /* Bottone */
  .details-btn,
  .prenota-btn {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    font-size: 1rem;
    margin-top: 10px;
  }
}

/* Small phones */
@media (max-width: 480px) {

  .form-row input,
  .form-row select,
  .form-row textarea {
    padding: 11px 12px;
    font-size: 0.95rem;
  }

  .form-label {
    font-size: 0.8rem;
  }

  textarea {
    min-height: 100px;
  }

  .details-btn,
  .prenota-btn {
    padding: 12px 0;
    font-size: 0.95rem;
  }
}

/* -----------------------------------
   PRICING — MIGLIOR LETTURA MOBILE
----------------------------------- */
@media (max-width: 768px) {

  /* Testo più grande */
  section.pricing-page .pricing-table {
    font-size: 1rem;
  }

  section.pricing-page .pricing-table thead th {
    font-size: 1rem;
    padding: 0.55rem 0.25rem;
  }

  section.pricing-page .pricing-table tbody td {
    font-size: 1rem;
    padding: 0.55rem 0.25rem;
  }

  /* Colonne più vicine tra loro */
  .pricing-table th:nth-child(1),
  .pricing-table td:nth-child(1) {
    width: 52%;
  }

  .pricing-table th:nth-child(2),
  .pricing-table td:nth-child(2) {
    width: 18%;
  }

  .pricing-table th:nth-child(3),
  .pricing-table td:nth-child(3) {
    width: 30%;
  }
}

/* Small phones */
@media (max-width: 480px) {

  section.pricing-page .pricing-table {
    font-size: 1.05rem;
  }

  section.pricing-page .pricing-table thead th {
    font-size: 1.05rem;
  }

  /* Colonne ancora più compatte */
  .pricing-table th:nth-child(1),
  .pricing-table td:nth-child(1) {
    width: 55%;
  }

  .pricing-table th:nth-child(2),
  .pricing-table td:nth-child(2) {
    width: 15%;
  }

  .pricing-table th:nth-child(3),
  .pricing-table td:nth-child(3) {
    width: 30%;
  }
}
