/*
Theme Name: FarmaOffice Kadence Child
Theme URI: https://www.farmaoffice.it/
Description: Interfaccia locale FarmaOffice costruita sopra Kadence.
Author: FarmaOffice
Template: kadence
Version: 2.0.0
*/

:root {
	--fo-navy: #062b5c;
	--fo-blue: #087ac3;
	--fo-sky: #17aee7;
	--fo-mist: #eef8fc;
	--fo-soft: #f7fbfe;
	--fo-ink: #13375f;
	--fo-muted: #58708d;
	--fo-line: #d9e9f3;
	--fo-shadow: 0 18px 50px rgba(7, 54, 98, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.fo-site { margin: 0; background: #fff; color: var(--fo-ink); font-family: Arial, Helvetica, sans-serif; }
body.fo-site .content-bg,
body.fo-site .site { background: transparent; }
.fo-site-shell { overflow: clip; }
.fo-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.fo-main { min-height: 50vh; }
.fo-main a:focus-visible,
.fo-footer a:focus-visible,
.fo-header a:focus-visible,
.fo-menu-toggle:focus-visible { outline: 3px solid #f7bf2b; outline-offset: 4px; }


/* MENU PRINCIPALE TUTTO MAIUSCOLO */
.fo-nav,
.fo-nav a,
.fo-nav button,
.fo-nav span,
.fo-solutions-menu,
.fo-solutions-menu a,
.fo-solutions-menu button {
    text-transform: uppercase !important;
}

.fo-header {
    position: sticky;
    top: 0;
    z-index: 9999;

    width: 100%;
    height: 80px;
    min-height: 80px;

    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(217, 233, 243, .8);
    backdrop-filter: blur(12px);
}

.fo-header-inner {
    height: 80px;
    min-height: 80px;

    display: flex;
    align-items: center;

    gap: 28px;

    overflow: visible;
}

.fo-brand {
    display: inline-flex;
    align-items: center;

    flex: 0 0 auto;

    height: 80px;
}

.fo-brand img {
    display: block;

    width: 202px;
    max-width: 202px;
    height: auto;

    flex-shrink: 0;
}

.fo-nav {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 26px;
    flex: 1;
}

.fo-nav > a,
.fo-solutions-menu {
    display: flex;
    align-items: center;
    height: 80px;
}

.fo-header-cta {
    flex-shrink: 0;
}

.fo-nav { display: flex; align-items: center; justify-content: center; gap: 26px; flex: 1; }
.fo-nav a { color: var(--fo-navy); font-size: 14px; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.fo-nav a:hover { color: var(--fo-sky); }
.fo-header-cta, .fo-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 999px; text-decoration: none; font-weight: 800; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.fo-header-cta { min-height: 44px; padding: 0 20px; color: #fff; background: linear-gradient(135deg, var(--fo-blue), var(--fo-sky)); font-size: 14px; box-shadow: 0 10px 24px rgba(8,122,195,.2); }
.fo-header-cta:hover, .fo-button:hover { color: inherit; transform: translateY(-2px); }
.fo-header-cta:hover { color: #fff; }
.fo-menu-toggle, .fo-nav-contact-mobile { display: none; }

.fo-kicker { color: var(--fo-blue); font-size: 12px; font-weight: 900; letter-spacing: .15em; line-height: 1.2; margin: 0 0 14px; text-transform: uppercase; }
.fo-hero { position: relative; isolation: isolate; min-height: 615px; display: grid; align-items: center; overflow: hidden; background: #dff3fa; }
.fo-hero-backdrop { position: absolute; z-index: -2; inset: 0; background-position: center; background-repeat: no-repeat; background-size: cover; }
.fo-hero:after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 37%, rgba(255,255,255,.46) 57%, rgba(255,255,255,.03) 78%); }
.fo-hero-inner { width: min(1180px, calc(100% - 48px)); padding: 94px 0 88px; }
.fo-hero-copy { width: min(625px, 56%); }
.fo-hero h1 { color: var(--fo-navy); font-size: clamp(46px, 5.1vw, 72px); font-weight: 900; letter-spacing: -.055em; line-height: .98; margin: 0 0 22px; }
.fo-hero h1 span, .fo-section-heading h2 span, .fo-about h2 span, .fo-final-cta h2 span, .fo-detail-page h2 span { color: var(--fo-sky); }
.fo-hero-lead { color: #35577c; font-size: 19px; line-height: 1.55; margin: 0; max-width: 545px; }
.fo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fo-button { min-height: 50px; padding: 0 23px; font-size: 15px; }
.fo-button-primary { background: linear-gradient(135deg, var(--fo-blue), var(--fo-sky)); box-shadow: 0 13px 25px rgba(8,122,195,.22); color: #fff; }
.fo-button-primary:hover { color: #fff; box-shadow: 0 16px 29px rgba(8,122,195,.29); }
.fo-button-ghost { color: var(--fo-blue); border: 1px solid #82c6e9; background: rgba(255,255,255,.83); }
.fo-button-ghost:hover { color: var(--fo-navy); background: #fff; }
.fo-button-white { color: var(--fo-navy); background: #fff; box-shadow: 0 12px 27px rgba(0,15,45,.18); }
.fo-button-white:hover { color: var(--fo-navy); }

.fo-proof-bar { background: #fff; border-bottom: 1px solid var(--fo-line); }
.fo-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 25px 0; }
.fo-proof { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 28px; border-right: 1px solid var(--fo-line); color: var(--fo-navy); font-size: 14px; font-weight: 700; line-height: 1.38; }
.fo-proof:first-child { padding-left: 0; }
.fo-proof:last-child { border-right: 0; }
.fo-proof-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; color: var(--fo-blue); background: #e9f7fc; border-radius: 11px; font-size: 11px; font-weight: 900; }

.fo-section { padding: 96px 0; }
.fo-section-soft { background: var(--fo-soft); }
.fo-section-heading { margin-bottom: 36px; }
.fo-section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 38px; }
.fo-section-heading h2, .fo-about h2, .fo-final-cta h2 { max-width: 850px; color: var(--fo-navy); font-size: clamp(34px, 4vw, 53px); font-weight: 900; letter-spacing: -.045em; line-height: 1.05; margin: 0; }
.fo-intro { color: var(--fo-muted); font-size: 16px; line-height: 1.6; margin: 0 0 4px; max-width: 340px; }
.fo-text-link, .fo-card-link { display: inline-flex; align-items: center; gap: 9px; color: var(--fo-blue); font-weight: 900; text-decoration: none; }
.fo-text-link { font-size: 15px; margin-bottom: 8px; }
.fo-text-link:hover, .fo-card-link:hover { color: var(--fo-navy); }

.fo-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fo-product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--fo-line); border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(8,59,110,.05); transition: transform .22s ease, box-shadow .22s ease; }
.fo-product-card:hover { transform: translateY(-6px); box-shadow: var(--fo-shadow); }
.fo-product-image { height: 176px; display: grid; place-items: center; padding: 18px; background: linear-gradient(145deg, #f8fcff, #e7f4fa); }
.fo-product-image img { max-height: 100%; max-width: 100%; object-fit: contain; }
.fo-product-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 19px 21px; }
.fo-product-copy h3 { color: var(--fo-navy); font-size: 21px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 8px; }
.fo-product-copy p { color: var(--fo-muted); font-size: 14px; line-height: 1.48; margin: 0 0 19px; }
.fo-card-link { margin-top: auto; font-size: 14px; }

.fo-feature-panel { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 36px; overflow: hidden; padding: 68px 66px; border-radius: 34px; background: linear-gradient(135deg, #f4fbfe, #d8f0fa); }
.fo-feature-panel:before, .fo-feature-panel:after { content: ""; position: absolute; border-radius: 50%; background: var(--fo-sky); opacity: .12; }
.fo-feature-panel:before { width: 390px; height: 390px; bottom: -230px; right: -85px; }
.fo-feature-panel:after { width: 180px; height: 180px; top: -95px; right: 37%; }
.fo-feature-copy { position: relative; z-index: 1; }
.fo-feature-copy h2 { color: var(--fo-navy); font-size: clamp(45px, 5vw, 65px); letter-spacing: -.055em; line-height: .95; margin: 0 0 12px; }
.fo-feature-copy h3 { color: var(--fo-navy); font-size: 23px; line-height: 1.15; margin: 0 0 15px; }
.fo-feature-copy > p { color: var(--fo-muted); font-size: 16px; line-height: 1.6; margin: 0; }
.fo-check-list { display: grid; gap: 9px; margin: 24px 0 28px; padding: 0; list-style: none; }
.fo-check-list li { display: flex; align-items: center; gap: 10px; color: #315779; font-size: 15px; font-weight: 700; }
.fo-check-list li:before { content: "✓"; display: grid; place-items: center; width: 23px; height: 23px; color: #fff; background: var(--fo-blue); border-radius: 50%; font-size: 12px; }
.fo-feature-art { position: relative; z-index: 1; min-height: 335px; display: grid; place-items: center; }
.fo-feature-art img { width: min(620px, 100%); filter: drop-shadow(0 28px 26px rgba(8,55,99,.18)); }

.fo-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fo-service-card { position: relative; display: flex; flex-direction: column; justify-content: end; min-height: 236px; overflow: hidden; padding: 19px; border-radius: 20px; background: var(--fo-mist); color: var(--fo-navy); text-decoration: none; }
.fo-service-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,38,83,.85), rgba(5,38,83,.02) 70%); }
.fo-service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.fo-service-card:hover img { transform: scale(1.05); }
.fo-service-card span, .fo-service-card b { position: relative; z-index: 1; color: #fff; }
.fo-service-card span { font-size: 18px; font-weight: 900; line-height: 1.15; }
.fo-service-card b { margin-top: 11px; font-size: 22px; }

.fo-partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fo-partner-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 247px; overflow: hidden; padding: 20px; border: 1px solid var(--fo-line); border-radius: 20px; background: #fff; }
.fo-partner-card img { width: 100%; height: 174px; object-fit: contain; }
.fo-partner-card strong { color: var(--fo-navy); font-size: 17px; }

.fo-about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 76px; }
.fo-about-image { position: relative; overflow: hidden; min-height: 315px; border-radius: 26px; background: var(--fo-mist); }
.fo-about-image:before { content: ""; position: absolute; width: 250px; height: 250px; left: -80px; bottom: -140px; border-radius: 50%; background: var(--fo-sky); opacity: .2; }
.fo-about-image img { width: 100%; height: 100%; min-height: 315px; object-fit: cover; }
.fo-about-copy > p:not(.fo-kicker) { color: var(--fo-muted); font-size: 17px; line-height: 1.65; margin: 22px 0 21px; max-width: 500px; }

.fo-final-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, #062b5c, #07548f 66%, #0b99ca); color: #fff; }
.fo-final-cta:before { content: ""; position: absolute; width: 560px; height: 560px; top: -440px; right: -80px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255,255,255,.05), 0 0 0 92px rgba(255,255,255,.035); }
.fo-final-cta-inner { min-height: 266px; display: flex; align-items: center; justify-content: space-between; gap: 42px; padding: 50px 0; }
.fo-final-cta .fo-kicker { color: #c9f0ff; }
.fo-final-cta h2 { color: #fff; }
.fo-final-cta h2 span { color: #a8e9ff; }
.fo-final-cta p:not(.fo-kicker) { max-width: 550px; margin: 15px 0 0; font-size: 16px; line-height: 1.55; }
.fo-final-cta-small .fo-final-cta-inner { min-height: 210px; }

.fo-detail-page { background: #fff; }
.fo-detail-hero { position: relative; overflow: hidden; padding: 80px 0; background: radial-gradient(circle at 85% 30%, #d7f4ff 0, #edf9fd 32%, #fff 68%); }
.fo-detail-hero:after { content: ""; position: absolute; width: 500px; height: 500px; right: -240px; bottom: -300px; border-radius: 50%; background: rgba(21,174,231,.11); }
.fo-detail-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 58px; }
.fo-breadcrumb { color: var(--fo-muted); font-size: 13px; margin: 0 0 35px; }
.fo-breadcrumb a { color: var(--fo-blue); text-decoration: none; }
.fo-breadcrumb span { margin: 0 8px; }
.fo-detail-page h1 { color: var(--fo-navy); font-size: clamp(48px, 6vw, 76px); font-weight: 900; letter-spacing: -.055em; line-height: .95; margin: 0 0 16px; }
.fo-detail-page h2 { color: var(--fo-navy); font-size: clamp(25px, 3vw, 37px); font-weight: 900; letter-spacing: -.037em; line-height: 1.1; margin: 0 0 18px; }
.fo-detail-hero p:not(.fo-kicker):not(.fo-breadcrumb) { max-width: 610px; color: var(--fo-muted); font-size: 18px; line-height: 1.6; margin: 0 0 28px; }
.fo-detail-art { min-height: 370px; display: grid; place-items: center; }
.fo-detail-art img { max-width: 100%; max-height: 470px; object-fit: contain; filter: drop-shadow(0 24px 27px rgba(8,55,99,.15)); }
.fo-detail-hero-standard .fo-detail-art img { border-radius: 22px; }
.fo-detail-intro { max-width: 800px; text-align: center; }
.fo-detail-intro .fo-kicker { margin-bottom: 12px; }
.fo-detail-intro h2 { font-size: clamp(34px, 4vw, 53px); }
.fo-detail-intro p:not(.fo-kicker) { color: var(--fo-muted); font-size: 18px; line-height: 1.7; margin: 18px auto 0; max-width: 690px; }
.fo-hardware-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fo-hardware-grid article { overflow: hidden; border-radius: 20px; background: var(--fo-soft); border: 1px solid var(--fo-line); }
.fo-hardware-grid img { display: block; width: 100%; height: 195px; object-fit: cover; }
.fo-hardware-grid h2 { padding: 18px; font-size: 19px; margin: 0; }
.fo-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px; border-radius: 26px; background: var(--fo-soft); }
.fo-contact-panel h2 { font-size: clamp(32px, 4vw, 47px); }
.fo-contact-panel p:not(.fo-kicker) { color: var(--fo-muted); font-size: 17px; margin: 13px 0 0; }

.fo-footer { padding: 65px 0 22px; background: #051f47; color: #d7ecfc; }
.fo-footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 46px; }
.fo-footer-brand img { width: 204px; filter: brightness(0) invert(1); }
.fo-footer-brand p { max-width: 305px; color: #b8d3e8; font-size: 15px; line-height: 1.6; margin: 18px 0 0; }
.fo-footer h2 { margin: 7px 0 17px; color: #fff; font-size: 15px; font-weight: 900; }
.fo-footer ul { margin: 0; padding: 0; list-style: none; }
.fo-footer li + li { margin-top: 10px; }
.fo-footer a { color: #c5e8fb; font-size: 14px; text-decoration: none; }
.fo-footer a:hover { color: #fff; }
.fo-footer p { margin: 0; }
.fo-footer-button { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; padding: 10px 16px; border: 1px solid #75b9dd; border-radius: 999px; font-weight: 800; }
.fo-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 21px; border-top: 1px solid rgba(199,233,255,.2); color: #98b7d1; font-size: 13px; }
.fo-footer-bottom div { display: flex; gap: 18px; }
.fo-footer-bottom a { color: #98b7d1; font-size: 13px; }

@media (max-width: 1050px) {
	.fo-header-inner { gap: 18px; }
	.fo-brand img { width: 180px; }
	.fo-nav { gap: 18px; }
	.fo-nav a { font-size: 13px; }
	.fo-header-cta { padding: 0 15px; }
	.fo-product-grid { grid-template-columns: repeat(3, 1fr); }
	.fo-proof { padding: 0 15px; }
	.fo-feature-panel { padding: 50px 44px; }
}

@media (max-width: 820px) {
	.fo-container, .fo-hero-inner { width: min(100% - 34px, 680px); }
	.fo-header { position: relative; }
	.fo-header-inner { min-height: 70px; justify-content: space-between; }
	.fo-brand img { width: 174px; }
	.fo-header-cta { display: none; }
	.fo-menu-toggle { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; gap: 5px; border: 0; border-radius: 12px; background: #edf7fc; cursor: pointer; }
	.fo-menu-toggle span:not(.screen-reader-text) { display: block; width: 21px; height: 2px; border-radius: 99px; background: var(--fo-navy); }
	.fo-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; padding: 15px 17px 19px; border-top: 1px solid var(--fo-line); background: #fff; box-shadow: 0 16px 30px rgba(5,43,88,.12); }
	.fo-nav.is-open { display: flex; flex-direction: column; }
	.fo-nav a { padding: 10px 3px; font-size: 15px; }
	.fo-nav-contact-mobile { display: inline-flex !important; justify-content: center; margin-top: 6px; padding: 12px !important; border-radius: 999px; color: #fff !important; background: var(--fo-blue); }
	.fo-hero { min-height: 640px; align-items: start; }
	.fo-hero-backdrop { background-position: 62% center; opacity: .7; }
	.fo-hero:after { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.82) 58%, rgba(255,255,255,.45)); }
	.fo-hero-inner { padding: 72px 0 260px; }
	.fo-hero-copy { width: 100%; }
	.fo-hero h1 { font-size: clamp(43px, 10vw, 62px); }
	.fo-proof-grid { grid-template-columns: repeat(2, 1fr); gap: 0; padding: 7px 0; }
	.fo-proof { padding: 16px 0; border-right: 0; }
	.fo-proof:nth-child(odd) { border-right: 1px solid var(--fo-line); padding-right: 15px; }
	.fo-proof:nth-child(even) { padding-left: 15px; }
	.fo-section { padding: 68px 0; }
	.fo-section-heading-row { align-items: start; flex-direction: column; }
	.fo-product-grid { grid-template-columns: repeat(2, 1fr); }
	.fo-feature-panel, .fo-about, .fo-detail-hero-grid { grid-template-columns: 1fr; }
	.fo-feature-panel { gap: 15px; padding: 42px 30px 26px; }
	.fo-feature-art { min-height: 245px; }
	.fo-service-grid { grid-template-columns: repeat(2, 1fr); }
	.fo-partner-grid { grid-template-columns: repeat(3, 1fr); }
	.fo-partner-card { min-height: 190px; }
	.fo-partner-card img { height: 130px; }
	.fo-about { gap: 36px; }
	.fo-final-cta-inner { align-items: start; flex-direction: column; padding: 48px 0; }
	.fo-detail-hero { padding: 60px 0; }
	.fo-detail-art { min-height: 230px; }
	.fo-detail-art img { max-height: 330px; }
	.fo-hardware-grid { grid-template-columns: repeat(2, 1fr); }
	.fo-contact-panel { align-items: start; flex-direction: column; padding: 33px; }
	.fo-footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
	.fo-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
	.fo-container, .fo-hero-inner { width: calc(100% - 30px); }
	.fo-brand img { width: 160px; }
	.fo-kicker { font-size: 11px; }
	.fo-hero { min-height: 610px; }
	.fo-hero-inner { padding-top: 55px; padding-bottom: 230px; }
	.fo-hero h1 { font-size: 42px; }
	.fo-hero-lead { font-size: 16px; }
	.fo-actions { align-items: stretch; flex-direction: column; }
	.fo-button { width: 100%; }
	.fo-proof { font-size: 12px; gap: 9px; }
	.fo-proof-icon { width: 31px; height: 31px; flex-basis: 31px; font-size: 9px; }
	.fo-section { padding: 57px 0; }
	.fo-section-heading h2, .fo-about h2, .fo-final-cta h2 { font-size: 34px; }
	.fo-product-grid { grid-template-columns: 1fr; }
	.fo-product-image { height: 200px; }
	.fo-feature-panel { margin-inline: -1px; padding: 35px 22px 20px; border-radius: 23px; }
	.fo-feature-copy h2 { font-size: 48px; }
	.fo-feature-copy h3 { font-size: 21px; }
	.fo-service-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.fo-service-card { min-height: 190px; padding: 14px; border-radius: 16px; }
	.fo-service-card span { font-size: 15px; }
	.fo-partner-grid { grid-template-columns: 1fr; }
	.fo-partner-card { min-height: 205px; }
	.fo-partner-card img { height: 155px; }
	.fo-about-image, .fo-about-image img { min-height: 225px; }
	.fo-final-cta-inner { gap: 26px; }
	.fo-detail-page h1 { font-size: 48px; }
	.fo-detail-page h2 { font-size: 27px; }
	.fo-detail-hero p:not(.fo-kicker):not(.fo-breadcrumb), .fo-detail-intro p:not(.fo-kicker) { font-size: 16px; }
	.fo-hardware-grid { grid-template-columns: 1fr; }
	.fo-contact-panel { padding: 28px 23px; }
	.fo-footer { padding-top: 52px; }
	.fo-footer-grid { grid-template-columns: 1fr 1fr; gap: 31px 20px; }
	.fo-footer-brand { grid-column: 1 / -1; }
	.fo-footer-bottom { align-items: start; flex-direction: column; }
}
