* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* BACKGROUND */
  --bg: #0b0d10;
  --surface: #11151a;
  --card: #161b22;

  /* ACCENTO SICUREZZA */
  --yellow: #ffcc00;
  --yellow-bright: #ffd84d;

  /* TESTI */
  --text: #f2f4f7;
  --muted: #9aa4b2;

  /* BORDI */
  --border: #232a33;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.main-content {
  max-width: 1600px;
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(2,2,2,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.brand-text span {
  color: var(--yellow);
}

.menu-burger {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-burger span {
  width: 24px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

.menu-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-burger.open span:nth-child(2) {
  opacity: 0;
}

.menu-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(2,2,2,0.98);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  padding: 90px 30px;
  transition: right 0.3s ease;
  z-index: 200;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid #1a1a1a;
  font-weight: 600;
}

.mobile-cta {
  background: var()--yellow;
  color: black !important;
  padding: 16px !important;
  border-radius: 8px;
  text-align: center;
  margin-top: 20px;
}

.side-nav {
  display: none;
}

.hero-split {
  display: flex;
  flex-direction: column;
}

.hero-left,
.hero-right {
  padding: 50px 20px;
}

.hero-left {
  background: var(--surface);
}

.hero-tag {
  display: inline-block;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 6px 14px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-mega {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  .fc-yellow {
    color: #ffcc00;
    
}
}

.outline-text {
  color: white;
}

.hero-subtitle {
  margin-top: 10px;
  color: #aaa;
}

.hero-right {
  text-align: center;
}

.hero-visual-block {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  position: relative;
}

.visual-shape {
  width: 100%;
  height: 100%;
  border: 2px solid var(--yellow);
  border-radius: 30% 70% 70% 30%;
}

.visual-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: var(--yellow);
}

.hero-desc,
.hero-location {
  color: #999;
  line-height: 1.7;
}

.hero-location {
  margin-top: 12px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.btn-stroke,
.btn-filled,
.btn-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s;
}

.btn-stroke {
  border: 1px solid var(--yellow);
  color: var(--yellow);
}

.btn-filled,
.btn-pulse {
  background: var(--yellow);
  color: black;
}

.btn-stroke:hover,
.btn-filled:hover,
.btn-pulse:hover {
  transform: translateY(-2px);
}

.btn-stroke:focus,
.btn-filled:focus,
.btn-pulse:focus,
.quick-card:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 20px;
}

.trust-item {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
}

.about-broken,
.services-strip,
.reviews-shifted,
.contact-quick {
  padding: 60px 20px;
}

.section-title-big {
  font-family: var(--font-display);
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-index {
  color: var(--yellow);
  margin-bottom: 6px;
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-card,
.strip-card,
.review-card,
.quick-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-card:hover,
.strip-card:hover,
.review-card:hover,
.quick-card:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
}

.about-card {
  padding: 20px;
  text-align: center;
}

.about-card.large {
  grid-column: 1 / -1;
  text-align: left;
}

.about-card i {
  color: var(--yellow);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.about-card.accent {
  border-color: var(--yellow);
}

.about-note {
  margin-top: 20px;
  color: var(--muted);
}

.strip-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
}

.strip-card {
  min-width: 220px;
  padding: 24px;
  text-decoration: none;
  color: white;
  position: relative;
}

.strip-card i {
  color: var(--yellow);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.strip-number {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 2rem;
  opacity: 0.15;
}

.emergency-glitch {
  background: var(--surface);
  text-align: center;
  padding: 60px 20px;
}

.glitch-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 12px;
}

.emergency-glitch p {
  color: #aaa;
  margin-bottom: 20px;
}

.shifted-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  padding: 20px;
}

.review-stars {
  color: var(--yellow);
  margin-bottom: 8px;
}

.review-text {
  color: #ccc;
  margin-bottom: 10px;
  font-style: italic;
}

.review-author {
  color: #777;
}

.quick-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-card {
  padding: 24px;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 16px;
}

.quick-ring {
  width: 46px;
  height: 46px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
}

.footer-minimal {
  border-top: 1px solid var(--border);
  padding: 30px 20px;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #777;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-split {
    flex-direction: row;
    min-height: 90vh;
  }

  .hero-left,
  .hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
  }

  .hero-right {
    text-align: left;
  }

  .hero-visual-block {
    margin: 0 0 20px;
  }

  .hero-actions {
    flex-direction: row;
  }

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-card.large {
    grid-column: span 2;
  }

  .quick-grid {
    flex-direction: row;
  }

  .quick-card {
    flex: 1;
  }

  .shifted-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .review-card {
    flex: 1 1 45%;
  }
}

@media (min-width: 1024px) {
  .mobile-header,
  .mobile-menu {
    display: none;
  }

  .side-nav {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    width: 60px;
    height: 100vh;
    background: var(--surface);
    border-right: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
  }

  .side-nav-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .side-nav-links a,
  .side-cta {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
  }

  .side-nav-links a {
    color: #777;
  }

  .side-nav-links a:hover,
  .side-nav-links a.active {
    color: var(--yellow);
    background: rgba(255,92,0,0.1);
  }

  .side-cta,
  .brand-icon {
    background: var(--yellow);
    color: black;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }

  .main-content,
  .footer-minimal {
    margin-left: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.services-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 20px;
}

.service-card {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #222;
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.8rem;
}

.service-card p {
  color: #ccc;
  margin-bottom: 10px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}

.service-card ul li {
  color: #aaa;
  font-size: 0.85rem;
}

.brand-text .fc {
  color: var(--yellow); /* giallo/arancio del brand */
}

.brand-text .impianti {
  color: #ffffff;
}