body { background: var(--beup-bg); color: var(--beup-text-main); font-family: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
/*
Theme Name: Beup ICT Enterprise
Theme URI: https://www.beup-ict.it/
Author: Beup ICT
Author URI: https://www.beup-ict.it/
Description: Tema custom leggero per Beup - ICT Consulting: soluzioni IT a 360° (database, sviluppo software, DevOps, cloud, SAP MII e gestione sistemi).
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beup-ict-enterprise
*/

:root {
  --beup-bg: #f3f4f6;
  --beup-bg-soft: #ffffff;
  --beup-card: #ffffff;
  --beup-border: #e5e7eb;
  --beup-primary: #2563eb;
  --beup-primary-soft: #dbeafe;
  --beup-primary-strong: #1d4ed8;
  --beup-text-main: #0f172a;
  --beup-text-soft: #6b7280;
  --beup-accent: #22c55e;
  --beup-radius-lg: 24px;
  --beup-radius-md: 18px;
  --beup-radius-pill: 999px;
  --beup-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --beup-shadow-subtle: 0 10px 25px rgba(15, 23, 42, 0.04);
}

/* Reset base */

body.wp-theme-beup-ict-enterprise {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #020617 100%);
  color: var(--beup-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--beup-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.94), rgba(15,23,42,0.80), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(15,23,42,0.18);
}

.site-title {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #f9fafb;
}
.site-tagline {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--beup-muted);
}

/* NAV */

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
}

/* we expect li list items directly inside .main-nav (no UL) */
.main-nav > li {
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: var(--beup-muted);
  border: 1px solid transparent;
  transition: all var(--beup-transition-fast);
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(55,65,81,0.7), rgba(15,23,42,0.9));
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--beup-text);
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
}

/* HERO */

.beup-v2 {
  min-height: calc(100vh - 60px);
  padding: 1.5rem 0 2.5rem;
}

.hero {
  padding: 1.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.45);
  color: var(--beup-muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #facc15, #f97316);
  box-shadow: 0 0 0 4px rgba(251,191,36,0.25);
}

.hero h1 { font-size: 2.35rem; line-height: 1.12; margin-bottom: 1.2rem; }

.hero h1 .hero-highlight {
  background: linear-gradient(120deg, #60a5fa, #22c55e, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0 0 1.3rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--beup-muted);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.hero-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  background: radial-gradient(circle at 0 0, rgba(148,163,184,0.25), transparent);
  color: var(--beup-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--beup-transition-med);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(130deg, #3b82f6, #22c55e);
  color: white;
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.55);
}
.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.8);
}

.btn-secondary {
  background: rgba(15,23,42,0.9);
  border-color: rgba(148,163,184,0.55);
  color: var(--beup-muted);
}
.btn-secondary:hover {
  border-color: rgba(148,163,184,0.85);
  color: #e5e7eb;
}

/* HERO CARD */

.hero-card {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.18), rgba(15,23,42,0.95));
  border-radius: var(--beup-radius-xl);
  border: 1px solid rgba(148,163,184,0.55);
  box-shadow: var(--beup-shadow-soft);
  padding: 1.35rem 1.3rem;
  font-size: 0.85rem;
}

.hero-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.hero-card li {
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(148,163,184,0.4);
}

.hero-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--beup-muted);
  margin-bottom: 0.1rem;
}

.hero-card .value {
  color: #e5e7eb;
  font-size: 0.82rem;
}

/* SECTIONS */

.section {
  padding: 1.35rem 0 0.5rem;
}

.section-header {
  text-align: left;
  margin-bottom: 1.35rem;
}

.section-kicker {
  display: inline-flex;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.45);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beup-muted);
  background: rgba(15,23,42,0.86);
}

.section-title {
  margin: 0.6rem 0 0.3rem;
  font-size: 1.2rem;
  color: #e5e7eb;
}

.section-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--beup-muted);
}

/* CARDS / GRID */

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

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

.card {
  position: relative;
  padding: 0.95rem 1rem;
  border-radius: var(--beup-radius-lg);
  background: radial-gradient(circle at top left, rgba(55,65,81,0.7), rgba(15,23,42,0.95));
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: 0 18px 40px rgba(15,23,42,0.85);
  transition: transform var(--beup-transition-med), box-shadow var(--beup-transition-med), border-color var(--beup-transition-med), background var(--beup-transition-med);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(248, 250, 252, 0.7);
  background: radial-gradient(circle at top left, rgba(59,130,246,0.4), rgba(15,23,42,0.98));
  box-shadow: 0 22px 55px rgba(15,23,42,0.95);
}

.card-tag {
  display: inline-flex;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(148,163,184,0.75);
  color: var(--beup-muted);
  background: rgba(15,23,42,0.9);
  margin-bottom: 0.45rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: #f9fafb;
}

.card p {
  margin: 0 0 0.55rem;
  font-size: 0.86rem;
  color: var(--beup-muted);
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: #d1d5db;
}
.card li {
  margin-bottom: 0.15rem;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(148,163,184,0.4);
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), #020617);
  padding: 0.9rem 0 1.2rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--beup-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-links span {
  opacity: 0.85;
}

/* GENERIC CONTENT PAGES (Servizi, Chi siamo, ecc.) */

.beup-content-page {
  padding: 1.5rem 0 2rem;
}

.beup-content-page .page-header {
  margin-bottom: 1rem;
}

.beup-content-page .page-title {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
  color: #f9fafb;
}

.beup-content-page .page-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--beup-muted);
}

.beup-content-page .entry-content {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
}
.beup-content-page .entry-content p {
  margin-bottom: 0.9rem;
}
.beup-content-page .entry-content h2,
.beup-content-page .entry-content h3,
.beup-content-page .entry-content h4 {
  color: #f9fafb;
  margin-top: 1.2rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header-inner {
    align-items: center;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    right: 1.5rem;
    top: 3.2rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem;
    border-radius: 16px;
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(148,163,184,0.6);
    box-shadow: 0 18px 40px rgba(15,23,42,0.9);
    min-width: 190px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    width: 100%;
    justify-content: flex-start;
  }
  .hero {
    padding-top: 1.1rem;
  }
  .hero h1 { font-size: 2.35rem; line-height: 1.12; margin-bottom: 1.2rem; }
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .columns-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-footer {
    text-align: center;
  }
  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-card {
    font-size: 0.82rem;
  }
  .hero-tags {
    gap: 0.3rem;
  }
  .hero-tag {
    font-size: 0.74rem;
  }
}
