/* --- Base --- */
:root {
    --green: #2f8f5f;
    /* verde barra menu */
    --green-dark: #277b52;
    --gold: #c8b15a;
    /* oro per bottoni/titoli */
    --header-bg: #FFFFFF;
    /* grigio chiaro header */
    --text: #2b2b2b;
    --max: 1100px;
    --fs-xs: 0.75rem;
    /* 12px */
    --fs-sm: 0.8125rem;
    /* 13px */
    --fs-base: 1rem;
    /* 16px */
    --fs-md: 1.25rem;
    /* 20px */
    --fs-lg: 1.375rem;
    /* 22px */
    --fs-xl: 1.625rem;
    /* 26px */

}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    /* base */
}


body {
    margin: 0;
    padding: 0;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    /* 16px */
    line-height: 1.6;
    color: var(--text);
}

h1 {
  margin: 0 0 34px;
  text-align: center;
  letter-spacing: 2px;
  font-size: var(--fs-lg);
  color: var(--green-dark);
  font-weight: 600;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 34px;
  text-align: center;
  letter-spacing: 2px;
  font-size: var(--fs-lg);
  color: var(--gold);
  font-weight: 600;
}

h3 {
  margin: 0 0 10px;
  font-size: var(--fs-md);
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}

img{
    border-radius:10px;
    max-width:100%;
    height: auto;
}

/* --- Header top --- */
.site-header {
    background: var(--header-bg);
}

.header-top {
    height: 50px;
    background-color: #eee;
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    text-align: center;
}

.brand-logo {
    width: 360px;
    height: auto;
    display: block;
    margin: 10px auto 0px;
}

.brand-name {
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.2;
    color: var(--green);
}

.header-page .header-top{ 

}

.header-page .header-inner{

}

.header-page .header-inner img{
    width:150px;
}

/* --- Navbar --- */
.site-nav {
    background: var(--green);
    position: relative;
    z-index: 50;
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 16px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 34px;
    align-items: center;
}

.nav-menu>li {
    position: relative;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: var(--fs-base);
    letter-spacing: 0.3px;
    text-transform: none;
    padding: 10px 2px;
    display: inline-block;
}

.nav-menu a:hover {
    opacity: 0.9;
}

.nav-item--has-submenu>a {
    padding-right: 18px;
    position: relative;
}

.nav-item--has-submenu>a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 2px;
    width: 7px;
    height: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
}

.nav-submenu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    min-width: 250px;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-item--has-submenu:hover .nav-submenu,
.nav-item--has-submenu:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-submenu li {
    margin: 0;
}

.nav-submenu a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
    background: #f7f5ee;
    opacity: 1;
}

/* Burger: nascosto desktop */
.nav-burger {
    display: none;
    width: 44px;
    height: 36px;
    border: 0;
    background: transparent;
    padding: 6px;
    cursor: pointer;
    position: absolute;
    left: 16px;
}

.nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
}

/* --- Sticky “quando arriva su” --- */
.site-nav.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.sticky-spacer {
    height: 46px;
    /* uguale altezza nav */
}

/* --- Drawer mobile --- */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 80;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 320px);
    height: 100vh;
    background: #fff;
    z-index: 90;
    transform: translateX(100%);
    transition: transform 200ms ease;
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer-head {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 12px;
    border-bottom: 1px solid #eee;
}

.drawer-close {
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.drawer-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.drawer-menu a {
    display: block;
    padding: 14px 18px;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
}

.drawer-menu a:hover {
    background: #f8f8f8;
}

.drawer-link-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f1f1f1;
}

.drawer-link-row>a {
    flex: 1;
    border-bottom: 0;
}

.drawer-submenu-toggle {
    width: 56px;
    border: 0;
    border-left: 1px solid #f1f1f1;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.drawer-submenu-toggle span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--green);
    border-bottom: 1.5px solid var(--green);
    transform: rotate(45deg);
    transition: transform 180ms ease;
}

.drawer-submenu-toggle[aria-expanded="true"] span {
    transform: rotate(225deg);
}

.drawer-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    background: #faf9f4;
}

.drawer-item--has-submenu.is-open .drawer-submenu {
    display: block;
}

.drawer-submenu a {
    padding: 12px 18px 12px 34px;
    font-size: 0.95rem;
    color: #4d4d4d;
    background: transparent;
}

.drawer-submenu a:hover {
    background: #f3efe2;
}

/* --- Responsive: sotto 900px -> burger + drawer, nascondi menu orizzontale --- */
@media (max-width: 900px) {
    .nav-inner {
        justify-content: center;
    }

    .nav-menu {
        display: none;
    }

    .nav-burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

/* --- HERO --- */
.hero {
    position: relative;
    background: #fff;
    
    background-size: cover;
    background-position: bottom;
}

/* fascia frase */
.hero-quote {
    max-width: var(--max);
    margin: 0 auto;
    padding: 50px 16px 50px;
    text-align: center;
}

.quote-text {
    margin: 0 0 10px;
    font-style: italic;
    font-size: var(--fs-base);
    color: var(--green);
}

.quote-author {
    margin: 0;
    font-size: var(--fs-base);
    color: #333;
}

/* immagine di sfondo “sbiancata” come nello screenshot */
.hero-cover {
    height: 360px;

}

/* card testo + bottone centrati sull’immagine */
.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(26px + 22px + 46px);
    /* quote padding approx + navbar height */
    /* NOTA: se cambi altezze sopra, ritocchiamo */
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-card {
    width: min(680px, calc(100% - 32px));
    text-align: center;
    pointer-events: auto;
}

.hero-card-text {
    margin: 0 0 16px;
    font-size: var(--fs-base);
    line-height: 1.75;
    color: #2b2b2b;
}

/* bottone oro */
.btn-gold {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: var(--gold);
    color: #1f1f1f;
    text-decoration: none;
    font-size: var(--fs-base);
    letter-spacing: 1px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.btn-gold:hover {
    filter: brightness(0.97);
}

/* --- Responsive hero --- */
@media (max-width: 900px) {
    .hero-cover {
        height: 300px;
    }

    .hero-overlay {
        top: calc(26px + 22px + 46px);
        height: 300px;
    }

    .hero-card-text {
        
        line-height: 1.65;
    }
}

@media (max-width: 520px) {
    .hero-cover {
        height: 320px;
    }

    .hero-overlay {
        height: 320px;
    }

    .hero-card-text {
        
    }
}


/* --- LA PSICOTERAPIA --- */
.psy {
    background: #fff;
    padding: 56px 0 64px;
}

.wrapper-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 16px;
}

.psy-title {
    margin: 0 0 34px;
    text-align: center;
    letter-spacing: 2px;
    font-size: var(--fs-lg);
    color: var(--gold);
    font-weight: 600;
}

/* griglia 2 colonne desktop */
.psy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 90px;
    row-gap: 50px;
    align-items: start;
}

.psy-item h3 {
    margin: 0 0 10px;
    font-size: var(--fs-md);
    letter-spacing: 1px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
}

.psy-item p {
    margin: 0 0 10px;
    font-size: var(--fs-base);
    line-height: 1.75;
    color: #666;
    max-width: 520px;
    /* evita righe troppo lunghe come nello screenshot */
}

.psy-item a {
    font-size: var(--fs-sm);
    letter-spacing: 1px;
    color: #b9a04d;
    text-decoration: none;
    text-transform: uppercase;
}

.psy-item a:hover {
    text-decoration: underline;
}

/* responsive */
@media (max-width: 900px) {
    .psy {
        padding: 44px 0 52px;
    }

    .psy-grid {
        grid-template-columns: 1fr;
        row-gap: 26px;
    }

    .psy-title {
        margin-bottom: 26px;
    }

    .psy-item p {
        max-width: none;
    }
}

/* --- WAVES --- */
.wave {
    line-height: 0;
    overflow: hidden;
    clear: both;
}

.wave svg {
    display: block;
    width: 100%;
    height: 110px;
}

.wave--light path {
    fill: #f6f6f6;
}

.wave--green {
    background: #f6f6f6;
    /* colore sopra l’onda */
}

.wave.reverseX{
    transform: scale(-100%, 100%);
}

.wave.reverseY{
    transform: scale(100%, -100%);
}

.wave--green svg {
    transform: scale(-100%, 100%);
}

.wave--green path {
    fill: #2f8f5f;
}



/* --- CHI SONO --- */
.about {
    background: #f6f6f6;
    padding: 38px 0 42px;
}

.about-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 16px;
    /*display: flex;
    justify-content: center;*/
}

.about-card {
    
    background: #fff;
    border: 2px solid rgba(200, 177, 90, 0.65);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    padding: 18px 18px 16px;
}

.about-title {
    margin: 0 0 10px;
    font-size: var(--fs-lg);
    font-weight: 700;
    color: #222;
}

.about-text {
    margin: 0 0 10px;
    font-size: var(--fs-base);
    line-height: 1.75;
    color: #666;
}

.about-link {
    display: inline-block;
    margin-top: 6px;
    font-size: var(--fs-base);
    letter-spacing: 1px;
    color: #b9a04d;
    text-decoration: none;
    text-transform: uppercase;
}

.about-link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .wave {
        height: 90px;
        background-size: 1200px 90px;
    }

    .about {
        padding: 28px 0 34px;
    }

    .about-card {
        padding: 16px;
    }

    .about-title {
        font-size: 20px;
    }
}

/* --- CONTATTI --- */
.contact {
    background: var(--green);
    padding: 54px 0 60px;
    position: relative;
}



.contact-title {
    margin: 0 0 26px;
    text-align: center;
    letter-spacing: 2px;
    font-size: var(--fs-lg);
    color: #fff;
    font-weight: 600;
}

/* form */
.contact-form {

    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    align-items: start;
}

.field {
    display: block;
}

.field--full {
    grid-column: 1 / -1;
}

.field-label {
    display: block;
    font-size: var(--fs-base);
    color: #fff;
    margin: 0 0 6px;
    opacity: 0.95;
}

.field-input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    padding: 10px 10px;
    font-size: var(--fs-base);
    outline: none;
    border-radius: 5px;
}

.field-input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.field-input:focus {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.14);
}

.field-textarea {
    resize: vertical;
    min-height: 120px;
}

/* checkbox privacy */
.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 2px;
}

.check-box {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
}

.check-text {
    font-size: var(--fs-base);
    line-height: 1.5;
    color: #fff;
    opacity: 0.95;
}

/* bottone */
.btn-gold--wide {
    padding: 12px 28px;
    min-width: 160px;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

/* responsive */
@media (max-width: 900px) {
    .contact {
        padding: 44px 0 52px;
    }

    .contact-title {
        margin-bottom: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}


/* --- FOOTER --- */
.site-footer {
    background: #fff;
    padding: 34px 0 40px;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 24px;
    align-items: start;
}

.footer-logo {
    width: 150px;
    height: auto;
    display: block;
}

.footer-name {
    font-style: italic;
    color: var(--green);
    font-size: var(--fs-base);
    margin-bottom: 4px;
}

.footer-role {
    color: #555;
    font-size: var(--fs-base);
    margin-bottom: 10px;
}

.footer-lines {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: #666;
}

.footer-lines a {
    color: #666;
    text-decoration: none;
}

.footer-lines a:hover {
    text-decoration: underline;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.footer-nav a {
    font-size: var(--fs-base);
    color: #666;
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* responsive */
@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        justify-content: center;
    }

    .footer-nav {
        align-items: center;
    }
}


/*PAGE CONTENT*/
/*PAGE CONTENT*/
/*PAGE CONTENT*/
/*PAGE CONTENT*/
/*PAGE CONTENT*/





.img-left{
	float:left;
	margin-right:10px;
}

.img-right{
	float:right;
	margin-left:10px;
}

.img-autosize{
	width:100%;
	margin-right:0px;
	margin-left:0px;
}
a.filedoc, a.filedoc:link{
	display:block;
	background-color:#E0E0E0;
	padding:10px;
}
a.filedoc, a.filedoc:hover{
	background-color:#CCC;
	
}

.vlj-special{
	/*background-image:url(imm/bkg-special.png);
	background-position:center center;
	background-repeat:no-repeat;
	background-color:#E0E0E0;*/
	max-width:100%;
	position:relative;
	overflow:hidden;
}

.vlj-special.vlj-special-autosize {
    position: relative;
    margin-right: 0px;
    margin-left: 0px;
}

.vlj-special.vlj-special-autosize > *{
	position:absolute;
	
}

.vlj-doc-pdf a, .vlj-doc-pdf a:link{
	clear:both;
	display:block;
	background-image:url(../css-img/icon_pdf.png);
	background-repeat:no-repeat;
	background-position:10px center;
	padding-left:50px;
	padding-top:15px;
	padding-bottom:15px;
	line-height:20px;
	background-color:#DDDDDD;
	color:#222;
}
.vlj-doc-pdf a:hover{
	background-color:#BBBBBB;
	color:#000;
}
.vlj-textuploader{
	display:inline-block;
	background-image:url(imm/bkg_input_load.png);
	background-position:0px 0px;
	padding:3px;
	height:18px;
	
	border:1px solid #AAAAAA;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
}

.vlj-special .container-test{
	overflow:hidden; 
	background-color:#006699;
}

.vlj-special .container-test .border{
	padding:10px; width:50%; box-sizing:border-box; float:left;
}

.vlj-special .container-test .title{
	color:#FFF;
	font-size:1.5em;
}
.vlj-special .container-test .edit-container{
	background-color:#FFF; 
	color:#000; 
	font-size:12px
}
