/*
Theme Name: Sigmund AI 1.0.0
Theme URI: https://sigmund-ai.it
Author: Textile4Fashion
Author URI: https://textile4fashion.com
Description: Tema custom per Sigmund AI S.R.L. — Consulenza Strategica IT
Version: 1.0.0
License: Private
Text Domain: sigmund-ai
*/

/* =====================
   RESET & VARIABLES
   ===================== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --red: #B01C1C;
  --gray: #777;
  --light: #f6f6f6;
  --border: #e4e4e4;
  --black: #111;
  --white: #fff;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* =====================
   NAV
   ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 54px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-logo {
  font-size: 16px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--black);
}
.site-logo em { color: var(--red); font-style: normal; }

.site-nav { display: flex; align-items: center; gap: 2rem; list-style: none; }
.site-nav a {
  font-size: 12px; letter-spacing: 0.04em; color: #555;
  transition: color .15s;
}
.site-nav a:hover { color: var(--black); }

.nav-cta {
  background: var(--black) !important; color: var(--white) !important;
  padding: 0.45rem 1rem;
  font-size: 11px !important; letter-spacing: 0.08em !important;
  text-transform: uppercase; transition: background .15s;
}
.nav-cta:hover { background: var(--red) !important; }

/* =====================
   HERO
   ===================== */
.hero {
  padding: 5rem 2rem 4rem;
  max-width: 780px; margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-label {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); font-weight: 700;
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--red); border-radius: 20px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero p {
  font-size: 16px; color: #555;
  max-width: 520px; margin: 0 auto 2rem; line-height: 1.7;
}
.hero-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--red); color: var(--white);
  padding: 0.75rem 1.75rem; font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; transition: background .15s;
}
.btn-primary:hover { background: #8a1515; }

.btn-secondary {
  background: var(--white); color: var(--black);
  padding: 0.75rem 1.75rem; font-size: 13px; font-weight: 600;
  border: 1px solid var(--border); letter-spacing: 0.02em;
  transition: border-color .15s;
}
.btn-secondary:hover { border-color: #999; }

/* =====================
   NUMERI
   ===================== */
.numeri {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.num-item {
  padding: 2.5rem 2rem; text-align: center;
  border-right: 1px solid var(--border);
}
.num-item:last-child { border-right: none; }
.num-big { font-size: 48px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.num-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-top: 0.4rem; }

/* =====================
   SECTION COMMONS
   ===================== */
.section-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.5rem; }
.section-title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }

/* =====================
   SERVIZI (HOME GRID)
   ===================== */
.servizi { border-bottom: 1px solid var(--border); }
.servizi-header { padding: 2.5rem 2rem 1.5rem; border-bottom: 1px solid var(--border); }
.srv-list { display: grid; grid-template-columns: 1fr 1fr; }
.srv-item {
  padding: 2rem; border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.srv-item:nth-child(even) { border-right: none; }
.srv-item:nth-last-child(-n+2) { border-bottom: none; }
.srv-item:hover { background: var(--light); }
.srv-num { font-size: 11px; color: var(--red); font-weight: 700; margin-bottom: 0.75rem; }
.srv-name { font-size: 15px; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.srv-desc { font-size: 12px; color: #555; line-height: 1.65; }
.srv-more { display: inline-block; margin-top: 1rem; font-size: 11px; color: var(--red); font-weight: 600; letter-spacing: 0.04em; }

/* =====================
   STORIA
   ===================== */
.storia { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.storia-l { padding: 3rem 2rem; border-right: 1px solid var(--border); }
.storia-r { padding: 3rem 2rem; background: var(--light); }
.storia-l .section-title { margin-top: 0.5rem; margin-bottom: 1.5rem; }
.storia-col { margin-bottom: 1.75rem; }
.storia-col:last-child { margin-bottom: 0; }
.storia-col-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 0.4rem; }
.storia-col p { font-size: 12px; color: #444; line-height: 1.75; }
.storia-r blockquote { font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; color: var(--black); margin-bottom: 1.5rem; }
.storia-r blockquote em { color: var(--gray); font-weight: 400; font-style: normal; }
.storia-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tag { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.65rem; border: 1px solid var(--border); color: #555; }

/* =====================
   TEAM
   ===================== */
.team { padding: 3rem 2rem; border-bottom: 1px solid var(--border); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.team-card { display: flex; flex-direction: column; }
.team-photo {
  width: 100%; aspect-ratio: 1;
  background: var(--light); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo span { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }
.team-name { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.team-tag { font-size: 10px; letter-spacing: 0.06em; color: var(--red); border: 1px solid var(--red); padding: 0.2rem 0.5rem; }

/* =====================
   PERCHE
   ===================== */
.perche { padding: 3rem 2rem; border-bottom: 1px solid var(--border); }
.perche-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 1.5rem; }
.perche-list { list-style: none; }
.perche-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.perche-list li:last-child { border-bottom: none; }
.perche-list li::before { content: ''; display: block; width: 6px; height: 6px; background: var(--red); border-radius: 50%; margin-top: 0.45rem; flex-shrink: 0; }
.perche-list strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 0.2rem; }
.perche-list span { font-size: 12px; color: #555; }
.metodo { background: var(--light); padding: 2rem; border-left: 3px solid var(--red); }
.metodo-label { font-size: 10px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.metodo-step { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.metodo-step:last-child { margin-bottom: 0; }
.metodo-n { width: 28px; height: 28px; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.metodo-step strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 0.2rem; }
.metodo-step span { font-size: 12px; color: #555; }

/* =====================
   CONTATTI
   ===================== */
.contatti { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.ct-l { padding: 3rem 2rem; background: var(--black); color: var(--white); border-right: 1px solid #333; display: flex; flex-direction: column; justify-content: space-between; }
.ct-l .section-label { color: #666; }
.ct-l .section-title { color: var(--white); margin-top: 0.5rem; margin-bottom: 2rem; }
.ct-l p { font-size: 13px; color: #aaa; line-height: 1.7; }
.ct-r { padding: 3rem 2rem; }
.ct-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.ct-row:last-child { border-bottom: none; }
.ct-icon { color: var(--red); font-size: 16px; margin-top: 1px; width: 18px; flex-shrink: 0; }
.ct-link { color: var(--black); }
.ct-link:hover { color: var(--red); }
.ct-meta { font-size: 11px; color: var(--gray); margin-top: 0.15rem; }
.btn-contact {
  display: inline-block; background: var(--red); color: var(--white);
  padding: 0.75rem 1.5rem; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2rem;
  transition: background .15s;
}
.btn-contact:hover { background: #8a1515; }

/* =====================
   PAGE SERVIZIO
   ===================== */
.page-hero { padding: 3rem 2rem 2rem; border-bottom: 1px solid var(--border); max-width: 720px; }
.page-num { font-size: 11px; color: var(--red); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 1rem; }
.page-title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.25rem; }
.page-intro { font-size: 15px; color: #555; line-height: 1.75; max-width: 600px; }
.page-body { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.page-l { padding: 2.5rem 2rem; border-right: 1px solid var(--border); }
.page-r { padding: 2.5rem 2rem; background: var(--light); }
.page-l p { font-size: 13px; color: #444; line-height: 1.8; margin-bottom: 1.25rem; }
.page-l p:last-child { margin-bottom: 0; }
.page-includes-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 1rem; }
.page-includes { list-style: none; }
.page-includes li { font-size: 13px; color: #444; padding: 0.6rem 0; border-bottom: 1px solid var(--border); display: flex; gap: 0.75rem; align-items: flex-start; }
.page-includes li:last-child { border-bottom: none; }
.page-includes li::before { content: '→'; color: var(--red); font-size: 11px; margin-top: 0.1rem; flex-shrink: 0; }
.page-clienti { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.page-clienti-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); font-weight: 700; margin-bottom: 0.75rem; }
.page-clienti p { font-size: 12px; color: #555; }
.back-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 12px; color: #555; padding: 0.5rem 0;
  margin: 1.5rem 2rem; letter-spacing: 0.04em;
  background: none; border: none; cursor: pointer;
  transition: color .15s;
}
.back-btn:hover { color: var(--red); }

/* =====================
   DIVISE (EVENTI)
   ===================== */
.divise-section { border-top: 1px solid var(--border); }
.divise-body { display: grid; grid-template-columns: 1fr 1fr; }
.divise-l { padding: 2.5rem 2rem; border-right: 1px solid var(--border); }
.divise-l p { font-size: 13px; color: #444; line-height: 1.8; margin-bottom: 1rem; }
.divise-r { padding: 2.5rem 2rem; background: var(--light); }

/* =====================
   FOOTER
   ===================== */
.site-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  font-size: 11px; color: var(--gray);
}
.footer-logo { font-size: 13px; font-weight: 800; color: var(--black); letter-spacing: -0.01em; }
.footer-logo em { color: var(--red); font-style: normal; }
.footer-legal { font-size: 10px; color: #aaa; margin-top: 0.25rem; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .site-nav li:not(:last-child) { display: none; }
  .hero { padding: 3rem 1.5rem; }
  .numeri { grid-template-columns: 1fr; }
  .num-item { border-right: none; border-bottom: 1px solid var(--border); }
  .num-item:last-child { border-bottom: none; }
  .srv-list, .storia, .perche-inner, .contatti, .page-body, .divise-body { grid-template-columns: 1fr; }
  .srv-item:nth-child(even) { border-right: none; }
  .srv-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .srv-item:last-child { border-bottom: none; }
  .storia-l { border-right: none; border-bottom: 1px solid var(--border); }
  .page-l { border-right: none; border-bottom: 1px solid var(--border); }
  .ct-l { border-right: none; border-bottom: 1px solid #333; }
  .team-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
