﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #f7f4ef;
  color: #1a1a1a;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #c9a84c;
}

/* HERO */
.hero {
  position: relative;
  min-height: 62vh;
  background: #0d0d0d;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/image_152.png") center/cover no-repeat;
  opacity: 0.9;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(13, 13, 13, 0.95) 25%,
      rgba(13, 13, 13, 0.2) 100%);
}

.btn-gold {
  background: linear-gradient(135deg, #c9a84c, #e8c86a);
  color: #1a1a1a;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  border: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #c9a84c, #e8c86a);
  border-radius: 2px;
  margin: 0 auto 20px;
}

/* SERVICE CARDS */
.service-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 36px 32px;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: #1a1a1a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}

.service-check span:first-child {
  color: #c9a84c;
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.service-check span:last-child {
  color: #555;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* COSA GESTIAMO */
.cosa-section {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

.cosa-bg {
  position: absolute;
  inset: 0;
  background: url("../images/image_153.png") center/cover no-repeat;
  opacity: 0.2;
}

.cosa-tag {
  border-radius: 8px;
  opacity: 0.95;
  background: rgba(251, 250, 249, 0.28);
  padding: 16px 51px 16px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  cursor: default;
  color: #FBFAF9;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
}

.cosa-tag:hover {
  background: rgba(201, 168, 76, 0.25);
  border-color: #c9a84c;
}

/* QUANDO CONTATTARCI */
.quando-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
      #c9a84c,
      rgba(201, 168, 76, 0.1));
}

.quando-dot {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.quando-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
  border: 1px solid rgba(228, 161, 67, 0.18);
  background: #FFF;
  padding: 16px 24px;
  transition: all 0.3s;
}

.quando-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(228, 161, 67, 0.4);
}

/* ERRORI */
.errore-item {
  background: white;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #ef4444;
  transition: all 0.3s;
}

.errore-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* FADE */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Float */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  font-size: 1.4rem;
  text-decoration: none;
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, #c9a84c, #e8c86a);
  z-index: 999;
  width: 0%;
}

footer {
  background: #111;
  color: rgba(255, 255, 255, 0.55);
}


.nav-desktop-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

#burger-btn {
  display: none;
}

#mobile-menu {
  display: none;
}

@media (max-width: 767px) {
  .nav-desktop-links {
    display: none !important;
  }

  .nav-desktop-btns {
    display: none !important;
  }

  #burger-btn {
    display: flex !important;
  }
}

#mobile-menu.open {
  display: block !important;
}

.mob-link {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.mob-link:hover {
  background: #fffbeb;
  color: #b45309;
}

.mob-link.active {
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.1);
}

.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

#burger-btn.open .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#burger-btn.open .burger-line:nth-child(2) {
  opacity: 0;
}

#burger-btn.open .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}