:root {
  --color-bg: #050816;
  --color-surface: #0f172a;
  --color-surface-soft: #0b1220;
  --color-accent: #38bdf8;
  --color-accent-soft: rgba(56, 189, 248, 0.15);
  --color-accent-strong: #e879f9;
  --color-border-subtle: rgba(148, 163, 184, 0.35);
  --color-text: #e5e7eb;
  --color-text-soft: #9ca3af;
  --color-text-muted: #6b7280;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.7);
  --shadow-subtle: 0 12px 30px rgba(15, 23, 42, 0.5);
  --container-width: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1d283a 0, #020617 50%, #020617 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.75rem 0;
}

.section-intro {
  max-width: 680px;
  margin: 0.75rem 0 2.1rem;
  color: var(--color-text-soft);
  line-height: 1.6;
}

h1,
 h2,
 h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

h1.hero-title {
  font-size: clamp(2.2rem, 3vw + 1.4rem, 2.9rem);
  line-height: 1.1;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}


/* Header & language switcher */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.85), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.lang-switcher-label {
  color: var(--color-text-muted);
}

.lang-switcher-buttons {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-pill);
  padding: 0.15rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.lang-switcher-buttons label {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--color-text-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

/* hide native radios */

.lang-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* language visibility */

.lang {
  display: none;
}

#lang-it:checked ~ main .lang-it {
  display: block;
}

#lang-en:checked ~ main .lang-en {
  display: block;
}

/* highlight active language */

#lang-it:checked ~ .site-header .lang-switcher-buttons label[for="lang-it"],
#lang-en:checked ~ .site-header .lang-switcher-buttons label[for="lang-en"] {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
  color: #0b1120;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.5);
}


/* Hero */

.hero {
  padding: 3.75rem 0 3.5rem;
}

.hero .container {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 55%),
              radial-gradient(circle at bottom right, rgba(232, 121, 249, 0.12), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: clamp(2.2rem, 4vw, 3rem);
  align-items: stretch;
  z-index: 1;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.main-nav a {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
  text-decoration: none;
}

.main-nav a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero-text {
  padding: 1.4rem 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  margin-bottom: 0.9rem;
}

.hero-subtitle {
  margin-top: 1rem;
  margin-bottom: 1.7rem;
  color: var(--color-text-soft);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
  color: #020617;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(56, 189, 248, 0.7);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--color-text-soft);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.hero-meta-item {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-profile {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-profile-card {
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 60%),
              rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-subtle);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
}

.hero-profile-photo-wrapper {
  width: 76px;
  height: 76px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(248, 250, 252, 0.65);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
}

.hero-profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-profile-name {
  font-weight: 600;
}

.hero-profile-role {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.hero-profile-note {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.hero-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.hero-logos {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hero-logo-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

.hero-logo-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}


/* Cards / services */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.7);
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-soft);
}


/* Social Swing section */

.section-social-swing {
  position: relative;
}

.section-social-swing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0, rgba(56, 189, 248, 0.12), transparent 60%),
              radial-gradient(circle at 90% 100%, rgba(248, 250, 252, 0.04), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.section-social-swing .container {
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 2.2rem;
}

.social-swing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.feature-list li {
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.92rem;
  line-height: 1.6;
}

.section-note {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.social-swing-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-swing-logo-card {
  padding: 1rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.social-swing-logo-card img {
  width: 80px;
  margin-bottom: 0.5rem;
}

.social-swing-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.social-swing-screens img {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #020617;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
}


/* About */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.about-grid p {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  line-height: 1.6;
}


/* Legal */

.section-legal {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.legal-block {
  padding: 1.3rem 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.legal-row {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  column-gap: 0.7rem;
  row-gap: 0.25rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

.legal-row:last-child {
  border-bottom: none;
}

.legal-row dt {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.legal-row dd {
  margin: 0;
  font-size: 0.88rem;
}

.legal-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}


/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.contact-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.92rem;
}

.contact-card h3 {
  margin-bottom: 0.3rem;
}

.contact-card a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}


/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.96);
}

.footer-inner {
  padding: 1.2rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}


/* Responsive */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-swing-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  }

  .legal-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-profile-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid,
  .social-swing-layout,
  .about-grid,
  .legal-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .main-nav {
    gap: 0.5rem;
    margin-bottom: 1.6rem;
  }

  .section {
    padding: 3.2rem 0;
  }
}

@media (max-width: 520px) {
  .header-inner {
    gap: 0.6rem;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .lang-switcher-label {
    display: none;
  }

  .hero-text {
    padding: 1.2rem 1.1rem 1.4rem;
  }

  h1.hero-title {
    font-size: 1.9rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
}
