/* Sementi Bovo - Home (misure dall'originale, riferimento/misure/home-*.md) */

/* Hero: sfondo come l'originale (auto, 0 0, ripetuto); immagine diversa sotto 768px */
.sb-home-hero { background: var(--sb-bg) 0 0 / auto repeat; padding: 200px 0 280px; color: #fff; text-align: center; }
.sb-home-hero__sopra { font-family: var(--sb-f-text); font-size: 24px; font-weight: 700; font-style: italic; line-height: 36px; text-decoration: underline; }
.sb-home-hero__titolo { font-family: var(--sb-f-title); font-size: 100px; font-weight: 700; font-style: italic; line-height: 90px; letter-spacing: -0.6px; }
.sb-home-hero__sotto { margin-top: 40px; font-family: var(--sb-f-text); font-size: 20px; font-weight: 400; line-height: 26px; }

/* Riquadro storia sovrapposto all'hero */
.sb-home-storia { margin-top: -50px; position: relative; }
.sb-home-storia__box { background: var(--sb-cream); padding: 30px 0 50px; text-align: center; color: var(--sb-brown); }
.sb-home-storia__titolo { font-family: var(--sb-f-title); font-size: 44px; font-weight: 700; font-style: italic; line-height: 66px; }
.sb-home-storia__testo { font-family: var(--sb-f-text); font-size: 18px; line-height: 27px; }
.sb-home-storia-btn { margin: -32px 0 50px; position: relative; }

/* Intestazioni di sezione */
.sb-home-head--prodotti { margin-top: 100px; }
.sb-home-head--servizi { margin: 100px 0 40px; }

/* Riquadri prodotti */
.sb-home-cards--3 { margin-top: 40px; }
.sb-home-cards--2 { margin-top: 20px; }
.sb-card__media { text-align: center; }
.sb-card__media:hover img { filter: brightness(80%); }
.sb-card__body { background: var(--sb-cream-2); padding: 10px; }
.sb-card__title { position: relative; background: #fff; margin-top: -40px; padding: 22px 0 10px; text-align: center; }
.sb-card__title h3 { margin-bottom: 14.4px; font-family: var(--sb-f-title); font-size: 30px; font-weight: 700; font-style: italic; line-height: 45px; color: var(--sb-brown); }
.sb-card__btn { position: relative; background: #fff; padding-bottom: 40px; text-align: center; }

/* Azienda */
.sb-home-azienda { margin-top: 140px; padding: 100px 0; background: var(--sb-cream); }
.sb-home-azienda__row { margin-top: 30px; align-items: flex-start; }
.sb-home-azienda__img img { width: 100%; }
.sb-home-azienda__box { width: 100%; margin: 16px 0 20px -100px; padding: 60px; background: #fff; position: relative; }
.sb-home-azienda__titolo { margin-bottom: 20px; font-family: var(--sb-f-title); font-size: 30px; font-weight: 700; font-style: italic; line-height: 45px; color: var(--sb-brown); }
.sb-home-azienda__testo { margin-bottom: 20px; font-family: var(--sb-f-text); font-size: 18px; line-height: 26px; color: var(--sb-brown); }

/* Fascia con sfondo fisso solo da 1025px */
.sb-home-fascia1 { height: 460px; background: var(--sb-bg) 0 0 / auto no-repeat; }
@media (min-width: 1025px) { .sb-home-fascia1 { background-attachment: fixed; } }

/* Servizi */
.sb-serv__media { text-align: center; }
.sb-serv__media:hover img { filter: brightness(80%); }
.sb-serv__body { background: var(--sb-cream-2); padding: 10px; }
.sb-serv__title { position: relative; background: #fff; margin-top: -20px; padding: 10px 0 1px; text-align: center; }
.sb-serv__title h3 { margin-bottom: 14.4px; font-family: var(--sb-f-title); font-size: 30px; font-weight: 600; font-style: italic; line-height: 24px; color: var(--sb-brown); }
.sb-home-serv-btn { margin-top: 50px; }

/* Fascia finale */
.sb-home-fascia2 { height: 460px; background: var(--sb-bg) 0 0 / auto repeat; }

/* Mobile (fino a 767px) */
@media (max-width: 767px) {
	.sb-home-hero { background-image: var(--sb-bg-m); padding: 70px 0 120px; }
	.sb-home-hero__sopra { font-size: 20px; line-height: 30px; }
	.sb-home-hero__titolo { font-size: 58px; line-height: 54px; }
	.sb-home-hero__sotto { margin-top: 10px; font-size: 18px; }
	.sb-home-storia__box { padding: 30px 20px 50px; }
	.sb-home-storia__titolo { font-size: 18px; line-height: 22px; }
	.sb-home-storia__testo { margin-top: 10px; font-size: 16px; line-height: 22px; }
	.sb-home-storia-btn { margin: -32px 0 40px; }
	.sb-home-head--prodotti { margin: 40px 0 20px; }
	.sb-home-head--servizi { margin: 40px 0 20px; }
	.sb-home-cards--2 { margin-top: 0; }
	.sb-card__title h3 { font-size: 28px; line-height: 14px; }
	.sb-card__btn { margin-top: -14px; }
	.sb-home-azienda { margin-top: 60px; padding: 40px 0; }
	.sb-home-azienda__box { margin: 0; padding: 20px; text-align: center; }
	.sb-home-azienda__titolo { font-size: 28px; line-height: 28px; }
	.sb-home-azienda__testo { font-size: 16px; line-height: 22px; }
	.sb-home-fascia1 { height: 160px; background-image: var(--sb-bg-m); background-position: center center; }
	.sb-home-servizi .sb-row { margin: 0; }
	.sb-serv__title h3 { font-size: 26px; }
	.sb-home-serv-btn { margin-top: 20px; }
	.sb-home-fascia2 { height: 160px; background-position: 100% 50%; }
}
