/* Final public-site layout corrections, November 2026. */
.header .logo { flex-shrink: 0; }
.header .logo__image { width: 250px; height: auto; max-width: none; }
.header__content { min-height: 76px; padding-block: 16px; }
html { scroll-padding-top: 100px; }
body { overflow-wrap: break-word; }
.hero.hero--split { min-height: 0; margin-top: 0; }
.hero__split { min-height: 0; max-width: 1280px; margin-inline: auto; align-items: center; gap: 40px; padding: 40px 24px; }
.hero--split .hero__content { padding: 32px 0; min-width: 0; }
.hero--split .hero__title { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.12; }
.hero--split .hero__subtitle { max-width: 34em; }
.hero__image-panel { height: clamp(320px, 32vw, 440px); border-radius: 16px; order: 0; }
.hero__image-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero--split .hero__actions { flex-wrap: wrap; gap: 12px; }
.section__header, .section-header { text-align: center; margin-inline: auto; }
.section__title, .section__subtitle, .page-hero__title, .page-hero__subtitle { text-align: center; margin-inline: auto; }
.section__subtitle, .page-hero__subtitle { max-width: 46rem; }
.page-hero { padding-block: 56px; }
.contact-info > .section__title, .contact-intro { text-align: center; margin-inline: auto; max-width: 48rem; }
.contact-details, .contact-layout, .contact-item__content { min-width: 0; }
.contact-item__content a { overflow-wrap: anywhere; }
.company-two-col__image img { height: 340px; }
.equipment-item__image img { object-fit: contain; }
.footer { background: #101820; color: #d6dee7; }
.footer__content { align-items: center; text-align: center; flex-direction: column; gap: 12px; }
.footer__company-name, .footer__title, .footer__company-info strong { color: #f1f5f9; }
.footer__company-info { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 12px; color: #d6dee7; }
.footer__company-info a, .footer__legal-links a { color: #d6dee7; }
.footer .footer__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; color: #d6dee7; }
.footer .footer__contact a, .footer .footer__contact strong { color: #d6dee7; }
.footer__bottom { flex-wrap: wrap; justify-content: center; gap: 20px 32px; border-top-color: #334155; }
.footer__legal { flex: 1 1 100%; flex-direction: column; text-align: center; gap: 12px; }
.footer__legal p { color: #cbd5e1; }
.footer__legal-links { flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.footer__theme-toggle { margin: 0; }
.theme-toggle__label { color: #cbd5e1; font-size: .875rem; }
.theme-toggle.theme-toggle--footer { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: auto; height: 44px; padding: 0 15px; background: #1e293b; color: #f8fafc; border: 1px solid #526174; border-radius: 999px; box-shadow: none; cursor: pointer; font: inherit; font-size: .875rem; line-height: 1; transition: background .15s, border-color .15s; }
.theme-toggle.theme-toggle--footer:hover { background: #334155; border-color: #94a3b8; transform: none; }
.theme-toggle.theme-toggle--footer:focus-visible { outline: 3px solid #55d994; outline-offset: 4px; }
.theme-toggle .theme-icon { display: block; width: 19px; height: 19px; position: static; opacity: 1; transform: none; color: currentColor; }
#theme-toggle .theme-icon { opacity: 1; flex-shrink: 0; }
.theme-toggle .theme-icon--sun { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon--sun { display: block; }
[data-theme="dark"] .theme-toggle .theme-icon--moon { display: none; }
.theme-toggle__caption::after { content: "Tema scuro"; }
[data-theme="dark"] .theme-toggle__caption::after { content: "Tema chiaro"; }
.cookie-banner { background: #15222d; color: #f1f5f9; }
.cookie-banner a { color: #e2e8f0; }
.cookie-banner:not(.show) { visibility: hidden; pointer-events: none; }
.cookie-banner.show { visibility: visible; }
.service-modal[aria-hidden="true"] { display: none; }
.header { transition: none; }
.header__overlay { z-index: 1; background-color: rgba(9,30,20,.34); }
.header .nav--mobile { z-index: 2; max-height: calc(100dvh - 76px); overflow-y: auto; }
.header .menu-toggle, .header .logo, .header .btn--header { position: relative; z-index: 3; }
.services-grid .service-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.services-grid .service-card:hover, .services-grid .service-card:focus-visible { transform: translateY(-4px); border-color: #009245; box-shadow: 0 12px 32px rgba(0,146,69,.18); }
[data-theme="dark"] .services-grid .service-card:hover, [data-theme="dark"] .services-grid .service-card:focus-visible { border-color: #00bf63; box-shadow: 0 12px 32px rgba(0,191,99,.22); }
.services-grid .service-card__image img { transition: transform .4s ease; }
.services-grid .service-card:hover .service-card__image img { transform: scale(1.05); }
@media (max-width: 1023px) {
 .hero__split { grid-template-columns: 1fr; gap: 0; padding: 24px; }
 .hero__image-panel { height: clamp(220px, 36vw, 320px); order: 0; width: 100%; }
 .hero--split .hero__content { padding: 12px 0 28px; text-align: center; align-items: center; }
 .hero--split .hero__actions { justify-content: center; }
 .company-two-col__text { text-align: center; }
 .company-two-col__image img { height: clamp(240px, 45vw, 340px); }
}
@media (max-width: 600px) {
 .container { padding-inline: 20px; }
 .hero__split { padding: 20px; }
 .hero--split .hero__title { font-size: 2rem; }
 .hero--split .hero__subtitle { font-size: 1rem; margin-bottom: 24px; }
 .hero--split .hero__actions { width: 100%; }
 .hero--split .hero__actions .btn { flex: 1 1 auto; padding: 12px 16px; }
 .stats-strip { padding-block: 24px; }
 .stats-strip__list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
 .stats-strip__item { padding: 20px 6px; border-radius: 10px; }
 .stats-strip__number { font-size: 1.4rem; }
 .stats-strip__label { font-size: .75rem; }
 .contact-details { grid-template-columns: minmax(0,1fr); }
 .section__title { font-size: 1.8rem; }
 .page-hero { padding: 36px 0; }
 .company-intro--two-col, .services, .why-us { padding-block: 44px; }
 .footer__company-info { flex-direction: column; align-items: center; gap: 8px; }
 .footer .footer__contact { flex-direction: column; align-items: center; gap: 8px; font-size: .875rem; }
 .footer__company-info > span:empty { display: none; }
 .footer__legal-links { gap: 12px 18px; }
 .theme-toggle__label { display: none; }
 .cookie-banner__content { flex-direction: row; gap: 12px; text-align: left; font-size: .8rem; }
 .cookie-banner__content .btn { flex-shrink: 0; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { html {scroll-behavior: auto;} }

/* Home introduction without a repeated photograph. */
.company-intro--text-only { padding-block: clamp(40px, 6vw, 72px); }
.company-intro--text-only .company-two-col { display: block; max-width: 760px; margin-inline: auto; }
.company-intro--text-only .company-two-col__heading { text-align: center; }
.company-intro--text-only .company-two-col__cta { text-align: center; }

/* Unified photographic introduction. */
.hero.hero--split { background: transparent; padding: 28px 24px 36px; }
.hero__split { max-width: 1232px; padding: 0; gap: 0; background: #eef5f0; border: 1px solid #dce9df; border-radius: 24px; overflow: hidden; box-shadow: 0 14px 40px rgba(17,58,39,.05); }
.hero--split .hero__content { padding: 48px; position: relative; }
.hero--split .hero__title { font-size: clamp(2rem,3.4vw,3.15rem); color: #173a2b; }
.hero--split .hero__subtitle { color: #52685a; }
.hero__image-panel { height: 100%; min-height: 440px; border-radius: 0; }
.hero__image-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(21,59,40,.05),transparent 50%); pointer-events: none; }
[data-theme="dark"] .hero__split { background: #172c24; border-color: #2b4337; box-shadow: none; }
[data-theme="dark"] .hero--split .hero__title { color: #f0f6f2; }
[data-theme="dark"] .hero--split .hero__subtitle { color: #baccc0; }

/* Restrained forest-green footer, shared by both themes. */
.footer { background: #102b22; color: #c7d8ce; padding: 48px 0 28px; }
.footer__content { display: grid; grid-template-columns: minmax(200px,1fr) minmax(0,2fr); align-items: start; gap: 32px; text-align: left; margin-bottom: 32px; }
.footer .logo__text { color: #edf5ee; font-size: 1.3rem; font-weight: 700; line-height: 1.35; }
.footer .footer__contact { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 28px; justify-content: start; color: #c7d8ce; font-size: .9rem; line-height: 1.7; }
.footer .footer__contact span:first-child, .footer .footer__contact span:last-child { grid-column: 1 / -1; }
.footer .footer__contact a { color: #e2eee5; }
.footer .footer__contact strong { color: #91b49d; font-weight: 500; }
.footer__bottom { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; border-color: #355044; padding-top: 24px; }
.footer__legal { align-items: flex-start; text-align: left; gap: 10px; }
.footer__legal p, .footer__legal-links a { color: #b2c7b9; font-size: .8rem; }
.footer__legal-links { justify-content: flex-start; gap: 20px; }
.footer__legal-links a:hover { color: #fff; }
.theme-toggle__label { display: none; }
.theme-toggle.theme-toggle--footer { background: #203d30; border-color: #4b6958; color: #e4f0e8; }
.theme-toggle.theme-toggle--footer:hover { background: #2d4b3b; border-color: #86aa92; }

/* Compact privacy notice. */
.cookie-banner { left: auto; right: 24px; bottom: 24px; width: min(480px,calc(100% - 48px)); padding: 22px; border-radius: 18px; background: #fff; border: 1px solid #dce8df; color: #3c5144; box-shadow: 0 12px 48px rgba(13,44,27,.18); transform: translateY(calc(100% + 48px)); }
.cookie-banner__content { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 18px; text-align: left; align-items: center; }
.cookie-banner__title { margin: 0; font-size: .95rem; color: #173a2b; font-weight: 700; grid-column: 1; }
.cookie-banner__content p { grid-column: 1; font-size: .8rem; line-height: 1.65; }
.cookie-banner a { color: #237345; text-underline-offset: 3px; }
.cookie-banner__content .btn { grid-column: 2; grid-row: 1 / 3; background: #edf5ef; color: #1a6339; border: 1px solid #cee0d3; border-radius: 10px; padding: 12px 14px; font-size: .8rem; }
.cookie-banner__content .btn:hover { background: #dceee1; }
[data-theme="dark"] .cookie-banner { background: #193329; border-color: #3e5b49; color: #c4d5ca; }
[data-theme="dark"] .cookie-banner__title { color: #edf5ee; }
[data-theme="dark"] .cookie-banner a { color: #91d6a7; }
[data-theme="dark"] .cookie-banner__content .btn { background: #2c4b38; border-color: #52785d; color: #e4f5e8; }
@media (max-width:1023px) {
 .hero.hero--split { padding: 24px 20px; }
 .hero--split .hero__content { padding: 36px 28px; }
 .hero__image-panel { min-height: 0; height: 300px; }
}
@media (max-width:600px) {
 .hero.hero--split { padding: 16px 16px 24px; }
 .hero__split { border-radius: 18px; }
 .hero--split .hero__content { padding: 30px 20px; }
 .hero__image-panel { height: 230px; }
 .footer { padding-top: 36px; }
 .footer__content { grid-template-columns: 1fr; text-align: center; gap: 20px; }
 .footer .footer__contact { display: flex; flex-direction: column; text-align: center; gap: 10px; }
 .footer__bottom { grid-template-columns: 1fr; justify-items: center; gap: 20px; }
 .footer__legal { align-items: center; text-align: center; }
 .footer__legal-links { justify-content: center; gap: 16px; }
 .cookie-banner { bottom: 12px; right: 12px; width: calc(100% - 24px); padding: 16px; border-radius: 14px; }
 .cookie-banner__content { gap: 6px 12px; }
 .cookie-banner__content .btn { padding: 10px 12px; }
}

/* Compact brand header and footer. */
.footer { padding-block: 30px 22px; }
.footer__content { margin-bottom: 20px; gap: 24px; }
.footer__bottom { padding-top: 18px; gap: 18px; }
.footer .footer__contact { gap: 6px 24px; line-height: 1.5; }
.footer__legal { gap: 8px; }
@media(max-width:1023px) {
 .header .logo__image { width: 220px; }
}
@media(max-width:600px) {
 .header__content { gap: 10px; min-height: 68px; padding-block: 14px; }
 .header .logo__image { width: clamp(120px,40vw,180px); }
 .header__nav-wrapper { gap: 10px; min-width: 0; }
 .header .menu-toggle { flex-shrink: 0; width: 26px; }
 .header .btn--header { padding: 10px 12px; font-size: .8rem; white-space: nowrap; }
 .footer { padding-block: 24px 18px; }
 .footer__content { gap: 12px; margin-bottom: 16px; }
 .footer .logo__text { font-size: 1.1rem; }
 .footer .footer__contact { gap: 5px; font-size: .8rem; line-height: 1.5; }
 .footer__bottom { gap: 14px; padding-top: 16px; }
 .footer__legal p, .footer__legal-links a { font-size: .75rem; }
 .footer__legal p { margin: 0; }
 .features__grid { grid-template-columns: minmax(0,1fr); }
 .feature { min-width: 0; }
}
