@charset "UTF-8";
/*
Theme Name: Square_theme Sertech
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: var(--light-gray);
  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: #1f529c;
  --dark-blue: #1f529c;
  --dark-blue-rgb: 31, 82, 156;
  --light-gray: #f2f3f8;
  --light-blue: #fff;
  --white: #fff;

  /* Nessun bordo stondato in tutto il sito: azzera anche i radius di Bootstrap */
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
  --bs-border-radius-xxl: 0;
  --bs-border-radius-pill: 0;
}

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


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

/* Su touch il :hover resta appiccicato dopo il tap e --light-blue e' bianco:
   senza questo guard i link spariscono su fondo chiaro appena li si tocca. */
@media (hover: hover) and (pointer: fine) {

  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-light-blue {
  color: var(--light-blue);
}




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


/* 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: clamp(28px, 4.5vw, 35px);
  }
}

body,
p,
li {
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 18px;
  color: var(--bs-body-color);
  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: 17px;
  }

  .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: 0;

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

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

.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: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;
  }

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

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

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

/* La navbar e' expand-lg: sopra i 992px e' gia' orizzontale, quindi queste regole
   (overflow sul collapse, overlay, dropdown scuri) vanno limitate al menu collassato,
   altrimenti fra 992 e 1199px clippano i dropdown. */
@media (max-width: 991.98px) {

  /* 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;
  }
}


/* Sertec: topbar & header
-------------------------------------------------------- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.6s ease;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
}

.topbar-link {
  color: var(--dark-blue);
  text-decoration: none;
}

.topbar-icon {
  color: var(--blue);
}

.topbar .navbar-toggler {
  border: none;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

/* Bootstrap definisce --bs-navbar-toggler-icon-bg solo dentro .navbar: qui il
   toggler sta nella topbar, quindi senza questa variabile l'icona non esiste. */
.topbar .navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.4em;
  height: 1.4em;
  -webkit-filter: none;
  filter: none;
}

.lang-switch img {
  display: block;
}

.lang-switch-item {
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.lang-switch-item:hover,
.lang-switch-item.is-active {
  opacity: 1;
}

.site-header .navbar {
  background: var(--blue);
}

.site-header .navbar .nav-link {
  font-weight: 500;
  padding: 1rem 1.25rem;
}

.site-header .navbar .nav-link.active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-separated .nav-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 991.98px) {
  .nav-separated .nav-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}

.navbar-cta {
  display: flex;
  align-items: center;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 1.75rem;
  align-self: stretch;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}

.navbar-cta:hover {
  background: var(--light-gray);
  color: var(--blue);
}

/* Mobile: la barra fissa e' tutta blu con logo bianco, e la riga 2 resta vuota
   finche' il menu e' chiuso perche' la CTA brochure vive dentro la tendina. */
@media (max-width: 991.98px) {

  .site-header,
  .topbar {
    background: var(--blue);
  }

  .topbar {
    border-bottom-color: rgba(255, 255, 255, 0.15);
  }

  /* .navbar-collapse e' flex row: senza questo il menu e la CTA finirebbero
     affiancati invece che impilati. */
  .site-header .navbar-collapse {
    flex-direction: column;
    align-items: stretch;
  }

  .navbar-cta {
    width: 100%;
    justify-content: center;
    align-self: auto;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    font-size: 14px;
  }
}

.navbar-brand-fallback {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--blue);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.navbar-brand-fallback small {
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: lowercase;
  opacity: 0.85;
  margin-left: 0.25rem;
}

/* Sertec: footer
-------------------------------------------------------- */
.site-footer {
  background-color: var(--dark-blue);
  background-image: url("/wp-content/uploads/2026/10/Sertec-Patter-Grafico-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.site-footer * {
  color: var(--white);
}

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

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.7;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
  font-size: 15px;
  word-break: break-word;
}

.footer-links a {
  color: var(--white);
}

.footer-links a:hover {
  color: var(--light-gray);
}

/* Sertec: homepage sections
-------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 4px;
  height: 16px;
  background: var(--blue);
  display: inline-block;
}

.hero-sertec {
  background-color: var(--light-gray);
  background-image: url("/wp-content/uploads/2026/10/Sfondo-Sertec-Bianco-scaled-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.check-list i {
  color: var(--blue);
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.feature-band {
  background-color: var(--dark-blue);
  background-image:
    linear-gradient(rgba(var(--dark-blue-rgb), 0.88), rgba(var(--dark-blue-rgb), 0.88)),
    url("/wp-content/uploads/2024/03/Sertec-Sistemi-e-tecnologie-per-la-sicuerzza.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-card {
  background: var(--white);
  border-radius: 0;
  padding: 2.25rem 1.5rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.3rem;
  color: var(--blue);
}

.product-panel {
  background: var(--white);
  border-radius: 0;
  padding: 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* Su telefono il padding di card e pannelli si mangiava mezza colonna */
@media (max-width: 575.98px) {
  .feature-card {
    padding: 1.5rem 1rem;
  }

  .product-panel {
    padding: 1.5rem 1.25rem;
  }
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band {
  background: var(--dark-blue);
  border-radius: 0;
  overflow: hidden;
}


/* Sertec: pagina chi siamo
-------------------------------------------------------- */
.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1;
}

.stat-label {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
}

.feature-plain-icon {
  font-size: 3.5rem;
  color: var(--blue);
  margin-bottom: 1.25rem;
}


/* Sertec: pagina brand
-------------------------------------------------------- */
.brand-logo {
  width: auto;
  max-height: 60px;
}


/* Sertec: pagina contatti
-------------------------------------------------------- */
.contact-card a {
  color: var(--dark-blue);
}

/* L'hover globale porta i link a --light-blue, che è bianco: dentro la card sparirebbero */
.contact-card a:hover {
  color: var(--dark-blue) !important;
  text-decoration: underline;
}


/* Sertec: sezioni alternate
-------------------------------------------------------- */
.section-blue {
  background: var(--dark-blue);
}

.section-blue,
.section-blue h2,
.section-blue h3,
.section-blue p,
.section-blue li,
.section-blue .eyebrow,
.section-blue .check-list i,
.section-blue .feature-plain-icon,
.section-blue .stat-number,
.section-blue .stat-label,
.section-blue .color-primary {
  color: var(--white) !important;
}

.section-blue .eyebrow::before {
  background: var(--white);
}

/* Le card restano bianche anche sul fondo blu: il testo al loro interno non va schiarito */
.section-blue .feature-card h2,
.section-blue .feature-card h3,
.section-blue .feature-card p,
.section-blue .feature-card .color-primary {
  color: var(--dark-blue) !important;
}


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


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

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

footer p {
  font-size: 14px;
}

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

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

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

@media (min-width: 768px) {

  .page-header h1 {
    font-size: clamp(50px, 7vw, 120px);
    padding-bottom: 30px;
  }

  .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;
    padding-bottom: 20px;
  }

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

  .page-header {
    min-height: 340px;
  }
}

/* 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;
  }
}


/* 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);
}

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

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

/* Form Contact Form 7
-------------------------------------------------------- */

/* CF7 avvolge ogni campo in uno span inline: senza questo la larghezza non si propaga */
.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 .form-control {
  padding: 0.85rem 1rem;
}

/* 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: 0;
  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
-------------------------------------------------------------- */
.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;
}
