/* ============================================
   BUSHIDO TIVOLI – Modern Japan-Inspired Design
   ============================================
   Palette:
     --kuro      #0D0D0D   nero profondo
     --indigo    #1B1464   indaco giapponese
     --aka       #BC002D   rosso bandiera giapponese
     --aka-dark  #8C0020   rosso scuro
     --kin       #C9A96E   oro dei templi
     --sakura    #FFB7C5   rosa ciliegio
     --shiro     #FFFFFF   bianco
     --hai       #F5F3F0   grigio caldo
     --sumi      #2C2C2C   grigio antracite
   ============================================ */

:root {
  --kuro: #0D0D0D;
  --indigo: #1B1464;
  --aka: #BC002D;
  --aka-dark: #8C0020;
  --kin: #C9A96E;
  --sakura: #FFB7C5;
  --shiro: #FFFFFF;
  --hai: #F5F3F0;
  --sumi: #2C2C2C;
  --font-heading: 'Noto Sans JP', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
  --radius: 12px;
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--sumi);
  background-color: var(--hai);
  overflow-x: hidden;
  padding-top: 72px;
}

a {
  color: var(--aka);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--aka-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  transition: background var(--transition), box-shadow var(--transition);
}

header.scrolled {
  background: rgba(13, 13, 13, 0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 2rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-brand a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--shiro);
  text-decoration: none;
}

.header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(201, 169, 110, 0.3));
  transition: filter var(--transition);
}

.header-logo:hover {
  filter: drop-shadow(0 0 12px rgba(201, 169, 110, 0.5));
}

.header-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--shiro);
  letter-spacing: 0.05em;
}

.header-brand .brand-name span {
  color: var(--kin);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--shiro);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  transition: all var(--transition);
  line-height: 1;
}

.menu-toggle:hover {
  border-color: var(--kin);
  color: var(--kin);
}

nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

nav a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
  letter-spacing: 0.02em;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--aka);
  border-radius: 2px;
  transition: transform var(--transition);
}

nav a:hover,
nav a.active {
  color: var(--shiro);
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

nav a:hover::after,
nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* ========================================
   HERO / PAGE BANNER (Parallax)
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--shiro);
  overflow: hidden;
  margin-top: -72px;
}

.page-banner {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--shiro);
  overflow: hidden;
  margin-top: -72px;
}

.hero .parallax-bg,
.page-banner .parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

.hero .overlay,
.page-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13,13,13,0.7) 0%,
    rgba(27,20,100,0.5) 50%,
    rgba(13,13,13,0.8) 100%
  );
  z-index: 1;
}

.hero-content,
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.hero-content h1 .accent {
  color: var(--aka);
}

.hero-content h1 .gold {
  color: var(--kin);
}

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  opacity: 0.9;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.banner-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-shadow: 0 4px 20px rgba(0,0,0,.4);
  margin-bottom: 0.5rem;
}

.banner-content p {
  font-size: 1.15rem;
  opacity: 0.85;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}

/* CTA Buttons */
.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--aka);
  color: var(--shiro);
  box-shadow: 0 4px 20px rgba(188,0,45,0.35);
}

.btn-primary:hover {
  background: var(--aka-dark);
  color: var(--shiro);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(188,0,45,0.45);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--shiro);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--kin);
  color: var(--kin);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ========================================
   CAROUSEL
   ======================================== */
.carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13,13,13,0.6) 0%,
    rgba(27,20,100,0.4) 40%,
    rgba(13,13,13,0.75) 100%
  );
}

/* Carousel indicators */
.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--kin);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(201,169,110,0.5);
}

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--shiro);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.carousel-arrow:hover {
  background: rgba(188,0,45,0.6);
  border-color: var(--aka);
}

.carousel-arrow.prev { left: 1.5rem; }
.carousel-arrow.next { right: 1.5rem; }

/* ========================================
   PARALLAX SECTIONS (decorative)
   ======================================== */
.parallax-divider {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: var(--shiro);
}

.parallax-divider .parallax-bg {
  position: absolute;
  top: -30%;
  left: 0;
  width: 100%;
  height: 160%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax-divider .overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,20,100,0.6);
}

.parallax-divider .parallax-text {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.parallax-divider .parallax-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--shiro);
  border: none;
  padding: 0;
  margin-bottom: 0.5rem;
}

.parallax-divider .parallax-text p {
  font-size: 1.15rem;
  opacity: 0.85;
}

/* Japanese decorative character */
.kanji-watermark {
  position: absolute;
  font-size: 12rem;
  opacity: 0.04;
  font-family: var(--font-heading);
  color: var(--shiro);
  z-index: 1;
  user-select: none;
  pointer-events: none;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-with-banner main {
  padding-top: 4rem;
}

/* === Section Titles === */
section {
  margin-bottom: 3rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--indigo);
  border: none;
  padding: 0;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--aka);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
  margin-top: 0.8rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Generic h2 */
h2 {
  font-family: var(--font-heading);
  color: var(--indigo);
  margin-bottom: 1rem;
  font-size: 1.6rem;
  border-left: 4px solid var(--aka);
  padding-left: 0.8rem;
  font-weight: 700;
}

h3 {
  font-family: var(--font-heading);
  color: var(--sumi);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.2rem;
}

ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--aka);
  font-weight: bold;
}

/* ========================================
   CARDS
   ======================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--shiro);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--aka), var(--kin));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--indigo);
}

.card p {
  color: #555;
  font-size: 0.95rem;
}

.card ul li {
  font-size: 0.95rem;
  color: #555;
}

/* ========================================
   FEATURES ROW (home page)
   ======================================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--shiro);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--indigo);
}

.feature-item p {
  color: #666;
  font-size: 0.95rem;
}

/* ========================================
   TABLE (Orari)
   ======================================== */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--shiro);
}

th, td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

th {
  background: linear-gradient(135deg, var(--indigo), #2a1f8a);
  color: var(--shiro);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tr {
  transition: background var(--transition);
}

tr:hover {
  background: rgba(27,20,100,0.03);
}

tr:nth-child(even) {
  background: rgba(0,0,0,0.015);
}

tr:nth-child(even):hover {
  background: rgba(27,20,100,0.05);
}

/* ========================================
   FORMS
   ======================================== */
.form-container {
  background: var(--shiro);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 600px;
}

form {
  max-width: 100%;
}

label {
  display: block;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--indigo);
  font-size: 0.95rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--hai);
  transition: all var(--transition);
  color: var(--sumi);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--aka);
  background: var(--shiro);
  box-shadow: 0 0 0 4px rgba(188,0,45,0.1);
}

input::placeholder, textarea::placeholder {
  color: #aaa;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button[type="submit"],
.form-container button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.85rem 2.5rem;
  background: var(--aka);
  color: var(--shiro);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
}

button[type="submit"]:hover,
.form-container button:hover {
  background: var(--aka-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(188,0,45,0.3);
}

/* ========================================
   GALLERIA
   ======================================== */
.galleria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.galleria-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.galleria-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--shiro);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}

/* ========================================
   CONTATTI INFO
   ======================================== */
.contatti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.contatti-card {
  background: var(--shiro);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
}

.contatti-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contatti-card .contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.contatti-card h3 {
  color: var(--indigo);
  margin-bottom: 0.5rem;
}

.contatti-card p,
.contatti-card a {
  color: #555;
  font-size: 0.95rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: linear-gradient(135deg, var(--kuro), #111133);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aka), var(--kin), var(--aka));
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  height: 36px;
  opacity: 0.8;
}

.footer-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--kin);
  text-decoration: none;
}

footer p {
  font-size: 0.85rem;
  margin: 0;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }

.accent-box {
  background: linear-gradient(135deg, rgba(27,20,100,0.04), rgba(188,0,45,0.04));
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--kin);
  margin-bottom: 2rem;
}

.accent-box p {
  margin: 0;
  color: #444;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .parallax-divider {
    height: 250px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .header-inner {
    padding: 0.5rem 1rem;
  }

  .header-logo {
    height: 40px;
  }

  .header-brand .brand-name {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(14px);
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    gap: 0;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 0.9rem 1.5rem;
    width: 100%;
    text-align: center;
    border-radius: 0;
    font-size: 1rem;
  }

  nav a::after {
    display: none;
  }

  nav a:hover {
    background: rgba(188,0,45,0.15);
  }

  main {
    padding: 3rem 1.2rem;
  }

  .page-banner {
    min-height: 40vh;
  }

  .hero {
    min-height: 90vh;
    margin-top: -64px;
  }

  .page-banner {
    margin-top: -64px;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .carousel-arrow.prev { left: 0.8rem; }
  .carousel-arrow.next { right: 0.8rem; }

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

  .form-container {
    padding: 1.5rem;
  }

  .table-container {
    border-radius: 8px;
  }
}

/* Mobile small */
@media (max-width: 480px) {
  .features {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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

  .parallax-divider {
    height: 200px;
  }

  .parallax-divider .parallax-text h2 {
    font-size: 1.4rem;
  }
}
