/* ============================================
   POGGIO PILELLA — Style System
   Modern, minimal, Tuscan elegance
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-primary: #4A5D3A;
  --color-primary-light: #6B7F5A;
  --color-primary-dark: #3A4A2E;
  --color-secondary: #C4A265;
  --color-secondary-light: #D4B87A;
  --color-accent: #8B6F47;
  --color-earth: #7A5C3E;
  --color-dark: #1A1A1A;
  --color-text: #2C2C2C;
  --color-text-light: #5A5A5A;
  --color-text-muted: #888888;
  --color-bg: #FAFAF5;
  --color-bg-alt: #F0EDE5;
  --color-bg-dark: #E8E4DB;
  --color-white: #FFFFFF;
  --color-border: #E0DCD4;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --max-width: 1200px;
  --nav-height: 80px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 65ch;
}

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255,255,255,0.85);
}

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.section__title {
  margin-bottom: 1.5rem;
}

.section__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 3rem;
  max-width: 600px;
}

.text-center .section__subtitle {
  margin-inline: auto;
}

/* --- Grid System --- */
.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.grid--asymmetric {
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
}

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--asymmetric {
    grid-template-columns: 1fr;
  }
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.navbar.scrolled .navbar__logo {
  color: var(--color-dark);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
  letter-spacing: 0.02em;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition);
}

.navbar__link:hover::after,
.navbar__link--active::after {
  width: 100%;
}

.navbar.scrolled .navbar__link {
  color: var(--color-text);
}

.navbar__link:hover {
  color: var(--color-secondary);
}

.navbar__cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.navbar__cta:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
}

.navbar.scrolled .navbar__cta {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.navbar.scrolled .navbar__cta:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Mobile menu toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-white);
  transition: all var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .navbar__toggle span {
  background: var(--color-dark);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.4s ease;
    box-shadow: var(--shadow-lg);
  }

  .navbar__menu.open {
    right: 0;
  }

  .navbar__menu .navbar__link {
    color: var(--color-text);
    font-size: 1.1rem;
  }

  .navbar__menu .navbar__cta {
    color: var(--color-primary);
    border-color: var(--color-primary);
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero--small {
  min-height: 55vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,26,0.45) 0%,
    rgba(26,26,26,0.55) 60%,
    rgba(26,26,26,0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-inline: auto;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-secondary);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
   background: #FFA4009E;;
  color: var(--color-white);
  border-color: var(--color-secondary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn--primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn--primary:hover {
background: #D1B4743D;
  border-color: #D19C26;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(196,162,101,0.5), 0 0 20px rgba(196,162,101,0.2);
}

.btn--primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 12px rgba(196,162,101,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn--outline::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--color-white);
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.btn--outline:hover::before {
  height: 100%;
}

.btn--outline:hover {
  color: var(--color-dark);
  border-color: var(--color-white);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}


.btn--outline2 {
  background: rgba(155, 193, 42, 0.801);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
  z-index: 1;
}


.btn--outline2:hover::before {
  height: 100%;
}

.btn--outline2:hover {
  color: white;
  border-color: var(--color-white);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}

.btn--outline:active {
  transform: translateY(-1px) scale(0.98);
}

.btn--dark {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn--dark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn--dark:hover::before {
  width: 300px;
  height: 300px;
}

.btn--dark:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(74,93,58,0.5), 0 0 20px rgba(74,93,58,0.2);
}

.btn--dark:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 12px rgba(74,93,58,0.4);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn--outline-dark::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--color-primary);
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.btn--outline-dark:hover::before {
  height: 100%;
}

.btn--outline-dark:hover {
  color: black;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(74,93,58,0.3);
}

.btn--outline-dark:active {
  transform: translateY(-1px) scale(0.98);
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.1);
}

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

.card__image {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74,93,58,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.card:hover .card__image::after {
  opacity: 1;
}

.card__image img,
.card__image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.7s ease;
}

.card:hover .card__image img,
.card:hover .card__image .img-placeholder {
  transform: scale(1.12);
  filter: brightness(1.05);
}

.card__body {
  padding: 2rem;
  transition: background-color 0.4s ease;
}

.card:hover .card__body {
  background-color: #FDFCF9;
}

.card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
  transition: letter-spacing 0.4s ease;
}

.card:hover .card__tag {
  letter-spacing: 0.2em;
}

.card__title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.card:hover .card__title {
  color: var(--color-primary);
}

.card__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              color 0.3s ease,
              transform 0.3s ease;
}

.card__link span {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card__link {
  gap: 0.8rem;
  color: var(--color-secondary);
}

.card:hover .card__link span {
  transform: translateX(4px);
}

/* --- Feature Icon Cards --- */
.feature {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-md);
  transition: background-color 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
  cursor: default;
}

.feature:hover {
  background: var(--color-white);
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: 1.5rem;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature:hover .feature__icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 6px 20px rgba(74,93,58,0.3);
}

/* --- Colorful Feature Hovers (Distanze section) --- */
.feature--color-1:hover {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 16px 40px rgba(76,175,80,0.25);
}
.feature--color-1:hover .feature__icon {
  background: #4CAF50;
  box-shadow: 0 8px 25px rgba(76,175,80,0.4);
}
.feature--color-1:hover .feature__title { color: #2E7D32; }

.feature--color-2:hover {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 16px 40px rgba(255,152,0,0.25);
}
.feature--color-2:hover .feature__icon {
  background: #FF9800;
  box-shadow: 0 8px 25px rgba(255,152,0,0.4);
}
.feature--color-2:hover .feature__title { color: #E65100; }

.feature--color-3:hover {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 16px 40px rgba(33,150,243,0.25);
}
.feature--color-3:hover .feature__icon {
  background: #2196F3;
  box-shadow: 0 8px 25px rgba(33,150,243,0.4);
}
.feature--color-3:hover .feature__title { color: #1565C0; }

.feature--color-4:hover {
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 16px 40px rgba(156,39,176,0.25);
}
.feature--color-4:hover .feature__icon {
  background: #9C27B0;
  box-shadow: 0 8px 25px rgba(156,39,176,0.4);
}
.feature--color-4:hover .feature__title { color: #7B1FA2; }

.feature--color-5:hover {
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 16px 40px rgba(233,30,99,0.25);
}
.feature--color-5:hover .feature__icon {
  background: #E91E63;
  box-shadow: 0 8px 25px rgba(233,30,99,0.4);
}
.feature--color-5:hover .feature__title { color: #C2185B; }

.feature--color-6:hover {
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 16px 40px rgba(0,150,136,0.25);
}
.feature--color-6:hover .feature__icon {
  background: #009688;
  box-shadow: 0 8px 25px rgba(0,150,136,0.4);
}
.feature--color-6:hover .feature__title { color: #00695C; }

.feature__title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.feature:hover .feature__title {
  color: var(--color-primary);
}

.feature__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-inline: auto;
}

/* --- Testimonials --- */
.testimonial {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.5s ease;
  border-left: 3px solid transparent;
}

.testimonial:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-left-color: var(--color-secondary);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial__quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  line-height: 0;
  position: relative;
  top: 0.3em;
  margin-right: 0.1em;
  transition: transform 0.4s ease, color 0.4s ease;
  display: inline-block;
}

.testimonial:hover .testimonial__quote::before {
  transform: scale(1.3);
  color: var(--color-primary);
}

.testimonial__author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
}

.testimonial__origin {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.testimonial__stars {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.15em;
  transition: letter-spacing 0.4s ease;
}

.testimonial:hover .testimonial__stars {
  letter-spacing: 0.3em;
}

/* --- FAQ --- */
.faq__item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
  transition: padding-left 0.4s ease;
}

.faq__item:hover {
  padding-left: 0.75rem;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  gap: 1rem;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-secondary);
  transition: transform var(--transition);
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__answer-inner {
  padding-top: 1rem;
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-section .btn--primary {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* --- Contact Form --- */
.form {
  max-width: 600px;
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--color-text);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74,93,58,0.1);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Contact Info --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: background-color 0.3s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-info__item:hover {
  background: var(--color-bg-alt);
  transform: translateX(8px);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-info__item:hover .contact-info__icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1) rotate(5deg);
}

.contact-info__label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.contact-info__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.contact-info__text a {
  color: var(--color-primary);
}

.contact-info__text a:hover {
  color: var(--color-secondary);
}

/* --- Contact Cards (Contatti page) --- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.4s ease,
              background-color 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

.contact-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  transition: background-color 0.4s ease,
              color 0.4s ease,
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-card:hover .contact-card__icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-card__label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.contact-card__text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Card color: Green (Indirizzo) */
.contact-card--green .contact-card__icon {
  background: rgba(74, 93, 58, 0.1);
  color: #4A5D3A;
}
.contact-card--green:hover {
  border-color: #4A5D3A;
  background: rgba(74, 93, 58, 0.03);
}
.contact-card--green:hover .contact-card__icon {
  background: #4A5D3A;
  color: #fff;
}

/* Card color: Gold (Telefono) */
.contact-card--gold .contact-card__icon {
  background: rgba(196, 162, 101, 0.15);
  color: #B8942E;
}
.contact-card--gold:hover {
  border-color: #C4A265;
  background: rgba(196, 162, 101, 0.04);
}
.contact-card--gold:hover .contact-card__icon {
  background: #C4A265;
  color: #fff;
}

/* Card color: Earth (Sito Web) */
.contact-card--earth .contact-card__icon {
  background: rgba(139, 111, 71, 0.12);
  color: #8B6F47;
}
.contact-card--earth:hover {
  border-color: #8B6F47;
  background: rgba(139, 111, 71, 0.03);
}
.contact-card--earth:hover .contact-card__icon {
  background: #8B6F47;
  color: #fff;
}

/* Card color: Terracotta (Come arrivare) */
.contact-card--terracotta .contact-card__icon {
  background: rgba(180, 100, 60, 0.12);
  color: #B4643C;
}
.contact-card--terracotta:hover {
  border-color: #B4643C;
  background: rgba(180, 100, 60, 0.03);
}
.contact-card--terracotta:hover .contact-card__icon {
  background: #B4643C;
  color: #fff;
}

@media (max-width: 768px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* --- Map --- */
.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Footer --- */
.footer {
  background: linear-gradient(
    165deg,
    #1A1A1A 0%,
    #2A2520 35%,
    #1E2A18 65%,
    #1A1A1A 100%
  );
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-secondary) 50%,
    var(--color-earth) 100%
  );
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  display: block;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer__social-link:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer__link:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.footer__link--icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__link--icon svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.footer__link--icon:hover svg {
  opacity: 1;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* --- Amenity List --- */
.amenity-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-item:hover {
  background: var(--color-white);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.amenity-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              color 0.3s ease;
}

.amenity-item:hover svg {
  transform: scale(1.2) rotate(5deg);
  color: var(--color-secondary);
}

/* --- Image Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
  cursor: pointer;
}

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

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Split Section (Image + Text) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.6s ease;
}

.split__image:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.split__image img,
.split__image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.8s ease;
}

.split__image:hover img,
.split__image:hover .img-placeholder {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}

.split__content {
  padding: 1rem 0;
}

@media (max-width: 768px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .split__image img {
    min-height: 280px;
  }
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.9s ease;
  filter: blur(4px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal--left {
  transform: translateX(-60px);
}

.reveal--left.visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(60px);
}

.reveal--right.visible {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.9);
}

.reveal--scale.visible {
  transform: scale(1);
}

.reveal--zoom {
  transform: scale(0.85) translateY(30px);
}

.reveal--zoom.visible {
  transform: scale(1) translateY(0);
}

.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }
.reveal--delay-4 { transition-delay: 0.6s; }
.reveal--delay-5 { transition-delay: 0.75s; }
.reveal--delay-6 { transition-delay: 0.9s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* --- Image placeholder (for demo without real images) --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* --- Divider --- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
  margin: 1.5rem 0;
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.split__content:hover .divider,
.reveal.visible .divider {
  width: 90px;
}

.text-center .divider {
  margin-inline: auto;
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats > div {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stats > div:hover {
  transform: scale(1.1);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.stats > div:hover .stat__number {
  transform: scale(1.08);
  text-shadow: 0 0 30px rgba(196,162,101,0.4);
}

.stat__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Utility --- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Responsive --- */
@media (max-width: 480px) {
  .section {
    padding: 4rem 0;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 0.8rem 1.6rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }

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

/* --- Hero Carousel --- */
.hero--carousel .hero__bg {
  opacity: 0;
  z-index: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero--carousel .hero__bg.active {
  opacity: 1;
  z-index: 1;
}

.hero--carousel .hero__bg.fade-out {
  opacity: 0;
  z-index: 1;
  transition: opacity 1.8s ease-in-out;
}

/* --- Green Horizontal Lines Animation (Territorio) --- */
.territorio-animated {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.territorio-animated::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 10% 20%, rgba(74,93,58,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 300px at 85% 70%, rgba(196,162,101,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 50%, rgba(74,93,58,0.03) 0%, transparent 70%);
  pointer-events: none;
  animation: territorioGlow 10s ease-in-out infinite alternate;
}

@keyframes territorioGlow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.territorio-animated .green-line {
  position: absolute;
  height: 2px;
  opacity: 0.12;
  border-radius: 2px;
  pointer-events: none;
}

.territorio-animated .floating-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: floatDot linear infinite;
}

.floating-dot--1 {
  width: 6px; height: 6px;
  background: var(--color-primary);
  top: 20%; left: 10%;
  animation-duration: 16s !important;
  animation-delay: 0s;
}
.floating-dot--2 {
  width: 4px; height: 4px;
  background: var(--color-secondary);
  top: 60%; left: 80%;
  animation-duration: 20s !important;
  animation-delay: 3s;
}
.floating-dot--3 {
  width: 8px; height: 8px;
  background: var(--color-primary-light);
  top: 40%; left: 50%;
  animation-duration: 18s !important;
  animation-delay: 6s;
}
.floating-dot--4 {
  width: 5px; height: 5px;
  background: var(--color-secondary-light);
  top: 75%; left: 25%;
  animation-duration: 22s !important;
  animation-delay: 2s;
}
.floating-dot--5 {
  width: 3px; height: 3px;
  background: var(--color-primary);
  top: 15%; left: 70%;
  animation-duration: 14s !important;
  animation-delay: 8s;
}

@keyframes floatDot {
  0% { opacity: 0; transform: translateY(0) translateX(0) scale(0); }
  10% { opacity: 0.25; transform: translateY(-20px) translateX(10px) scale(1); }
  50% { opacity: 0.15; transform: translateY(-60px) translateX(-20px) scale(1.2); }
  90% { opacity: 0.25; transform: translateY(-100px) translateX(15px) scale(0.8); }
  100% { opacity: 0; transform: translateY(-120px) translateX(0) scale(0); }
}

.territorio-animated .leaf-shape {
  position: absolute;
  width: 20px;
  height: 8px;
  border-radius: 50% 0 50% 0;
  pointer-events: none;
  opacity: 0;
  animation: floatLeaf linear infinite;
}

.leaf-shape--1 {
  background: rgba(74,93,58,0.12);
  top: 30%; left: 5%;
  animation-duration: 24s !important;
  animation-delay: 1s;
}
.leaf-shape--2 {
  background: rgba(107,127,90,0.10);
  top: 70%; right: 8%; left: auto;
  animation-duration: 20s !important;
  animation-delay: 5s;
  width: 16px; height: 6px;
}
.leaf-shape--3 {
  background: rgba(74,93,58,0.08);
  top: 50%; left: 40%;
  animation-duration: 28s !important;
  animation-delay: 10s;
  width: 24px; height: 10px;
}

@keyframes floatLeaf {
  0% { opacity: 0; transform: translateY(0) translateX(0) rotate(0deg) scale(0.5); }
  15% { opacity: 0.3; transform: translateY(-30px) translateX(20px) rotate(45deg) scale(1); }
  50% { opacity: 0.2; transform: translateY(-80px) translateX(-15px) rotate(135deg) scale(1.1); }
  85% { opacity: 0.3; transform: translateY(-130px) translateX(25px) rotate(225deg) scale(0.9); }
  100% { opacity: 0; transform: translateY(-160px) translateX(0) rotate(360deg) scale(0.5); }
}

.green-line--1 {
  top: 15%;
  left: -20%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-primary-light), transparent);
  animation: greenLineRight 12s linear infinite;
}

.green-line--2 {
  top: 35%;
  right: -20%;
  width: 35%;
  background: linear-gradient(90deg, transparent, var(--color-primary-light), var(--color-primary), transparent);
  animation: greenLineLeft 15s linear infinite;
  animation-delay: 3s;
}

.green-line--3 {
  bottom: 25%;
  left: -25%;
  width: 45%;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: greenLineRight 18s linear infinite;
  animation-delay: 6s;
}

.green-line--4 {
  bottom: 45%;
  right: -15%;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
  animation: greenLineLeft 10s linear infinite;
  animation-delay: 1.5s;
}

.green-line--5 {
  top: 60%;
  left: -30%;
  width: 50%;
  background: linear-gradient(90deg, transparent, var(--color-primary-dark), var(--color-primary), transparent);
  animation: greenLineRight 20s linear infinite;
  animation-delay: 8s;
}

.green-line--6 {
  top: 80%;
  right: -20%;
  width: 38%;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-primary-light), transparent);
  animation: greenLineLeft 14s linear infinite;
  animation-delay: 4s;
}

@keyframes greenLineRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 50%)); }
}

@keyframes greenLineLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100vw - 50%)); }
}

@media (prefers-reduced-motion: reduce) {
  .green-line, .floating-dot, .leaf-shape { display: none; }
  .territorio-animated::before { animation: none; }
  .hero--carousel .hero__bg { transition: 2.2s; }
  .btn { transition: none; }
  .btn::before { display: none; }
}

/* --- Language Switcher --- */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.3s ease;
  margin-left: 0.5rem;
}

.lang-switcher:hover {
  background: rgba(255,255,255,0.1);
}

.navbar.scrolled .lang-switcher:hover {
  background: rgba(0,0,0,0.05);
}

.lang-switcher__flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.lang-switcher:hover .lang-switcher__flag {
  transform: scale(1.15);
}

.lang-switcher__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

.navbar.scrolled .lang-switcher__label {
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .lang-switcher {
    position: fixed;
    top: 22px;
    right: 60px;
    z-index: 1002;
    margin-left: 0;
  }
  .lang-switcher__label {
    display: none;
  }
}

/* --- Print --- */
@media print {
  .navbar,
  .hero__scroll,
  .mobile-overlay {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .section {
    padding: 2rem 0;
    break-inside: avoid;
  }
}
