/*
Theme Name: Cattani Theme
Theme URI: https://www.rossellacattani.it
Description: Tema figlio di GeneratePress per Rossella Cattani – Benessere Olistico e Psicosomatico
Author: Massaro Studio
Author URI: https://www.massarostudio.it
Template: generatepress
Version: 1.0.0
Text Domain: cattani-theme
*/

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --verde-scuro: #2D6B3C;
    --verde-medio: #4A9B5F;
    --oro: #C8883A;
    --oro-chiaro: #D4A055;
    --nero-footer: #3D2314;
    --bianco: #FFFFFF;
    --beige: #F9F5EF;
    --testo: #444444;
    --testo-menu: #555555;
    --radius: 12px;
    --radius-pill: 30px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --transition: 0.4s ease;
    --max-width: 1100px;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: var(--testo);
    background-color: var(--bianco);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.03em;
    color: var(--verde-scuro);
    line-height: 1.3;
}

h1 { font-size: 58px; }
h2 { font-size: 38px; margin-bottom: 20px; }
h3 { font-size: 28px; }

a {
    color: var(--verde-scuro);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--oro);
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn,
.btn-pill {
    display: inline-block;
    padding: 14px 36px;
    background-color: var(--verde-scuro);
    color: var(--bianco);
    border: none;
    border-radius: var(--radius-pill);
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
    text-decoration: none;
}

.btn:hover,
.btn-pill:hover {
    background-color: var(--oro);
    color: var(--bianco);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: var(--verde-scuro);
    border: 2px solid var(--verde-scuro);
    border-radius: var(--radius-pill);
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-outline:hover {
    background-color: var(--verde-scuro);
    color: var(--bianco);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

/* Top band: white with centered logo */
.header-top {
    background: var(--bianco);
    padding: 20px 0 10px;
    text-align: center;
}

.site-logo {
    display: inline-block;
}

.site-logo img {
    max-height: 130px;
    width: auto;
    height: auto;
    display: block;
}

/* Bottom band: green with centered menu */
.header-bottom {
    background: var(--verde-scuro);
    border-bottom: 4px solid #C8883A;
}

.header-bottom-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

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

.main-nav a {
    font-family: 'Raleway', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color var(--transition) !important;
    position: relative;
    display: inline-block;
    padding: 12px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--oro);
    transition: width var(--transition);
}

.main-nav a:hover {
    color: #C8883A !important;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    color: var(--oro-chiaro) !important;
}

/* Header social icons (green bar) */
.nav-separator {
    display: block;
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-social a {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    transition: color var(--transition);
}

.header-social a:hover {
    color: #C8883A;
}

.header-social svg {
    width: 20px;
    height: 20px;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--bianco);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Body offset for fixed header */
body {
    padding-top: 195px;
}

/* ============================================
   HERO SLIDESHOW (HOME)
   ============================================ */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(45, 107, 60, 0.15) 0%,
        rgba(45, 107, 60, 0.55) 70%,
        rgba(45, 107, 60, 0.75) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 58px;
    color: var(--bianco);
    margin-bottom: 15px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-content .btn {
    font-size: 14px;
}

/* Slideshow dots */
.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slideshow-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background var(--transition);
}

.slideshow-dots .dot.active {
    background: var(--bianco);
}

/* ============================================
   HERO INTERNO (PAGINE)
   ============================================ */
.hero-interno {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-interno img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-interno .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(45, 107, 60, 0.2) 0%,
        rgba(45, 107, 60, 0.6) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-interno h1 {
    color: var(--bianco);
    font-size: 52px;
    font-style: italic;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    text-align: center;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 90px 0;
}

.section-beige {
    background-color: var(--beige);
}

.section-white {
    background-color: var(--bianco);
}

.section-verde {
    background-color: var(--verde-scuro);
    color: var(--bianco);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    color: var(--verde-scuro);
    margin-bottom: 10px;
}

.section-verde .section-title h2 {
    color: var(--bianco);
}

.section-title .line {
    display: block;
    width: 60px;
    height: 2px;
    background: var(--oro-chiaro);
    margin: 15px auto 0;
}

/* ============================================
   CHI SONO INTRO (HOME)
   ============================================ */
.chi-sono-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.chi-sono-foto {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.chi-sono-foto {
    display: flex;
    justify-content: center;
    perspective: 1000px;
    overflow: hidden;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 3px solid var(--oro-chiaro);
    box-shadow: var(--shadow);
    margin: 0 auto;
}

.foto-circolare {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.15);
    animation: rc-coin-flip 1.8s ease-out forwards;
}

@keyframes rc-coin-flip {
    0% {
        transform: rotateY(90deg) scale(0.92);
        opacity: 0;
    }
    40% {
        transform: rotateY(-15deg) scale(1.17);
        opacity: 0.8;
    }
    70% {
        transform: rotateY(8deg) scale(1.14);
        opacity: 1;
    }
    100% {
        transform: rotateY(0deg) scale(1.15);
        opacity: 1;
    }
}

.chi-sono-testo h2 {
    margin-bottom: 20px;
}

.chi-sono-testo p {
    margin-bottom: 20px;
    color: var(--testo);
}

/* ============================================
   TRATTAMENTI GRID (HOME)
   ============================================ */
.trattamenti-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.trattamento-box {
    grid-column: span 2;
    background: var(--bianco);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.trattamento-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.trattamento-box .icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    color: var(--oro);
}

.trattamento-box .icon svg,
.trattamento-box .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trattamento-box h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.trattamento-box p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

/* Riga 2: 2 box centrati (colonne 2-4 e 4-6 su griglia a 6) */
.trattamenti-grid .trattamento-box:nth-child(4) {
    grid-column: 2 / 4;
}

.trattamenti-grid .trattamento-box:nth-child(5) {
    grid-column: 4 / 6;
}

/* ============================================
   CITAZIONE
   ============================================ */
.citazione-section {
    padding: 100px 0;
    text-align: center;
}

.citazione-section blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 36px;
    color: var(--bianco);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.5;
    border: none;
    padding: 0;
}

.citazione-section .autore {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: var(--oro-chiaro);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   BLOG PREVIEW (HOME)
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bianco);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-cat {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--oro);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.blog-card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-card-content h3 a {
    color: var(--verde-scuro);
}

.blog-card-content h3 a:hover {
    color: var(--oro);
}

.blog-card-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.blog-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--verde-scuro);
    letter-spacing: 0.5px;
}

.blog-card-link:hover {
    color: var(--oro);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
    padding: 90px 0;
}

.cta-section h2 {
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* ============================================
   CHI SONO PAGE
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 18px;
}

.valori-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.valore-box {
    padding: 40px 25px;
    background: var(--bianco);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.valore-box .icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;
    color: var(--verde-medio);
}

.valore-box .icon svg {
    width: 100%;
    height: 100%;
}

.valore-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.valore-box p {
    font-size: 15px;
    color: #666;
}

/* ============================================
   TRATTAMENTI PAGE
   ============================================ */
.trattamento-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 70px 0;
    border-bottom: 1px solid #eee;
}

.trattamento-row:last-child {
    border-bottom: none;
}

.trattamento-row.reverse .trattamento-img-wrap {
    order: 2;
}

.trattamento-row.reverse .trattamento-text {
    order: 1;
}

.trattamento-img-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.trattamento-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.trattamento-text p {
    margin-bottom: 20px;
}

/* ============================================
   SINGLE TRATTAMENTO PAGE
   ============================================ */
.trattamento-single {
    max-width: 800px;
    margin: 0 auto;
}

.trattamento-single h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 30px;
}

.trattamento-single p {
    margin-bottom: 18px;
}

.trattamento-single ul {
    margin: 0 0 25px 20px;
    padding: 0;
}

.trattamento-single ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 10px;
}

.trattamento-single ul li::marker {
    color: var(--verde-medio);
}

.trattamento-cta {
    text-align: center;
    margin-top: 50px;
    padding: 50px 0;
    border-top: 1px solid #eee;
}

/* ============================================
   CONTATTI PAGE
   ============================================ */
.contatti-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: var(--bianco);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--testo);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    color: var(--testo);
    transition: border-color var(--transition);
    background: var(--bianco);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--verde-medio);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.form-group-check input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--verde-scuro);
}

.form-group-check label {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.form-group-check a {
    color: var(--verde-scuro);
    text-decoration: underline;
}

.contatti-info {
    padding: 40px 0;
}

.contatti-info h3 {
    margin-bottom: 25px;
}

.contatti-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contatti-info-item .info-icon {
    width: 22px;
    height: 22px;
    color: var(--verde-medio);
    flex-shrink: 0;
    margin-top: 3px;
}

.contatti-info-item .info-icon svg {
    width: 100%;
    height: 100%;
}

.contatti-info-item p {
    margin: 0;
    font-size: 15px;
}

.contatti-info-item a {
    color: var(--verde-scuro);
}

.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ============================================
   BLOG ARCHIVE
   ============================================ */
.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    align-items: start;
}

.single-post-main {
    max-width: 100%;
}

.single-post-main .post-featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.single-post-main .post-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.single-post-main .post-meta .cat {
    color: var(--oro);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.single-post-main h1 {
    font-size: 42px;
    font-style: normal;
    margin-bottom: 25px;
}

.single-post-main .post-body {
    font-size: 16px;
    line-height: 1.9;
}

.single-post-main .post-body p {
    margin-bottom: 18px;
}

.single-post-main .post-body h2 {
    font-size: 28px;
    margin-top: 35px;
    margin-bottom: 15px;
}

/* Post bottom CTA */
.post-bottom-cta {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-oro {
    display: inline-block;
    padding: 14px 36px;
    background-color: #C8883A;
    color: #FFFFFF;
    border: 2px solid #C8883A;
    border-radius: 30px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-oro:hover {
    background-color: var(--verde-scuro);
    border-color: var(--verde-scuro);
    color: #FFFFFF;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 110px;
}

.sidebar-widget {
    background: var(--beige);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-widget h4 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--oro-chiaro);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
}

.sidebar-widget ul li a {
    font-size: 14px;
    color: var(--testo);
}

.sidebar-widget ul li a:hover {
    color: var(--oro);
}

.sidebar-bio {
    text-align: center;
}

.sidebar-bio .sidebar-bio-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--oro-chiaro);
    margin-bottom: 12px;
}

.sidebar-bio p {
    font-size: 14px;
    color: #666;
}

/* ============================================
   PRIVACY / COOKIE POLICY
   ============================================ */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 12px;
}

.policy-content h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.policy-content p,
.policy-content ul {
    margin-bottom: 16px;
}

.policy-content ul {
    padding-left: 25px;
}

.policy-content ul li {
    margin-bottom: 6px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    z-index: 1;
    background: var(--nero-footer);
    color: #FFFFFF;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 50px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Column headings */
.footer-col h4 {
    color: var(--oro-chiaro);
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--oro-chiaro);
}

/* Logo column */
.footer-logo {
    display: block;
    margin-bottom: 18px;
}

.footer-logo img {
    max-height: 100px;
    width: auto;
    height: auto;
    filter: brightness(10);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

/* Menu column */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #FFFFFF;
    font-size: 14px;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--oro);
}

/* Contatti column */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item .info-icon {
    width: 18px;
    height: 18px;
    color: var(--oro-chiaro);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item .info-icon svg {
    width: 100%;
    height: 100%;
}

.footer-contact-item p {
    margin: 0;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 1.6;
}

.footer-contact-item a {
    color: #FFFFFF !important;
    transition: color var(--transition);
}

.footer-contact-item a:hover {
    color: var(--oro) !important;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    transition: all var(--transition);
}

.footer-social a:hover {
    border-color: var(--oro);
    color: var(--oro);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

/* Footer bottom bar */
.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 20px;
    margin-top: 50px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

.footer-bottom p {
    margin: 3px 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--oro);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    h1 { font-size: 40px; }
    h2 { font-size: 30px; }
    .hero-content h1 { font-size: 40px; }
    .hero-interno h1 { font-size: 38px; }

    .section { padding: 60px 0; }

    .chi-sono-intro,
    .about-content,
    .trattamento-row,
    .contatti-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trattamento-row.reverse .trattamento-img-wrap,
    .trattamento-row.reverse .trattamento-text {
        order: unset;
    }

    .trattamenti-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .trattamenti-grid .trattamento-box:nth-child(4),
    .trattamenti-grid .trattamento-box:nth-child(5) {
        grid-column: span 2;
    }

    .valori-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .blog-grid,
    .blog-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-post-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 30px; }
    h2 { font-size: 22px; }
    .hero-content h1 { font-size: 30px; }
    .hero-content p { font-size: 17px; }
    .hero-interno h1 { font-size: 28px; }

    .hero-slideshow { height: 400px; }
    .hero-interno { height: 250px; }

    .section { padding: 50px 0; }
    .citazione-section { padding: 60px 0; }
    .citazione-section blockquote { font-size: 26px; }

    /* Mobile header adjustments */
    body {
        padding-top: 130px;
    }

    .site-logo img {
        max-height: 75px;
    }

    .header-bottom-inner {
        justify-content: flex-end;
    }

    /* Hamburger menu */
    .hamburger {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 130px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bianco);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        padding: 40px 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .nav-separator {
        display: none;
    }

    .header-social {
        justify-content: center;
        padding: 25px 0;
        gap: 18px;
    }

    .header-social a {
        color: var(--verde-scuro);
    }

    .header-social svg {
        width: 24px;
        height: 24px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid #eee;
    }

    .main-nav a {
        display: block !important;
        padding: 18px 0 !important;
        font-size: 15px !important;
        color: #555555 !important;
    }

    .main-nav a:hover {
        color: #C8883A !important;
    }

    .main-nav a::after {
        display: none;
    }

    .mobile-social {
        display: flex;
        gap: 15px;
        padding: 25px 0;
    }

    .mobile-social a {
        color: var(--verde-scuro);
        transition: color var(--transition);
    }

    .mobile-social a:hover {
        color: var(--oro);
    }

    .mobile-social svg {
        width: 22px;
        height: 22px;
    }

    .chi-sono-foto {
        order: -1;
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .foto-circolare {
        width: 100%;
        height: 100%;
    }

    /* Pulsanti pillola centrati su mobile */
    .btn,
    .btn-pill,
    .btn-outline,
    .btn-oro {
        width: auto;
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 300px;
    }

    .post-bottom-cta {
        flex-direction: column;
        align-items: center;
    }

    /* Watermark ridotto su mobile */
    .rc-watermark-bg {
        width: 40%;
        max-width: 300px;
    }

    .section-watermark .watermark {
        width: 40%;
    }

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

    .trattamenti-grid .trattamento-box,
    .trattamenti-grid .trattamento-box:nth-child(4),
    .trattamenti-grid .trattamento-box:nth-child(5) {
        grid-column: auto;
    }

    .blog-grid,
    .blog-archive-grid {
        grid-template-columns: 1fr;
    }

    .about-img {
        height: 350px;
    }

    .trattamento-img-wrap img {
        height: 300px;
    }
}

/* ============================================
   WATERMARK DECORATIVO
   ============================================ */
.section-watermark {
    position: relative;
    overflow: hidden;
}

.section-watermark .watermark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: auto;
    opacity: 0.09;
    pointer-events: none;
    z-index: 0;
}

.section-watermark .watermark-left {
    left: 2%;
    right: auto;
}

.section-watermark .watermark-right {
    right: 2%;
    left: auto;
}

.section-watermark .watermark-flip {
    transform: translateY(-50%) scaleX(-1);
}

.section-watermark .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }

/* GeneratePress overrides */
.site-content,
#page,
.site {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.generate-columns-container,
.inside-article,
.entry-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide GP default header/footer */
.site-header.has-menu,
#site-navigation,
.site-info {
    display: none !important;
}

/* Watermark decorativo pagine trattamento */
.rc-watermark-bg {
    position: fixed;
    bottom: -15%;
    right: -10%;
    width: 65%;
    max-width: 700px;
    opacity: 0.07;
    pointer-events: none;
    z-index: -1;
    animation: rc-float 8s ease-in-out infinite;
}

@keyframes rc-float {
    0%   { transform: scale(1) rotate(0deg); }
    33%  { transform: scale(1.03) rotate(1deg); }
    66%  { transform: scale(0.97) rotate(-1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Comments on blog posts */
.comments-area {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}
