:root {
  --gold: #febf02;
  --terracotta: #d49373;
  --sage: #636f61;
  --sky: #93a9d2;
  --white: #fefdfb;
  --dark: #2a2a2a;
  --light-cream: #faf8f5;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
.logo,
.loader-lumia,
.hero h1 {
  font-family: "Dancing Script", cursive;
  letter-spacing: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
body.loading {
  overflow: hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--gold);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.8s var(--ease-out-expo),
    visibility 0.8s;
  overflow: hidden;
}
.loader::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(img/cornice.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) {
  .loader::after {
    background-image: url(img/cornice_mobile.webp);
    background-size: cover;
    background-position: center;
  }
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
  z-index: 2;
  position: relative;
  padding: 1.5rem;
  width: 90%;
  max-width: 600px;
}
.loader-logo {
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}
.loader-lumia {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--light-cream);
  white-space: nowrap;
}
.loader-bar {
  width: min(320px, 80%);
  height: 4px;
  background: rgb(255 255 255 / 0.25);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto 2rem;
}
.loader-progress {
  width: 0;
  height: 100%;
  background: var(--light-cream);
  animation: loadProgress 2s var(--ease-in-out) forwards;
}
.loader-text {
  color: var(--light-cream);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out-expo) 0.2s forwards;
}
.loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgb(254 191 2 / 0.1) 0%,
    transparent 50%,
    rgb(147 169 210 / 0.1) 100%
  );
  z-index: 0;
}
@keyframes loadProgress {
  0% {
    width: 0;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1024px) {
  .loader-lumia {
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  }
}
@media (max-width: 768px) {
  .loader-content {
    width: 85%;
    max-width: 400px;
    padding: 1rem;
  }
  .loader-lumia {
    font-size: clamp(2rem, 7vw, 2.8rem);
    margin-bottom: 1.5rem;
  }
  .loader-bar {
    width: 80%;
    height: 3px;
    margin-bottom: 1.5rem;
  }
  .loader-text {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
  }
}
@media (max-width: 480px) {
  .loader-content {
    width: 80%;
    max-width: 320px;
  }
  .loader-lumia {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
  .loader-bar {
    width: 75%;
  }
  .loader-text {
    font-size: 1rem;
  }
}
@media (max-width: 375px) {
  .loader-content {
    width: 75%;
  }
  .loader-lumia {
    font-size: 1.8rem;
  }
  .loader-text {
    font-size: 0.95rem;
  }
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgb(254 253 251 / 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgb(99 111 97 / 0.1);
  transform: translateY(-100%);
  transition:
    transform 0.6s var(--ease-out-expo),
    box-shadow 0.3s ease;
}
.navbar.visible {
  transform: translateY(0);
}
.navbar.scrolled {
  box-shadow: 0 2px 30px rgb(0 0 0 / 0.1);
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--sage);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.logo span {
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo);
}
.nav-links a:hover {
  color: var(--sage);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  background: var(--gold);
  color: var(--dark);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 2px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--terracotta);
  transition: left 0.4s var(--ease-out-expo);
  z-index: -1;
}
.nav-cta:hover {
  color: var(--white);
}
.nav-cta:hover::before {
  left: 0;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.mobile-menu span {
  width: 25px;
  height: 2px;
  background: var(--sage);
  transition: all 0.3s ease;
  transform-origin: center;
}
.mobile-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.lang-selector {
  position: relative;
  margin-left: 0.75rem;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  background: #fff0;
  border: 1px solid rgb(99 111 97 / 0.25);
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark);
  transition: all 0.3s ease;
}
.lang-btn:hover {
  border-color: var(--gold);
  background: rgb(254 191 2 / 0.08);
}
.lang-icon {
  color: var(--sage);
}
.lang-current {
  font-weight: 600;
  color: var(--sage);
}
.lang-arrow {
  transition: transform 0.3s ease;
  color: var(--sage);
}
.lang-selector.open .lang-arrow {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--white);
  border: 1px solid rgb(99 111 97 / 0.15);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.12);
  list-style: none;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease-out-expo);
  z-index: 1002;
}
.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 1rem;
  background: #fff0;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--dark);
  text-align: left;
  transition: background 0.2s ease;
}
.lang-dropdown button:hover {
  background: rgb(254 191 2 / 0.12);
}
.lang-dropdown button.active {
  background: rgb(254 191 2 / 0.18);
  font-weight: 600;
  color: var(--sage);
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--sage);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  transition: right 0.5s var(--ease-out-expo);
}
.mobile-nav.active {
  right: 0;
}
.mobile-nav-links {
  list-style: none;
}
.mobile-nav-links li {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.4s var(--ease-out-expo);
}
.mobile-nav.active .mobile-nav-links li {
  opacity: 1;
  transform: translateX(0);
}
.mobile-nav.active .mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-nav.active .mobile-nav-links li:nth-child(2) {
  transition-delay: 0.15s;
}
.mobile-nav.active .mobile-nav-links li:nth-child(3) {
  transition-delay: 0.2s;
}
.mobile-nav.active .mobile-nav-links li:nth-child(4) {
  transition-delay: 0.25s;
}
.mobile-nav.active .mobile-nav-links li:nth-child(5) {
  transition-delay: 0.3s;
}
.mobile-nav.active .mobile-nav-links li:nth-child(6) {
  transition-delay: 0.35s;
}
.mobile-nav.active .mobile-nav-links li:nth-child(7) {
  transition-delay: 0.4s;
}
.mobile-nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
}
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(135deg, rgb(0 0 0 / 0.85), rgb(0 0 0 / 0.45)),
    url(img/webp/villa-lumia-tre-fontane-sicilia.webp);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 30% 20%,
      rgb(254 191 2 / 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgb(147 169 210 / 0.2) 0%,
      transparent 50%
    );
}
.hero-content {
  text-align: center;
  color: var(--white);
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}
.hero-content .animate-item {
  opacity: 0;
  transform: translateY(40px);
}
.hero-content.animated .animate-item {
  animation: heroReveal 1s var(--ease-out-expo) forwards;
}
.hero-content.animated .animate-item:nth-child(1) {
  animation-delay: 0.3s;
}
.hero-content.animated .animate-item:nth-child(2) {
  animation-delay: 0.5s;
}
.hero-content.animated .animate-item:nth-child(3) {
  animation-delay: 0.7s;
}
.hero-content.animated .animate-item:nth-child(4) {
  animation-delay: 0.9s;
}
.hero-content.animated .animate-item:nth-child(5) {
  animation-delay: 1.1s;
}
@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgb(0 0 0 / 0.2);
}
.hero-location {
  text-transform: uppercase;
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}
.hero-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  background: rgb(255 255 255 / 0.1);
  border-radius: 30px;
  backdrop-filter: blur(5px);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}
.hero-feature:hover {
  transform: translateY(-3px);
  background: rgb(255 255 255 / 0.2);
}
.hero-feature svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--dark);
  padding: 1.2rem 3rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: all 0.4s var(--ease-out-expo);
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.hero-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s var(--ease-out-expo),
    height 0.6s var(--ease-out-expo);
  z-index: -1;
}
.hero-cta:hover {
  color: var(--sage);
  border-color: var(--white);
}
.hero-cta:hover::before {
  width: 400px;
  height: 400px;
}
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}
.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--white);
  border-radius: 20px;
  position: relative;
  opacity: 0.7;
}
.wheel {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}
@keyframes scroll {
  0% {
    opacity: 1;
    top: 8px;
  }
  100% {
    opacity: 0;
    top: 20px;
  }
}
.scroll-indicator p {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
@media (max-width: 375px) and (max-height: 667px) {
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  .hero-content {
    padding: 2rem 1rem;
  }
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  .hero-location {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-features {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .hero-feature {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  .hero-feature svg {
    width: 18px;
    height: 18px;
  }
  .hero-cta {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }
  .scroll-indicator {
    bottom: 1rem;
    opacity: 0.6;
    transform: translateX(-50%) scale(0.75);
  }
}
section {
  padding: 6rem 2rem;
}
.section-container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
  font-weight: 500;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--dark);
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-rotate {
  opacity: 0;
  transition: all 0.8s var(--ease-out-expo);
}
.reveal-up {
  transform: translateY(60px);
}
.reveal-left {
  transform: translateX(-60px);
}
.reveal-right {
  transform: translateX(60px);
}
.reveal-scale {
  transform: scale(0.8);
}
.reveal-rotate {
  transform: perspective(1000px) rotateY(-15deg) translateX(-30px);
}
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed,
.reveal-rotate.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) rotateY(0);
}
[data-delay="0"] {
  transition-delay: 0s;
}
[data-delay="1"] {
  transition-delay: 0.1s;
}
[data-delay="2"] {
  transition-delay: 0.2s;
}
[data-delay="3"] {
  transition-delay: 0.3s;
}
[data-delay="4"] {
  transition-delay: 0.4s;
}
[data-delay="5"] {
  transition-delay: 0.5s;
}
[data-delay="6"] {
  transition-delay: 0.6s;
}
[data-delay="7"] {
  transition-delay: 0.7s;
}
.intro {
  background: var(--light-cream);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intro-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.intro-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.intro-image .image-frame {
  position: absolute;
  top: 90px;
  left: 20px;
  right: 20px;
  bottom: 90px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s var(--ease-out-expo) 0.3s;
  pointer-events: none;
}
@media (max-width: 1200px) {
  .intro-image .image-frame {
    top: 60px;
    bottom: 60px;
    left: 10px;
    right: 10px;
  }
}
@media (max-width: 768px) {
  .intro-image .image-frame {
    top: 40px;
    bottom: 40px;
    left: 10px;
    right: 10px;
  }
}
.intro-image.revealed .image-frame {
  opacity: 1;
  transform: scale(1);
}
.intro-content h2 {
  font-size: 2.2rem;
  color: var(--sage);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.intro-content p {
  margin-bottom: 1.5rem;
  color: var(--dark);
  opacity: 0.85;
}
.intro-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.highlight-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out-back);
}
.highlight-item:hover .highlight-icon {
  transform: scale(1.1) rotate(10deg);
}
.highlight-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--dark);
}
.rooms {
  background: var(--white);
}
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.room-card {
  background: var(--light-cream);
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s ease;
}
.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgb(99 111 97 / 0.2);
}
.room-image {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--light-cream);
}
.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
}
.room-card:hover .room-image img {
  transform: scale(1.1);
}
.room-card:hover .room-overlay {
  opacity: 1;
}
.room-card:hover .room-overlay span {
  transform: translateY(0);
}
.room-content {
  padding: 2rem;
}
.room-content h3 {
  font-size: 1.5rem;
  color: var(--sage);
  margin-bottom: 0.75rem;
}
.room-content p {
  color: var(--dark);
  opacity: 0.8;
  margin-bottom: 1rem;
}
.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.amenity-tag {
  background: var(--white);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  color: var(--sage);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.amenity-tag:hover {
  background: var(--gold);
  color: var(--dark);
}
.living-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.living-card {
  text-align: center;
  padding: 2rem;
  background: var(--light-cream);
  border-radius: 4px;
  transition: transform 0.4s var(--ease-out-expo);
}
.living-card:hover {
  transform: translateY(-5px);
}
.living-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out-back);
}
.living-card:hover .living-icon {
  transform: scale(1.1) rotate(5deg);
}
.living-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--dark);
}
.living-card h4 {
  font-size: 1.2rem;
  color: var(--sage);
  margin-bottom: 0.5rem;
}
.living-card p {
  font-size: 0.95rem;
  color: var(--dark);
  opacity: 0.8;
}
.services {
  background: url(img/webp/villa-lumia-decorazione-muro-tre-fontane-sicilia.webp)
    center/cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(42 42 42 / 0.6);
  z-index: 0;
}
.services .section-container {
  position: relative;
  z-index: 1;
}
.services .section-label {
  color: var(--gold);
}
.services .section-title {
  color: var(--white);
}
.services .section-subtitle {
  color: var(--white);
  opacity: 0.9;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.service-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: color-mix(in srgb, var(--sage) 70%, transparent);
  border-radius: 4px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out-expo);
}
.service-card:hover {
  background:
    linear-gradient(rgb(0 0 0 / 0.25), rgb(0 0 0 / 0.25)), var(--sage);
  transform: translateY(-5px);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out-back);
}
.service-card:hover .service-icon {
  transform: scale(1.15) rotate(10deg);
}
.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--dark);
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.service-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}
.gallery {
  background: var(--light-cream);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 1rem;
}
.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-expo);
  background: var(--sage);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item::before {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgb(0 0 0 / 0.8) 0%, transparent 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out-expo);
  z-index: 2;
}
.gallery-item::after {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--dark);
  line-height: 1;
  transition: transform 0.4s var(--ease-out-back);
  z-index: 3;
  pointer-events: none;
}
.gallery-item:hover {
  transform: scale(1.02);
  z-index: 2;
}
.gallery-item:hover::before {
  transform: translateY(0);
}
.gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
}
.gallery-item:nth-child(1) {
  grid-column: span 2;
}
.gallery-item:nth-child(5) {
  grid-column: span 2;
}
.gallery-hidden {
  display: none;
}
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 200px);
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
    gap: 1rem;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-rows: repeat(6, 180px);
    gap: 0.75rem;
  }
}
.attractions {
  background: url(img/webp/villa-lumia-vicinanze-tre-fontane-sicilia.webp)
    center/cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.attractions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(42 42 42 / 0.4);
  z-index: 0;
}
.attractions .section-label {
  color: var(--gold);
}
.attractions .section-title {
  color: var(--white);
}
.attractions .section-subtitle {
  color: var(--white);
}
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.attraction-card {
  background: rgb(255 255 255 / 0.1);
  padding: 2rem;
  border-radius: 4px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.attraction-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease-out-expo);
}
.attraction-card:hover {
  background: rgb(255 255 255 / 0.2);
  transform: translateX(10px);
}
.attraction-card:hover::before {
  height: 100%;
}
.attraction-distance {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-radius: 2px;
}
.attraction-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.attraction-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.7;
}
.location {
  background: var(--white);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.location-content h3 {
  font-size: 1.8rem;
  color: var(--sage);
  margin-bottom: 1.5rem;
}
.location-content p {
  margin-bottom: 1.5rem;
  color: var(--dark);
  opacity: 0.85;
}
.location-highlights {
  margin-top: 2rem;
}
.location-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgb(99 111 97 / 0.15);
  transition: transform 0.3s var(--ease-out-expo);
}
.location-item:hover {
  transform: translateX(10px);
}
.location-item:last-child {
  border-bottom: none;
}
.location-icon {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out-back);
}
.location-item:hover .location-icon {
  transform: scale(1.1);
}
.location-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--dark);
}
.location-item-content h4 {
  font-size: 1.1rem;
  color: var(--sage);
  margin-bottom: 0.25rem;
}
.location-item-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
  opacity: 0.75;
}
.map-container {
  border-radius: 4px;
  aspect-ratio: 1;
  overflow: hidden;
  box-shadow: 0 10px 40px rgb(0 0 0 / 0.15);
  position: relative;
}
.map-container iframe {
  display: block;
}
.map-container.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s var(--ease-out-expo);
}
.map-container.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 768px) {
  .map-container {
    aspect-ratio: 4/3;
    margin-top: 2rem;
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: rotate(-45deg) translateY(0);
  }
  50% {
    transform: rotate(-45deg) translateY(-10px);
  }
}
.directions {
  background: var(--light-cream);
  margin-top: 4rem;
  padding: 3rem;
  border-radius: 4px;
}
.directions h3 {
  font-size: 1.5rem;
  color: var(--sage);
  margin-bottom: 2rem;
  text-align: center;
}
.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.direction-card {
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s var(--ease-out-expo);
}
.direction-card:hover {
  transform: translateY(-5px);
}
.direction-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.direction-card h4 {
  color: var(--terracotta);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.direction-card p {
  font-size: 0.95rem;
  color: var(--dark);
  opacity: 0.8;
}
.reviews {
  background: url(img/webp/villa-lumia-benvenuti-tre-fontane-sicilia.webp)
    center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.reviews::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(42 42 42 / 0.6);
  z-index: 0;
}
.reviews .section-label {
  color: var(--white);
}
.reviews .section-title {
  color: var(--white);
}
.reviews .section-subtitle {
  color: var(--white);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}
.review-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  position: relative;
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s ease;
}
.review-card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.15);
}
.review-quote {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}
.review-rating {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2em;
}
.review-text {
  font-size: 1rem;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.review-avatar {
  width: 50px;
  height: 50px;
  background: var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.3s var(--ease-out-back);
}
.review-card:hover .review-avatar {
  transform: scale(1.1);
}
.review-info h4 {
  font-size: 1rem;
  color: var(--sage);
  margin-bottom: 0.2rem;
}
.review-info span {
  font-size: 0.85rem;
  color: var(--dark);
  opacity: 0.6;
}
.contact {
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info h3 {
  font-size: 1.8rem;
  color: var(--sage);
  margin-bottom: 1.5rem;
}
.contact-info p {
  color: var(--dark);
  opacity: 0.85;
  margin-bottom: 2rem;
}
.contact-details {
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.3s var(--ease-out-expo);
}
.contact-item:hover {
  transform: translateX(10px);
}
.contact-item a {
  color: var(--sage);
  text-decoration: none;
  position: relative;
  font-weight: 500;
}
.contact-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.contact-item a:hover::after {
  width: 100%;
}
.contact-icon {
  width: 45px;
  height: 45px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out-back);
}
.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(10deg);
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--dark);
}
.contact-item span {
  font-size: 1rem;
  color: var(--dark);
}
.contact-note {
  font-size: 0.95rem;
}
.form-container {
  background: var(--light-cream);
  padding: 3rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--terracotta) 100%);
}
.form-title {
  font-size: 1.5rem;
  color: var(--sage);
  margin-bottom: 0.5rem;
  text-align: center;
}
.form-subtitle {
  font-size: 0.95rem;
  color: var(--dark);
  opacity: 0.7;
  text-align: center;
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--sage);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-group label .required {
  color: var(--terracotta);
}
.form-group label .optional {
  color: var(--dark);
  opacity: 0.5;
  font-weight: 400;
  font-size: 0.85rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgb(99 111 97 / 0.2);
  border-radius: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgb(254 191 2 / 0.1);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--dark);
  opacity: 0.4;
}
.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 1.2rem 2rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}
.form-submit svg {
  width: 20px;
  height: 20px;
  fill: var(--dark);
  transition: transform 0.4s var(--ease-out-expo);
}
.form-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--sage);
  transition: left 0.4s var(--ease-out-expo);
  z-index: 0;
}
.form-submit span,
.form-submit svg {
  position: relative;
  z-index: 1;
}
.form-submit:hover {
  color: var(--white);
}
.form-submit:hover::before {
  left: 0;
}
.form-submit:hover svg {
  fill: var(--white);
  transform: translateX(5px);
}
.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--dark);
  opacity: 0.6;
  margin-top: 1rem;
}
.footer {
  background: var(--sage);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo {
  color: var(--white);
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.8;
}
.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
}
.footer-links a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out-expo);
}
.footer-links a:hover {
  opacity: 1;
}
.footer-links a:hover::before {
  width: 100%;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
}
.footer-legal a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-left: 1.5rem;
  transition: opacity 0.3s ease;
}
.footer-legal a:hover {
  opacity: 1;
}
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 200px);
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .attractions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
  .lang-selector {
    margin-left: auto;
    margin-right: 0.75rem;
  }
  .lang-btn {
    padding: 0.4rem 0.5rem;
  }
  .lang-current {
    font-size: 0.75rem;
  }
  .lang-dropdown {
    right: 0;
    min-width: 130px;
  }
  .intro-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .rooms-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .living-areas {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .attractions-grid {
    grid-template-columns: 1fr;
  }
  .directions-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal a {
    margin: 0 0.75rem;
  }
  .intro-highlights {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }
}
.page-section {
  scroll-margin-top: 80px;
}
html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }
  section {
    padding: 4rem 1rem;
  }
  .section-container {
    max-width: 100%;
    padding: 0;
  }
  .hero-features {
    gap: 1rem;
    padding: 0 1rem;
  }
  .hero-feature {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  .form-container {
    padding: 2rem 1.5rem;
  }
  .services-grid,
  .gallery-grid,
  .attractions-grid,
  .reviews-grid {
    gap: 1rem;
  }
  .footer {
    padding: 3rem 1rem 1.5rem;
  }
  .footer-grid {
    gap: 2rem;
  }
  .intro-grid,
  .location-grid,
  .contact-grid {
    gap: 2rem;
  }
  .directions {
    padding: 2rem 1.5rem;
  }
  .directions-grid {
    gap: 1.5rem;
  }
}
@media (max-width: 480px) {
  .nav-container {
    padding: 0 0.75rem;
  }
  section {
    padding: 3rem 0.75rem;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .form-container {
    padding: 1.5rem 1rem;
  }
  .footer {
    padding: 2rem 0.75rem 1rem;
  }
  .services-grid,
  .gallery-grid,
  .attractions-grid,
  .reviews-grid {
    gap: 0.75rem;
  }
  .hero-features {
    gap: 0.75rem;
  }
  .hero-feature {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
  .hero-feature svg {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 768px) {
  .loader-content,
  .intro-grid,
  .rooms-grid,
  .location-grid,
  .contact-grid,
  .footer-grid {
    width: 100%;
    max-width: 100%;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    box-sizing: border-box;
  }
}
.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.gallery-item:hover {
  transform: scale(1.02);
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.8), transparent);
  padding: 20px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-label {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.pswp__thumbs {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  gap: 8px;
  padding: 8px 20px;
  z-index: 10;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-left: 50%;
  padding-right: 50%;
}
.pswp__thumbs::-webkit-scrollbar {
  display: none;
}
.pswp__thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  opacity: 0.5;
  cursor: pointer;
  border-radius: 4px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 2px solid #fff0;
}
.pswp__thumb:hover {
  opacity: 0.8;
  transform: scale(1.05);
}
.pswp__thumb--active {
  opacity: 1;
  border-color: #febf02;
  box-shadow: 0 0 0 2px rgb(254 191 2 / 0.5);
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .pswp__thumbs {
    bottom: 5px;
    gap: 6px;
    padding: 6px 10px;
    padding-left: 50%;
    padding-right: 50%;
  }
  .pswp__thumb {
    width: 60px;
    height: 45px;
  }
}
@media (max-width: 480px) {
  .pswp__thumb {
    width: 50px;
    height: 40px;
  }
}
.floating-contact-buttons {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 9999;
}
.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.25);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
  opacity: 0.95;
}
.floating-btn svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.floating-btn-whatsapp {
  background: #25d366;
}
.floating-btn-phone {
  background: var(--sage);
}
.floating-btn:hover,
.floating-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.35);
  opacity: 1;
}
.floating-contact-buttons {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  pointer-events: none;
}
.floating-contact-buttons.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-banner--visible {
  display: flex;
}
.cookie-banner__inner {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 10px 40px rgb(0 0 0 / 0.3);
  border: 2px solid var(--sage);
}
.cookie-banner__text {
  margin: 0 0 20px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  text-align: center;
}
.cookie-banner__text a {
  color: var(--sage);
  text-decoration: underline;
  font-weight: 600;
}
.cookie-banner__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.cookie-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.2s ease;
}
.cookie-btn--primary {
  background: var(--sage);
  color: #fff;
}
.cookie-btn--primary:hover {
  background: #4d5a4d;
}
.cookie-btn--secondary {
  background: #e2e2e2;
}
.cookie-btn--secondary:hover {
  background: #cfcfcf;
}
.cookie-btn--outline {
  border: 1px solid var(--sage);
  background: #fff;
  color: var(--sage);
}
.cookie-btn--outline:hover {
  background: var(--sage);
  color: #fff;
}
body.loading .cookie-banner {
  display: none !important;
}
.floating-contact-buttons .cookie-settings-trigger {
  position: static;
  min-width: 150px;
  padding: 8px 12px;
  border-radius: 999px;
  border: none;
  background: var(--sage);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.25);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
  opacity: 0.95;
}
.floating-contact-buttons .cookie-settings-trigger:hover,
.floating-contact-buttons .cookie-settings-trigger:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.35);
  opacity: 1;
}
@media (max-width: 768px) {
  .cookie-banner {
    padding: 15px;
  }
  .cookie-banner__inner {
    padding: 20px;
    max-width: 95%;
  }
  .cookie-banner__text {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
  .cookie-banner__buttons {
    gap: 8px;
  }
  .cookie-btn {
    padding: 8px 12px;
    font-size: 0.75rem;
    flex: 1;
    min-width: 90px;
  }
  .cookie-banner__buttons label {
    font-size: 0.75rem !important;
    flex-basis: 100%;
    justify-content: center;
    margin: 4px 0;
  }
}
#toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow:
    0 10px 40px rgb(0 0 0 / 0.15),
    0 2px 10px rgb(0 0 0 / 0.1);
  max-width: 400px;
  min-width: 320px;
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
}
.toast-visible {
  transform: translateX(0);
  opacity: 1;
}
.toast-hiding {
  transform: translateX(120%);
  opacity: 0;
}
.toast-success {
  border-left: 4px solid #4caf50;
}
.toast-success .toast-icon {
  color: #4caf50;
}
.toast-error {
  border-left: 4px solid var(--terracotta);
}
.toast-error .toast-icon {
  color: var(--terracotta);
}
.toast-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.toast-content {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--dark);
}
.toast-content strong {
  display: block;
  margin-bottom: 4px;
  color: var(--sage);
}
.toast-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: rgb(0 0 0 / 0.05);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #666;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toast-close:hover {
  background: rgb(0 0 0 / 0.1);
  color: var(--dark);
}
.form-submit.sending {
  background: var(--sage) !important;
  color: var(--white) !important;
  pointer-events: none;
}
.btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgb(255 255 255 / 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  #toast-container {
    top: auto;
    bottom: 20px;
    right: 10px;
    left: 10px;
  }
  .toast {
    min-width: auto;
    max-width: none;
    width: 100%;
  }
}

.hero-award-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 3;
  display: block;
  width: 160px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s ease;
  opacity: 0;
  animation: heroReveal 1s var(--ease-out-expo) 1.4s forwards;
}
.hero-award-badge:hover,
.hero-award-badge:focus-visible {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.hero-award-badge img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .hero-award-badge {
    width: 110px;
    bottom: 1rem;
    left: 1rem;
    border-radius: 6px;
  }
}
@media (max-width: 375px) and (max-height: 667px) {
  .hero-award-badge {
    width: 90px;
  }
}
