/* ===============================
   SÌTALY — STYLE.CSS
   Version: v1.1.1 (LOCKED)
   =============================== */

/* ---------- VARIABLES ---------- */
:root {
  --bg: #f8f5ee;
  --card: #ffffff;
  --text: #14212b;
  --muted: #5f6f7a;
  --brand: #4fa6a3;
  --border: #e6e2d9;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAVIGATION ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand a {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.menu a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.menu a:hover {
  color: var(--brand);
}

.menu a.active {
  color: var(--brand);
  font-weight: 600;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 4px;
}

/* -------- HERO -------- */
.hero {
  padding: 104px 72px 96px; /* more inner spacing */
  border-radius: 14px;     /* same feel as buttons */
  overflow: hidden;        /* required for rounded background */

  background:
    linear-gradient(
      to bottom,
      rgba(248, 245, 238, 0.48) 0%,
      rgba(248, 245, 238, 0.70) 40%,
      rgba(248, 245, 238, 0.90) 75%,
      rgba(248, 245, 238, 1) 100%
    ),
    url("../assets/hero-marsala.jpg");

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .hero {
    padding: 72px 28px 72px;
    border-radius: 12px;
  }
}

.badge {
  display: inline-block;
  background: #e7f2f1;
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  max-width: 720px;
  color: var(--muted);
  margin-bottom: 28px;
}

/* ---------- BUTTONS ---------- */
.btns {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.btn {
  background: var(--brand);
  color: #ffffff;
}

.btn.secondary {
  background: #ffffff;
  color: var(--brand);
  border: 1px solid var(--border);
}

/* ---------- KPIs ---------- */
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 64px 0;
}

.kpi {
  background: var(--card);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
}

.kpi h3 {
  margin-bottom: 8px;
}

/* ---------- CONTENT CARD ---------- */
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 36px;
  border: 1px solid var(--border);
  margin-bottom: 64px;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.footer a {
  color: var(--brand);
  text-decoration: none;
  margin-right: 16px;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .hero {
    padding: 72px 0 64px;
  }

  .hero h1 {
    font-size: 32px;
  }

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

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

  .brand-logo {
    height: 32px;
  }

  .menu a {
    margin-left: 16px;
  }
}

