/* ==========================================================================
   Sisti Saldature - Design System & Modern Industrial Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  --primary-cyan: #00b8d4;
  --primary-blue: #0056b3;
  --light-blue: #38bdf8;

  /* Dark (hero only) */
  --dark-bg: #181d2d;
  --dark-surface: #1f2540;
  --dark-card: #252d48;
  --dark-border: rgba(0, 184, 212, 0.16);

  /* Light (content sections) */
  --light-bg: #f4f6f9;
  --light-surface: #ffffff;
  --light-border: #e2e8f0;

  --text-dark: #0f1a2c;
  --text-mid: #374151;
  --text-light: #f0f4f8;
  --text-muted: #6b7280;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-sub: 'Outfit', sans-serif;

  --nav-height: 80px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* Section Title Typography */
.section-title {
  text-align: left;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dark);
  display: inline-block;
  position: relative;
}

/* Light section title override (dark text) */
.section-light .section-title h2 {
  color: var(--text-dark);
}

/* Dark section title (white text — e.g. chi siamo dark bg) */
.section-dark .section-title h2 {
  color: var(--text-light);
}

/* Center alignment variant */
.section-title.centered {
  text-align: center;
}

.section-title.centered h2::after {
  margin: 0.6rem auto 0;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-cyan);
  margin: 0.5rem 0 0;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 500;
  max-width: 650px;
  margin: 0.75rem 0 0;
}

/* Dark section subtitle color override */
.section-dark .section-title p {
  color: #7a90a8;
}

/* Section-title centered: subtitle also center */
.section-title.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Header & Navbar (White Header requested by User)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo-container:hover .logo-img {
  transform: scale(1.03);
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:not(.nav-highlight)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--primary-blue);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:not(.nav-highlight):hover::after,
.nav-link:not(.nav-highlight).active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-blue);
}

/* I Nostri Lavori — same style as other nav links */
.nav-highlight {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--primary-cyan);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-highlight:hover,
.nav-highlight.active {
  color: var(--primary-blue);
}

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-dark);
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 1.65rem;
    color: #0f1a2c;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    flex-shrink: 0;
  }

  .hamburger:hover,
  .hamburger:focus,
  .hamburger:active {
    color: var(--primary-cyan);
    background: rgba(0, 184, 212, 0.08);
    outline: none;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1.25rem;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 999;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link, .nav-highlight {
    display: block;
    padding: 0.9rem 1.5rem;
    width: 100%;
    font-size: 1.05rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-link:last-child, .nav-highlight:last-child {
    border-bottom: none;
  }

  .nav-link::after, .nav-highlight::after {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/hero-welder.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5, 7, 14, 0.78) 0%, rgba(5, 7, 14, 0.40) 55%, rgba(5, 7, 14, 0.06) 100%),
    linear-gradient(to top, rgba(5, 7, 14, 0.82) 0%, transparent 42%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 820px;
  padding: 2rem 1rem;
  margin-left: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e2e8f0;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .hero-badge {
    display: none !important;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
    padding: 1.5rem 0;
  }

  .welding-title {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    letter-spacing: 1.5px;
    line-height: 1.12;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.6;
  }

  .hero-btns {
    justify-content: center;
    gap: 0.75rem;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 290px;
    justify-content: center;
  }
}

/* Hero Title — Outfit 800, bold & professional */
.welding-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.welding-title span {
  color: #ffffff;
}

.hero-subtitle {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: rgba(226, 232, 240, 0.80);
  max-width: 580px;
  margin: 0 0 2.5rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: #ffffff;
  color: #0a0e1a;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  color: #0a0e1a;
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* ==========================================================================
   Chi Siamo — Photo Hexagons + Editorial Story
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

/* ---- Hexagon Photo Cluster ---- */
.hex-cluster {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: radial-gradient(ellipse at center, rgba(0, 200, 255, 0.08) 0%, transparent 70%);
  padding: 6px 0 0 0;
}

/* Top row: two hexagons side by side */
.hex-row {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.hex-row + .hex-row {
  margin-top: -55px;
}

/* Single hexagon photo item */
.hex-photo {
  position: relative;
  /* Mathematically correct pointy-top hexagon: W:H = sqrt(3)/2 ≈ 0.866 → 280:323 */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  width: 280px;
  height: 323px;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.hex-photo:hover {
  transform: translateY(-6px) scale(1.03);
  filter: brightness(1.1);
}

/* Cyan LED border rendered via pseudo-element slightly larger */
.hex-photo-border {
  position: relative;
  width: 280px;
  height: 323px;
  flex-shrink: 0;
}

.hex-photo-border::before {
  content: '';
  position: absolute;
  inset: -5px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--primary-cyan);
  box-shadow:
    0 0 12px 3px var(--primary-cyan),
    0 0 24px 6px rgba(0, 240, 255, 0.35);
  z-index: 0;
  transition: box-shadow 0.3s ease;
}

.hex-photo-border:hover::before {
  box-shadow:
    0 0 18px 5px var(--primary-cyan),
    0 0 40px 10px rgba(0, 240, 255, 0.5);
}

.hex-photo-border .hex-photo {
  position: relative;
  z-index: 1;
}

.hex-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform 0.5s ease;
}

.hex-photo-border:hover .hex-photo img {
  transform: scale(1.07);
}

/* Bottom centered hexagon */
.hex-row-bottom {
  display: flex;
  justify-content: center;
  margin-top: -55px;
}

@media (max-width: 768px) {
  .about-grid {
    gap: 1.25rem;
  }

  .hex-cluster {
    max-width: 300px;
    margin: 0 auto 0.75rem;
  }

  .hex-photo-border,
  .hex-photo {
    width: 130px;
    height: 150px;
  }

  .hex-row {
    gap: 6px;
  }

  .hex-row + .hex-row,
  .hex-row-bottom {
    margin-top: -28px;
  }
}

/* ---- Editorial Story Text (Aligned with top of hexagons) ---- */
.story-editorial {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
  gap: 0;
}

.story-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.eyebrow-line {
  width: 32px;
  height: 3px;
  background: var(--primary-cyan);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.story-eyebrow i {
  color: var(--primary-cyan);
  font-size: 1.15rem;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.4));
}

.eyebrow-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-cyan);
}

.story-body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

/* Values checklist */
.story-values {
  list-style: none;
  margin: 0.5rem 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.story-values li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 600;
  color: #f1f5f9;
}

.story-values li i {
  color: var(--primary-cyan);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.story-stats {
  display: flex;
  gap: 2.25rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6b849e;
}

/* Chi Siamo Mobile Story & Stats Responsive */
@media (max-width: 768px) {
  .story-editorial {
    text-align: center;
    align-items: center;
  }

  .story-eyebrow {
    justify-content: center;
  }

  .story-body {
    text-align: center;
  }

  .story-values {
    align-items: center;
  }

  .story-values li {
    justify-content: center;
  }

  .story-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 1rem auto 0 !important;
    box-sizing: border-box !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .stat-item {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    background: rgba(31, 37, 64, 0.85) !important;
    border: 1px solid rgba(0, 184, 212, 0.35) !important;
    border-radius: 12px !important;
    padding: 0.85rem 0.5rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
  }

  .stat-hide-mobile {
    display: none !important;
  }

  .stat-number {
    font-family: var(--font-heading) !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: var(--primary-cyan) !important;
    margin-bottom: 0.25rem !important;
    line-height: 1 !important;
  }

  .stat-label {
    font-family: var(--font-sub) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #cbd5e1 !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    text-align: center !important;
  }
}


/* Sede Semplificata - Sezione a tutta larghezza con sfondo bianco */
.section-sede {
  background: #ffffff;
  color: #1a2540;
}

.hq-simple-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a2540;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hq-simple-title i {
  color: var(--primary-cyan);
  margin-right: 0.5rem;
}

.hq-mini-desc {
  text-align: center;
  color: #4a5568;
  font-family: var(--font-body);
  font-size: 0.98rem;
  max-width: 750px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}

.hq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .hq-grid {
    grid-template-columns: 1fr;
  }
}

.hq-photo-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--dark-border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hq-photo-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hq-photo-card:hover img {
  transform: scale(1.05);
}

.hq-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 13, 22, 0.95) 100%);
  color: var(--primary-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


/* ==========================================================================
   I Nostri Servizi — 2-column layout: Orbital left + Detail panel right
   ========================================================================== */
.services-section {
  background: var(--dark-bg);
  position: relative;
  overflow: visible;
}

/* 2-column grid container */
.services-layout {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 3rem;
}

@media (max-width: 1150px) {
  .services-layout { grid-template-columns: 460px 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr; }
}

/* ---- LEFT: Orbital wrapper ---- */
.orbital-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;          /* never clip the nodes */
}

@media (max-width: 1150px) {
  .orbital-wrapper { width: 440px; height: 440px; }
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 360px; height: 360px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(0, 184, 212, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-ring--inner {
  width: 260px; height: 260px;
  border-style: solid;
  border-color: rgba(0, 184, 212, 0.07);
}

/* Center orb — animated gear */
.orbital-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #1de9ff 0%, #0062cc 60%, #003d80 100%);
  box-shadow:
    0 0 0 8px rgba(0,184,212,0.08),
    0 0 0 18px rgba(0,184,212,0.04),
    0 0 28px 8px rgba(0,184,212,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: pulse-orb 3s ease-in-out infinite;
}

.orbital-center-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 184, 212, 0.22);
  animation: ring-pulse 3s ease-in-out infinite;
}
.orbital-center-ring.r1 { width: 108px; height: 108px; }
.orbital-center-ring.r2 { width: 130px; height: 130px; animation-delay: 0.9s; opacity: 0.4; }

/* Gear group inside center orb */
.orbital-gear-wrap {
  position: relative;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-gear-main {
  font-size: 2.2rem;
  color: #ffffff;
  animation: gear-spin 9s linear infinite;
  position: absolute;
}

.orbital-gear-small {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  animation: gear-spin-rev 5s linear infinite;
  position: absolute;
  top: -6px; right: -8px;
}

@keyframes gear-spin     { to { transform: rotate(360deg); } }
@keyframes gear-spin-rev { to { transform: rotate(-360deg); } }

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.22; }
  50% { transform: scale(1.05); opacity: 0.42; }
}

@keyframes pulse-orb {
  0%, 100% { box-shadow: 0 0 0 8px rgba(0,184,212,0.08), 0 0 28px 8px rgba(0,184,212,0.35); }
  50%       { box-shadow: 0 0 0 14px rgba(0,184,212,0.13), 0 0 48px 14px rgba(0,184,212,0.5); }
}

/* Orbital nodes — positioned by JS */
.orbital-node {
  position: absolute;
  top: 50%; left: 50%;
  cursor: pointer;
  z-index: 5;
  text-align: center;
}

.orbital-node-btn { width: 56px; height: 56px; margin: 0 auto; position: relative; }

.orbital-node-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--dark-surface);
  border: 2px solid rgba(0,184,212,0.38);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-cyan);
  font-size: 1.3rem;
  transition: all 0.32s cubic-bezier(0.4,0,0.2,1);
  position: relative; z-index: 2;
}

.orbital-node:hover .orbital-node-icon,
.orbital-node.active .orbital-node-icon {
  background: var(--primary-cyan);
  color: #050c18;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 7px rgba(0,184,212,0.14), 0 0 24px rgba(0,184,212,0.6);
  transform: scale(1.18);
}

.orbital-node-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: rgba(203,213,225,0.6);
  line-height: 1.3;
  transition: color 0.25s;
  white-space: nowrap;
  pointer-events: none;
}
.orbital-node:hover .orbital-node-label,
.orbital-node.active .orbital-node-label { color: #ffffff; }

/* ---- RIGHT: Detail panel ---- */
.services-detail-panel {
  background: rgba(31, 37, 64, 0.85);
  border: 1px solid rgba(0, 184, 212, 0.22);
  border-radius: 16px;
  overflow: hidden;
  height: 500px;          /* explicit height = same as orbital wrapper */
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
}

/* Placeholder (default state) */
.svc-detail-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,0.25);
  transition: opacity 0.3s;
}
.svc-detail-placeholder.hidden { opacity: 0; pointer-events: none; }

.svc-placeholder-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(0,184,212,0.07);
  border: 1px solid rgba(0,184,212,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: rgba(0,184,212,0.4);
}

.svc-detail-placeholder p {
  font-family: var(--font-sub);
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.25);
}

/* Individual service detail */
.svc-detail {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.svc-detail.visible { opacity: 1; pointer-events: all; }

.svc-detail-img-wrap {
  position: relative;
  flex-shrink: 0;
  height: 210px;
  overflow: hidden;
}

.svc-detail-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-detail:hover .svc-detail-img-wrap img { transform: scale(1.04); }

.svc-detail-img-badge {
  position: absolute;
  bottom: 12px; left: 16px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0,184,212,0.9);
  display: flex; align-items: center; justify-content: center;
  color: #050c18; font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.svc-detail-body {
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
}

.svc-detail-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.65rem;
}

.svc-detail-body > p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.svc-detail-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 0.5rem;
}

.svc-detail-list li {
  display: flex; align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sub);
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
}

.svc-detail-list li i {
  color: var(--primary-cyan);
  font-size: 0.75rem; flex-shrink: 0;
}

/* Hint */
.orbital-hint {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(100,120,150,0.65);
  margin-top: 1.5rem;
}
.orbital-hint i { margin-right: 0.4rem; }

/* Mobile: Enable orbital+panel, hide static grid */
.services-grid-mobile { display: none; }

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

  .orbital-wrapper {
    display: flex !important;
    width: min(290px, calc(100vw - 3rem));
    height: min(290px, calc(100vw - 3rem));
    margin: 0 auto;
    overflow: hidden;
  }

  .orbit-ring {
    width: 240px;
    height: 240px;
  }

  .orbit-ring--inner {
    width: 160px;
    height: 160px;
  }

  .orbital-center {
    width: 68px;
    height: 68px;
  }

  .orbital-center-ring.r1 { width: 85px; height: 85px; }
  .orbital-center-ring.r2 { width: 100px; height: 100px; }

  .orbital-node-btn, .orbital-node-icon {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .orbital-node-label {
    font-size: 0.65rem;
  }

  .services-detail-panel {
    display: block !important;
    min-height: 380px;
    height: auto;
    position: relative;
  }

  .svc-detail-img-wrap {
    height: 180px;
  }

  .services-grid-mobile {
    display: none !important;
  }
}

.svc-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.svc-card:hover { transform: translateY(-4px); border-color: rgba(0,184,212,0.5); }

.svc-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0,184,212,0.1);
  border: 1px solid rgba(0,184,212,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-cyan); font-size: 1.3rem;
  margin: 0 auto 1rem;
}

.svc-card h3 {
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700;
  color: #ffffff; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem;
}

.svc-card p {
  font-family: var(--font-body); font-size: 0.88rem; color: #8fa3bb; line-height: 1.6;
}

/* ==========================================================================
   Macchinari Section
   ========================================================================== */
.machinery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.machine-card {
  flex: 0 1 calc(33.333% - 1.4rem);
  min-width: 320px;
  max-width: 380px;
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

@media (max-width: 1024px) {
  .machine-card {
    flex: 0 1 calc(50% - 1rem);
    max-width: 460px;
  }
}

@media (max-width: 768px) {
  .machinery-grid {
    gap: 1.25rem;
  }
  .machine-card {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
  }
}

.machine-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 32px rgba(0, 184, 212, 0.18);
}

.machine-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.machine-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.machine-card:hover .machine-img-wrapper img {
  transform: scale(1.08);
}

.machine-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(9, 13, 22, 0.85);
  border: 1px solid var(--primary-cyan);
  color: var(--primary-cyan);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  text-transform: uppercase;
}

.machine-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.machine-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  letter-spacing: 0.2px;
}

.machine-content h3 i {
  color: var(--primary-cyan);
  margin-top: 0.15rem;
  font-size: 1.1rem;
}

.machine-content p {
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* Machine badge on light bg */
.machine-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 23, 40, 0.82);
  border: 1px solid rgba(0, 184, 212, 0.7);
  color: #00d4ec;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Machinery Highlight Quote Banner */
.machinery-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #0b1728, #12213a);
  border: 1px solid rgba(0, 184, 212, 0.25);
  border-radius: 10px;
  padding: 2rem 2.5rem;
  text-align: center;
}

.machinery-banner p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.machinery-banner p i {
  color: var(--primary-cyan);
}

/* ==========================================================================
   Hanging Metal Plate Slogan Section ("Lamiera penzolante")
   ========================================================================== */
.slogan-section {
  position: relative;
  padding: 3rem 0;
  background: radial-gradient(circle at center, #1f2540 0%, #181d2d 100%);
  overflow: hidden;
}

.slogan-beam {
  width: 90%;
  max-width: 1100px;
  height: 12px;
  background: linear-gradient(180deg, #475569 0%, #1e293b 100%);
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
}

.slogan-chains {
  display: flex;
  justify-content: space-between;
  width: 75%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.chain-line {
  width: 4px;
  height: 35px;
  background: repeating-linear-gradient(180deg, #94a3b8 0px, #94a3b8 8px, #334155 8px, #334155 16px);
  box-shadow: 2px 0 5px rgba(0,0,0,0.5);
  margin: 0 30px;
}

/* Hanging Sheet Metal Plate (Wider & Compact Vertically) */
.metal-plate {
  width: 94%;
  max-width: 1120px;
  margin: -5px auto 0;
  background: linear-gradient(145deg, #283042, #151b27);
  border: 2px solid #475569;
  box-shadow: 
    inset 0 0 15px rgba(255, 255, 255, 0.08),
    0 15px 35px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(0, 184, 212, 0.15);
  border-radius: 8px;
  padding: 1.4rem 2.5rem 1.25rem;
  text-align: center;
  position: relative;
  transform-origin: top center;
  animation: metalSway 6s ease-in-out infinite alternate;
}

@keyframes metalSway {
  0% { transform: rotate(-1deg); }
  100% { transform: rotate(1deg); }
}

@media (max-width: 768px) {
  .slogan-section {
    padding: 2.25rem 0;
    overflow: hidden;
  }

  .slogan-beam {
    width: 95%;
  }

  .slogan-chains {
    width: 80%;
  }

  .chain-line {
    margin: 0 10px;
  }

  .metal-plate {
    width: 95%;
    padding: 1.25rem 0.85rem;
    animation: none; /* Disable sway on mobile to eliminate any horizontal edge movement */
    box-sizing: border-box;
  }

  .metal-quote-text {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .metal-quote-author {
    font-size: 0.85rem;
  }
}

/* Steel Rivets on corners */
.rivet {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 35% 35%, #94a3b8, #1e293b);
  border-radius: 50%;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), inset -1px -1px 2px rgba(0, 0, 0, 0.9);
}

.rivet-tl { top: 10px; left: 12px; }
.rivet-tr { top: 10px; right: 12px; }
.rivet-bl { bottom: 10px; left: 12px; }
.rivet-br { bottom: 10px; right: 12px; }

.metal-quote-icon {
  font-size: 1.4rem;
  color: var(--primary-cyan);
  margin-bottom: 0.3rem;
  opacity: 0.85;
}

.metal-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.metal-quote-author {
  font-size: 0.95rem;
  color: var(--primary-cyan);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ==========================================================================
   Google Reviews 5 Stars Section
   ========================================================================== */
.section-reviews {
  background: #0d121f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.section-reviews .section-title {
  text-align: center;
}

.section-reviews .section-title h2 {
  color: #ffffff !important;
  text-align: center;
}

.section-reviews .section-title p {
  color: #94a3b8;
  max-width: 650px;
  margin: 0.75rem auto 0;
  text-align: center;
}

.google-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0.45rem 1.15rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.google-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.google-icon-large {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.google-icon-micro {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  vertical-align: middle;
}

.reviews-summary-card {
  max-width: 680px;
  margin: 0 auto 3rem;
  background: rgba(26, 32, 53, 0.85);
  border: 1px solid rgba(0, 184, 212, 0.28);
  border-radius: 16px;
  padding: 1.5rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.reviews-summary-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.summary-score-group {
  display: flex;
  flex-direction: column;
}

.summary-score {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.summary-stars,
.review-stars-row {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
}

.summary-stars {
  margin-top: 0.35rem;
  font-size: 1.1rem;
}

.review-stars-row {
  font-size: 1.15rem;
  padding-top: 0.2rem;
}

.reviews-summary-right {
  text-align: right;
}

.summary-badge-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.summary-subtext {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.reviews-carousel-wrapper {
  width: 100%;
  position: relative;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.review-card-clone {
  display: none !important;
}

.review-card {
  background: rgba(22, 28, 46, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 184, 212, 0.45);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.avatar-blue { background: #1a73e8; }
.avatar-emerald { background: #0f9d58; }
.avatar-amber { background: #f29900; }
.avatar-purple { background: #8e24aa; }
.avatar-red { background: #d93025; }
.avatar-teal { background: #00897b; }

.reviewer-meta {
  flex-grow: 1;
}

.reviewer-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.reviewer-source {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .section-reviews {
    overflow: hidden;
  }

  .reviews-summary-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }

  .reviews-summary-right {
    text-align: center;
  }

  .reviews-summary-left {
    justify-content: center;
  }

  .reviews-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 0.5rem 0 1.25rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  }

  .reviews-grid {
    display: flex !important;
    width: max-content;
    gap: 1rem;
    animation: reviewsMarquee 26s linear infinite;
    will-change: transform;
  }

  .reviews-grid:hover,
  .reviews-carousel-wrapper:active .reviews-grid {
    animation-play-state: paused;
  }

  .review-card {
    width: 270px;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .review-card.review-card-clone {
    display: flex !important;
  }

  @keyframes reviewsMarquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-50% - 0.5rem));
    }
  }
}

/* ==========================================================================
   Contatti Section (Address, Hours, Phone, Email & Map)
   ========================================================================== */
#contatti .section-title h2 {
  color: #ffffff !important;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-items-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-card {
    padding: 1.25rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .contact-items-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    border-radius: 8px;
    margin: 0 auto 0.2rem;
  }

  .contact-details {
    width: 100%;
    text-align: center;
  }

  .contact-details h4 {
    font-size: 0.82rem;
    margin-bottom: 0.15rem;
    text-align: center;
  }

  .contact-details p, .contact-details a {
    font-size: 0.75rem;
    line-height: 1.3;
    text-align: center;
    word-break: break-word;
  }

  .map-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 240px;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
  }

  .map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 240px;
    border: 0;
  }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--primary-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details p, .contact-details a {
  color: #cbd5e1;
  font-size: 1.05rem;
}

.contact-details a:hover {
  color: var(--primary-cyan);
}

.hours-list {
  margin-top: 0.25rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.25rem 0;
}

.hours-row .day {
  color: #94a3b8;
}

.hours-row .time {
  font-weight: 600;
  color: var(--primary-cyan);
}

/* Map Frame */
.map-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
  min-height: 400px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* Social Media Section Below Map */
.social-section {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.facebook-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #1877f2;
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
  transition: var(--transition);
}

.facebook-btn:hover {
  background-color: #0d65d9;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.6);
  color: #ffffff;
}

.facebook-btn i {
  font-size: 1.4rem;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.footer {
  background-color: #060911;
  border-top: 1px solid var(--dark-border);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--primary-cyan);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-cyan);
  padding-left: 5px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact-info i {
  color: var(--primary-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.85rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--primary-cyan);
}

.footer-legal-sep {
  color: rgba(148, 163, 184, 0.35);
  font-size: 0.8rem;
}

.footer-piva {
  color: rgba(148, 163, 184, 0.7);
  font-family: var(--font-body);
}

.footer-madeby {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-heart {
  color: #e74c3c;
  font-size: 0.95rem;
  animation: heartbeat 1.4s ease-in-out infinite;
  display: inline-block;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.2); }
  70% { transform: scale(1); }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 0.3rem 0.6rem;
    font-size: 0.78rem;
  }

  .footer-legal-sep {
    display: none;
  }

  .footer-legal-links a,
  .footer-piva {
    display: inline-block;
  }
}

.back-to-top {
  width: 45px;
  height: 45px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--primary-cyan);
  border-radius: 50%;
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
}

.back-to-top:hover {
  background: var(--primary-cyan);
  color: #090d16;
  box-shadow: 0 0 15px var(--primary-cyan);
}

/* ==========================================================================
   Page: I Nostri Lavori Specific Styles
   ========================================================================== */
/* ==========================================================================
   Page: I Nostri Lavori — Metal Diamond Plate + Post-it Scotch Tape Style
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 4rem;
  background: linear-gradient(180deg, #090d16 0%, #111726 100%);
  text-align: center;
  border-bottom: 1px solid var(--dark-border);
}

/* Metal Diamond Plate Section Background */
.lavori-section-plate {
  background: url('images/lamiera-mandorlata.png') repeat center center;
  background-size: 360px auto;
  position: relative;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.lavori-section-plate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 17, 28, 0.45);
  pointer-events: none;
}

.lavori-section-plate > .container {
  position: relative;
  z-index: 2;
}

/* Search Bar Box */
.works-search-box {
  position: relative;
  max-width: 540px;
  margin: 0 auto 4rem;
}

.works-search-box i {
  position: absolute;
  left: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-cyan);
  font-size: 1.15rem;
  pointer-events: none;
}

.works-search-box input {
  width: 100%;
  padding: 0.95rem 1.4rem 0.95rem 3.4rem;
  border-radius: 50px;
  background: rgba(18, 24, 40, 0.94);
  border: 1.5px solid rgba(0, 184, 212, 0.45);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.works-search-box input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 4px rgba(0, 184, 212, 0.22), 0 12px 35px rgba(0, 0, 0, 0.6);
}

.works-search-box input::placeholder {
  color: #7b8eab;
}

/* Portfolio Items Grid (Scattered Post-It style) */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3.5rem 2.5rem;
  padding-top: 1rem;
}

.portfolio-item {
  background: #ffffff;
  border-radius: 4px;
  padding: 12px 12px 18px 12px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, z-index 0.4s ease;
  cursor: pointer;
}

/* Alternating/scattered post-it rotation angles */
.portfolio-item:nth-child(6n+1) { transform: rotate(-2.5deg); }
.portfolio-item:nth-child(6n+2) { transform: rotate(1.8deg); }
.portfolio-item:nth-child(6n+3) { transform: rotate(-1.5deg); }
.portfolio-item:nth-child(6n+4) { transform: rotate(2.4deg); }
.portfolio-item:nth-child(6n+5) { transform: rotate(-2deg); }
.portfolio-item:nth-child(6n+6) { transform: rotate(1.4deg); }

/* Hover state: post-it straightens up & pops forward */
.portfolio-item:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 50;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75), 0 0 22px rgba(0, 184, 212, 0.35);
}

/* Scotch / Masking Tape attached at top of each card */
.portfolio-item::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  width: 100px;
  height: 28px;
  background: rgba(245, 240, 220, 0.68);
  border: 1px dashed rgba(180, 170, 150, 0.45);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 5;
  border-radius: 2px;
}

.portfolio-img-box {
  position: relative;
  height: 220px;
  border-radius: 2px;
  overflow: hidden;
  background: #0a0f18;
}

.portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img-box img {
  transform: scale(1.06);
}

.portfolio-body {
  padding: 1.1rem 0.4rem 0.2rem;
}

.portfolio-body h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a2540;
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}

.portfolio-body p {
  font-family: var(--font-body);
  color: #4a5568;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0072d4;
  border-top: 1px dashed #cbd5e1;
  padding-top: 0.55rem;
}

/* Lightbox Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  max-width: 900px;
  width: 90%;
  background: var(--dark-surface);
  border: 1px solid var(--primary-cyan);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: 1px solid var(--primary-cyan);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
}

.modal-img-wrapper img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.modal-content {
  padding: 2rem;
}

/* ==========================================================================
   Cookie Consent Banner & Preferences Modal (GDPR Compliant)
   ========================================================================== */

/* Floating trigger button to reopen preferences */
.cookie-floating-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #151b2d;
  border: 1px solid rgba(0, 184, 212, 0.4);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1900;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.cookie-floating-btn:hover {
  transform: scale(1.08);
  background: #1f2742;
  box-shadow: 0 6px 24px rgba(0, 184, 212, 0.35);
}

.cookie-floating-btn i {
  font-size: 1.25rem;
}

/* Bottom Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, calc(100% + 2.5rem));
  width: calc(100% - 3rem);
  max-width: 860px;
  background: #111728;
  border: 1px solid rgba(0, 184, 212, 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 184, 212, 0.15);
  padding: 1.4rem 1.8rem;
  z-index: 2500;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner.active {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner.active ~ .cookie-floating-btn,
.cookie-banner.active ~ #cookie-floating-btn {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.cookie-banner-header {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  flex: 1 1 420px;
}

.cookie-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 184, 212, 0.12);
  border: 1px solid rgba(0, 184, 212, 0.3);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.cookie-banner-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.cookie-banner-text p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--primary-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: #38bdf8;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Button variants */
.cookie-btn {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cookie-btn-manage {
  background: rgba(0, 184, 212, 0.08);
  border: 1px solid rgba(0, 184, 212, 0.3);
  color: var(--primary-cyan);
}

.cookie-btn-manage:hover {
  background: rgba(0, 184, 212, 0.18);
  color: #ffffff;
}

.cookie-btn-accept {
  background: var(--primary-cyan);
  color: #090d16;
  border: 1px solid var(--primary-cyan);
  box-shadow: 0 4px 15px rgba(0, 184, 212, 0.3);
}

.cookie-btn-accept:hover {
  background: #26c6da;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 184, 212, 0.45);
}

/* Preferences Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal-dialog {
  width: 100%;
  max-width: 600px;
  background: #111728;
  border: 1px solid rgba(0, 184, 212, 0.4);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 184, 212, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  transform: scale(0.95) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal-overlay.active .cookie-modal-dialog {
  transform: scale(1) translateY(0);
}

.cookie-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cookie-modal-header h3 i {
  color: var(--primary-cyan);
}

.cookie-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.cookie-modal-close:hover {
  color: #ffffff;
}

.cookie-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-modal-intro {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

.cookie-category {
  background: rgba(22, 28, 48, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  transition: border-color 0.2s;
}

.cookie-category:hover {
  border-color: rgba(0, 184, 212, 0.25);
}

.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cookie-cat-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cookie-cat-title strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #ffffff;
}

.cookie-badge-required {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.cookie-badge-optional {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.cookie-cat-desc {
  font-size: 0.83rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* Custom Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: 0.3s;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--primary-cyan);
  border-color: var(--primary-cyan);
}

.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(20px);
  background-color: #090d16;
}

.cookie-slider.disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.cookie-modal-footer {
  padding: 1.15rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    max-width: 100%;
    border-radius: 18px 18px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 1.25rem 1rem 1.4rem;
  }

  .cookie-banner.active {
    transform: translateY(0);
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
  }

  .cookie-banner-header {
    gap: 0.85rem;
    flex: 1 1 auto;
  }

  .cookie-icon-wrap {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .cookie-banner-text h4 {
    font-size: 0.98rem;
  }

  .cookie-banner-text p {
    font-size: 0.82rem;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .cookie-btn-accept {
    grid-column: span 2;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .cookie-btn-reject,
  .cookie-btn-manage {
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
    text-align: center;
  }

  .cookie-floating-btn {
    bottom: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
  }

  .cookie-modal-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .cookie-modal-footer .cookie-btn-accept {
    grid-column: span 2;
  }

  .cookie-modal-footer .cookie-btn-reject,
  .cookie-modal-footer .cookie-btn-save {
    text-align: center;
  }
}
