/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blu: #2ea3f2;          /* blu header */
  --blu-scuro: #00205b;    /* blu footer */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, Segoe UI, Roboto, sans-serif;
  color: #2b3440;
  background: #fff;
  line-height: 1.6;
}

/* ===== Header (HTML/CSS) ===== */
.site-header {
  width: 100%;
  background: var(--blu);
}
.site-header__nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 0 1.5rem;
  min-height: 85px;
}
.site-header__group {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.site-header__group--left  { justify-content: flex-end; }
.site-header__group--right { justify-content: flex-start; }
.site-header__group a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .3px;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.site-header__group a:hover,
.site-header__group a:focus-visible { opacity: .75; }
.site-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.site-header__logo img {
  height: 72px;
  width: auto;
  max-width: none;
  display: block;
}
@media (max-width: 860px) {
  .site-header__nav   { flex-wrap: wrap; gap: 1rem; min-height: auto; padding: 1rem; }
  .site-header__logo  { order: 1; flex: 1 1 100%; justify-content: center; margin-bottom: .5rem; }
  .site-header__group { order: 2; flex: 1 1 100%; justify-content: center; flex-wrap: wrap; gap: 1.25rem; }
  .site-header__group a { font-size: .95rem; }
}

/* ===== Sezione testo blu ===== */
.intro {
  background: var(--blu);
  color: #fff;
  padding: 70px 24px 56px;
}
.intro-inner {
  max-width: 960px;
  margin: 0 auto;
}
.intro p {
  font-size: 18px;
  font-weight: 400;
  text-align: start;
  letter-spacing: .2px;
}
.intro .cta-wrap {
  margin-top: 36px;
  text-align: right;
}
.btn-accedi {
  display: inline-block;
  background: #fff;
  color: var(--blu);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-accedi:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.22); }

/* La sezione offerte è interamente stilizzata da offerte.css (design Medhunter) */

/* ===== Stato "nessuna offerta disponibile" (fallback custom) ===== */
.search__no-offers {
  text-align: center;
  padding: 40px 24px;
}
.search__no-offers-title {
  font-size: 17px;
  font-weight: 600;
  color: #2b3440;
  margin-bottom: 6px;
}
.search__no-offers-text {
  font-size: 14px;
  font-weight: 400;
  color: #5b6470;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===== Footer (HTML/CSS) ===== */
.site-footer {
  background: var(--blu);
  color: #fff;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .3px;
  transition: opacity .2s ease;
}
.site-footer__nav a:hover,
.site-footer__nav a:focus-visible { opacity: .75; }
/* Pagina corrente: "Lavora con noi" in evidenza */
.site-footer__nav a[aria-current="page"] {
  background: #fff;
  color: var(--blu);
  padding: .3rem .9rem;
  border-radius: 999px;
}
.site-footer__nav a[aria-current="page"]:hover,
.site-footer__nav a[aria-current="page"]:focus-visible { opacity: 1; }
.site-footer__credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: .85rem;
  font-weight: 300;
}
.site-footer__credits svg { height: 22px; width: auto; display: block; }
.site-footer__credits a { color: #fff; font-weight: 600; text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .intro p { font-size: 16px; }
  .intro .cta-wrap { text-align: center; }
}
