/* Coabita — restyle “cipresso umbro”
   Ink + cypress green + cool stone. Accent amber only on CTA. */

:root {
  --co-ink: #101612;
  --co-cypress: #1e3a2f;
  --co-moss: #3a5646;
  --co-stone: #eef1ee;
  --co-paper: #f8faf8;
  --co-line: #d2dbd4;
  --co-amber: #c46a2b;
  --co-amber-hover: #a85720;
  --co-muted: #5a6a60;
  --co-white: #ffffff;
  --co-radius: 14px;
  --co-radius-sm: 10px;
  --co-shadow: 0 12px 40px rgba(16, 22, 18, 0.08);
  --co-font: "Outfit", system-ui, sans-serif;
  --co-display: "Syne", "Outfit", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.coabita-restyle,
body.coabita-restyle button,
body.coabita-restyle input,
body.coabita-restyle select,
body.coabita-restyle textarea {
  font-family: var(--co-font) !important;
  color: var(--co-ink);
  background: var(--co-paper);
  -webkit-font-smoothing: antialiased;
}

body.coabita-restyle h1,
body.coabita-restyle h2,
body.coabita-restyle h3,
body.coabita-restyle h4,
body.coabita-restyle h5,
body.coabita-restyle .site-title,
body.coabita-restyle .section-header h1,
body.coabita-restyle .section-header h2,
body.coabita-restyle .slider-caption h1 {
  font-family: var(--co-display) !important;
  letter-spacing: -0.02em;
  color: var(--co-ink);
}

/* ---------- Header / nav ---------- */
body.coabita-restyle .owc-header,
body.coabita-restyle .navbar.navbar-custom,
body.coabita-restyle .navbar1 {
  background: rgba(248, 250, 248, 0.92) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--co-line);
  box-shadow: none !important;
  padding: 0.55rem 0 !important;
}

body.coabita-restyle .site-title h2,
body.coabita-restyle .site-title h2 a {
  font-family: var(--co-display) !important;
  font-weight: 800 !important;
  font-size: 1.55rem !important;
  color: var(--co-cypress) !important;
  margin: 0 !important;
  letter-spacing: -0.03em;
}

body.coabita-restyle .site-description {
  color: var(--co-muted) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  margin: 0.1rem 0 0 !important;
  letter-spacing: 0.02em;
}

body.coabita-restyle .navbar-nav > li {
  position: relative;
}

body.coabita-restyle .navbar-nav > li > a {
  color: var(--co-ink) !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
  padding: 0.7rem 0.75rem !important;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

body.coabita-restyle .navbar-nav > li > a:hover,
body.coabita-restyle .navbar-nav > li.active > a,
body.coabita-restyle .navbar-nav > li.current-menu-item > a,
body.coabita-restyle .navbar-nav > li.open > a {
  background: var(--co-stone) !important;
  color: var(--co-cypress) !important;
}

/* Keep icons visible (previous UX) */
body.coabita-restyle .navbar-nav > li > a > i._mi,
body.coabita-restyle .navbar-nav > li > a > i.fa:not(.fa-angle-down) {
  display: inline-block !important;
  margin-right: 0.35rem;
  color: var(--co-moss);
}

/*
 * FIX sottomenù: NESSUN gap tra voce e dropdown.
 * Il vecchio margin-top faceva chiudere il menu prima del click.
 */
@media (min-width: 992px) {
  body.coabita-restyle .navbar-custom .navbar-nav > li.dropdown > .dropdown-menu,
  body.coabita-restyle .navbar-nav > li.dropdown > .dropdown-menu {
    top: 100% !important;
    left: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0.5rem !important;
    border: 1px solid var(--co-line) !important;
    border-radius: var(--co-radius-sm) !important;
    box-shadow: var(--co-shadow) !important;
    background: #fff !important;
    /* ponte invisibile verso la voce padre */
    padding-top: 0.65rem !important;
  }

  body.coabita-restyle .navbar-custom .navbar-nav > li.dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }

  body.coabita-restyle .navbar-custom .open > .dropdown-menu {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    pointer-events: auto !important;
  }
}

body.coabita-restyle .navbar-nav .dropdown-menu > li > a,
body.coabita-restyle .navbar-nav .dropdown-menu a {
  border-radius: 8px !important;
  padding: 0.65rem 0.9rem !important;
  font-size: 0.9rem !important;
  color: var(--co-ink) !important;
  border-bottom: none !important;
  display: block !important;
}

body.coabita-restyle .navbar-nav .dropdown-menu > li > a:hover,
body.coabita-restyle .navbar-nav .dropdown-menu a:hover {
  background: var(--co-stone) !important;
  color: var(--co-cypress) !important;
}

/* ---------- Hero / slider ---------- */
body.coabita-restyle #slider-carousel {
  overflow: visible !important;
}

body.coabita-restyle #slider-carousel .item {
  min-height: min(82vh, 680px) !important;
  height: auto !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  padding: 5.5rem 0 4.5rem !important;
}

body.coabita-restyle #slider-carousel .item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(14, 28, 22, 0.88) 0%, rgba(14, 28, 22, 0.55) 52%, rgba(14, 28, 22, 0.28) 100%);
  z-index: 1;
}

body.coabita-restyle #slider-carousel .container,
body.coabita-restyle #slider-carousel .slider-caption {
  position: relative;
  z-index: 2;
  width: 100%;
}

body.coabita-restyle .slider-caption {
  padding: 0 !important;
  max-width: 40rem;
  overflow: visible !important;
}

body.coabita-restyle .slider-caption h5 {
  font-family: var(--co-font) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.78) !important;
  margin: 0 0 0.85rem !important;
}

body.coabita-restyle #slider-carousel .slider-caption h1,
body.coabita-restyle .slider-caption h1 {
  font-size: clamp(1.85rem, 4vw, 3rem) !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 1rem !important;
  text-shadow: none !important;
  overflow: visible !important;
  max-height: none !important;
}

body.coabita-restyle .slider-caption h1:after {
  display: none !important; /* remove theme underline bar that eats space */
}

body.coabita-restyle .slider-caption p {
  font-size: 1.08rem !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 1.6rem !important;
  max-width: 34rem;
}

body.coabita-restyle #slider-carousel .slide-btn-sm,
body.coabita-restyle #slider-carousel a.slide-btn-sm,
body.coabita-restyle .slide-btn-area-sm .slide-btn-sm {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem;
  background: #c46a2b !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0.9rem 1.55rem !important;
  font-weight: 600 !important;
  font-size: 0.98rem !important;
  box-shadow: 0 10px 28px rgba(196, 106, 43, 0.4) !important;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
  text-decoration: none !important;
}

body.coabita-restyle #slider-carousel .slide-btn-sm:hover,
body.coabita-restyle #slider-carousel a.slide-btn-sm:hover,
body.coabita-restyle .slide-btn-area-sm .slide-btn-sm:hover {
  background: #a85720 !important;
  background-image: none !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(196, 106, 43, 0.48) !important;
}

/* ---------- Section headers ---------- */
body.coabita-restyle .section-header {
  margin-bottom: 2.25rem !important;
}

body.coabita-restyle .section-header h5,
body.coabita-restyle .section-header .section-subtitle,
body.coabita-restyle .service_area .section-header h5 {
  font-family: var(--co-font) !important;
  color: var(--co-moss) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

body.coabita-restyle .section-header h1,
body.coabita-restyle .section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem) !important;
  font-weight: 700 !important;
  color: var(--co-ink) !important;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Service cards ---------- */
body.coabita-restyle .service_area {
  background: linear-gradient(180deg, #e7efe9 0%, var(--co-paper) 40%) !important;
  padding: 4.5rem 0 5rem !important;
}

body.coabita-restyle .service_area .section-header h5,
body.coabita-restyle .service_area .section-header .section-subtitle {
  color: var(--co-cypress) !important;
  font-weight: 700 !important;
}

body.coabita-restyle .service {
  background: var(--co-white) !important;
  border: 1px solid #c5d2c9 !important;
  border-radius: var(--co-radius) !important;
  padding: 1.85rem 1.55rem 1.9rem !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 8px 28px rgba(16, 22, 18, 0.06) !important;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

body.coabita-restyle .service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--co-cypress);
  opacity: 0.85;
}

body.coabita-restyle .service:hover {
  transform: translateY(-4px);
  border-color: #b7c4ba !important;
  box-shadow: var(--co-shadow) !important;
}

body.coabita-restyle .service .service-icon,
body.coabita-restyle .service i[class*="fa-"] {
  color: var(--co-cypress) !important;
  background: var(--co-stone) !important;
  width: 3rem !important;
  height: 3rem !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  margin-bottom: 1rem !important;
}

body.coabita-restyle .service h3,
body.coabita-restyle .service .entry-title,
body.coabita-restyle .service h4 {
  font-family: var(--co-display) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--co-ink) !important;
  margin-bottom: 0.65rem !important;
}

body.coabita-restyle .service p,
body.coabita-restyle .service .entry-content,
body.coabita-restyle .service .text {
  color: var(--co-muted) !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
}

/* ---------- Funfact / steps ---------- */
body.coabita-restyle .funfact,
body.coabita-restyle section.funfact-section,
body.coabita-restyle .funfact-area {
  background: var(--co-cypress) !important;
}

body.coabita-restyle .funfact-inner {
  padding: 1.5rem 1rem !important;
}

body.coabita-restyle .funfact-icon,
body.coabita-restyle .funfact i {
  color: #e8c39a !important;
  font-size: 1.65rem !important;
  margin-bottom: 0.6rem !important;
}

body.coabita-restyle .funfact-title,
body.coabita-restyle .funfact h1 {
  font-family: var(--co-display) !important;
  color: #fff !important;
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  margin: 0.2rem 0 0.4rem !important;
}

body.coabita-restyle .funfact p,
body.coabita-restyle .funfact .funfact-description,
body.coabita-restyle .funfact-inner p {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

/* ---------- Team / about ---------- */
body.coabita-restyle .team-area,
body.coabita-restyle .about-section,
body.coabita-restyle section.team {
  background: var(--co-stone) !important;
}

body.coabita-restyle .team .media,
body.coabita-restyle .team-grid,
body.coabita-restyle .qua_team_section .col-md-12 {
  background: var(--co-white);
  border-radius: var(--co-radius);
  border: 1px solid var(--co-line);
  padding: 1.5rem !important;
}

/* ---------- Buttons general ---------- */
body.coabita-restyle .btn-default,
body.coabita-restyle .btn-primary,
body.coabita-restyle .button,
body.coabita-restyle input[type="submit"],
body.coabita-restyle .wpcf7-submit,
body.coabita-restyle .sln-btn,
body.coabita-restyle button[type="submit"] {
  background: var(--co-cypress) !important;
  border-color: var(--co-cypress) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  padding: 0.7rem 1.35rem !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

body.coabita-restyle .btn-default:hover,
body.coabita-restyle .btn-primary:hover,
body.coabita-restyle input[type="submit"]:hover,
body.coabita-restyle .wpcf7-submit:hover {
  background: var(--co-moss) !important;
  border-color: var(--co-moss) !important;
  transform: translateY(-1px);
}

/* ---------- Content pages ---------- */
body.coabita-restyle .page-title-section,
body.coabita-restyle .page-title-section .overlay {
  background: linear-gradient(120deg, var(--co-cypress), #2f5344) !important;
  min-height: 160px;
}

body.coabita-restyle .page-title-section h1,
body.coabita-restyle .page-title h1 {
  font-family: var(--co-display) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

body.coabita-restyle .site-content,
body.coabita-restyle .blog-detail-section,
body.coabita-restyle article .entry-content {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--co-ink);
}

body.coabita-restyle article .entry-content h2,
body.coabita-restyle article .entry-content h3 {
  margin-top: 1.6em;
}

/* Soft card wrappers for common page blocks */
body.coabita-restyle .wp-block-group,
body.coabita-restyle .has-background {
  border-radius: var(--co-radius) !important;
}

body.coabita-restyle .entry-content .wp-block-columns {
  gap: 1.25rem;
}

/* ---------- Footer ---------- */
body.coabita-restyle .footer_section,
body.coabita-restyle footer.site-footer,
body.coabita-restyle #footer,
body.coabita-restyle .quality-footer {
  background: var(--co-ink) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  border-top: none !important;
}

body.coabita-restyle .footer_section h1,
body.coabita-restyle .footer_section h2,
body.coabita-restyle .footer_section h3,
body.coabita-restyle .footer_section h4,
body.coabita-restyle #footer h4,
body.coabita-restyle .quality-footer h3 {
  font-family: var(--co-display) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

body.coabita-restyle .footer_section a,
body.coabita-restyle #footer a,
body.coabita-restyle .quality-footer a {
  color: rgba(255, 255, 255, 0.78) !important;
  transition: color 0.2s ease;
}

body.coabita-restyle .footer_section a:hover,
body.coabita-restyle #footer a:hover {
  color: #e8c39a !important;
}

body.coabita-restyle .site-info,
body.coabita-restyle .copyright {
  background: #0a0e0b !important;
  color: rgba(255, 255, 255, 0.55) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ---------- Forms ---------- */
body.coabita-restyle input[type="text"],
body.coabita-restyle input[type="email"],
body.coabita-restyle input[type="tel"],
body.coabita-restyle input[type="url"],
body.coabita-restyle input[type="password"],
body.coabita-restyle input[type="number"],
body.coabita-restyle select,
body.coabita-restyle textarea,
body.coabita-restyle .form-control {
  border: 1px solid var(--co-line) !important;
  border-radius: 10px !important;
  background: var(--co-white) !important;
  padding: 0.7rem 0.9rem !important;
  box-shadow: none !important;
}

body.coabita-restyle input:focus,
body.coabita-restyle select:focus,
body.coabita-restyle textarea:focus {
  border-color: var(--co-moss) !important;
  outline: 2px solid rgba(58, 86, 70, 0.2) !important;
}

/* ---------- Scroll top ---------- */
body.coabita-restyle .hc-topscroll,
body.coabita-restyle #page-scroll,
body.coabita-restyle a.scrollup {
  background: var(--co-cypress) !important;
  border-radius: 50% !important;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  body.coabita-restyle .service {
    animation: co-rise 0.55s ease both;
  }
  body.coabita-restyle .service:nth-child(2) { animation-delay: 0.06s; }
  body.coabita-restyle .service:nth-child(3) { animation-delay: 0.12s; }
  body.coabita-restyle .service:nth-child(4) { animation-delay: 0.18s; }

  body.coabita-restyle .slider-caption h5,
  body.coabita-restyle .slider-caption h1,
  body.coabita-restyle .slider-caption p,
  body.coabita-restyle .slider-caption .slide-btn-area-sm {
    animation: co-rise 0.7s ease both;
  }
  body.coabita-restyle .slider-caption h1 { animation-delay: 0.08s; }
  body.coabita-restyle .slider-caption p { animation-delay: 0.16s; }
  body.coabita-restyle .slider-caption .slide-btn-area-sm { animation-delay: 0.24s; }
}

@keyframes co-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
  body.coabita-restyle .navbar-nav > li > a {
    border-radius: 8px;
    margin: 0.15rem 0;
  }
  body.coabita-restyle .slider-caption {
    padding: 3.2rem 0 3.5rem !important;
  }
}

/* =========================================================
   Contact Form 7 — preventivo & form moderni
   ========================================================= */
body.coabita-restyle .wpcf7,
body.coabita-restyle .wpcf7-form {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-family: var(--co-font) !important;
}

body.coabita-restyle .wpcf7-form {
  background: #fff;
  border: 1px solid var(--co-line);
  border-radius: 18px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 10px 36px rgba(16, 22, 18, 0.06);
}

body.coabita-restyle .wpcf7-form p {
  margin: 0 0 1.15rem !important;
}

body.coabita-restyle .wpcf7-form label,
body.coabita-restyle .wpcf7-form .co-label {
  display: block;
  font-family: var(--co-font) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: var(--co-ink) !important;
  letter-spacing: 0;
  line-height: 1.35 !important;
  margin-bottom: 0.45rem;
}

body.coabita-restyle .wpcf7-form .co-hint {
  display: block;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: var(--co-muted) !important;
  margin: -0.15rem 0 0.55rem;
}

body.coabita-restyle .wpcf7-form .co-req {
  color: var(--co-amber);
  margin-left: 0.15rem;
}

body.coabita-restyle .co-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  body.coabita-restyle .co-form-grid {
    grid-template-columns: 1fr;
  }
}

body.coabita-restyle .wpcf7-form input[type="text"],
body.coabita-restyle .wpcf7-form input[type="email"],
body.coabita-restyle .wpcf7-form input[type="tel"],
body.coabita-restyle .wpcf7-form input[type="url"],
body.coabita-restyle .wpcf7-form input[type="number"],
body.coabita-restyle .wpcf7-form textarea,
body.coabita-restyle .wpcf7-form select {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0.35rem;
  padding: 0.85rem 1rem !important;
  border: 1px solid #c9d4cc !important;
  border-radius: 12px !important;
  background: #fbfcfb !important;
  font-size: 1rem !important;
  font-family: var(--co-font) !important;
  color: var(--co-ink) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

body.coabita-restyle .wpcf7-form input::placeholder,
body.coabita-restyle .wpcf7-form textarea::placeholder {
  color: #8a9a90 !important;
  opacity: 1;
}

body.coabita-restyle .wpcf7-form input:focus,
body.coabita-restyle .wpcf7-form textarea:focus,
body.coabita-restyle .wpcf7-form select:focus {
  border-color: var(--co-moss) !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(58, 86, 70, 0.18) !important;
}

/* Radio as modern chips */
body.coabita-restyle .wpcf7-form .wpcf7-radio {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

body.coabita-restyle .wpcf7-form .wpcf7-list-item {
  margin: 0 !important;
  display: inline-flex !important;
}

body.coabita-restyle .wpcf7-form .wpcf7-list-item label {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  margin: 0 !important;
  padding: 0.55rem 0.9rem !important;
  border: 1px solid #c9d4cc;
  border-radius: 999px !important;
  background: #fff;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: var(--co-ink) !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.coabita-restyle .wpcf7-form .wpcf7-list-item input[type="radio"] {
  width: 1rem !important;
  height: 1rem !important;
  margin: 0 !important;
  accent-color: var(--co-cypress);
}

body.coabita-restyle .wpcf7-form .wpcf7-list-item label:hover {
  border-color: var(--co-moss);
  background: var(--co-stone);
}

body.coabita-restyle .wpcf7-form .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
  color: var(--co-cypress);
  font-weight: 600;
}

/* when radio checked, style parent label via :has */
body.coabita-restyle .wpcf7-form .wpcf7-list-item label:has(input:checked) {
  border-color: var(--co-cypress);
  background: #e7efe9;
  box-shadow: inset 0 0 0 1px var(--co-cypress);
}

body.coabita-restyle .co-form-yesno {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0.5rem 0 1rem;
  padding: 1rem;
  background: var(--co-stone);
  border-radius: 14px;
}

@media (max-width: 720px) {
  body.coabita-restyle .co-form-yesno {
    grid-template-columns: 1fr;
  }
}

body.coabita-restyle .co-form-yesno .co-field {
  margin: 0 !important;
}

/* File upload */
body.coabita-restyle .wpcf7-form input[type="file"] {
  width: 100%;
  margin-top: 0.4rem;
  padding: 1rem !important;
  border: 1.5px dashed #b7c6bb !important;
  border-radius: 12px !important;
  background: #f4f7f5 !important;
  font-family: var(--co-font) !important;
  font-size: 0.9rem !important;
  color: var(--co-muted) !important;
  cursor: pointer;
}

body.coabita-restyle .wpcf7-form input[type="file"]:hover {
  border-color: var(--co-moss) !important;
  background: #eef4f0 !important;
}

/* Privacy */
body.coabita-restyle .wpcf7-form .co-privacy,
body.coabita-restyle .wpcf7-form .wpcf7-acceptance {
  font-size: 0.86rem !important;
  line-height: 1.5 !important;
  color: var(--co-muted) !important;
  font-weight: 500 !important;
}

body.coabita-restyle .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--co-cypress);
  margin-right: 0.45rem;
  vertical-align: middle;
}

body.coabita-restyle .wpcf7-form .co-privacy a {
  color: var(--co-cypress) !important;
  text-decoration: underline;
}

/* Submit */
body.coabita-restyle .wpcf7-form .co-actions {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}

body.coabita-restyle .wpcf7-form input[type="submit"],
body.coabita-restyle .wpcf7-form .wpcf7-submit {
  width: auto !important;
  min-width: 180px;
  background: var(--co-cypress) !important;
  border: none !important;
  color: #fff !important;
  font-family: var(--co-font) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 0.95rem 1.6rem !important;
  border-radius: 999px !important;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(30, 58, 47, 0.25);
}

body.coabita-restyle .wpcf7-form input[type="submit"]:hover,
body.coabita-restyle .wpcf7-form .wpcf7-submit:hover {
  background: var(--co-moss) !important;
}

/* Page title area for form pages */
body.coabita-restyle.page-id-129 .entry-content > p:first-child,
body.coabita-restyle.page .entry-content .wp-block-heading {
  font-family: var(--co-display) !important;
}

/* Preventivo: form a tutta larghezza, niente logo sidebar datato */
body.coabita-restyle.page-id-129 .sidebar-primary,
body.coabita-restyle.page-id-129 aside.sidebar,
body.coabita-restyle.page-id-129 #sidebar-primary,
body.coabita-restyle.page-id-129 .col-md-4 {
  display: none !important;
}
body.coabita-restyle.page-id-129 .col-md-8,
body.coabita-restyle.page-id-129 .site-content .col-md-8 {
  width: 100% !important;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}
body.coabita-restyle.page-id-129 .page-title-section h1 {
  font-family: var(--co-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

/* Dane / Area Condomini login */
body.coabita-restyle .co-dane-login {
  max-width: 420px;
  margin: 1.5rem 0 2rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--co-line);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(16, 22, 18, 0.06);
}
body.coabita-restyle .co-dane-login label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--co-ink);
}
body.coabita-restyle .co-dane-login input[type="text"],
body.coabita-restyle .co-dane-login input[type="password"] {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #c9d4cc;
  border-radius: 10px;
}
body.coabita-restyle .co-dane-login input[type="submit"] {
  background: var(--co-cypress) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.75rem 1.4rem !important;
  font-weight: 600 !important;
  cursor: pointer;
}
