@charset "UTF-8";
/*
Theme Name: Square_theme v 0.1
Theme URI:
Author: Square Marketing
Author URI:
Description: Starter Theme with Font Awesome and Bootstrap 5
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: sq

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* General
-------------------------------------------------------- */

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #f5f9fd;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-family: "museo-sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.main-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}



main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  overflow-x: hidden !important;
}

.main-loaded {
  opacity: 1;
}


:root {
  --blue: #4e4f50;
  --dark-blue: #000;
  --light-gray: #f5f9fd;
  --light-blue: #fff;
  --acqua: #009aa3;
  --white: #fff;
}

@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: none;
  }
}


/* Colori
-------------------------------------------------------- */
a {
  color: var(--dark-blueblue);
  text-decoration: none;
}

a.nav-link:hover:not(a.navbar-brand),
a:hover:not(.btn.btn-primary) {
  color: var(--light-blue);
}


.color-primary {
  color: var(--dark-blue) !important;
}

.color-secondary {
  color: var(--light-blue) !important;
}

.color-light-blue {
  color: var(--light-blue);
}




.bg-primary {
  background: var(--dark-blue) !important;
}

.bg-secondary {
  background: var(--light-blue) !important;
}

.bg-blue {
  background-color: var(--blue);
}


/* Typography
-------------------------------------------------------- */


h1 {
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

@media (min-width: 1200px) {
  h2 {
    font-size: 3rem;
  }
}

@media (max-width: 1199px) {
  h2 {
    font-size: 35px;
  }
}

body,
p,
li {
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 18px;
  color: var(--dark-blue);
  font-weight: 400;
}

.text-white p {
  color: #fff;
}

/* Helpers
-------------------------------------------------------- */
@media (min-width: 768px) {

  .py-custom {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .pt-custom {
    padding-top: 100px;
  }
}

@media (max-width: 767px) {
  .py-custom {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  body,
  p,
  li {
    font-size: 20px;
  }

  .pt-custom {
    padding-top: 50px;
  }
}


/* Animazioni
-------------------------------------------------------- */
.fade-in,
.nascosto {
  opacity: 0;
}

.fade-in.show,
.visibile {
  opacity: 1 !important;
  transition: opacity 1s ease-in;
}

/* Buttons
-------------------------------------------------------- */

.btn.btn-primary,
.btn.btn-secondary {
  padding: 12px 25px;
  font-size: 15px;
  letter-spacing: 0.5px;
  font-weight: 500;
  border-radius: 50px;

  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;

  &.btn-sm {
    padding: 8px 20px;
    font-size: 16px;
  }
}

.btn.btn-primary::before,
.btn.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-in-out;
  z-index: -1;
}

.btn.btn-primary:hover::before,
.btn.btn-secondary:hover::before {
  transform: scaleX(1);
}

.btn.btn-primary {
  background: var(--dark-blue) !important;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn.btn-primary::before {
  background-color: var(--light-blue);
}

.btn.btn-primary:hover {
  color: var(--dark-blue) !important;
}

.btn.btn-secondary {
  background: var(--light-blue) !important;
  color: var(--dark-blue);
  border: 1px solid var(--dark-blue);
}

.btn.btn-secondary::before {
  background-color: var(--white);
}

.btn.btn-secondary:hover {
  color: var(--dark-blue) !important;
}


/* Header

-------------------------------------------------------- */

.navbar {
  -webkit-transition-duration: 0.6s;
  transition-duration: 0.6s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}

.navbar .nav-link,
.navbar .nav-link.show {
  color: var(--white);

  &.active {
    color: var(--white);
  }
}

.navbar-nav .dropdown-item {
  color: var(--dark-blue);
  font-size: 18px;
  line-height: 1.6;
  min-width: 200px;
  transition: ease 0.4s;

  &.active {
    color: var(--dark-blue) !important;
    background: transparent;
  }

  &:hover {
    background-color: var(--dark-blue);
    color: var(--white) !important;
  }
}

.navbar-transparent.is-scrolled .navbar {
  background: var(--dark-blue);
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);

  & .nav-link {
    color: var(--light-gray);
  }
}

.navbar:has(.navbar-collapse.show, .navbar-collapse.collapsing) {
  background: var(--dark-blue) !important;
}



.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-brand img {
  max-width: 230px;
  padding: 5px 0px;
}

@media (max-width: 1199px) {
  .navbar-brand img {
    max-width: 160px;
  }

  #menu-menu-principale {
    padding-top: 50px;
  }

  .navbar-toggler {
    border: none;
    padding: 0;
  }

  .navbar-toggler-icon {
    font-size: 25px;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }

  /* Permette lo scroll del menu mobile quando i dropdown sono aperti */
  .navbar-collapse {
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
  }

  body:has(.dropdown-menu.show)>.modal-overlay,
  body:has(.navbar-collapse.collapsing, .navbar-collapse.collapse.show)>.modal-overlay {
    display: block !important;
  }

  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    display: none;
  }

  .dropdown-menu.show {
    border: none;
    background: var(--dark-blue);
  }

  .dropdown-item {
    color: var(--white) !important;
  }
}


/* Megamenu & Navigazione
-------------------------------------------------------- */
.nav-link:focus-visible {
  -webkit-box-shadow: none;
  box-shadow: none;
  color: transparent;
}


/* Footer
-------------------------------------------------------- */

.icona-whatsapp i {
  font-size: 50px;
  color: #fff;
  text-align: center;
}

.icona-whatsapp {
  background: #43cc51;
  position: fixed;
  z-index: 9999;
  width: 70px;
  min-height: 70px;
  bottom: 0;
  right: 0;
  height: 60px;
  border-radius: 50px;
  margin-bottom: 15px;
  margin-right: 15px;
}

@media (max-width: 1199px) {
  .icona-whatsapp {
    width: 50px;
    min-height: 50px;
    height: 50px;
  }

  .icona-whatsapp i {
    font-size: 35px;
    line-height: 50px;
  }
}

.logo-footer {
  max-width: 300px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer h3 {
  font-size: 20px;
}

footer p {
  font-size: 14px;
}

footer .nav-link {
  padding: 3px 0px;
  color: var(--white);
}

/* homepage
-------------------------------------------------------- */


.hero {
  position: relative;
  background: var(--dark-blue);
  background-image:
    linear-gradient(to bottom, rgba(0,0,0, 1) 0%, rgba(0,0,0, 1) 100%),
    url('/wp-content/uploads/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 400;
}


/*Cards Overlap */
.cards-overlap-container {
  position: relative;
}

@media (max-width: 767px) {
  .cards-overlap-container {
    margin-top: -40vw;
  }

  .hero {
    background-image:
      linear-gradient(to bottom, rgba(0,0,0, 0.3) 0%, rgba(0,0,0, 1) 100%), url('/wp-content/uploads/mobile-hero.jpg');
  }
}

.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  border: none;
}

.service-card:hover {
  transform: translateY(-10px);
}


.hover-card-bg {
  background-size: cover;
  background-position: 100% center;
  transition: transform 0.6s ease;
  min-height: 50vh;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0, 0) 50%, rgba(223, 223, 223, 0.8) 100%);
  z-index: 1;
  transition: background 0.6s ease;

  & h3 {
    font-weight: 400;
  }
}

.btn-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

/* --- EFFETTI HOVER --- */

.hover-card-bg:hover .btn-wrapper {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
}

/* Intestazione
-------------------------------------------------------- */
.page-header {
  height: 70vh;
}

.page-header-single {
  height: 60vh;
}

.page-header-single a {
  color: #fff;
}

@media (min-width: 768px) {
  .page-header span {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
  }

  .page-header h1 {
    font-size: clamp(50px, 7vw, 60px);
  }

  .page-header p {
    margin-bottom: 80px;
    margin-top: 20px;
  }

  .page-header-single h1 {
    font-size: clamp(25px, 2vw, 40px) !important;
  }
}

@media (max-width: 767px) {
  .page-header h1 {
    font-size: 35px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .page-header p {
    margin-bottom: 20px;
  }

  .page-header {
    min-height: 70vh;
  }
}

/* Under contruction
-------------------------------------------------------- */
.under-construction {
  height: 100vh;
}

@media (min-width: 768px) {
  .under-construction h1 {
    font-size: 3em;
  }

  .under-construction p {
    font-size: 1em;
  }
}

@media (max-width: 767px) {
  .under-construction h1 {
    font-size: 35px;
    font-weight: bold;
  }

  .under-construction p {
    font-size: 15px;
    font-weight: 200;
  }
}


/* lavora con noi
-------------------------------------------------------- */

.wpcf7 .wpcf7-select {
  width: 100%;
  font-size: 15px;
}



/* News
-------------------------------------------------------- */
.card-news a {
  text-decoration: none;
  font-size: 15px;
  color: #fff;
}

.card-news .card-meta {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.card-news p {
  font-size: 15px;
}

.card-news .card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--light-blue);
}

.card-news span {
  color: var(--light-blue);
}

.form-control:focus {
  border-color: transparent;
  box-shadow: none;
}

.icon-search {
  border: none;
  font-size: 26px;
  margin-right: 10px;
}

/* articolo */
.zoom-img {
  transition: transform 0.5s ease;
  transform-origin: center center;
}

.card-news:hover .zoom-img {
  transform: scale(1.1);
}

/* Contatti
-------------------------------------------------------- */
.wpcf7-form-control {
  height: 50px;
  width: 100%;
}

textarea.form-control {
  height: auto;
}

.wpcf7 p {
  font-size: 15px;
  color: var(--dark-blue);
}

.wpcf7 label {
  width: 100%;
  font-size: 16px;
  color: var(--white);
}

.wpcf7-submit {
  background: var(--blue) !important;
}


/* Pagine archivio e ricerca
-------------------------------------------------------- */
.page-archive {
  padding-top: 100px;
}

/* Input & textarea
-------------------------------------------------------- */
input,
textarea {
  padding: 10px 10px;
  border: 1px solid #ccc;
}

/* Widgets
-------------------------------------------------------- */
.widget_search .screen-reader-text {
  display: block;
}

.widget_search #s {
  width: 70%;
  float: left;
}

.widget_search #searchsubmit {
  width: 30%;
  float: left;
  background: #fff;
}

/* pagination
-------------------------------------------------------- */

.pagination {
  gap: 6px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 14px;
  color: var(--dark-blue);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-numbers:hover {
  background: var(--dark-blue);
  color: #fff;
  border-color: var(--dark-blue);
}

.page-numbers.current {
  background: var(--dark-blue);
  color: #fff;
  border-color: var(--dark-blue);
  font-weight: 600;
}

.page-numbers.dots {
  border: none;
  background: none;
  pointer-events: none;
  padding: 0 4px;
}

/* general wordpress style
-------------------------------------------------------- */
.post img {
  max-width: 100%;
  height: auto;
}

/* WordPress Core Styles
-------------------------------------------------------------- */
.gallery-caption {
  padding: 5px;
  font-size: 10px;
}

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}


/* Landing Page DMC
-------------------------------------------------------- */

.navbar-lp {
  background: transparent;
  padding-top: 14px;
  padding-bottom: 14px;
}

.navbar-lp .navbar-brand {
  padding: 0;
}

.navbar-lp .navbar-brand img {
  max-width: 90px;
}

.navbar-lp .btn-lp-light {
  padding: 10px 22px;
}

.btn-lp-light {
  display: inline-block;
  background: var(--white);
  color: var(--dark-blue);
  border: none;
  border-radius: 3px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-lp-light:hover {
  background: var(--dark-blue);
  color: var(--white);
}

.lp-dmc .lp-hero {
  position: relative;
  min-height: 100vh;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.45) 100%),
    url('/wp-content/uploads/2026/09/dmc-cover-scaled.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 140px 0 100px;
}

/* landing catering: stessa struttura, cover diversa */
.lp-dmc.lp-catering .lp-hero {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.45) 100%),
    url('/wp-content/uploads/2026/09/cover-catering-scaled.jpg');
}

.lp-dmc .lp-hero-title {
  font-family: "Libre Baskerville", "Inter", serif;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.25;
}

.lp-dmc .lp-hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
}

@media (max-width: 767px) {
  .lp-dmc .lp-hero {
    padding: 110px 0 70px;
  }

  .navbar-lp .navbar-brand img {
    max-width: 110px;
  }
}

.lp-dmc .lp-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark-blue);
  font-family: "Inter", sans-serif;
  font-weight:300;
}

.lp-dmc .lp-intro-title {
  max-width: 950px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.3;
  color: var(--dark-blue);
}

.lp-dmc .lp-intro-image {
  display: block;
}

/* catering: la cover è verticale, quindi altezza fissa e ritaglio centrato
   invece dell'immagine a proporzioni naturali */
.lp-dmc.lp-catering .lp-intro-image {
  height: 800px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .lp-dmc.lp-catering .lp-intro-image {
    height: 420px;
  }
}

.lp-dmc .lp-stats {
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
}

.lp-dmc .lp-stat-item {
  height: 100%;
  padding: 40px 24px;
  border-right: 1px solid #d9d9d9;
}

.lp-dmc .lp-stats-row .col:last-child .lp-stat-item {
  border-right: none;
}

.lp-dmc .lp-stat-number {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  color: var(--dark-blue);
  margin-bottom: 16px;
}

.lp-dmc .lp-stat-label {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: var(--dark-blue);
  margin-bottom: 0;
}

.lp-dmc .lp-trusted-title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.3;
  color: var(--dark-blue);
}

.py-custom-lp {
  padding-bottom: 40px;
  padding-top:40px;
}

.px-custom-lp {
  padding-right:40px;
  padding-left:40px;
}

@media (max-width: 767px) {
  .lp-dmc .lp-stat-item {
    padding: 24px 16px;
    border-right: 1px solid #d9d9d9;
  }

  .lp-dmc .lp-stats-row .col:nth-child(2n) .lp-stat-item {
    border-right: none;
  }

  .lp-dmc .lp-stats-row .col:nth-last-child(-n+2) .lp-stat-item {
    border-bottom: none;
  }

  .lp-dmc .lp-stat-item {
    border-bottom: 1px solid #d9d9d9;
  }
}

.lp-dmc .lp-audiences {
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
}

.lp-dmc .lp-audience-item {
  height: 100%;
  padding: 40px;
  border-right: 1px solid #d9d9d9;
}

.lp-dmc .lp-audiences-row .col:last-child .lp-audience-item {
  border-right: none;
}

.lp-dmc .lp-audience-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
  color: var(--dark-blue);
}

.lp-dmc .lp-audience-image {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 767px) {
  .lp-dmc .lp-audience-item {
    padding: 24px;
    border-right: none;
    border-bottom: 1px solid #d9d9d9;
  }

  .lp-dmc .lp-audiences-row .col:last-child .lp-audience-item {
    border-bottom: none;
  }
}

/* Food experience emiliana (landing catering)
-------------------------------------------------------- */

.lp-dmc .lp-food-title,
.lp-dmc .lp-location-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  color: var(--dark-blue);
}

.lp-dmc .lp-food-image {
  display: block;
}

.lp-dmc .lp-food-text,
.lp-dmc .lp-location-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  color: var(--dark-blue);
}

.lp-dmc .lp-food-list li {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  line-height: 1.4;
  color: var(--dark-blue);
}

.lp-dmc .lp-food-list li:last-child {
  margin-bottom: 0;
}

.lp-dmc .lp-food-check {
  flex-shrink: 0;
  width: 32px;
  color: var(--dark-blue);
}

.lp-dmc .lp-food-check svg {
  display: block;
  width: 100%;
  height: auto;
}

.lp-dmc .lp-location-image {
  display: block;
  margin: 64px 0;
}

.lp-dmc .lp-villa-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
  color: var(--dark-blue);
}

.lp-dmc .lp-villa-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--dark-blue);
}

@media (max-width: 767px) {
  .lp-dmc .lp-location-image {
    margin: 40px 0;
  }
}

/* Partnership (landing catering)
-------------------------------------------------------- */

.lp-dmc .lp-partner-image {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.lp-dmc .lp-partner-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  color: var(--dark-blue);
}

.lp-dmc .lp-partner-list {
  border-top: 1px solid #d9d9d9;
}

.lp-dmc .lp-partner-item {
  border-bottom: 1px solid #d9d9d9;
}

.lp-dmc .lp-partner-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--dark-blue);
}

.lp-dmc .lp-partner-icon {
  flex-shrink: 0;
  width: 22px;
  color: var(--dark-blue);
  transition: transform 0.3s ease;
}

.lp-dmc .lp-partner-icon svg {
  display: block;
  width: 100%;
  height: auto;
}

/* aperto: la freccia punta in su */
.lp-dmc .lp-partner-question:not(.collapsed) .lp-partner-icon {
  transform: rotate(180deg);
}

.lp-dmc .lp-partner-answer {
  padding: 0 24px 20px;
  margin-bottom: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark-blue);
}

.lp-dmc .lp-services-title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.3;
  color: var(--dark-blue);
}

.lp-dmc .lp-services-image-wrap {
  position: relative;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.lp-dmc .lp-services-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-dmc .lp-services-list li {
  padding: 22px 0;
  border-bottom: 1px solid #d9d9d9;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--dark-blue);
}

.lp-dmc .lp-services-list li:first-child {
  border-top: 1px solid #d9d9d9;
}

.lp-dmc .lp-services-list-note {
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  color: #6b6b6b;
}

.lp-dmc .lp-experience-title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25;
  color: var(--dark-blue);
}

.lp-dmc .lp-proof-title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.3;
  color: var(--dark-blue);
}

.lp-dmc .lp-proof-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  max-width: 720px;
  color: var(--dark-blue);
}

.lp-dmc .lp-proof-parallax {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.lp-dmc .lp-proof-parallax-inner {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.lp-dmc .lp-proof-item {
  margin-bottom: 40px;
}

.lp-dmc .lp-proof-item-title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  color: var(--dark-blue);
}

.lp-dmc .lp-proof-item-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--dark-blue);
}

.lp-dmc .lp-proof-inline-link {
  color: var(--dark-blue);
  text-decoration: underline;
}

.lp-dmc a.lp-proof-inline-link:hover {
  color: var(--dark-blue);
}

.lp-dmc .lp-faq-title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  color: var(--dark-blue);
}

.lp-dmc .lp-faq-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--dark-blue);
}

.lp-dmc .lp-faq-list {
  border-top: 1px solid #d9d9d9;
}

.lp-dmc .lp-faq-item {
  border-bottom: 1px solid #d9d9d9;
}

.lp-dmc .lp-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 28px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--dark-blue);
}

.lp-dmc .lp-faq-answer {
  max-width: 900px;
  padding-bottom: 28px;
  margin-bottom: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--dark-blue);
}

.lp-dmc .lp-faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lp-dmc .lp-faq-icon::before,
.lp-dmc .lp-faq-icon::after {
  content: "";
  position: absolute;
  background: var(--dark-blue);
}

.lp-dmc .lp-faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.lp-dmc .lp-faq-icon::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
}

.lp-dmc .lp-faq-question:not(.collapsed) .lp-faq-icon::after {
  opacity: 0;
}

.lp-dmc .lp-footer {
  border-top: 1px solid #d9d9d9;
}

.lp-dmc .lp-footer-title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--dark-blue);
}

.lp-dmc .lp-footer-address,
.lp-dmc .lp-footer-legal {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark-blue);
}

.lp-dmc .lp-footer-bottom {
  padding-top: 32px;
}

.lp-dmc .lp-footer-copy {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--dark-blue);
}

.lp-dmc .lp-footer-link {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--dark-blue);
}

.lp-dmc a.lp-footer-link:hover {
  color: var(--dark-blue);
  text-decoration: underline;
}

.lp-dmc .lp-experience-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  color: var(--dark-blue);
}

.lp-dmc .lp-themes {
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
}

.lp-dmc .lp-themes + .lp-themes {
  border-top: none;
}

.lp-dmc .lp-themes-row > .col {
  border-bottom: 1px solid #d9d9d9;
}

.lp-dmc .lp-themes-row > .col:nth-last-child(-n+2) {
  border-bottom: none;
}

@media (min-width: 992px) {
  .lp-dmc .lp-themes-row > .col:nth-child(odd) {
    border-right: 1px solid #d9d9d9;
  }
}

.lp-dmc .lp-theme-item {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  padding: 48px 40px;
}

.lp-dmc .lp-theme-text {
  flex: 1 1 45%;
  min-width: 0;
}

.lp-dmc .lp-theme-image {
  flex: 1 1 55%;
  width: 55%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

.lp-dmc .lp-theme-title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  color: var(--dark-blue);
}

.lp-dmc .lp-theme-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark-blue);
}

.lp-dmc .lp-theme-link {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark-blue);
  border-bottom: 1px solid var(--dark-blue);
  padding-bottom: 4px;
}

.lp-dmc a.lp-theme-link:hover {
  color: var(--dark-blue);
}

@media (max-width: 767px) {
  .lp-dmc .lp-theme-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .lp-dmc .lp-theme-text,
  .lp-dmc .lp-theme-image {
    width: 100%;
  }

  .lp-dmc .lp-theme-image {
    order: -1;
    aspect-ratio: 1 / 1;
    height: auto;
  }
}


/* Reveal con sfocatura (animato in js/app.js con ScrollTrigger)
-------------------------------------------------------- */

.reveal-blur,
.reveal-blur-stagger > * {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(24px);
  will-change: opacity, filter, transform;
}

/* senza JS o con animazioni ridotte il contenuto resta comunque leggibile */
@media (prefers-reduced-motion: reduce) {
  .reveal-blur,
  .reveal-blur-stagger > * {
    opacity: 1;
    filter: none;
    transform: none;
  }
}


/* Form "Request a proposal" (Contact Form 7)
-------------------------------------------------------- */

.lp-dmc .lp-contact {
  padding-top: 120px;
}

.lp-dmc .lp-contact-title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  color: var(--dark-blue);
  padding-bottom:100px;
}

.lp-dmc .lp-contact-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.4;
  color: var(--dark-blue);
}

.lp-dmc .lp-form-legend {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin-bottom: 32px;
}

.lp-dmc .lp-form-group + .lp-form-group {
  margin-top: 40px;
}

.lp-dmc .lp-field {
  margin-bottom: 40px;
}

/* .wpcf7 label (form della modal, su fondo scuro) forza bianco e width 100%:
   qui va risovrascritto, senza dipendere dai wrapper che CF7 inserisce. */
.lp-dmc .lp-form label {
  color: var(--dark-blue);
}

.lp-dmc .lp-field label {
  display: block;
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark-blue);
  margin-bottom: 12px;
}

.lp-dmc .lp-form .wpcf7-form-control-wrap {
  display: block;
}

.lp-dmc .lp-form input[type="text"],
.lp-dmc .lp-form input[type="email"],
.lp-dmc .lp-form input[type="tel"],
.lp-dmc .lp-form input[type="date"],
.lp-dmc .lp-form select,
.lp-dmc .lp-form textarea {
  width: 100%;
  padding: 6px 0;
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.4;
  color: var(--dark-blue);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #d9d9d9;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.lp-dmc .lp-form input:focus,
.lp-dmc .lp-form select:focus,
.lp-dmc .lp-form textarea:focus {
  outline: none;
  border-bottom-color: var(--dark-blue);
}

.lp-dmc .lp-form select {
  padding-right: 28px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1'%3E%3Cpath d='M3 6l5 4 5-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 16px;
}

/* il campo testo libero occupa tutta la riga, qualunque sia la colonna
   in cui CF7 lo rende */
.lp-dmc .lp-form .row > [class*="col"]:has(textarea) {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

/* niente bordo sotto il testo libero: la riga di separazione è quella
   a tutta larghezza di .lp-form-consent */
.lp-dmc .lp-form textarea {
  min-height: 180px;
  resize: vertical;
  border-bottom: none;
}

.lp-dmc .lp-form textarea:focus {
  border-bottom: none;
}

.lp-dmc .lp-field-hint {
  margin: 10px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #6b6b6b;
}

.lp-dmc .lp-date-group {
  display: flex;
  gap: 32px;
}

.lp-dmc .lp-date-field {
  flex: 1 1 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.lp-dmc .lp-date-field label {
  display: inline-block;
  width: auto;
  margin-bottom: 0;
  font-family: "Inter", sans-serif;
  font-size: 17px;
  color: var(--dark-blue);
  white-space: nowrap;
}

.flatpickr-calendar {
  font-family: "Inter", sans-serif;
  border-radius: 0;
}

.lp-dmc .lp-form-consent {
  border-top: 1px solid #d9d9d9;
  padding-top: 28px;
}

.lp-dmc .lp-form-consent .wpcf7-list-item {
  margin: 0;
}

.lp-dmc .lp-form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dark-blue);
}

.lp-dmc .lp-form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  background-color: transparent;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.lp-dmc .lp-form-consent input[type="checkbox"]:checked {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
}

.lp-dmc a.lp-form-privacy-link {
  color: var(--dark-blue);
  text-decoration: underline;
}

.lp-dmc a.lp-form-privacy-link:hover {
  color: var(--dark-blue);
}

.lp-dmc .lp-form-submit {
  text-align: center;
  margin-top: 40px;
}

/* !important necessario: .wpcf7-submit imposta background con !important */
.lp-dmc .lp-form input[type="submit"] {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark-blue);
  background: transparent !important;
  border: 1px solid var(--dark-blue);
  border-radius: 0;
  /* .wpcf7-form-control impone width 100% e height 50px a tutti i controlli */
  width: auto;
  height: auto;
  padding: 16px 44px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.lp-dmc .lp-form input[type="submit"]:hover {
  background: var(--dark-blue) !important;
  color: var(--white);
}

.lp-dmc .lp-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #b00020;
}

.lp-dmc .lp-form .wpcf7-response-output {
  margin: 32px 0 0;
  padding: 16px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  border-color: #d9d9d9;
}

@media (max-width: 767px) {
  .lp-dmc .lp-contact {
    padding-top: 70px;
  }

  .lp-dmc .lp-date-group {
    flex-direction: column;
    gap: 24px;
  }
}