﻿/* HERO INTERNA */

.internal-hero {
 position: relative;
 min-height: 360px;
 display: flex;
 align-items: center;
 background-size: cover;
 background-position: center center;
 border-bottom: 1px solid var(--line);
}

 .internal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( 90deg, rgba(250,250,248,.88) 0%, rgba(250,250,248,.68) 22%, rgba(250,250,248,.28) 46%, rgba(250,250,248,.06) 72%, rgba(250,250,248,0) 100% );
  z-index: 1;
 }

.internal-hero-content {
 position: relative;
 z-index: 2;
 padding: 72px 70px;
 max-width: 920px;
}

.internal-eyebrow,
.section-kicker {
 display: inline-block;
 color: var(--red);
 font-size: 13px;
 font-weight: bold;
 letter-spacing: .15em;
 text-transform: uppercase;
 margin-bottom: 16px;
}

.internal-hero h1 {
 margin: 0 0 20px;
 font-size: 54px;
 line-height: 1.05;
 color: #202020;
}

.internal-hero p {
 margin: 0;
 max-width: 760px;
 font-size: 20px;
 line-height: 1.65;
 color: #3e3e3e;
}

/* INTRO PIÙ UMANA */

.internal-intro-section {
 display: grid;
 grid-template-columns: minmax(0, 1fr) 330px;
 gap: 52px;
 padding: 70px;
 background: linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
}

.intro-text {
 max-width: 850px;
}

 .intro-text h2,
 .works-heading h2,
 .internal-cta-soft h2 {
  margin: 0 0 20px;
  font-size: 34px;
  line-height: 1.15;
  color: #202020;
 }

 .intro-text p,
 .works-heading p,
 .internal-cta-soft p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.75;
  color: #4f4f4f;
 }

.intro-panel {
 background: #f0f0eb;
 border-left: 4px solid var(--red);
 padding: 30px;
 align-self: start;
 box-shadow: 0 16px 34px rgba(40,40,40,.07);
}

 .intro-panel h3 {
  margin: 0 0 18px;
  font-size: 22px;
  color: #202020;
 }

 .intro-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
 }

 .intro-panel li {
  position: relative;
  padding: 9px 0 9px 22px;
  color: #444;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(0,0,0,.07);
 }

  .intro-panel li:last-child {
   border-bottom: 0;
  }

  .intro-panel li::before {
   content: "";
   position: absolute;
   left: 0;
   top: 17px;
   width: 8px;
   height: 8px;
   background: var(--red);
   border-radius: 50%;
  }

/* GALLERY LAVORAZIONI */

.works-section {
 padding: 64px 70px 76px;
 background: #f2f2ee;
 border-top: 1px solid var(--line);
}

.works-heading {
 max-width: 850px;
 margin-bottom: 40px;
}

.works-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}

.work-card {
 background: #fff;
 border: 1px solid rgba(0,0,0,.08);
 box-shadow: 0 14px 32px rgba(40,40,40,.08);
 transition: transform .22s ease, box-shadow .22s ease;
 overflow: hidden;
}

 .work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(40,40,40,.13);
 }

.work-image-link {
 display: block;
 background: #e8e8e3;
 overflow: hidden;
}

.work-image {
 display: block;
 width: 100%;
 aspect-ratio: 4 / 3;
 object-fit: cover;
 transition: transform .45s ease;
}

.work-card:hover .work-image {
 transform: scale(1.045);
}

.work-caption {
 padding: 18px 20px 20px;
 min-height: 82px;
 font-size: 15px;
 line-height: 1.5;
 color: #333;
 background: #fff;
}

 .work-caption::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  background: var(--red);
  margin-bottom: 13px;
 }

/* CTA FINALE PIÙ CALDA */

.internal-cta-soft {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 38px;
 padding: 54px 70px;
 background: linear-gradient(90deg, #ffffff 0%, #eeeeea 100%);
 border-top: 1px solid var(--line);
}

 .internal-cta-soft > div {
  max-width: 780px;
 }

 .internal-cta-soft p {
  margin-bottom: 0;
 }

/* RESPONSIVE */

@media (max-width: 1200px) {
 .internal-intro-section {
  grid-template-columns: 1fr;
 }

 .works-grid {
  grid-template-columns: repeat(2, 1fr);
 }

 .intro-panel {
  max-width: 520px;
 }
}

@media (max-width: 850px) {
 .internal-hero-content,
 .internal-intro-section,
 .works-section,
 .internal-cta-soft {
  padding-left: 24px;
  padding-right: 24px;
 }

 .internal-hero h1 {
  font-size: 42px;
 }

 .internal-hero p {
  font-size: 18px;
 }

 .intro-text h2,
 .works-heading h2,
 .internal-cta-soft h2 {
  font-size: 28px;
 }

 .works-grid {
  grid-template-columns: 1fr;
 }

 .internal-cta-soft {
  flex-direction: column;
  align-items: flex-start;
 }
}


.work-image-link {
 position: relative;
}

 .work-image-link::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,.68);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: all .22s ease;
 }

.work-card:hover .work-image-link::after {
 opacity: 1;
 transform: translateY(0);
}

/* VIDEO */

.video-section {
 padding: 64px 70px;
 background: #ffffff;
 border-top: 1px solid var(--line);
}

.video-responsive {
 position: relative;
 overflow: hidden;
 width: 100%;
 padding-top: 56.25%;
 background: #ddd;
 box-shadow: 0 18px 42px rgba(40,40,40,.10);
}

 .video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
 }

.videos-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 28px;
}

/* DOCUMENTI / COLLABORAZIONI */

.documents-section {
 padding: 70px;
 background: linear-gradient(180deg, #fafaf8 0%, #f1f1ed 100%);
 border-top: 1px solid var(--line);
}

.documents-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 34px;
}

.documents-box {
 background: #ffffff;
 padding: 34px;
 border: 1px solid rgba(0,0,0,.08);
 box-shadow: 0 16px 36px rgba(40,40,40,.08);
}

 .documents-box h2 {
  margin: 0 0 18px;
  font-size: 30px;
  color: #202020;
 }

 .documents-box p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
 }

.partner-logo {
 display: block;
 max-width: 240px;
 width: 100%;
 height: auto;
 margin: 26px 0;
}

.docs-list {
 list-style: none;
 padding: 0;
 margin: 0;
}

 .docs-list li {
  margin-bottom: 12px;
 }

 .docs-list a,
 .doc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: all .2s ease;
 }

  .docs-list a::before,
  .doc-link::before {
   content: "↗";
   font-size: 15px;
  }

  .docs-list a:hover,
  .doc-link:hover {
   color: var(--red-dark);
   transform: translateX(2px);
  }

/* RESPONSIVE EXTRA */

@media (max-width: 1200px) {

 .videos-grid {
  grid-template-columns: 1fr;
 }

 .documents-grid {
  grid-template-columns: 1fr;
 }
}

@media (max-width: 850px) {

 .video-section,
 .documents-section {
  padding-left: 24px;
  padding-right: 24px;
 }

 .documents-box {
  padding: 26px;
 }
}

/*simple page*/

.simple-page {
 padding: 70px;
 background: #ffffff;
}

.simple-page-header {
 max-width: 860px;
 margin-bottom: 38px;
}

 .simple-page-header h1 {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.1;
  color: #202020;
 }

 .simple-page-header p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #555;
 }

.documents-box-full {
 max-width: 900px;
}

@media (max-width: 850px) {
 .simple-page {
  padding-left: 24px;
  padding-right: 24px;
 }

 .simple-page-header h1 {
  font-size: 36px;
 }
}


/*chi siamo*/

.company-cert-section {
 display: grid;
 grid-template-columns: 1fr 300px;
 gap: 44px;
 align-items: center;
 padding: 64px 70px;
 background: #ffffff;
 border-top: 1px solid var(--line);
}

.company-cert-text h2 {
 margin: 0 0 18px;
 font-size: 32px;
 color: #202020;
}

.company-cert-text p {
 margin: 0;
 font-size: 17px;
 line-height: 1.7;
 color: #555;
}

.company-cert-image {
 background: #f7f7f4;
 border: 1px solid var(--line);
 padding: 22px;
 text-align: center;
}

 .company-cert-image img {
  max-width: 100%;
  height: auto;
  display: block;
 }

.company-images-section {
 padding: 64px 70px 76px;
 background: #f2f2ee;
 border-top: 1px solid var(--line);
}

.company-images-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 30px;
}

 .company-images-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 14px 32px rgba(40,40,40,.08);
  overflow: hidden;
 }

 .company-images-grid img {
  display: block;
  width: 100%;
  height: auto;
 }

@media (max-width: 1000px) {
 .company-cert-section,
 .company-images-grid {
  grid-template-columns: 1fr;
 }
}

@media (max-width: 850px) {
 .company-cert-section,
 .company-images-section {
  padding-left: 24px;
  padding-right: 24px;
 }
}

/*Contatti*/

.contacts-layout {
 display: grid;
 grid-template-columns: 1.5fr .8fr;
 gap: 42px;
 padding: 70px;
 background: #ffffff;
}

.contacts-main h2 {
 margin: 0 0 18px;
 font-size: 38px;
 color: #202020;
}

.contacts-main > p {
 margin: 0 0 34px;
 font-size: 18px;
 line-height: 1.7;
 color: #555;
}

.contact-card-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 24px;
}

.contact-card,
.contacts-side-box {
 background: #f7f7f4;
 border: 1px solid rgba(0,0,0,.08);
 padding: 28px;
}

 .contact-card h3,
 .contacts-side-box h3 {
  margin: 0 0 16px;
  font-size: 22px;
  color: #202020;
 }

 .contact-card p,
 .contacts-side-box p {
  margin: 0 0 12px;
  line-height: 1.7;
  color: #555;
 }

 .contact-card a,
 .contacts-side-box a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
 }

.contacts-side {
 display: flex;
 flex-direction: column;
 gap: 24px;
}

.contact-sectors {
 margin: 18px 0 0;
 padding-left: 18px;
}

 .contact-sectors li {
  margin-bottom: 10px;
  color: #555;
 }

.map-section {
 padding: 0 70px 80px;
 background: #ffffff;
}

.map-wrapper {
 overflow: hidden;
 border: 1px solid rgba(0,0,0,.08);
 min-height: 420px;
}

 .map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
 }

@media (max-width: 1100px) {

 .contacts-layout {
  grid-template-columns: 1fr;
 }

 .contact-card-grid {
  grid-template-columns: 1fr;
 }
}

@media (max-width: 850px) {

 .contacts-layout,
 .map-section {
  padding-left: 24px;
  padding-right: 24px;
 }

 .contacts-main h2 {
  font-size: 32px;
 }
}

/*privacy*/

.privacy-docs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 920px;
    margin-bottom: 36px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.08);
    padding: 26px 30px;
}

.privacy-docs a {
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
}

.privacy-docs a:hover {
    text-decoration: underline;
}

.privacy-text {
    max-width: 980px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.08);
    padding: 42px;
}

.privacy-text h2 {
    margin: 38px 0 16px;
    color: var(--red);
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.privacy-text h2:first-child {
    margin-top: 0;
}

.privacy-text p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.privacy-text a {
    color: var(--red);
    word-break: break-word;
}

.privacy-docs {
 display: flex;
 flex-direction: column;
 gap: 12px;
 max-width: 920px;
 margin-bottom: 36px;
 background: #ffffff;
 border: 1px solid rgba(0,0,0,.08);
 padding: 26px 30px;
}

 .privacy-docs a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
 }

  .privacy-docs a:hover {
   text-decoration: underline;
  }

.privacy-text {
 max-width: 980px;
 background: #ffffff;
 border: 1px solid rgba(0,0,0,.08);
 padding: 42px;
}

 .privacy-text h2 {
  margin: 38px 0 16px;
  color: var(--red);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .04em;
 }

  .privacy-text h2:first-child {
   margin-top: 0;
  }

 .privacy-text p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
 }

 .privacy-text a {
  color: var(--red);
  word-break: break-word;
 }


 /*parco macchine*/

.machine-section {
 padding: 64px 70px;
 background: #ffffff;
 border-top: 1px solid var(--line);
}

.machine-heading {
 max-width: 900px;
 margin-bottom: 34px;
}

 .machine-heading h2 {
  margin: 0 0 16px;
  font-size: 34px;
  color: #202020;
 }

 .machine-heading p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.7;
  color: #555;
 }

.machine-link {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 color: var(--primary);
 font-weight: 700;
 text-decoration: none;
}

 .machine-link:hover {
  text-decoration: underline;
 }

.machine-links-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 24px;
 padding: 0 70px 70px;
 background: #ffffff;
}

.machine-mini-card {
 display: block;
 background: #f7f7f4;
 border: 1px solid rgba(0,0,0,.08);
 padding: 30px;
 text-decoration: none;
 transition: .25s ease;
}

 .machine-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
 }

 .machine-mini-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  color: #202020;
 }

 .machine-mini-card span {
  color: var(--primary);
  font-weight: 600;
 }

@media (max-width: 1000px) {

 .machine-links-grid {
  grid-template-columns: 1fr;
 }
}

@media (max-width: 850px) {

 .machine-section,
 .machine-links-grid {
  padding-left: 24px;
  padding-right: 24px;
 }

 .machine-heading h2 {
  font-size: 30px;
 }
}

/*macchine*/
.machine-specs-section {
 padding: 70px;
 background: #f7f7f4;
 border-top: 1px solid var(--line);
}

.machine-specs-header {
 max-width: 900px;
 margin-bottom: 34px;
}

 .machine-specs-header h2 {
  margin: 10px 0 0;
  font-size: 38px;
  color: #202020;
 }

.machine-specs-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 22px;
}

.machine-spec-card {
 background: #ffffff;
 border: 1px solid rgba(0,0,0,.08);
 padding: 28px;
}

 .machine-spec-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  font-weight: 700;
 }

 .machine-spec-card strong {
  font-size: 28px;
  line-height: 1.3;
  color: #202020;
 }

@media (max-width: 1100px) {

 .machine-specs-grid {
  grid-template-columns: repeat(2, 1fr);
 }
}

@media (max-width: 700px) {

 .machine-specs-section {
  padding: 50px 24px;
 }

 .machine-specs-grid {
  grid-template-columns: 1fr;
 }

 .machine-specs-header h2 {
  font-size: 30px;
 }
}


.works-gallery-section {
 padding: 64px 70px 76px;
 background: #f2f2ee;
 border-top: 1px solid var(--line);
}

 .works-gallery-section .section-heading {
  max-width: 900px;
  margin-bottom: 34px;
 }

@media (max-width: 850px) {
 .works-gallery-section {
  padding-left: 24px;
  padding-right: 24px;
 }
}