:root {
  --bg-page: #f3f4f6;
  --bg-content: #ffffff;
  --bg-soft: #f9fafb;
  --primary: #0037A3;
  --primary-soft: rgba(37, 99, 235, 0.08);
  --primary-strong: #0037A3;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --border-soft: rgba(148, 163, 184, 0.5);
  --accent: #E6007E;
  --radius-xl: 1.5rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e5edff 0, #f9fafb 30%, #f3f4f6 100%);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 90%;
  max-width: 160vh;
  margin: auto;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0.75), transparent);
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  /*background: radial-gradient(circle at 30% 30%, #0037A3, #0037A3, #E6007E);*/
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45);
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.brand-text-main {
  width: 140px;
}

.brand-text-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #0037A3, #E6007E);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.4);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), white);
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  color: var(--primary-strong);
  font-weight: 500;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), white);
}

/* MENU MOBILE */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.4rem;
}

.nav-links-mobile {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0 0 0.8rem;
  font-size: 0.95rem;
}

.nav-links-mobile a {
  color: var(--text-muted);
}

/* HERO */
.hero {
  padding: 2.5rem 0 4rem;
}

.office{
  width: 100%;
  height: 100%;
  background: url("/images/office3.jpg") center center no-repeat;
  background-size: cover;
  border-radius: 15px;
}

.hero-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding-top: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.7);
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  color: #020617;
}

.hero-title span {
  background: linear-gradient(to right, #0037A3, #E6007E);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: #000;
  max-width: 480px;
  font-size: 0.98rem;
  margin-bottom: 1.7rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.8rem;
}

.btn-primary {
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  border: none;
  background: linear-gradient(135deg, #0037A3, #0037A3, #E6007E);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 55px rgba(37, 99, 235, 0.45);
  opacity: 0.98;
}

.btn-ghost {
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  transition: border 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-ghost:hover {
  border-color: rgba(37, 99, 235, 0.8);
  color: var(--text-main);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.3);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-highlights span::before {
  content: "●";
  font-size: 0.45rem;
  color: #0037A3;
}

.hero-visual {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: radial-gradient(circle at 0 0, rgba(191, 219, 254, 0.8), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(221, 214, 254, 0.9), transparent 55%),
    #ffffff;
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.hero-chip {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #0037A3;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.75);
}

.matrix-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: linear-gradient(rgba(148, 163, 184, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.35) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
  pointer-events: none;
}

.chip-board {
  position: absolute;
  inset: 18% 14% 28% 10%;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at 0 0, rgba(219, 234, 254, 0.95), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(221, 214, 254, 1), transparent 55%),
    rgba(249, 250, 251, 0.9);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.7rem;
}

.chip-cell {
  border-radius: 0.6rem;
  border: 1px solid rgba(129, 140, 248, 0.7);
  background: linear-gradient(to bottom right, rgba(248, 250, 252, 1), rgba(191, 219, 254, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--text-muted);
}

.chip-cell.highlight {
  border-color: rgba(37, 99, 235, 1);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.7);
  color: #1e293b;
  font-weight: 600;
}

.hero-stats {
  position: absolute;
  bottom: 1.2rem;
  left: 1.3rem;
  right: 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.75rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.9rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(226, 232, 240, 1);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-stat-label {
  color: var(--text-muted);
}

.hero-stat-number {
  font-weight: 600;
  font-size: 0.9rem;
  color: #111827;
}

/* SEZIONI GENERALI */
section {
  padding: 3rem 0;
}

.section-header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #020617;
}

.section-title span {
  background: linear-gradient(to right, #0037A3, #E6007E);
  -webkit-background-clip: text;
  color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 420px;
  font-size: 0.9rem;
}

/* SERVIZI */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--bg-content);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border 0.15s ease, background 0.15s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--primary-soft), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.55);
  background: #ffffff;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.4);
  background: radial-gradient(circle at top, rgba(219, 234, 254, 1), rgba(255, 255, 255, 1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.service-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.7rem;
}

.service-tag {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text-muted);
  background: #f9fafb;
}

/* PROGETTI */
.projects-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  background: var(--bg-content);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.project-strip {
  height: 4px;
  background: linear-gradient(to right, #0037A3, #0037A3, #E6007E);
}

.project-body {
  padding: 1.1rem 1.3rem 1rem;
}

.project-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.72rem;
}

.project-tag {
  padding: 0.23rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #0037A3;
  background: #eff6ff;
}

/* CLIENTI */
.clients-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  background: transparent;
  padding: 1.2rem 0;
  box-shadow: var(--shadow-soft);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: clientsScroll 28s linear infinite;
  width: max-content;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  min-width: 150px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-height: 48px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.client-logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes clientsScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* CATALOGO COMPETENZE */
.catalog-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-card {
  background: var(--bg-content);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.catalog-label {
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-size: 0.75rem;
  color: var(--primary-strong);
  background: rgba(219, 234, 254, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.catalog-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #020617;
}

.catalog-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.catalog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-main);
  padding-left: 0;
}

.catalog-list li {
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.4;
}

.catalog-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0037A3, #E6007E);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.35);
}

.catalog-cta {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  border: 1px dashed rgba(37, 99, 235, 0.4);
  border-radius: var(--radius-xl);
  background: rgba(248, 250, 252, 0.9);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.catalog-cta p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* SHOWCASE PROGETTI */
.showcase-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-card {
  background: var(--bg-content);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.showcase-tag {
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: var(--primary-strong);
  font-size: 0.75rem;
  background: rgba(219, 234, 254, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.showcase-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #020617;
}

.showcase-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.showcase-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.showcase-images figure {
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f8fafc;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.showcase-images img {
  width: 100%;
  height: 120px;
  object-fit: scale-down;
  display: block;
}

.showcase-images figcaption {
  padding: 0.35rem 0.5rem 0.5rem;
}

.showcase-images img {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-images img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* LIGHTBOX */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}

.lightbox-header {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
}

.lightbox-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-counter {
  font-size: 0.875rem;
  color: #64748b;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.lightbox-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
  padding: 0.25rem;
  border-radius: 0.375rem;
  transition: color 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.lightbox-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.lightbox-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: calc(90vh - 200px);
  flex: 1;
  overflow: auto;
  padding: 1rem;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: 140vh;
  height: 60vh;
  object-fit: contain;
  display: block;
  margin: auto;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  color: #1e293b;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lightbox-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.lightbox-nav.prev {
  left: 1rem;
}

.lightbox-nav.next {
  right: 1rem;
}

.lightbox-caption {
  padding: 1rem 1.5rem;
  background: white;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .lightbox-overlay {
    padding: 1rem;
  }

  .lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .lightbox-header {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }

  .lightbox-title {
    font-size: 0.95rem;
    flex-basis: 100%;
    margin-bottom: 0.5rem;
  }

  .lightbox-counter {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }

  .lightbox-nav {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .lightbox-nav.prev {
    left: 0.5rem;
  }

  .lightbox-nav.next {
    right: 0.5rem;
  }

  .lightbox-caption {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }

  .lightbox-image-container {
    min-height: 200px;
    max-height: calc(95vh - 180px);
    padding: 0.5rem;
  }
}

/* CHI SIAMO */
.about-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: flex-start;
}

.about-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.about-chip {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.about-card {
  background: var(--bg-content);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.85rem;
}

.about-label {
  color: var(--text-muted);
}

.about-value {
  font-weight: 500;
  color: #111827;
  text-align: right;
}

/* CONTATTI */
.contact-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-card {
  background: var(--bg-content);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #020617;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.82rem;
}

.field label {
  color: var(--text-muted);
}

.field input,
.field textarea,
.field select {
  background: #ffffff;
  border-radius: 0.8rem;
  border: 1px solid rgba(209, 213, 219, 1);
  padding: 0.6rem 0.7rem;
  color: var(--text-main);
  font: inherit;
  resize: vertical;
  min-height: 42px;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(37, 99, 235, 0.9);
  box-shadow: 0 0 0 1px rgba(191, 219, 254, 1);
  background: #f9fafb;
}

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

.contact-info-item {
  padding: 0.7rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(209, 213, 219, 1);
  background: var(--bg-soft);
}

.contact-info-item strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(203, 213, 225, 1);
  padding: 1.5rem 0 2.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(248, 250, 252, 0.95);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
}

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

/* RESPONSIVE */
@media (max-width: 960px) {

  .hero-grid,
  .services-grid,
  .projects-grid,
  .showcase-grid,
  .catalog-grid,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links-mobile {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .showcase-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .showcase-images {
    grid-template-columns: 1fr;
  }
}