/* =============================================
   SILVIA DENTI — PSICOLOGA PSICOTERAPEUTA
   Template inspired by Hunter Healthcare
   ============================================= */

/* ---------- VARIABLES ---------- */
:root {
    --dark: #1D1D1D;
    --black: #111111;
    --white: #ffffff;
    --off-white: #FAFBFC;
    --accent: #B57B60;
    --accent-hover: #B46262;
    --gold: #B99D70;
    --gray: #777777;
    --gray-dark: #444444;
    --gray-light: #cccccc;
    --border: #e0ddd6;
    --heading: #192a3d;
    --sand: #F1F0EE;
    /* Warm palette — derived from logo terracotta / gold */
    --cream: #FAF6F2;
    --warm-white: #FDF9F5;
    --warm-light: #F7F0EA;
    --warm-sand: #EDE5DC;
    --logo-bg: #d5cbb6;
    --font: 'Outfit', sans-serif;
    --container: 1320px;
    --gutter: 5vw;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- RESET ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-weight: 300;
    color: var(--dark);
    background-color: var(--warm-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.15;
    color: var(--heading);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

/* ---------- SCROLL ANCHORS ---------- */
section[id] {
    scroll-margin-top: 90px;
}

/* ---------- TOUCH TARGETS ---------- */
@media (pointer: coarse) {
    .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
    .header-nav a { padding: 0.7rem 0; }
    .contact-detail a { padding: 0.4rem 0; }
    .footer-col ul li a { padding: 0.3rem 0; display: inline-block; }
}

/* ---------- LINE WIPE DIVIDERS ---------- */
.line-wipe {
    display: block;
    width: 0;
    height: 1px;
    background: var(--accent);
    margin: 1.5rem 0;
    transition: none;
}

/* Line-wipe on accent-bg sections */
.about-intro .line-wipe,
.contact .line-wipe {
    background: var(--gold);
}

.line-wipe.active {
    animation: lineWipe 0.8s ease forwards;
}

@keyframes lineWipe {
    to { width: 60px; }
}

/* ---------- ABOUT PHOTO REVEAL ---------- */
/* Reveal handled by GSAP ScrollTrigger */

/* ---------- PARALLAX HELPERS ---------- */
.parallax-img {
    will-change: transform;
}

/* ---------- MAGNETIC BTN ---------- */
.btn-magnetic {
    position: relative;
    transition: transform 0.3s ease;
}

/* ---------- UTILITIES ---------- */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
    line-height: 1;
}

.section-label--light {
    color: var(--accent);
    border-left-color: rgba(181, 123, 96, 0.5);
}

/* BUTTON – Hunter-style wipe effect */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--dark);
    color: var(--dark);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--dark);
    transition: left var(--transition);
    z-index: -1;
}

.btn:hover { color: var(--white); }
.btn:hover::before { left: 0; }

.btn-accent {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-accent::before { background: var(--accent); }
.btn-accent:hover { color: var(--white); }

.btn-white {
    border-color: var(--white);
    color: var(--white);
}
.btn-white::before { background: var(--white); }
.btn-white:hover { color: var(--dark); }

/* ---------- PRELOADER ---------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--logo-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    height: 120px;
    margin-bottom: 2.5rem;
    opacity: 0;
}

.preloader-bar {
    width: 160px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    width: 0;
    height: 100%;
    background: var(--white);
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 var(--gutter);
    background: var(--logo-bg);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.scrolled {
    background: rgba(213, 203, 182, 0.92);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 1px 30px rgba(181, 123, 96, 0.08);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100px;
    max-width: var(--container);
    margin: 0 auto;
    transition: height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.scrolled .header-inner {
    height: 72px;
}

/* Nav sinistra — allineata a destra (verso il logo) */
.header-nav--left {
    justify-self: start;
}

.header-nav--left ul {
    display: flex;
    gap: 2.5rem;
}

/* Logo centrato nella colonna di mezzo */
.header-logo {
    justify-self: center;
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 88px;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.scrolled .header-logo-img {
    height: 60px;
}

/* Nav destra + CTA */
.header-nav--right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header-nav--right ul {
    display: flex;
    gap: 2.5rem;
}

.header-nav a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition);
}

/* Animated underline — expands from center */
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.header-nav a:hover { color: var(--accent); }
.header-nav a:hover::after { transform: translateX(-50%) scaleX(1); }

/* Active state */
.header-nav a.active { color: var(--accent); }
.header-nav a.active::after { transform: translateX(-50%) scaleX(1); }

/* Divider dot prima del CTA */
.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* CTA pill button */
.header-cta {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--accent);
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.header-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--dark);
    border-radius: 50px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.header-cta:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.header-cta:hover {
    box-shadow: 0 4px 20px rgba(181, 123, 96, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--dark);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner { text-align: center; }

.mobile-menu-close {
    position: absolute;
    top: 28px;
    right: var(--gutter);
    width: 40px;
    height: 40px;
}

.mobile-menu-close span {
    position: absolute;
    width: 28px;
    height: 2px;
    background: var(--white);
    top: 50%;
    left: 50%;
}

.mobile-menu-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-nav a {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 200;
    color: var(--white);
    transition: color var(--transition);
}

.mobile-menu-nav a:hover { color: var(--accent); }

.mobile-menu-contact {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-contact a {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
}

.mobile-menu-socials {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.mobile-menu-socials a {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    transition: color var(--transition);
}

.mobile-menu-socials a:hover { color: var(--accent); }

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px var(--gutter) 60px;
    background: var(--warm-white);
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}

.hero-left {
    flex: 0 0 50%;
    max-width: 50%;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--heading);
    margin-bottom: 0;
}

.hero-title .word {
    display: inline-block;
    overflow: hidden;
    margin-right: 0.25em;
    vertical-align: top;
}

.hero-title .word-inner {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

.hero-title .accent-word {
    color: var(--accent);
}

.hero-bottom {
    margin-top: 2.5rem;
    opacity: 0;
}

.hero-content {
    max-width: 420px;
}

.hero-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.hero-cta svg {
    transition: transform 0.3s;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

/* Hero Right — Two overlapping images with cross pattern */
.hero-right {
    flex: 0 0 45%;
    max-width: 45%;
}

.hero-images-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Square aspect ratio */
}

.hero-cross-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img-top {
    position: absolute;
    top: 1%;
    right: 1%;
    width: 58.8%;
    height: 78.4%;
    object-fit: cover;
    z-index: 3;
    transform: scale(0);
    transform-origin: right top;
    transition: transform 0.9s ease;
    border-radius: 2px;
}

.hero-img-bottom {
    position: absolute;
    bottom: 1%;
    left: 1%;
    width: 58.8%;
    height: 58.8%;
    object-fit: cover;
    z-index: 4;
    transform: scale(0);
    transform-origin: left bottom;
    transition: transform 0.9s ease 0.2s;
    border-radius: 2px;
}

.hero.images-revealed .hero-img-top,
.hero.images-revealed .hero-img-bottom {
    transform: scale(1);
}

/* ---------- MARQUEE ---------- */
.marquee {
    overflow: hidden;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--cream);
}

.marquee-track {
    display: flex;
    gap: 1.5rem;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.marquee-track span {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 200;
    color: var(--dark);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.marquee-dot { color: var(--accent) !important; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- BIGGER PICTURE ---------- */
.bigger-picture {
    position: relative;
    color: var(--dark);
    padding: 7rem 0;
    margin: 2.5rem 0;
    overflow: hidden;
    background: var(--sand);
}

.bigger-picture-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bigger-picture-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.bigger-picture-inner {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 5rem;
    align-items: flex-start;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---- Colonna sinistra: immagine + quote ---- */
.bp-col-left {
    flex: 0 0 38%;
    position: sticky;
    top: 120px;
}

.bp-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.bp-image-wrap .bp-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: 35% center;
    display: block;
}

.bp-image-accent {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 50%;
    height: 50%;
    border: 2px solid var(--accent);
    border-radius: 16px;
    opacity: 0.3;
    z-index: -1;
}

.bp-quote {
    margin-top: 2rem;
    padding: 1.8rem 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    position: relative;
}

.bp-quote p {
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    color: var(--heading);
    margin: 0;
}

/* ---- Colonna destra: contenuti ---- */
.bp-col-right {
    flex: 1;
    padding-top: 0.5rem;
}

.bp-col-right .section-label {
    margin-bottom: 1.2rem;
}

.bigger-picture-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.12;
    color: var(--heading);
    margin-bottom: 1.8rem;
}

.bp-lead {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--heading);
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
}

/* ---- Highlights con icone ---- */
.bp-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.bp-highlight {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 1.5rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bp-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.bp-highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: 12px;
}

.bp-highlight h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--heading);
    margin-bottom: 0.4rem;
}

.bp-highlight p {
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-dark);
    margin: 0;
}

/* ---------- ABOUT INTRO ---------- */
.about-intro {
    padding: 8rem var(--gutter);
    background: var(--accent);
    color: var(--white);
}

.about-intro-inner {
    display: flex;
    gap: 6rem;
    max-width: var(--container);
    margin: 0 auto;
    align-items: flex-start;
}

.about-intro-left { flex: 0 0 40%; }

.about-intro-left h2 {
    margin-top: 0.3rem;
    color: var(--white);
}

.about-intro-left .section-label {
    color: var(--gold);
}

.about-intro-right { flex: 1; }

.about-intro-right p {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

/* ---------- ABOUT DETAIL ---------- */
.about-detail {
    padding: 8rem var(--gutter);
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

/* Decorative organic shapes */
.about-detail-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-shape {
    position: absolute;
    opacity: 0;
}

.about-shape--1 {
    width: clamp(280px, 35vw, 500px);
    top: -10%;
    right: -5%;
    color: var(--sand);
    opacity: 0.5;
}

.about-shape--2 {
    width: clamp(180px, 20vw, 300px);
    bottom: -8%;
    left: -3%;
    color: var(--warm-sand);
    opacity: 0.4;
}

.about-shape--3 {
    width: clamp(100px, 12vw, 180px);
    top: 15%;
    left: 8%;
    color: var(--accent);
    opacity: 0.08;
}

.about-shape--4 {
    width: clamp(200px, 25vw, 380px);
    bottom: 5%;
    right: 15%;
    color: var(--gold);
    opacity: 0.07;
}

.about-detail-inner {
    display: flex;
    gap: 6rem;
    max-width: var(--container);
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-detail .about-text {
    flex: 1;
    order: 1;
}

.about-detail .about-text h2 {
    margin-top: 0.3rem;
    margin-bottom: 1.5rem;
}

.about-photo {
    flex: 0 0 42%;
    overflow: hidden;
    border-radius: 12px;
    order: 2;
    box-shadow: 0 30px 80px rgba(181, 123, 96, 0.15);
    position: relative;
}

.about-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(180, 190, 170, 0.25) 0%, rgba(200, 195, 180, 0.20) 50%, rgba(170, 175, 160, 0.22) 100%);
    z-index: 1;
    pointer-events: none;
}

.about-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid rgba(181, 123, 96, 0.1);
    pointer-events: none;
}

.about-photo img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    filter: saturate(0.82) brightness(1.03);
    display: block;
}

.about-text { flex: 1; }

.about-credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.credential {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 0.6rem 1rem;
    background: var(--warm-white);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.credential:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.credential-icon {
    color: var(--accent);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(181, 123, 96, 0.1);
    justify-content: center;
}

.about-text p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.about-text .btn { margin-top: 1rem; }

/* ---------- SERVICES ---------- */
.services {
    background: var(--warm-light);
    padding: 8rem var(--gutter);
}

.services-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.services-header { margin-bottom: 4rem; }
.services-header h2 { margin-top: 0.3rem; }

.services-carousel { position: relative; }

.service-item {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--warm-white);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 320px;
    transition: all var(--transition);
}

.service-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.85) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.service-item:hover::before,
.service-item:hover::after { opacity: 1; }

.service-item:hover {
    color: var(--white);
    border-color: transparent;
}

.service-num {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-item h3 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    transition: color var(--transition);
}

.service-item p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--gray);
    position: relative;
    z-index: 2;
    transition: color var(--transition);
    margin-top: auto;
}

.service-item:hover h3 { color: var(--white); }
.service-item:hover .service-num { color: rgba(255,255,255,0.6); }
.service-item:hover p { color: rgba(255,255,255,0.8); }

.services-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.services-nav button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all var(--transition);
}

.services-nav button:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* ---------- APPROACH ---------- */
.approach {
    background: linear-gradient(135deg, #9E6B55 0%, #B57B60 30%, #C08E76 60%, #D4A68E 100%);
    color: var(--white);
    padding: 6rem var(--gutter);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Floating animated shapes */
.approach-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.approach-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(60px);
}

.approach-shape--1 {
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.5);
    top: -5%;
    right: -5%;
    animation: approachFloat1 12s ease-in-out infinite;
}

.approach-shape--2 {
    width: 250px;
    height: 250px;
    background: rgba(255, 220, 200, 0.5);
    bottom: -8%;
    left: -3%;
    animation: approachFloat2 15s ease-in-out infinite;
}

.approach-shape--3 {
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.4);
    top: 40%;
    right: 10%;
    animation: approachFloat3 10s ease-in-out infinite;
}

.approach-shape--4 {
    width: 120px;
    height: 120px;
    background: rgba(255, 240, 230, 0.4);
    top: 15%;
    left: 15%;
    animation: approachFloat4 18s ease-in-out infinite;
}

@keyframes approachFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.1); }
    66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes approachFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(50px, -30px) scale(1.15); }
    70% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes approachFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -40px) scale(1.2); }
}

@keyframes approachFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    30% { transform: translate(20px, 30px) scale(1.1); }
    60% { transform: translate(-30px, -10px) scale(0.95); }
}

.approach-inner {
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.approach-header {
    max-width: 680px;
    margin-bottom: 3rem;
}

.approach-header .section-label--light {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
}

.approach-header h2 {
    margin-top: 0.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.12;
}

.approach-lead {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.85;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-style: italic;
}

.approach-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.approach-hl {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 2rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.approach-hl:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.approach-hl-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border-radius: 12px;
}

.approach-hl h4 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.approach-hl p {
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* approach-text-block kept for legacy */
.approach-text-block {
    max-width: 800px;
}

.approach-text-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.approach-text-block p:last-child {
    margin-bottom: 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.approach-card {
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    background: rgba(255,255,255,0.08);
    transition: all var(--transition);
}

.approach-card:hover {
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-4px);
}

.approach-num {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
}

.approach-card h3 {
    margin-bottom: 1rem;
    color: var(--white) !important;
}

.approach-card p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
}

/* ---------- EMDR SECTION ---------- */
.emdr-section {
    padding: 8rem var(--gutter);
    background: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.emdr-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.emdr-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    gap: 5rem;
    align-items: flex-start;
}

.emdr-left {
    flex: 0 0 35%;
    position: sticky;
    top: 120px;
}

.emdr-left h2 {
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    color: var(--heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.12;
}

.emdr-acronym {
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.emdr-right {
    flex: 1;
}

.emdr-content p {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.emdr-content p:last-child {
    margin-bottom: 0;
}

.emdr-highlight-box {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(181, 123, 96, 0.08), rgba(181, 123, 96, 0.04));
    border-radius: 14px;
    padding: 1.8rem 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
}

.emdr-highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: 12px;
}

.emdr-highlight-box p {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--heading);
    margin: 0;
}

.emdr-highlight-box strong {
    font-weight: 500;
    color: var(--accent);
}

.emdr-badges {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.emdr-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--sand);
    padding: 0.7rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--heading);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.emdr-badge svg {
    color: var(--accent);
}

.emdr-badge:hover {
    background: var(--warm-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 8rem var(--gutter);
    background: var(--sand);
    overflow: hidden;
}

.testimonials-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    gap: 5rem;
    align-items: flex-start;
}

/* Left column — rating showcase */
.testimonials-left {
    flex: 0 0 38%;
    position: sticky;
    top: 120px;
}

.testimonials-left h2 {
    margin-top: 0.3rem;
    margin-bottom: 2.5rem;
    color: var(--heading);
}

.testimonials-rating {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.rating-score {
    font-size: 4rem;
    font-weight: 200;
    line-height: 1;
    color: var(--heading);
    letter-spacing: -2px;
}

.rating-detail {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-top: 0.4rem;
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
}

.rating-count {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-dark);
}

.rating-percent {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--gray);
}

.testimonials-cta {
    margin-bottom: 1.5rem;
}

.testimonials-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 0.3px;
}

.testimonials-source svg {
    color: #25D366;
    flex-shrink: 0;
}

/* Right column — review cards */
.testimonials-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card {
    padding: 2.5rem 2rem;
    background: var(--warm-white);
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}

.testimonial-quote {
    position: relative;
    margin-bottom: 1.5rem;
}

.quote-icon {
    color: var(--accent);
    margin-bottom: 0.8rem;
    display: block;
}

.testimonial-quote p {
    font-size: 0.95rem;
    line-height: 1.85;
    font-weight: 300;
    font-style: italic;
    color: var(--gray-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.testimonial-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--heading);
}

.testimonial-date {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--gray);
    letter-spacing: 0.5px;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 8rem var(--gutter);
    background: var(--accent);
    color: var(--white);
}

.contact-inner {
    display: flex;
    gap: 6rem;
    max-width: var(--container);
    margin: 0 auto;
    align-items: flex-start;
}

.contact-left { flex: 1; max-width: 600px; }

.contact-left h2 {
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-left .section-label {
    color: var(--gold);
}

.contact-left > p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-detail-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-detail a,
.contact-detail span {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
}

.badge-appuntamento {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff !important;
    letter-spacing: 0.03em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.badge-appuntamento svg {
    flex-shrink: 0;
    stroke: #fff;
}

.contact-detail a {
    position: relative;
    display: inline-block;
}

.contact-detail a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.contact-detail a:hover::after { width: 100%; }

.contact-socials {
    display: flex;
    gap: 2rem;
}

.contact-socials a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

.contact-socials a:hover { color: var(--white); }

.contact-right { flex: 1; }

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group { flex: 1; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.form-group input,
.form-group textarea {
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 300;
    padding: 0.8rem 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: var(--white);
    outline: none;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--gold);
}

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

.char-counter {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    text-align: right;
    margin-top: 0.2rem;
}

.form-consent {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
}

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

.form-consent label {
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
    color: rgba(255,255,255,0.5);
}

.form-consent label a {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--gold);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg video,
.cta-bg .cta-bg-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg video { display: block; }
.cta-bg .cta-bg-fallback { display: none; }

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,26,0.7);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 4rem var(--gutter);
    max-width: 700px;
}

.cta-content h2 {
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem var(--gutter) 2.5rem;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { padding-right: 2rem; }

.footer-logo {
    height: 40px;
    margin-bottom: 1.2rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--white) !important;
}

.footer-col ul li { margin-bottom: 0.7rem; }

.footer-col ul li,
.footer-col ul li a {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    transition: color var(--transition);
}

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

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: rgba(255,255,255,0.4);
    transition: color var(--transition);
    display: flex;
}

.footer-socials a:hover { color: var(--accent); }

.footer-copy {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-copy p {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.5px;
}

.footer-powered {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-powered span {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cambranet-logo {
    height: 20px;
    opacity: 0.35;
    filter: brightness(0) invert(1);
    transition: opacity var(--transition);
}

.cambranet-logo:hover { opacity: 0.7; }

/* ---------- SIDE LABELS ---------- */
.side-labels {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 90;
    opacity: 0;
    translate: 60px 0;
    transition: opacity 0.6s ease, translate 0.6s ease;
}

.side-labels.visible {
    opacity: 1;
    translate: 0 0;
}

.side-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 0.55rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px 0 0 4px;
}

.side-label svg {
    flex-shrink: 0;
}

.side-label--whatsapp {
    background: #25D366;
}

.side-label--whatsapp:hover {
    background: #20bd5a;
    padding-left: 0.8rem;
}

.side-label--email {
    background: var(--accent);
}

.side-label--email:hover {
    background: var(--accent-hover);
    padding-left: 0.8rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .header-nav--left { display: none; }
    .header-nav--right .header-nav { display: none; }
    .header-cta { display: none; }
    .menu-toggle { display: flex; }
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header-nav--right {
        display: none;
    }

    .hero-inner {
        flex-direction: column;
        text-align: left;
        gap: 3rem;
    }
    .hero-left {
        flex: none;
        max-width: 100%;
    }
    .hero-right {
        flex: none;
        width: 100%;
        max-width: 70%;
        margin: 0 auto;
    }
    .hero { padding-bottom: 4rem; overflow: visible; }
    .hero-images-wrap { padding-bottom: 100%; }

    .bigger-picture-inner {
        flex-direction: column;
        gap: 3rem;
    }
    .bp-col-left {
        flex: none;
        position: static;
        display: flex;
        gap: 2rem;
        align-items: stretch;
    }
    .bp-image-wrap { flex: 1; }
    .bp-image-wrap .bp-image { height: 280px; }
    .bp-quote { flex: 1; margin-top: 0; }

    .about-detail-inner {
        flex-direction: column;
        gap: 3rem;
    }
    .about-detail .about-text { order: 1; flex: none; }
    .about-photo { flex: none; order: 2; width: 100%; }
    .about-photo img { height: 400px; width: 100%; }

    .approach-grid { grid-template-columns: 1fr; }
    .approach-highlights { grid-template-columns: 1fr; }
    .approach-header { text-align: center; }

    .emdr-inner { flex-direction: column; gap: 2rem; }
    .emdr-left { flex: none; position: static; }

    .testimonials-inner { flex-direction: column; gap: 3rem; }
    .testimonials-left {
        flex: 1;
        position: static;
    }

    .contact-inner {
        flex-direction: column;
        gap: 3rem;
    }
    .contact-left { flex: 1; }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .cta-section { min-height: 50vh; }
    .cta-content { max-width: 90%; }

    .side-labels { display: none; }
}

/* ---------- TABLET (768px) ---------- */
@media (max-width: 768px) {
    .hero-right { max-width: 90%; }
    .bp-col-left { flex-direction: column; }
    .bp-image-wrap .bp-image { height: 260px; }
    .testimonials-rating { flex-direction: column; gap: 1rem; }
}

/* ---------- MOBILE (600px) ---------- */
@media (max-width: 600px) {
    :root { --gutter: 6vw; }

    html { font-size: 16px; }

    /* Hero */
    .hero {
        padding-top: 110px;
        min-height: auto;
        padding-bottom: 3rem;
        overflow: visible;
    }
    .hero-right {
        width: 100%;
        max-width: 85%;
        margin: 0 auto;
    }
    .hero-images-wrap { padding-bottom: 100%; }
    .hero-img-top {
        width: 55%;
        height: 72%;
    }
    .hero-img-bottom {
        width: 55%;
        height: 55%;
    }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
    .hero-bottom { margin-top: 1.8rem; }
    .hero-cta { width: 100%; justify-content: center; text-align: center; }

    /* Marquee */
    .marquee { padding: 1.8rem 0; }

    /* Bigger Picture */
    .bigger-picture { margin: 1rem 0; padding: 3rem 0; }
    .bigger-picture-title { font-size: 1.8rem; }
    .bp-col-left { flex-direction: column; }
    .bp-image-wrap .bp-image { height: 220px; object-position: 30% center; }
    .bp-highlight { padding: 1.2rem 1.4rem; }
    .bp-highlight-icon { width: 40px; height: 40px; }
    .bp-lead { font-size: 1.05rem; padding-left: 1.2rem; }
    .bp-quote { padding: 1.4rem 1.5rem; }

    /* About Detail */
    .about-detail,
    .services,
    .approach,
    .contact,
    .testimonials {
        padding: 4rem var(--gutter);
    }
    .about-detail { padding-bottom: 4rem; }
    .about-photo img { height: 280px; }
    .about-detail-shapes { display: none; }
    .credential { font-size: 0.82rem; padding: 0.5rem 0.8rem; }
    .credential-icon { width: 28px; height: 28px; }

    /* Services */
    .service-item { min-height: 260px; padding: 2rem 1.5rem; }
    .services-header { margin-bottom: 2.5rem; }
    .services-nav button { width: 44px; height: 44px; }

    /* Approach */
    .approach-highlights { grid-template-columns: 1fr; }
    .approach-hl { padding: 1.5rem 1.3rem; }
    .approach-hl-icon { width: 40px; height: 40px; }
    .approach-lead { font-size: 1.05rem; }
    .approach-header h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); }

    /* EMDR */
    .emdr-section { padding: 4rem var(--gutter); }
    .emdr-highlight-box { flex-direction: column; padding: 1.4rem 1.5rem; }
    .emdr-highlight-icon { width: 40px; height: 40px; }
    .emdr-badges { flex-direction: column; gap: 0.8rem; }
    .emdr-left h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); }

    /* Testimonials */
    .testimonials-rating { flex-direction: column; gap: 1rem; }
    .rating-score { font-size: 3rem; }
    .testimonial-card { padding: 1.8rem 1.5rem; }
    .testimonial-quote p { font-size: 0.88rem; }

    /* Contact */
    .form-row { flex-direction: column; }
    .contact-socials { flex-direction: column; gap: 1rem; }

    /* CTA */
    .cta-section { min-height: 45vh; }
    .cta-content { padding: 3rem var(--gutter); }
    .cta-content h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }

    /* Side Labels */
    .side-labels { display: none; }

    /* Footer */
    .footer { padding: 3.5rem var(--gutter) 2rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand { padding-right: 0; }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-copy {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}

/* ---------- SERVICE DETAIL PAGES ---------- */
.service-detail {
    position: relative;
    overflow: hidden;
}

/* ---- Hero banner del servizio ---- */
.service-hero {
    position: relative;
    padding: 160px var(--gutter) 5rem;
    background: var(--cream);
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
}

.service-hero-cross {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
}

.service-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 4rem;
}

.service-hero-text {
    flex: 1;
    max-width: 600px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2.5rem;
    padding: 0.75rem 1.4rem 0.75rem 1rem;
    border: 1px solid var(--accent);
    border-radius: 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.back-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.4s ease;
    z-index: -1;
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover {
    color: var(--white);
}

.back-link:hover::before {
    left: 0;
}

.back-link:hover svg {
    transform: translateX(-3px);
}

.service-hero-text h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--heading);
    margin-bottom: 1.2rem;
}

.service-hero-intro {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--gray-dark);
    font-weight: 300;
    max-width: 520px;
}

.service-hero-image {
    flex: 0 0 420px;
    position: relative;
}

.service-hero-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* Accent line decorativa */
.service-hero-image::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--accent);
    border-radius: 16px;
    opacity: 0.25;
    z-index: -1;
}

/* ---- Corpo del servizio ---- */
.service-body {
    padding: 5rem var(--gutter) 6rem;
    background: var(--warm-white);
    position: relative;
}

.service-body-inner {
    max-width: 780px;
    margin: 0 auto;
}

/* Lead paragraph (primo paragrafo evidenziato) */
.service-body .lead {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--heading);
    font-weight: 300;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
}

.service-body p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.service-body h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--heading);
    margin-bottom: 1.2rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-body h3::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 1rem;
    font-weight: 300;
    flex-shrink: 0;
}

/* Liste con + invece dei punti */
.service-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: grid;
    gap: 0.6rem;
}

.service-body ul li {
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--gray-dark);
}

.service-body ul li::before {
    content: '+';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent);
    line-height: 1.65;
}

/* CTA bottom */
.service-detail-cta {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.service-detail-cta-text {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--heading);
    line-height: 1.5;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .service-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }
    .service-hero-image {
        flex: none;
        width: 100%;
        max-width: 500px;
    }
    .service-hero {
        min-height: auto;
        padding-bottom: 4rem;
    }
}

@media (max-width: 600px) {
    .service-hero {
        padding-top: 120px;
        padding-bottom: 3rem;
    }
    .service-hero-image img {
        height: 260px;
    }
    .service-hero-image::after {
        display: none;
    }
    .service-detail-cta {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- LEGAL PAGES (Privacy & Cookie Policy) ---------- */
.legal-page { background: var(--warm-white); }

.legal-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--warm-white);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.legal-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 var(--gutter);
    max-width: var(--container);
    margin: 0 auto;
}

.legal-header-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.6rem 1.2rem 0.6rem 0.9rem;
    border: 1px solid var(--accent);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.legal-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.4s ease;
    z-index: -1;
}

.legal-back:hover { color: var(--white); }
.legal-back:hover::before { left: 0; }
.legal-back svg { transition: transform 0.3s ease; }
.legal-back:hover svg { transform: translateX(-3px); }

.legal-wrap {
    max-width: 48rem;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.legal-wrap h1 {
    font-family: var(--font);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--heading);
}

.legal-wrap .legal-subtitle {
    font-size: 0.95rem;
    color: var(--gray-dark);
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.legal-wrap h2 {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--heading);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.legal-wrap h2::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 300;
    flex-shrink: 0;
}

.legal-wrap p,
.legal-wrap li {
    margin-bottom: 1em;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.legal-wrap ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.legal-wrap ul li {
    position: relative;
    padding-left: 1.8rem;
}

.legal-wrap ul li::before {
    content: '+';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent);
    line-height: 1.7;
}

.legal-wrap a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.3s ease;
}

.legal-wrap a:hover { opacity: 0.7; }

.legal-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.88rem;
}

.legal-wrap table th,
.legal-wrap table td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--gray-dark);
    line-height: 1.5;
}

.legal-wrap table th {
    font-weight: 500;
    color: var(--heading);
    background: var(--sand);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.legal-wrap h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--heading);
    margin: 1.5rem 0 0.5rem;
}

.cky-audit-table-element {
    margin: 2rem 0;
}

.legal-footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
}

.legal-footer p {
    font-size: 0.75rem;
    color: var(--gray-dark);
    opacity: 0.5;
    letter-spacing: 1px;
}

.legal-footer a {
    color: var(--accent);
    text-decoration: none;
}

@media (max-width: 600px) {
    .legal-wrap { padding: 7rem 1.2rem 3rem; }
    .legal-wrap h1 { font-size: 1.8rem; }
    .legal-header-inner { height: 60px; }
    .legal-header-logo img { height: 40px; }
    .legal-wrap table { font-size: 0.8rem; }
    .legal-wrap table th,
    .legal-wrap table td { padding: 0.5rem 0.6rem; }
}
