.elementor-3417 .elementor-element.elementor-element-530c203f{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-3417 .elementor-element.elementor-element-4fd1d4c2{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3417 .elementor-element.elementor-element-4fd1d4c2:not(.elementor-motion-effects-element-type-background), .elementor-3417 .elementor-element.elementor-element-4fd1d4c2 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-secondary );}.elementor-3417 .elementor-element.elementor-element-11067ef3{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-3417 .elementor-element.elementor-element-390a2ac3{width:100%;max-width:100%;}.elementor-3417 .elementor-element.elementor-element-390a2ac3.elementor-element{--align-self:center;}.elementor-3417 .elementor-element.elementor-element-390a2ac3 img{width:100%;max-width:100%;}.elementor-3417 .elementor-element.elementor-element-24203a87{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:flex-start;--gap:10px 10px;--row-gap:10px;--column-gap:10px;--padding-top:0px;--padding-bottom:0px;--padding-left:40px;--padding-right:0px;}.elementor-widget-breadcrumbs{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-3417 .elementor-element.elementor-element-14ec4483{font-family:"Epilogue", Sans-serif;font-size:16px;font-weight:500;color:#FFFFFF;}.elementor-3417 .elementor-element.elementor-element-14ec4483 a{color:var( --e-global-color-accent );}.elementor-3417 .elementor-element.elementor-element-14ec4483 a:hover{color:#BDBDBD;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-3417 .elementor-element.elementor-element-40ad00ab{text-align:start;}.elementor-3417 .elementor-element.elementor-element-40ad00ab .elementor-heading-title{font-family:"Epilogue", Sans-serif;font-size:3em;font-weight:600;text-transform:none;font-style:normal;text-decoration:none;line-height:140%;letter-spacing:0px;color:#FFFFFF;}.elementor-widget-icon-box.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-primary );}.elementor-widget-icon-box.elementor-view-framed .elementor-icon, .elementor-widget-icon-box.elementor-view-default .elementor-icon{fill:var( --e-global-color-primary );color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-widget-icon-box .elementor-icon-box-title, .elementor-widget-icon-box .elementor-icon-box-title a{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-icon-box .elementor-icon-box-title{color:var( --e-global-color-primary );}.elementor-widget-icon-box:has(:hover) .elementor-icon-box-title,
					 .elementor-widget-icon-box:has(:focus) .elementor-icon-box-title{color:var( --e-global-color-primary );}.elementor-widget-icon-box .elementor-icon-box-description{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );color:var( --e-global-color-text );}.elementor-3417 .elementor-element.elementor-element-6c39c633 .elementor-icon-box-wrapper{align-items:start;gap:7px;}.elementor-3417 .elementor-element.elementor-element-6c39c633.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-accent );}.elementor-3417 .elementor-element.elementor-element-6c39c633.elementor-view-framed .elementor-icon, .elementor-3417 .elementor-element.elementor-element-6c39c633.elementor-view-default .elementor-icon{fill:var( --e-global-color-accent );color:var( --e-global-color-accent );border-color:var( --e-global-color-accent );}.elementor-3417 .elementor-element.elementor-element-6c39c633 .elementor-icon{font-size:20px;}.elementor-3417 .elementor-element.elementor-element-6c39c633 .elementor-icon-box-title, .elementor-3417 .elementor-element.elementor-element-6c39c633 .elementor-icon-box-title a{font-family:"Epilogue", Sans-serif;font-size:24px;font-weight:600;}.elementor-3417 .elementor-element.elementor-element-6c39c633 .elementor-icon-box-title{color:var( --e-global-color-accent );}.elementor-3417 .elementor-element.elementor-element-6c39c633 .elementor-icon-box-description{font-family:"Josefin Sans", Sans-serif;font-size:16px;font-weight:400;font-style:oblique;line-height:1.5em;color:#F2AA4C;}.elementor-3417 .elementor-element.elementor-element-c2824d1{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-3417 .elementor-element.elementor-element-a464c43{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3417 .elementor-element.elementor-element-a464c43.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-3417 .elementor-element.elementor-element-7537ccc{text-align:start;}.elementor-3417 .elementor-element.elementor-element-7537ccc .elementor-heading-title{font-family:"Epilogue", Sans-serif;font-size:3em;font-weight:600;text-transform:none;font-style:normal;text-decoration:none;line-height:140%;letter-spacing:0px;color:var( --e-global-color-text );}.elementor-3417 .elementor-element.elementor-element-f91b329{width:var( --container-widget-width, 88.445% );max-width:88.445%;--container-widget-width:88.445%;--container-widget-flex-grow:0;}.elementor-3417 .elementor-element.elementor-element-f91b329.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-3417 .elementor-element.elementor-element-f91b329 .elementor-icon-box-wrapper{text-align:start;}.elementor-3417 .elementor-element.elementor-element-f91b329 .elementor-icon-box-title, .elementor-3417 .elementor-element.elementor-element-f91b329 .elementor-icon-box-title a{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );}.elementor-3417 .elementor-element.elementor-element-f91b329 .elementor-icon-box-title{color:var( --e-global-color-571d8f9 );}.elementor-3417 .elementor-element.elementor-element-f91b329 .elementor-icon-box-description{font-family:"Josefin Sans", Sans-serif;font-size:16px;font-weight:400;font-style:oblique;line-height:1.5em;color:var( --e-global-color-571d8f9 );}.elementor-3417 .elementor-element.elementor-element-4a1e3d1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3417 .elementor-element.elementor-element-1b9e971{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3417 .elementor-element.elementor-element-1b9e971:not(.elementor-motion-effects-element-type-background), .elementor-3417 .elementor-element.elementor-element-1b9e971 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-text );}.elementor-3417 .elementor-element.elementor-element-51ad2b7 img{width:26%;}.elementor-3417 .elementor-element.elementor-element-723bb510{--display:flex;--padding-top:80px;--padding-bottom:0100px;--padding-left:0px;--padding-right:0px;}.elementor-3417 .elementor-element.elementor-element-3285e1ad{--display:flex;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-3417 .elementor-element.elementor-element-2eae94f{--display:flex;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-3417 .elementor-element.elementor-element-79816a73{--display:flex;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-3417 .elementor-element.elementor-element-2d8babf{--display:flex;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-3417 .elementor-element.elementor-element-5cec8ea7{--display:flex;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-3417 .elementor-element.elementor-element-fa46cea{padding:0px 0px 0px 20px;}.elementor-3417 .elementor-element.elementor-element-7152b7a0{--n-accordion-title-font-size:2em;--n-accordion-title-justify-content:space-between;--n-accordion-title-flex-grow:1;--n-accordion-title-icon-order:initial;--n-accordion-item-title-space-between:0px;--n-accordion-item-title-distance-from-content:6px;--n-accordion-title-hover-color:#5E6266;--n-accordion-title-active-color:var( --e-global-color-secondary );--n-accordion-icon-size:15px;}.elementor-3417 .elementor-element.elementor-element-7152b7a0 > .e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title{border-style:solid;border-width:0px 0px 1px 0px;}.elementor-3417 .elementor-element.elementor-element-7152b7a0 {--n-accordion-padding:30px 20px 30px 20px;}:where( .elementor-3417 .elementor-element.elementor-element-7152b7a0 > .e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title > .e-n-accordion-item-title-header ) > .e-n-accordion-item-title-text{font-family:"Epilogue", Sans-serif;font-weight:600;}:where( .elementor-3417 .elementor-element.elementor-element-7152b7a0 > .e-n-accordion > .e-n-accordion-item ) > .e-con{border-style:none;}.elementor-3417 .elementor-element.elementor-element-a47d157{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--overlay-opacity:1;--padding-top:40px;--padding-bottom:40px;--padding-left:0px;--padding-right:0px;}.elementor-3417 .elementor-element.elementor-element-a47d157:not(.elementor-motion-effects-element-type-background), .elementor-3417 .elementor-element.elementor-element-a47d157 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#3F3F3F;background-image:url("https://industrieluna.com/wp-content/uploads/2025/10/Banner_Stabilimento_850x425-1536x768.jpg");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-3417 .elementor-element.elementor-element-a47d157::before, .elementor-3417 .elementor-element.elementor-element-a47d157 > .elementor-background-video-container::before, .elementor-3417 .elementor-element.elementor-element-a47d157 > .e-con-inner > .elementor-background-video-container::before, .elementor-3417 .elementor-element.elementor-element-a47d157 > .elementor-background-slideshow::before, .elementor-3417 .elementor-element.elementor-element-a47d157 > .e-con-inner > .elementor-background-slideshow::before, .elementor-3417 .elementor-element.elementor-element-a47d157 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:transparent;--background-overlay:'';background-image:linear-gradient(90deg, #3F3F3F 25%, #3F3F3FAB 100%);}.elementor-3417 .elementor-element.elementor-element-bed272d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:10px 10px;--row-gap:10px;--column-gap:10px;border-style:solid;--border-style:solid;border-width:0px 0px 0px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:0px;--border-left-width:0px;border-color:var( --e-global-color-primary );--border-color:var( --e-global-color-primary );--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:0px;--padding-left:0px;--padding-right:22px;}.elementor-3417 .elementor-element.elementor-element-edd1675 .elementor-heading-title{font-family:"Epilogue", Sans-serif;font-size:24px;font-weight:600;color:#FFFFFF;}.elementor-3417 .elementor-element.elementor-element-70fa098{color:#FFFFFF;}.elementor-3417 .elementor-element.elementor-element-4767ac7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:30px;--padding-bottom:30px;--padding-left:30px;--padding-right:30px;}.elementor-3417 .elementor-element.elementor-element-4767ac7:not(.elementor-motion-effects-element-type-background), .elementor-3417 .elementor-element.elementor-element-4767ac7 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-3417 .elementor-element.elementor-element-b7835d4 .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-3417 .elementor-element.elementor-element-80ceef2{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-3417 .elementor-element.elementor-element-80ceef2.elementor-element{--flex-grow:0;--flex-shrink:0;}@media(max-width:1024px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-3417 .elementor-element.elementor-element-24203a87{--gap:16px 16px;--row-gap:16px;--column-gap:16px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-breadcrumbs{font-size:var( --e-global-typography-secondary-font-size );}.elementor-3417 .elementor-element.elementor-element-14ec4483{font-size:16px;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-3417 .elementor-element.elementor-element-40ad00ab .elementor-heading-title{font-size:2em;}.elementor-widget-icon-box .elementor-icon-box-title, .elementor-widget-icon-box .elementor-icon-box-title a{font-size:var( --e-global-typography-primary-font-size );}.elementor-widget-icon-box .elementor-icon-box-description{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-3417 .elementor-element.elementor-element-6c39c633 .elementor-icon-box-title, .elementor-3417 .elementor-element.elementor-element-6c39c633 .elementor-icon-box-title a{font-size:22px;}.elementor-3417 .elementor-element.elementor-element-7537ccc .elementor-heading-title{font-size:2em;}.elementor-3417 .elementor-element.elementor-element-f91b329 .elementor-icon-box-title, .elementor-3417 .elementor-element.elementor-element-f91b329 .elementor-icon-box-title a{font-size:var( --e-global-typography-primary-font-size );}.elementor-3417 .elementor-element.elementor-element-723bb510{--padding-top:50px;--padding-bottom:0px;--padding-left:15px;--padding-right:15px;}.elementor-3417 .elementor-element.elementor-element-a47d157{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--overlay-opacity:0.98;--padding-top:050px;--padding-bottom:30px;--padding-left:24px;--padding-right:24px;}.elementor-3417 .elementor-element.elementor-element-a47d157::before, .elementor-3417 .elementor-element.elementor-element-a47d157 > .elementor-background-video-container::before, .elementor-3417 .elementor-element.elementor-element-a47d157 > .e-con-inner > .elementor-background-video-container::before, .elementor-3417 .elementor-element.elementor-element-a47d157 > .elementor-background-slideshow::before, .elementor-3417 .elementor-element.elementor-element-a47d157 > .e-con-inner > .elementor-background-slideshow::before, .elementor-3417 .elementor-element.elementor-element-a47d157 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:transparent;background-image:linear-gradient(0deg, #3F3F3F 100%, #3F3F3FAB 0%);}.elementor-3417 .elementor-element.elementor-element-bed272d{border-width:0px 0px 0px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:0px;--border-left-width:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3417 .elementor-element.elementor-element-edd1675 .elementor-heading-title{font-size:22px;}.elementor-3417 .elementor-element.elementor-element-4767ac7{--margin-top:40px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}@media(max-width:767px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-3417 .elementor-element.elementor-element-24203a87{--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:10px;--padding-bottom:10px;--padding-left:0px;--padding-right:0px;}.elementor-widget-breadcrumbs{font-size:var( --e-global-typography-secondary-font-size );}.elementor-3417 .elementor-element.elementor-element-14ec4483{font-size:14px;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-3417 .elementor-element.elementor-element-40ad00ab{text-align:center;}.elementor-3417 .elementor-element.elementor-element-40ad00ab .elementor-heading-title{font-size:2em;}.elementor-widget-icon-box .elementor-icon-box-title, .elementor-widget-icon-box .elementor-icon-box-title a{font-size:var( --e-global-typography-primary-font-size );}.elementor-widget-icon-box .elementor-icon-box-description{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-3417 .elementor-element.elementor-element-6c39c633 .elementor-icon-box-title, .elementor-3417 .elementor-element.elementor-element-6c39c633 .elementor-icon-box-title a{font-size:18px;}.elementor-3417 .elementor-element.elementor-element-7537ccc{text-align:center;}.elementor-3417 .elementor-element.elementor-element-7537ccc .elementor-heading-title{font-size:2em;}.elementor-3417 .elementor-element.elementor-element-f91b329 .elementor-icon-box-title, .elementor-3417 .elementor-element.elementor-element-f91b329 .elementor-icon-box-title a{font-size:var( --e-global-typography-primary-font-size );}.elementor-3417 .elementor-element.elementor-element-723bb510{--padding-top:50px;--padding-bottom:50px;--padding-left:15px;--padding-right:015px;}.elementor-3417 .elementor-element.elementor-element-7152b7a0{--n-accordion-title-font-size:1.5em;}.elementor-3417 .elementor-element.elementor-element-a47d157{--overlay-opacity:0.94;--padding-top:10px;--padding-bottom:20px;--padding-left:10px;--padding-right:10px;}.elementor-3417 .elementor-element.elementor-element-bed272d{--padding-top:30px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3417 .elementor-element.elementor-element-edd1675{text-align:center;}.elementor-3417 .elementor-element.elementor-element-edd1675 .elementor-heading-title{font-size:18px;}.elementor-3417 .elementor-element.elementor-element-70fa098{text-align:center;}.elementor-3417 .elementor-element.elementor-element-4767ac7{--padding-top:30px;--padding-bottom:30px;--padding-left:15px;--padding-right:15px;}}@media(min-width:768px){.elementor-3417 .elementor-element.elementor-element-11067ef3{--width:60%;}.elementor-3417 .elementor-element.elementor-element-24203a87{--width:40%;}.elementor-3417 .elementor-element.elementor-element-a464c43{--width:68.739%;}.elementor-3417 .elementor-element.elementor-element-4a1e3d1{--width:66.6666%;}.elementor-3417 .elementor-element.elementor-element-723bb510{--content-width:1280px;}.elementor-3417 .elementor-element.elementor-element-a47d157{--content-width:1280px;}.elementor-3417 .elementor-element.elementor-element-bed272d{--width:49%;}.elementor-3417 .elementor-element.elementor-element-4767ac7{--width:50%;}}@media(max-width:1024px) and (min-width:768px){.elementor-3417 .elementor-element.elementor-element-a47d157{--content-width:100%;}.elementor-3417 .elementor-element.elementor-element-bed272d{--width:100%;}.elementor-3417 .elementor-element.elementor-element-4767ac7{--width:100%;}}/* Start custom CSS for shortcode, class: .elementor-element-80ceef2 *//* Campi base */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 5px;
}

.wpcf7 label {
    color: #2D3047;
    font-weight: 600;
}

.wpcf7 input[type="submit"] {
    width: 100% !important;
    background-color: #F2AA4C;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.wpcf7 input[type="submit"]:hover {
    background-color: #D68D2D;
}

.wpcf7 p {
    margin-bottom: 0;
    margin-top: 0;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 0;
}

.wpcf7 textarea {
    max-height: 100px;
    min-height: 100px;
    height: 100px;
    resize: vertical;
}

/* Grid 2 colonne */
.wpcf7 form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* 1 colonna */
.wpcf7 p:has([name="your-name"]),
.wpcf7 p:has([name="Provincia"]) {
    grid-column: span 1;
}

/* 2 colonne */
.wpcf7 p:has([name="your-email"]),
.wpcf7 p:has([name="Telefono"]),
.wpcf7 p:has([name="your-message"]),
.wpcf7 p:has(input[type="submit"]),
.wpcf7 p:has([data-name="text-721"]),
.wpcf7 p:has(.foto-heading) {
    grid-column: span 2;
}

/* =============================
   SEZIONE FOTO — 3 colonne
   ============================= */
.wpcf7 p:has([data-name="file-740"]) {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: start;
}

/* Label di ogni colonna foto */
.wpcf7 p:has([data-name="file-740"]) label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #2D3047;
}

/* Il wrap diventa il quadrato cliccabile */
.wpcf7 p:has([data-name="file-740"]) .wpcf7-form-control-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f5f5f5;
    overflow: hidden;
    cursor: pointer;
}

/* Icona "+" al centro */
.wpcf7 p:has([data-name="file-740"]) .wpcf7-form-control-wrap::before {
    content: '+';
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 38px;
    color: #ccc;
    pointer-events: none;
    line-height: 1;
}

/* Testo "Scegli file" sotto il + */
.wpcf7 p:has([data-name="file-740"]) .wpcf7-form-control-wrap::after {
    content: 'Scegli file';
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    color: #bbb;
    pointer-events: none;
    white-space: nowrap;
}

/* Input file invisibile e cliccabile su tutto il quadrato */
.wpcf7 p:has([data-name="file-740"]) input[type="file"] {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

/* Anteprima immagine iniettata via JS */
.wpcf7 p:has([data-name="file-740"]) .foto-preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

/* Nasconde + e testo quando c'è un'anteprima */
.wpcf7 p:has([data-name="file-740"]) .wpcf7-form-control-wrap.has-preview::before,
.wpcf7 p:has([data-name="file-740"]) .wpcf7-form-control-wrap.has-preview::after {
    display: none;
}
/*pulsante x per foto*/
.wpcf7-form-control-wrap .foto-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 10;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease;
}

.wpcf7-form-control-wrap .foto-remove-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/*RESPONSIVE*/
@media (max-width: 480px) {
    .wpcf7 form {
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }

    .wpcf7 p:has([name="your-name"]),
    .wpcf7 p:has([name="Provincia"]),
    .wpcf7 p:has([name="trasporto-1"]),
    .wpcf7 p:has([name="montaggio-1"]) {
        grid-column: span 3;
    }

    .wpcf7 p:has([name="trasporto-1"]) .wpcf7-radio,
    .wpcf7 p:has([name="montaggio-1"]) .wpcf7-radio {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    .wpcf7 p:has([name="your-email"]),
    .wpcf7 p:has([name="Telefono"]),
    .wpcf7 p:has([name="your-message"]),
    .wpcf7 p:has(input[type="submit"]),
    .wpcf7 p:has([data-name="text-721"]),
    .wpcf7 p:has(.foto-heading) {
        grid-column: span 6;
    }

    /* Foto: una per riga, larghezza piena */
    .wpcf7 p:has([data-name="file-740"]),
    .wpcf7 p:has([data-name="file-633"]),
    .wpcf7 p:has([data-name="file-652"]) {
        grid-column: span 6;
    }

    .wpcf7 p:has([data-name="file-740"]) label,
    .wpcf7 p:has([data-name="file-633"]) label,
    .wpcf7 p:has([data-name="file-652"]) label {
        font-size: 12px;
    }

    .wpcf7 p:has([data-name="file-740"]) .wpcf7-form-control-wrap::before,
    .wpcf7 p:has([data-name="file-633"]) .wpcf7-form-control-wrap::before,
    .wpcf7 p:has([data-name="file-652"]) .wpcf7-form-control-wrap::before {
        font-size: 20px;
        top: 38%;
    }

    .wpcf7 p:has([data-name="file-740"]) .wpcf7-form-control-wrap::after,
    .wpcf7 p:has([data-name="file-633"]) .wpcf7-form-control-wrap::after,
    .wpcf7 p:has([data-name="file-652"]) .wpcf7-form-control-wrap::after {
        font-size: 10px;
        top: 68%;
    }
}/* End custom CSS */