    /* --------------------------------------------------------------
    RESET DI BASE
    -------------------------------------------------------------- */

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    :root{
    --primary:#539cc5;
    --secondary:#0f172a;
    --light:#f8fafc;
}


    html {
        scroll-behavior: smooth;
        overflow-x: hidden;
    }

    body {
        margin: 0;
        padding: 0;
        font-family: "Helvetica Neue", Arial, sans-serif;
        font-size: 16px;
        line-height: 1.6;
        color: #3d4147;
        background-color: #fff;
        overflow-x: hidden;
    }

    /* --------------------------------------------------------------
    TIPOGRAFIA
    -------------------------------------------------------------- */

    h1, h2, h3, h4, h5, h6 {
        font-weight: 600;
        line-height: 1.25;
        margin-top: 0;
        margin-bottom: 1rem;
      
    }

    p {
        margin-top: 0;
        margin-bottom: 1.2rem;
        color:#444;
    }

    a {
        color: #5f8896;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    /* --------------------------------------------------------------
    IMMAGINI
    -------------------------------------------------------------- */

    img {
        max-width: 100%;
        height: auto;
    
    }

    /* --------------------------------------------------------------
    LISTE
    -------------------------------------------------------------- */

    ul, ol {
        padding-left: 1.4rem;
        margin-top: 0;
        margin-bottom: 1.2rem;
    }

    /* --------------------------------------------------------------
    TABELLE
    -------------------------------------------------------------- */

    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 1.5rem;
    }

    th, td {
        padding: 0.75rem;
        border: 1px solid #ddd;
    }

    th {
        background-color: #f8f9fa;
        font-weight: 600;
    }

    /* --------------------------------------------------------------
    FORM
    -------------------------------------------------------------- */

    input, textarea, select {
        font-family: inherit;
        font-size: 1rem;
        padding: 0.5rem;
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    button {
        font-family: inherit;
    }

    /* --------------------------------------------------------------
    SPACING UTILITY (minimali)
    -------------------------------------------------------------- */

    .mt-0 { margin-top: 0 !important; }
    .mb-0 { margin-bottom: 0 !important; }
    .mt-1 { margin-top: .5rem !important; }
    .mb-1 { margin-bottom: .5rem !important; }
    .mt-2 { margin-top: 1rem !important; }
    .mb-2 { margin-bottom: 1rem !important; }
    .mt-3 { margin-top: 1.5rem !important; }
    .mb-3 { margin-bottom: 1.5rem !important; }

    /* --------------------------------------------------------------
    CONTENUTO WORDPRESS
    -------------------------------------------------------------- */


    .wp-block-quote {
        border-left: 4px solid #ccc;
        padding-left: 1rem;
        color: #555;
        margin: 1.5rem 0;
    }

    .alignwide {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .alignfull {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* --------------------------------------------------------------
    HEADER E FOOTER (minimali)
    -------------------------------------------------------------- */

    .site-header {
        border-bottom: 1px solid #eee;
    }

    footer {
      background-color: #f7f9fb;
     
    }
    /* --------------------------------------------------------------
    Gutenberg Color Palette Support
    -------------------------------------------------------------- */

    .has-primary-color {
        color: #0d6efd !important;
    }

    .has-primary-background-color {
        background-color: #0d6efd !important;
    }

    .has-dark-color {
        color: #212529 !important;
    }

    .has-dark-background-color {
        background-color: #212529 !important;
    }

    .post-tags i {
        color: #6c757d;
        font-size: 1rem;
    }

    .post-tags .badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

 
    .nav-link {
        color: #111 ;
    }

/* STILI CUSTOM */

.logo {
  width: 150px;
}

.section-padding{
    padding:100px 0;
}

.section-title{
    font-weight:700;
    margin-bottom:25px;
}

.section-label{
    text-transform:uppercase;
    letter-spacing:2px;
    color:var(--primary);
    font-size:.85rem;
    font-weight:600;
}

.hero-home{
    min-height:100vh;
    color:#fff;
    position:relative;
    background:
        linear-gradient(
            rgba(0,0,0,.55),
            rgba(0,0,0,.55)
        ),
        url('/wp-content/themes/silviatheme/img/hero-bg.jpg');
    background-size:cover;
    background-position:center;
}

.hero-badge{
    display:inline-block;
    padding:8px 16px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    border-radius:50px;
}

.hero-text{
    font-size:1.1rem;
    line-height:1.8;
    max-width:850px;
    color: #fff;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.values-section{
    background:#f7f9fb;
    padding:100px 0;
}

.value-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    height:100%;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.3s;
}

.value-card:hover{
    transform:translateY(-8px);
}

.value-card h3{
    font-size:1.25rem;
    margin-bottom:15px;
    color:var(--primary);
}

.service-info{
    padding:100px 0;
    background:var(--primary);
    color:#fff;
}

.page-hero{
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image: url('/wp-content/themes/silviatheme/img/page-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.page-hero-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.page-title{
    position: relative;
    z-index: 2;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

.page-hero::after{
    content:'';
    position:absolute;
    left:-4;
    bottom:-1px;
    width:102%;
    height:120px;

    background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150'%3E%3Cpath fill='%23ffffff' d='M0,64L80,74.7C160,85,320,107,480,106.7C640,107,800,85,960,74.7C1120,64,1280,64,1360,64L1440,64L1440,160L1360,160C1280,160,1120,160,960,160C800,160,640,160,480,160C320,160,160,160,80,160L0,160Z'/%3E%3C/svg%3E")
    bottom center / cover no-repeat;
}

    /* =========================
   CONTACT FORM 7 - MEDICAL STYLE
========================= */

.wpcf7 {
  max-width: 850px;
  margin: 0 auto;
  padding: 50px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

/* labels */
.wpcf7 label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0f4c5c;
  margin-bottom: 10px;
  letter-spacing: .2px;
}

/* input + textarea + select */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #d9e6ea;
  border-radius: 12px;
  background: #f8fbfc;
  font-size: 16px;
  color: #2f2f2f;
  transition: all .25s ease;
  outline: none;
  margin-top: 6px;
}

/* Checkbox CF7 */
.wpcf7 input[type="checkbox"]{
  width:auto !important;
  min-width:auto !important;
  display:inline-block;
  margin-right:10px;
  transform:scale(1.1);
}

/* focus */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #1d748b;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(29,116,139,.12);
}

/* textarea */
.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

/* placeholder */
.wpcf7 ::placeholder {
  color: #9aa8ad;
  font-size: 15px;
}

/* spacing between fields */
.wpcf7 p {
  margin-bottom: 24px;
}

/* submit button */
.wpcf7 input[type="submit"] {
  background: #0f4c5c;
  color: #fff;
  border: none;
  padding: 18px 42px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 8px 20px rgba(15,76,92,.18);
}

.wpcf7 input[type="submit"]:hover {
  background: #1d748b;
  transform: translateY(-2px);
}

/* spinner */
.wpcf7-spinner {
  margin-left: 15px;
}

/* validation errors */
.wpcf7-not-valid-tip {
  color: #d93025;
  font-size: 13px;
  margin-top: 8px;
  font-weight: 500;
}

/* response output */
.wpcf7-response-output {
  margin: 30px 0 0 !important;
  padding: 16px 20px !important;
  border-radius: 12px;
  font-size: 15px;
  border: none !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: #e7f7ef;
  color: #23754d;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  background: #fff1f1;
  color: #c62828;
}

/* checkbox/radio */
.wpcf7-list-item {
  margin-left: 0;
  margin-right: 18px;
  color: #555;
}

/* mobile */
@media (max-width: 768px) {
  .wpcf7 {
    padding: 30px 24px;
  }

  .wpcf7 input[type="submit"] {
    width: 100%;
  }
}