﻿/* Reset generale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

:focus-visible {
    outline: 3px solid var(--yellow-testai);
    outline-offset: 3px;
    border-radius: 3px;
}

:root {
    --blue-testai: #387c30;
    --yellow-testai: #ffbb02;
    --dark-blue: #006600;
    --light-blue-links: #cef5c8; /* Colore blu chiaro per i link del footer */
    --text-gray: #4d5d6d;
}

body {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-gray);
    line-height: 1.6;
    padding-top: 0;
    overflow-x: hidden;
}

/* SCROLL ANIMATIONS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: ease;
    transition-duration: 0.6s;
}
[data-aos][data-aos-duration="500"] { transition-duration: 0.5s; }
[data-aos].aos-animate { opacity: 1; transform: none !important; }
[data-aos="fade-up"]   { transform: translateY(28px); }
[data-aos="fade-left"] { transform: translateX(28px); }
@media (prefers-reduced-motion: reduce) {
    [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* HEADER */
.ct-header {
    background-color: transparent;
    height: calc(65px + 6mm);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.ct-header.scrolled {
    background-color: var(--blue-testai);
    height: calc(65px + 6mm);
}

/* When header becomes scrolled (green), make nav links white and rimuovi il rettangolo */
.ct-header.scrolled .nav-menu a {
    color: #ffffff;
    background: transparent;
}
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.30);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.70);
}

.ct-header.scrolled .nav-menu a:hover,
.ct-header.scrolled .nav-menu a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

/* Make button text white when header is scrolled */
.ct-header.scrolled .btn-preventivo {
    color: #ffffff;
}

.ct-container {
    max-width: 1250px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    position: relative;
    top: -0.1cm;
}

.logo img {
    transform: scale(0.68);
    transform-origin: left center;
}

.logo span {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    padding-bottom: 14px;
}

.nav-menu {
    margin-right: 2cm;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-preventivo {
    display: none;
}

.nav-menu a {
    text-decoration: none;
    color: #2b2f2d;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    backdrop-filter: blur(4px);
    transition: background 0.2s, color 0.2s;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.38);
    opacity: 1;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 2cm;
}

.search-icon {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

.btn-preventivo {
    background-color: var(--yellow-testai);
    color: #3c3e3d;
    padding: 12px 18px;
    margin-right: 2.5cm;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 4px 0 #b37e00;
    transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-preventivo:hover {
    background-color: #e6a800;
    color: #1a1a1a;
    transform: translateY(3px);
    box-shadow: 0 1px 0 #b37e00;
}

/* HERO */
.hero-section {
    position: relative;
    min-height: 840px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding: 60px 0 80px;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.30) 100%);
    z-index: 0;
}

.hero-content-wrapper {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-box {
    background: transparent;
    max-width: 580px;
    padding: 60px 20px 60px 0;
    color: white;
    text-align: left;
    margin-top: 0;
}

@media (min-width: 992px) {
    .hero-box {
        max-width: 560px;
        margin-left: 1cm;
        margin-right: auto;
        margin-top: 0;
    }
    .ct-container {
        padding-right: 2cm;
    }
    .hero-section {
        align-items: flex-start;
        padding-top: 60px;
    }
}

.hero-box h1 {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.15;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

.hero-box p {
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.88);
    max-width: 100%;
}

.hero-box p strong {
    font-weight: 700;
}

.hero-intro {
    font-size: 17px !important;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.valorizzazione {
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 2.5px;
    margin: 28px 0 22px 0 !important;
    text-align: left;
    max-width: 100% !important;
    opacity: 0.80;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.search-box {
    margin-top: 30px;
}

.search-box select {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    color: #666;
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* SEZIONE INTRO (bianca) */
.intro-section {
    background-color: #ffffff;
    text-align: center;
    padding: 60px 20px 40px;
}

.intro-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.intro-illustration {
    width: 333px;
    height: auto;
    border-radius: 32px;
    display: block;
    margin: 0 auto;
}

/* SEZIONE PERCHÃ‰ (verde) */
.perche-section {
    background-color: #387c30;
    text-align: center;
    padding: 60px 20px 70px;
}

.perche-section .section-title {
    font-size: 32px;
    margin-bottom: 30px;
}

.perche-text {
    color: #ffffff;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- SEZIONE SERVIZI --- */
.services-grid {
    padding: 100px 0;
    background-color: #ffffff;
    color: var(--text-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 40px; 
    font-weight: 700;
    position: relative;
    padding-bottom: 25px;
    display: inline-block;
    line-height: 1.2;
    color: var(--text-gray);
}

.perche-section .section-title {
    color: #ffffff;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 140px;
    height: 7px;
    background-color: var(--yellow-testai);
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; 
    width: 95%;
    max-width: 1350px;
}

.service-card {
    text-align: center;
    padding: 10px;
}

.service-card img {
    height: 185px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.service-icon {
    height: 72px;
    width: 72px;
    margin-bottom: 24px;
    color: var(--blue-testai);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service-card h3 {
    font-size: 20px;
    color: var(--blue-testai);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.85;
}

.service-card p strong {
    color: var(--text-gray);
    font-weight: 700;
}

/* --- SEZIONE SCOPRI SERVIZI --- */
.scopri-servizi-section {
    position: relative;
    min-height: 500px;
    background-image: url('../images/servicios-administrador-fincas-malaga.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.scopri-servizi-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.scopri-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 80px 20px;
}

.scopri-icon-circle {
    width: 110px;
    height: 110px;
    background-color: rgba(255, 255, 255, 0.10);
    border: 2px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scopri-icon-circle i {
    font-size: 46px;
    color: #ffffff;
}

.scopri-content h2 {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    max-width: 600px;
    line-height: 1.2;
}

.btn-vai-servizi {
    background-color: var(--yellow-testai);
    color: #3c3e3d;
    padding: 12px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 0 #b37e00;
    transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-vai-servizi:hover {
    background-color: #e6a800;
    color: #1a1a1a;
    transform: translateY(3px);
    box-shadow: 0 1px 0 #b37e00;
}

.scopri-question {
    font-size: 22px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 10px;
    text-transform: uppercase;
}

.btn-preventivo-large {
    background-color: var(--yellow-testai);
    color: #3c3e3d;
    padding: 13px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 0 #b37e00;
    transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-preventivo-large:hover {
    background-color: #e6a800;
    color: #1a1a1a;
    transform: translateY(4px);
    box-shadow: 0 1px 0 #b37e00;
}

/* --- SEZIONE LE NOSTRE SEDI --- */
.sedi-section {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.sedi-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.sedi-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 55px;
}

.sede-mappa-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
}

.sede-mappa-wrapper iframe {
    border: 0;
    display: block;
    width: 100%;
    height: 420px;
}

/* MAP FACADE */
.map-facade {
    cursor: pointer;
    width: 100%;
}
.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, #f0f4f0 0%, #e8efe8 100%);
    text-align: center;
    padding: 20px;
}
.map-placeholder p {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}
.sede-mappa-wrapper .map-placeholder { height: 420px; }
.ct-map .map-placeholder            { height: 280px; }
.btn-load-map {
    background: var(--blue-testai);
    color: #ffffff;
    border: none;
    padding: 11px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Playfair Display', Georgia, serif;
    transition: opacity 0.2s;
}
.btn-load-map:hover { opacity: 0.85; }

.sedi-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 45px 55px;
    max-width: 1100px;
    margin: 0 auto;
}

.sede-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.sede-circle {
    width: 155px;
    height: 155px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sede-circle:hover {
    transform: scale(1.05);
}

.sede-circle i {
    font-size: 60px;
    color: #1168b5;
}

.sede-label {
    background-color: var(--yellow-testai);
    color: #3c3e3d;
    font-weight: 700;
    padding: 7px 22px;
    border-radius: 20px;
    font-size: 15px;
}

/* --- FOOTER MODIFICATO --- */
.main-footer {
    background-color: var(--dark-blue);
    color: #ffffff;
    padding: 0;
}

.footer-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
    flex-wrap: wrap;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    min-width: 220px;
}

.footer-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.88);
    margin: 0;
    line-height: 1.4;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.92);
}

.footer-contact p {
    font-size: 13px;
    color: rgba(255,255,255,0.92);
    margin-bottom: 3px;
}

.footer-logo {
    height: 62px;
    width: auto;
}

.footer-logo-cgcafe {
    height: 38px;
    width: auto;
    margin-top: 10px;
    opacity: 0.85;
}

.cs-colegiado {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    padding: 16px 20px;
    background: #f5f9f5;
    border-left: 3px solid var(--blue-testai);
    border-radius: 6px;
}

.cs-colegiado-logo {
    height: 52px;
    width: auto;
    flex-shrink: 0;
}

.cs-colegiado-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0px;
}

/* Link in blu chiaro senza sottolineatura */
.footer-links a {
    color: var(--light-blue-links); 
    text-decoration: none; 
    font-size: 14px;
    line-height: 0.5; /* Diminuisce lo spazio tra le righe di un link lungo */
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-bottom {
    background-color: #000400;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    width: 100%;
}

/* ==============================
   BANNER PAGINE INTERNE
   ============================== */

/* Base comune */
.page-banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 45px;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
}

/* Variante privacy (sfondo verde) */
.page-banner-privacy {
    height: 320px;
    background-color: #387c30;
}

.page-banner-privacy::before {
    background: rgba(0, 40, 0, 0.45);
}

.page-banner-privacy .page-banner-content {
    position: relative;
    z-index: 1;
    max-width: 1250px;
    width: 95%;
    margin: 0 auto;
}

.page-banner-privacy h1 {
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
}

/* Variante foto (chi-siamo, servizi, contatti) */
.page-banner-photo {
    height: 380px;
    background-size: cover;
}

.page-banner-photo::before {
    background: linear-gradient(to right, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.05) 100%);
}

.page-banner-photo .page-banner-content {
    position: relative;
    z-index: 1;
    padding: 0 50px;
}

/* Background image per pagina (path relativo a /images/) */
.page-banner-chi-siamo {
    background-image: url('../images/quienes-somos-administrador-fincas-malaga.webp');
    background-position: center top;
}

.page-banner-servizi {
    background-image: url('../images/servicios-comunidades-propietarios-malaga.webp');
    background-position: center;
}

.page-banner-contatti {
    background-image: url('../images/contacto-administrador-fincas-malaga.webp');
    background-position: center;
}

/* Breadcrumb e titolo banner */
.breadcrumb {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.page-banner-title {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

/* ==============================
   CHI SIAMO PAGE
   ============================== */
.chi-siamo-content {
    background: #ffffff;
    padding: 75px 40px 80px;
}

.chi-siamo-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 65px;
    align-items: start;
}

.cs-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-testai);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

.cs-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-gray);
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 30px;
    display: inline-block;
}

.cs-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75px;
    height: 5px;
    background-color: var(--yellow-testai);
}

.cs-two-col {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cs-col-photo {
    flex: 0 0 45%;
}

.cs-col-text {
    flex: 0 0 55%;
}

.cs-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.cs-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: 18px;
}

.cs-text strong {
    color: var(--text-gray);
    font-weight: 700;
}

.anaci-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #f4f7fb;
    border: 2px solid #dde6f0;
    border-radius: 10px;
    padding: 16px 24px;
    margin-top: 24px;
}

.anaci-badge img {
    height: 60px;
    width: auto;
    display: block;
}

.anaci-text {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
    line-height: 1.4;
}

.anaci-text strong {
    font-size: 20px;
    color: var(--blue-testai);
    font-weight: 700;
    display: block;
}

.cs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 100px;
}

.cs-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,0.09);
}

.cs-card-header {
    background-color: var(--blue-testai);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs-card-body {
    background: #ffffff;
    padding: 20px 22px;
}

.cs-card-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.75;
}

.cs-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.cs-contact-row:last-child {
    margin-bottom: 0;
}

.cs-contact-row i {
    color: var(--blue-testai);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.cs-contact-row em {
    font-style: italic;
    font-size: 13px;
    opacity: 0.8;
}

/* ==============================
   SERVIZI PAGE
   ============================== */
.servizi-content {
    background: #ffffff;
    padding: 75px 40px 80px;
}

.servizi-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 65px;
    align-items: start;
}

.sv-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-testai);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

.sv-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-gray);
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 30px;
    display: inline-block;
}

.sv-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75px;
    height: 5px;
    background-color: var(--yellow-testai);
}

.sv-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: 18px;
}

.sv-grid-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 40px 0 24px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.sv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sv-card {
    border-radius: 10px;
    border: 2px solid #e8eef5;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.sv-card:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.10);
    border-color: var(--blue-testai);
}

.sv-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #f3f8f3;
    border: 1.5px solid #d5e8d5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sv-card-icon i {
    color: var(--blue-testai);
    font-size: 22px;
}

.sv-card-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.6;
}

.sv-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 100px;
}

.sv-card-side {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,0.09);
}

.sv-card-side-header {
    background-color: var(--blue-testai);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sv-card-side-body {
    background: #ffffff;
    padding: 20px 22px;
}

.sv-card-side-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.75;
}

.sv-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.sv-contact-row:last-child { margin-bottom: 0; }

.sv-contact-row i {
    color: var(--blue-testai);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.sv-contact-row em {
    font-style: italic;
    font-size: 13px;
    opacity: 0.8;
}

.sv-tags {
    margin-top: 36px;
    font-size: 13px;
    color: var(--text-gray);
}

.sv-tags strong {
    font-weight: 700;
    margin-right: 6px;
}

.sv-tag {
    display: inline-block;
    background: #f0f4f8;
    border: 1px solid #dde6f0;
    border-radius: 4px;
    padding: 3px 10px;
    margin: 3px 4px 3px 0;
    font-size: 12px;
    color: var(--blue-testai);
    font-weight: 600;
}

/* ==============================
   CONTATTI PAGE
   ============================== */
.contatti-content {
    background: #ffffff;
    padding: 75px 40px 80px;
}

.contatti-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 65px;
    align-items: start;
}

.ct-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-testai);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

.ct-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-gray);
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 10px;
    display: inline-block;
}

.ct-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75px;
    height: 5px;
    background-color: var(--yellow-testai);
}

.ct-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 28px 0 36px;
}

.preventivo-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 2px solid #e0e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-gray);
    background: #fafcff;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-testai);
    background: #ffffff;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

.form-privacy input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--blue-testai);
    cursor: pointer;
}

.form-privacy a {
    color: var(--blue-testai);
    text-decoration: underline;
}

.btn-invia {
    align-self: flex-start;
    background-color: var(--blue-testai);
    color: #ffffff;
    padding: 14px 42px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-invia:hover {
    opacity: 0.85;
}

.form-success {
    display: none;
    background: #edf7ed;
    border: 2px solid var(--blue-testai);
    border-radius: 10px;
    padding: 20px 24px;
    font-size: 15px;
    color: var(--blue-testai);
    font-weight: 600;
    margin-top: 10px;
}

.ct-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 100px;
}

.ct-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,0.09);
}

.ct-card-header {
    background-color: var(--blue-testai);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ct-card-body {
    background: #ffffff;
    padding: 20px 22px;
}

.ct-card-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.75;
}

.ct-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.ct-contact-row:last-child { margin-bottom: 0; }

.ct-contact-row i {
    color: var(--blue-testai);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.ct-contact-row em {
    font-style: italic;
    font-size: 13px;
    opacity: 0.8;
}

/* Box preventivo nella pagina contatti */
.ct-preventivo-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #f4faf3;
    border: 2px solid #c5e3bf;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 32px;
}

.ct-preventivo-box > i {
    font-size: 26px;
    color: var(--blue-testai);
    flex-shrink: 0;
    margin-top: 2px;
}

.ct-preventivo-box strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.ct-preventivo-box p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0 0 10px;
}

.ct-preventivo-link {
    display: inline-block;
    background-color: var(--blue-testai);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ct-preventivo-link:hover {
    opacity: 0.85;
}

.ct-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,0.09);
    height: 280px;
    flex-shrink: 0;
}

.ct-map iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
    margin: 0;
    padding: 0;
}

/* ==============================
   CAMBIO AMMINISTRATORE PAGE
   ============================== */

.page-banner-cambio {
    background-image: url('../images/cambio-administrador-fincas-malaga.webp');
    background-position: center;
}

.page-banner-cambio::before {
    background: linear-gradient(to right, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.05) 100%);
}

/* --- Benefits strip --- */
.ca-benefits-strip {
    background-color: var(--blue-testai);
    padding: 22px 40px;
}

.ca-benefits-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ca-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.5;
}

.ca-benefit-icon {
    width: 32px;
    height: 32px;
    color: #ffffff;
    flex-shrink: 0;
}

/* --- Layout --- */
.cambio-content {
    background: #f5f8f5;
    padding: 70px 40px 80px;
}

.cambio-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 55px;
    align-items: start;
}

.ca-left {
    min-width: 0;
}

.ca-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-testai);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

.ca-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-gray);
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 10px;
    display: inline-block;
}

.ca-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75px;
    height: 5px;
    background-color: var(--yellow-testai);
}

.ca-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 20px 0 14px;
}

.ca-subtitle-link {
    margin-top: 0;
    margin-bottom: 28px;
}

.ca-link {
    color: var(--blue-testai);
    text-decoration: underline;
}

.ca-link:hover {
    color: var(--dark-blue);
}

/* --- Form card wrapper --- */
.cambio-form-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.cambio-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 32px;
}

/* --- Form blocks (sections) --- */
.form-block {
    border-bottom: 1px solid #eef2ee;
}

.form-block:last-of-type {
    border-bottom: none;
}

.form-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-testai);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 28px;
    background: #f4faf3;
    border-bottom: 1px solid #e2f0df;
}

.form-block-icon {
    width: 32px;
    height: 32px;
    background-color: var(--blue-testai);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-block-icon i {
    color: #ffffff;
    font-size: 14px;
}

.form-block-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Override form-group dentro form-block */
.form-block-body .form-group {
    margin-bottom: 0;
}

/* Label optional tag */
.label-optional {
    font-weight: 400;
    font-size: 12px;
    color: #999;
    text-transform: none;
    letter-spacing: 0;
}

/* --- Date row --- */
.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 10px;
    margin-top: 6px;
}

.form-row-3 input,
.form-row-3 select {
    border: 2px solid #e0e8f0;
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 14px;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-gray);
    background: #fafcff;
    transition: border-color 0.2s;
    width: 100%;
}

.form-row-3 select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.form-row-3 input:focus,
.form-row-3 select:focus {
    outline: none;
    border-color: var(--blue-testai);
    background: #ffffff;
}

/* --- Radio cards --- */
.radio-card-group {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.radio-card {
    cursor: pointer;
    flex: 1;
    min-width: 90px;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 10px;
    border: 2px solid #e0e8f0;
    border-radius: 10px;
    background: #fafcff;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    text-align: center;
}

.radio-card-inner i {
    font-size: 18px;
    color: #aabcaa;
    transition: color 0.2s;
}

.radio-card input[type="radio"]:checked + .radio-card-inner {
    border-color: var(--blue-testai);
    background: #f0f9ee;
    color: var(--blue-testai);
}

.radio-card input[type="radio"]:checked + .radio-card-inner i {
    color: var(--blue-testai);
}

.radio-card:hover .radio-card-inner {
    border-color: #8cc488;
}

/* --- Privacy + submit --- */
.cambio-form .form-privacy {
    margin: 0 28px;
}

.cambio-form .btn-invia-full {
    align-self: stretch;
    text-align: center;
    margin: 16px 28px 0;
    padding: 16px;
    font-size: 15px;
}

.cambio-form .form-success {
    margin: 8px 28px 0;
}

/* --- Sidebar CTA card --- */
.ca-cta-card .ct-card-header {
    display: none;
}

.ca-cta-card-body {
    background: var(--blue-testai);
    padding: 28px 22px;
    text-align: center;
    border-radius: 10px;
}

.ca-cta-icon {
    font-size: 32px;
    color: var(--yellow-testai);
    display: block;
    margin-bottom: 12px;
}

.ca-cta-text {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.55;
    margin-bottom: 16px;
}

.ca-cta-tel {
    display: inline-block;
    background: var(--yellow-testai);
    color: #1a2b1a;
    font-weight: 700;
    font-size: 15px;
    padding: 11px 26px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ca-cta-tel:hover {
    opacity: 0.88;
}

/* --- Photo divider with CTA --- */
.ca-photo-divider {
    height: 380px;
    background-image: url('../images/servicios-administrador-fincas-malaga.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ca-photo-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 55, 0, 0.55);
}

.ca-photo-divider-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.ca-photo-divider-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.2;
}

.ca-photo-divider-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.88);
    max-width: 500px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.ca-photo-cta {
    display: inline-block;
    background-color: var(--yellow-testai);
    color: #1a2b1a;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ca-photo-cta:hover {
    opacity: 0.9;
}

/* --- FAQ Section --- */
.ca-faq-section {
    background-color: #f5f8f5;
    padding: 80px 40px 100px;
}

.ca-faq-inner {
    max-width: 960px;
    margin: 0 auto;
}

.ca-faq-main-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 55px;
    position: relative;
    padding-bottom: 22px;
}

.ca-faq-main-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background-color: var(--yellow-testai);
}

.ca-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ca-faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    display: flex;
    gap: 0;
    overflow: hidden;
}

.ca-faq-num {
    background: transparent;
    color: var(--blue-testai);
    border: 1.5px solid var(--blue-testai);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    min-width: 52px;
    flex-shrink: 0;
    letter-spacing: 1px;
    align-self: flex-start;
    margin: 24px 0 24px 24px;
}

.ca-faq-num-highlight {
    border-color: var(--dark-blue);
    color: var(--dark-blue);
}

.ca-faq-highlight {
    border: 2px solid #b4d9af;
}

.ca-faq-body {
    padding: 26px 30px;
    flex: 1;
    min-width: 0;
}

.ca-faq-question {
    font-size: 17px;
    font-weight: 700;
    color: var(--blue-testai);
    margin-bottom: 12px;
    line-height: 1.35;
}

.ca-faq-highlight .ca-faq-question {
    color: var(--dark-blue);
}

.ca-faq-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: 12px;
}

.ca-faq-body p:last-child {
    margin-bottom: 0;
}

.ca-faq-list {
    margin: 10px 0 14px 22px;
    list-style: disc;
}

.ca-faq-list li {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 5px;
}

.ca-faq-checklist {
    list-style: none;
    margin-left: 0;
}

.ca-faq-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ca-faq-checklist li i {
    color: var(--blue-testai);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.ca-faq-note {
    background: #f4faf3;
    border-left: 4px solid var(--blue-testai);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 13px !important;
    margin-top: 14px;
}

.ca-warning-box {
    background: #fffbea;
    border: 2px solid var(--yellow-testai);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 14px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.ca-warning-box i {
    color: #e6a800;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ca-warning-box p {
    font-size: 17px !important;
    margin-bottom: 6px !important;
}

.ca-warning-list {
    list-style: none;
    margin: 4px 0 0 0;
    padding: 0;
}

.ca-warning-list li {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.75;
    padding-left: 16px;
    position: relative;
    margin-bottom: 3px;
}

.ca-warning-list li::before {
    content: '\203A';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #e6a800;
}

/* --- Responsive --- */
@media (max-width: 980px) {
    .cambio-inner { grid-template-columns: 1fr; }
    .cambio-content { padding: 60px 30px 70px; }
    .ca-title { font-size: 28px; }
    .ca-photo-divider { background-attachment: scroll; }
    .ca-benefits-strip { padding: 18px 30px; }
}

@media (max-width: 768px) {
    .cambio-content { padding: 50px 20px 60px; }
    .ca-title { font-size: 26px; }
    .ca-subtitle { font-size: 18px; }
    .ca-section-label { font-size: 14px; }
    .ca-faq-body p, .ca-faq-list li { font-size: 17px; }
    .ca-cta-text { font-size: 17px; }
    .radio-card-inner { font-size: 15px; }
    .form-block-title { font-size: 15px; }
    .ca-faq-note { font-size: 17px; }
    .ca-warning-box p, .ca-warning-list li { font-size: 17px; }
    .form-row-3 input, .form-row-3 select { font-size: 17px; }
    .ca-benefit { font-size: 15px; }
    .ca-cta-tel { font-size: 17px; }
    .ca-photo-cta { font-size: 17px; }
    .form-row-3 { grid-template-columns: 1fr; }
    .ca-faq-section { padding: 60px 20px 70px; }
    .ca-faq-main-title { font-size: 24px; }
    .ca-faq-question { font-size: 17px; }
    .ca-photo-divider { height: 300px; background-attachment: scroll; }
    .ca-photo-divider-content h2 { font-size: 26px; }
    .ca-benefits-inner { gap: 14px 30px; }
    .form-block-title { padding: 16px 20px; }
    .form-block-body { padding: 20px; }
    .cambio-form .form-privacy { margin: 0 20px; }
    .cambio-form .btn-invia-full { margin: 16px 20px 0; }
    .cambio-form .form-success { margin: 8px 20px 0; }
    .ca-faq-num { min-width: 44px; width: 44px; height: 44px; font-size: 15px; margin: 20px 0 20px 20px; }
    .ca-faq-body { padding: 20px 22px; }
}

@media (max-width: 560px) {
    .ca-benefits-strip { padding: 16px 20px; }
    .ca-benefit { font-size: 16px; gap: 10px; }
    .ca-benefit-icon { width: 24px; height: 24px; }
    .ca-title { font-size: 22px; }
    .cambio-content { padding: 40px 15px 50px; }
    .ca-photo-divider { height: 260px; }
    .ca-photo-divider-content h2 { font-size: 22px; }
    .ca-photo-divider-content p { font-size: 14px; }
    .ca-faq-num { min-width: 38px; width: 38px; height: 38px; font-size: 13px; margin: 16px 0 16px 16px; }
    .ca-faq-body { padding: 18px 16px; }
    .radio-card-group { gap: 8px; }
}

/* ==============================
   PRIVACY POLICY PAGE
   ============================== */

/* --- CONTENUTO PRIVACY --- */
.privacy-content {
    background-color: #ffffff;
    padding: 70px 20px 90px;
}

.privacy-inner {
    max-width: 860px;
    margin: 0 auto;
}

.privacy-inner h2 {
    font-size: 26px;
    font-weight: 700;
    color: #387c30;
    margin: 45px 0 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffbb02;
}

.privacy-inner h2:first-child {
    margin-top: 0;
}

.privacy-inner h3 {
    font-size: 18px;
    font-weight: 700;
    color: #4d5d6d;
    margin: 25px 0 10px;
}

.privacy-inner p {
    font-size: 15px;
    color: #4d5d6d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-inner ul {
    margin: 10px 0 20px 25px;
}

.privacy-inner ul li {
    font-size: 15px;
    color: #4d5d6d;
    line-height: 1.8;
    margin-bottom: 6px;
}

.privacy-inner a {
    color: #387c30;
    text-decoration: underline;
}

.privacy-inner a:hover {
    color: #006600;
}

.info-box {
    background-color: #f4faf3;
    border-left: 4px solid #387c30;
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.info-box p {
    margin-bottom: 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.cookie-table th {
    background-color: #387c30;
    color: #ffffff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 700;
}

.cookie-table td {
    padding: 11px 15px;
    border-bottom: 1px solid #e8f0e6;
    color: #4d5d6d;
    vertical-align: top;
}

.cookie-table tr:nth-child(even) td {
    background-color: #f9fcf8;
}

.last-update {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #999;
    text-align: right;
}

.btn-cookie-settings {
    display: inline-block;
    background-color: #387c30;
    color: #ffffff;
    padding: 11px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.btn-cookie-settings:hover {
    background-color: #006600;
    color: #ffffff;
}

.btn-cookie-settings + p {
    margin-top: 20px;
}

/* ==============================
   COOKIE BANNER (barra in basso)
   ============================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #1a2b1a;
    padding: 22px 20px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-banner-icon {
    flex-shrink: 0;
    font-size: 28px;
    color: #ffbb02;
    display: flex;
    align-items: center;
}

.cookie-banner-text {
    flex: 1;
    min-width: 220px;
}

.cookie-banner-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.cookie-banner-text p {
    font-size: 13px;
    line-height: 1.65;
    color: #c8e6c4;
    margin: 0;
}

.cookie-banner-text a {
    color: #ffbb02;
    text-decoration: underline;
    font-weight: 700;
}

.cookie-banner-text a:hover {
    color: #ffe066;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-cookie-accept {
    background-color: #ffbb02;
    color: #1a2b1a;
    border: none;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Playfair Display', Georgia, serif;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background-color: #e6a800;
}

.btn-cookie-reject {
    background-color: transparent;
    color: #c8e6c4;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Playfair Display', Georgia, serif;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-cookie-reject:hover {
    border-color: #ffffff;
    color: #ffffff;
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .cookie-banner-actions {
        width: 100%;
    }
    .btn-cookie-accept,
    .btn-cookie-reject {
        flex: 1;
        text-align: center;
    }
}

/* ==============================
   HAMBURGER
   ============================== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 1024px) {
    .grid-layout { grid-template-columns: repeat(2, 1fr); }
    .page-banner-photo { height: 320px; }
    .page-banner-title { font-size: 42px; }

    .hamburger-btn { display: flex; position: relative; z-index: 10000; margin-right: 0mm; }
    .ct-header { z-index: 10000; }
    .header-action { display: none; }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin-right: 0;
        background: var(--blue-testai);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .nav-menu.open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        text-align: center;
    }
    .nav-menu a {
        display: block;
        padding: 18px 24px;
        border-radius: 0;
        background: transparent;
        color: #ffffff;
        font-size: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        border-right: 5mm solid var(--blue-testai);
    }
    .nav-menu a:last-child { border-bottom: none; }
    .nav-preventivo { display: list-item; }
    .nav-menu .btn-preventivo {
        background: transparent;
        color: #ffffff;
        font-size: 20px;
        padding: 18px 24px;
        border-radius: 0;
        box-shadow: none;
        font-weight: 700;
        text-transform: uppercase;
    }
}

@media (max-width: 980px) {
    .cs-two-col { flex-direction: column; }
    .cs-col-photo, .cs-col-text { flex: 0 0 100%; width: 100%; }
    .cs-photo { height: 280px; }

    .chi-siamo-inner,
    .servizi-inner,
    .contatti-inner { grid-template-columns: 1fr; }

    .cs-sidebar,
    .sv-sidebar,
    .ct-sidebar { position: static; }

    .chi-siamo-content,
    .servizi-content,
    .contatti-content { padding: 60px 30px 70px; }

    .footer-grid { gap: 20px; }

    .section-title { font-size: 34px; }
    .cs-title, .sv-title, .ct-title { font-size: 28px; }
    .page-banner-title { font-size: 38px; }
}

@media (max-width: 900px) {
    .hero-section { min-height: 680px; }
    .hero-box { margin-top: 2cm; max-width: 92%; margin-left: 20px; }
}

@media (max-width: 768px) {
    .scopri-servizi-section {
        background-image: url('../images/servicios-administrador-fincas-malaga-mobile.webp');
    }
    .ct-header { padding-top: 5mm; align-items: flex-start; }
    .hero-section { min-height: 560px; }
    .hero-bg-img { object-position: 70% center; }
    .hero-section::before { background: rgba(0,0,0,0.45); }
    .hero-box { padding: 35px 20px; margin-top: 3mm; margin-left: auto; margin-right: auto; }
    .hero-box h1 { font-size: 42px; }
    .hero-box p { font-size: 18px; }
    .valorizzazione { font-size: 15px !important; }

    .page-banner-photo { height: 260px; }
    .page-banner-privacy { height: 240px; }
    .page-banner-photo .page-banner-content { padding: 0 20px; }
    .page-banner-title { font-size: 32px; }

    .form-row { grid-template-columns: 1fr; }
    .sv-cards { grid-template-columns: 1fr; }
    .footer-info { min-width: 100%; }

    .chi-siamo-content,
    .servizi-content,
    .contatti-content { padding: 50px 20px 60px; }
    .privacy-content { padding: 50px 20px 70px; }

    .section-title { font-size: 29px; }
    .cs-title, .sv-title, .ct-title { font-size: 27px; }
    .sedi-title { font-size: 31px; }

    .services-grid { padding: 70px 0; }
    .section-header { margin-bottom: 50px; }
    .intro-title { font-size: 29px; }
    .perche-text { font-size: 19px; }
    .cs-text, .sv-text { font-size: 18px; }
    .cs-colegiado-text { font-size: 17px; }
    .cs-section-label, .sv-section-label, .ct-section-label { font-size: 14px; }
    .hero-intro { font-size: 19px !important; }
    .service-card p { font-size: 17px; }
    .breadcrumb { font-size: 18px; }
    .ct-subtitle { font-size: 18px; }
    .cs-card-body p, .sv-card-side-body p, .ct-card-body p { font-size: 17px; }
    .cs-contact-row, .sv-contact-row, .ct-contact-row { font-size: 17px; }
    .cs-contact-row em, .sv-contact-row em, .ct-contact-row em { font-size: 15px; }
    .ct-card-header { font-size: 17px; }
    .cs-card-header { font-size: 17px; }
    .sv-card-side-header { font-size: 17px; }
    .sv-tags { font-size: 15px; }
    .sv-tag { font-size: 15px; }
    .ct-preventivo-box strong { font-size: 17px; }
    .ct-preventivo-link { font-size: 17px; }
    .map-placeholder p { font-size: 17px; }
    .sede-label { font-size: 17px; }
    .form-success { font-size: 17px; }
    .privacy-inner p, .privacy-inner ul li { font-size: 17px; }
    .footer-info p, .footer-contact p, .footer-contact h3 { font-size: 16px; }
    .footer-links a { font-size: 15px; }
    .footer-bottom { font-size: 15px; }
    .sv-card-text { font-size: 17px; }
    .ct-preventivo-box p { font-size: 17px; }
    .anaci-text { font-size: 15px; }
    .form-group label { font-size: 15px; }
    .form-group input, .form-group select, .form-group textarea { font-size: 17px; }
    .form-privacy { font-size: 15px; }
}

@media (max-width: 600px) {
    .grid-layout { grid-template-columns: 1fr; }

    .hero-section { min-height: 480px; }
    .hero-box { padding: 28px 16px; max-width: 95%; margin-top: 3mm; }
    .hero-box h1 { font-size: 38px; }
    .hero-box p { font-size: 18px; }

    .page-banner-photo { height: 220px; }
    .page-banner-privacy { height: 210px; }
    .page-banner-title { font-size: 29px; }

    .scopri-servizi-section { min-height: 360px; }
    .scopri-content h2 { font-size: 25px; }
    .scopri-content { gap: 20px; padding: 60px 20px; }

    .footer-grid { gap: 30px; }
    .main-footer { padding: 50px 0 0; }

    .logo img { max-height: 48px; width: auto; transform: none; }
    .footer-logo { height: 48px; }
}

@media (max-width: 480px) {
    .hero-section { min-height: 420px; }
    .hero-box h1 { font-size: 35px; }

    .page-banner-photo { height: 200px; }
    .page-banner-privacy { height: 190px; }
    .page-banner-title { font-size: 27px; }

    .section-title::after { width: 100px; }

    .perche-section { padding: 50px 20px 60px; }
    .services-grid { padding: 55px 0; }
    .sedi-section { padding: 60px 15px; }
}

@media (max-width: 425px) {
    .ca-benefit { font-size: 13px; }
    .hero-section { min-height: 380px; }
    .hero-box { padding: 24px 18px; }
    .hero-box h1 { font-size: 33px; }
    .hero-box p { font-size: 17px; }
    .valorizzazione { font-size: 14px !important; margin: 20px 0 18px 0 !important; }

    .logo img { max-height: 42px; }
    .footer-logo { height: 42px; }

    .page-banner-photo { height: 180px; padding-bottom: 30px; }
    .page-banner-privacy { height: 175px; padding-bottom: 30px; }
    .page-banner-title { font-size: 25px; }

    .chi-siamo-content,
    .servizi-content,
    .contatti-content { padding: 40px 15px 50px; }
    .privacy-content { padding: 40px 15px 60px; }

    .btn-invia { align-self: stretch; text-align: center; }
    .search-box select { font-size: 17px; }
    .service-card img { height: 140px; }
}

@media (max-width: 375px) {
    .hero-section { min-height: 360px; }
    .hero-box { padding: 20px 15px; }

    .page-banner-photo { height: 165px; }
    .page-banner-privacy { height: 160px; }
    .page-banner-title { font-size: 22px; }

    .logo img { max-height: 38px; }
    .footer-logo { height: 38px; }
}

@media (max-width: 320px) {
    .hero-box { padding: 18px 14px; }
    .hero-box h1 { font-size: 26px; }
    .page-banner-photo { height: 150px; }
    .page-banner-privacy { height: 145px; }
    .page-banner-title { font-size: 20px; }
    .chi-siamo-content,
    .servizi-content,
    .contatti-content { padding: 35px 12px 40px; }
    .privacy-content { padding: 35px 12px 50px; }

    .logo img { max-height: 34px; }
    .footer-logo { height: 34px; }
}
