/*
Theme Name: Amantide
Theme URI: https://amantide.it
Author: Amantide
Description: Tema custom per Amantide – cura dei capelli premium
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: amantide
*/

/* =============================================
   VARIABLES & RESET
============================================= */
:root {
    --blu-notte:      #0D1B2A;
    --verde-aurora:   #BDEFE7;
    --viola-magnetico:#7254BB;
    --celeste-artico: #C1E8FF;
    --bianco-lunare:  #F6F7FB;
    --grigio-cometa:  #9CA3AF;
    --font-main:      'Manrope', sans-serif;
    --transition:     0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm:      8px;
    --radius-md:      16px;
    --radius-lg:      32px;
    --shadow-soft:    0 4px 24px rgba(13,27,42,0.08);
    --shadow-glow:    0 0 40px rgba(189,239,231,0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bianco-lunare);
    color: var(--blu-notte);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { max-width: 68ch; }

.label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--viola-magnetico);
}

/* =============================================
   LAYOUT UTILITIES
============================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.container--wide {
    max-width: 1440px;
}

.section {
    padding-block: clamp(5rem, 10vw, 8rem);
}

.section--dark {
    background-color: var(--blu-notte);
    color: var(--bianco-lunare);
}

.section--tinted {
    background-color: #EBF8F5;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--verde-aurora);
    color: var(--blu-notte);
    border-color: var(--verde-aurora);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--verde-aurora);
}

.btn-outline {
    background-color: transparent;
    color: var(--bianco-lunare);
    border-color: rgba(189,239,231,0.5);
}

.btn-outline:hover {
    background-color: var(--verde-aurora);
    color: var(--blu-notte);
    border-color: var(--verde-aurora);
}

.btn-violet {
    background-color: var(--viola-magnetico);
    color: #fff;
    border-color: var(--viola-magnetico);
}

.btn-violet:hover {
    background-color: transparent;
    color: var(--viola-magnetico);
}

/* =============================================
   SECTION HEADINGS
============================================= */
.section-header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header .label {
    margin-bottom: 0.75rem;
    display: block;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--grigio-cometa);
}

.section--dark .section-header p {
    color: rgba(246,247,251,0.65);
}

/* =============================================
   HEADER / NAV
============================================= */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(13,27,42,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

#site-header.scrolled {
    background: rgba(13,27,42,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.85rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bianco-lunare);
    letter-spacing: -0.03em;
}

.nav-logo span {
    color: var(--verde-aurora);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(246,247,251,0.8);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 100%;
    height: 1.5px;
    background: var(--verde-aurora);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--bianco-lunare);
}

.nav-links a:hover::after {
    right: 0;
}

.nav-cta .btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--bianco-lunare);
    border-radius: 2px;
    transition: var(--transition);
}

/* =============================================
   HERO
============================================= */
#hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--blu-notte);
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 80% 40%, rgba(189,239,231,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(114,84,187,0.15) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 60% 10%, rgba(193,232,255,0.08) 0%, transparent 50%);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(189,239,231,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(189,239,231,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(189,239,231,0.1);
    border: 1px solid rgba(189,239,231,0.25);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--verde-aurora);
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--verde-aurora);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

#hero h1 {
    color: var(--bianco-lunare);
    margin-bottom: 1.5rem;
}

#hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--verde-aurora), var(--celeste-artico));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(246,247,251,0.7);
    margin-bottom: 2.5rem;
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-trust {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 4rem;
    border-top: 1px solid rgba(189,239,231,0.12);
}

.hero-trust-stat {
    display: flex;
    flex-direction: column;
}

.hero-trust-stat strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--verde-aurora);
    letter-spacing: -0.03em;
}

.hero-trust-stat span {
    font-size: 0.8rem;
    color: rgba(246,247,251,0.5);
    margin-top: 0.1rem;
}

.hero-divider {
    width: 1px;
    height: 40px;
    background: rgba(189,239,231,0.2);
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--blu-notte) 0%, transparent 40%);
    z-index: 1;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

/* =============================================
   CHI SIAMO / FOUNDERS
============================================= */
#chi-siamo {
    background: var(--bianco-lunare);
}

.founders-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 4rem;
}

.founders-intro p {
    max-width: 68ch;
}

.founders-intro-text p {
    font-size: 1.1rem;
    color: rgba(13,27,42,0.65);
    margin-top: 1rem;
}

.founders-intro-visual {
    display: none;
}

.founders-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.founder-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(13,27,42,0.06);
    width: 240px;
    flex-shrink: 0;
    text-align: center;
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(13,27,42,0.12);
}

.founder-card-img {
    width: 200px;
    height: 200px;
    margin: 1.25rem auto 0;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.founder-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.founder-card:hover .founder-card-img img {
    transform: scale(1.05);
}

.founder-card-body {
    padding: 0.85rem 1rem 1.25rem;
}

.founder-card-body h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.founder-role {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--viola-magnetico);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.founder-card-body p {
    font-size: 0.85rem;
    color: rgba(13,27,42,0.65);
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* =============================================
   VALORI
============================================= */
#valori {
    background: var(--blu-notte);
    position: relative;
    overflow: hidden;
}

#valori::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(114,84,187,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.valori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.valore-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(189,239,231,0.12);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    transition: var(--transition);
}

.valore-card:hover {
    background: rgba(189,239,231,0.08);
    border-color: rgba(189,239,231,0.3);
    transform: translateY(-4px);
}

.valore-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.valore-card h3 {
    font-size: 1.05rem;
    color: var(--bianco-lunare);
    margin-bottom: 0.5rem;
}

.valore-card p {
    font-size: 0.875rem;
    color: rgba(246,247,251,0.55);
    line-height: 1.6;
}

/* =============================================
   PARTNER / CERTIFICAZIONI
============================================= */
#partner {
    background: #fff;
    padding-block: 3.5rem;
    border-bottom: 1px solid rgba(13,27,42,0.06);
}

.partner-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grigio-cometa);
    margin-bottom: 2rem;
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.partner-logo-item {
    opacity: 0.45;
    transition: var(--transition);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--blu-notte);
}

.partner-logo-item:hover {
    opacity: 0.9;
}

.partner-logo-item img {
    height: 36px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
}

/* =============================================
   PRIMA E DOPO
============================================= */
#prima-dopo {
    background: var(--bianco-lunare);
    overflow: hidden;
}

.prima-dopo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.prima-dopo-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
    background: #111;
    display: block;
    margin-bottom: 0;
}

.prima-dopo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
    display: block;
}

.prima-dopo-item:hover img {
    transform: scale(1.02);
}

.prima-dopo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6rem 0.75rem;
    background: linear-gradient(transparent, rgba(13,27,42,0.82));
    color: var(--bianco-lunare);
}

.prima-dopo-overlay .tag {
    display: inline-block;
    background: var(--verde-aurora);
    color: var(--blu-notte);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    margin-bottom: 0.2rem;
}

.prima-dopo-overlay h4 {
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

/* =============================================
   IL METODO
============================================= */
#il-metodo {
    background: var(--bianco-lunare);
}

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

.metodo-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.66% + 1rem);
    right: calc(16.66% + 1rem);
    height: 1px;
    background: linear-gradient(90deg, var(--verde-aurora), var(--viola-magnetico), var(--celeste-artico));
    opacity: 0.4;
}

.metodo-step {
    position: relative;
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(13,27,42,0.07);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.metodo-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(13,27,42,0.1);
}

.metodo-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--blu-notte);
    color: var(--verde-aurora);
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.metodo-step:nth-child(2) .metodo-step-num {
    background: var(--viola-magnetico);
    color: #fff;
}

.metodo-step:nth-child(3) .metodo-step-num {
    background: linear-gradient(135deg, var(--verde-aurora), var(--celeste-artico));
    color: var(--blu-notte);
}

.metodo-step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.metodo-step p {
    font-size: 0.9rem;
    color: rgba(13,27,42,0.65);
    margin-inline: auto;
}

/* =============================================
   SERVIZI (TABS)
============================================= */
#servizi {
    background: var(--blu-notte);
    position: relative;
    overflow: hidden;
}

#servizi::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(189,239,231,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.servizi-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.servizi-tab-btn {
    padding: 0.65rem 1.4rem;
    border-radius: 9999px;
    background: var(--bianco-lunare);
    border: 1px solid rgba(13,27,42,0.15);
    color: var(--blu-notte);
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.servizi-tab-btn:hover {
    background: #E8E9ED;
    color: var(--blu-notte);
    border-color: rgba(13,27,42,0.15);
}

.servizi-tab-btn.active {
    background: var(--blu-notte);
    border: 1px solid var(--blu-notte);
    color: var(--verde-aurora);
    font-weight: 600;
}

.servizi-panels {
    position: relative;
    z-index: 1;
}

.servizi-panel {
    display: none;
}

.servizi-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.servizi-panel-content h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--bianco-lunare);
    margin-bottom: 1rem;
}

.servizi-panel-content p {
    color: rgba(246,247,251,0.65);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.servizi-panel-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.servizi-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(246,247,251,0.8);
}

.servizi-feature::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--verde-aurora);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l4 4 6-6' stroke='%230D1B2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
}

.servizi-panel-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: rgba(255,255,255,0.04);
}

.servizi-panel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   DESTINAZIONI
============================================= */
#destinazioni {
    background: var(--bianco-lunare);
}

.destinazioni-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.destinazione-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.destinazione-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.destinazione-card:hover img {
    transform: scale(1.05);
}

.destinazione-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,27,42,0.75) 0%, rgba(13,27,42,0.85) 50%, rgba(13,27,42,0.95) 100%);
    z-index: 1;
}

.destinazione-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    width: 100%;
}

.destinazione-flag {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.destinazione-content h3 {
    font-size: 1.6rem;
    color: var(--bianco-lunare);
    margin-bottom: 0.5rem;
}

.destinazione-content p {
    font-size: 0.9rem;
    color: rgba(246,247,251,0.7);
    margin-bottom: 1.25rem;
}

.destinazione-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.destinazione-tag {
    background: rgba(189,239,231,0.15);
    border: 1px solid rgba(189,239,231,0.25);
    color: var(--verde-aurora);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
}

/* =============================================
   RECENSIONI
============================================= */
#recensioni {
    background: #fff;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bianco-lunare);
    border-radius: var(--radius-md);
    border: 1px solid rgba(13,27,42,0.07);
}

.rating-big {
    font-size: 4rem;
    font-weight: 800;
    color: var(--blu-notte);
    line-height: 1;
}

.rating-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.star { color: #F59E0B; font-size: 1.1rem; }

.rating-count {
    font-size: 0.875rem;
    color: var(--grigio-cometa);
}

.recensioni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.recensione-card {
    background: var(--bianco-lunare);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid rgba(13,27,42,0.07);
    transition: var(--transition);
}

.recensione-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.rec-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rec-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--viola-magnetico), var(--celeste-artico));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.rec-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.rec-location {
    font-size: 0.8rem;
    color: var(--grigio-cometa);
    margin-top: 0.1rem;
}

.rec-stars { display: flex; gap: 3px; margin-bottom: 0.75rem; }

.rec-text {
    font-size: 0.9rem;
    color: rgba(13,27,42,0.65);
    line-height: 1.65;
}

.rec-service {
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--viola-magnetico);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* =============================================
   BLOG
============================================= */
#blog {
    background: var(--bianco-lunare);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(13,27,42,0.06);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(13,27,42,0.1);
}

.blog-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bianco-lunare);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-cat {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--viola-magnetico);
    margin-bottom: 0.6rem;
    display: block;
}

.blog-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-card-body p {
    font-size: 0.875rem;
    color: rgba(13,27,42,0.65);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.25rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--grigio-cometa);
    padding-top: 1rem;
    border-top: 1px solid rgba(13,27,42,0.06);
}

.blog-read-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--viola-magnetico);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.blog-read-more:hover { gap: 0.6rem; }

/* =============================================
   CONTATTI / FORM
============================================= */
#contatti {
    background: var(--blu-notte);
    position: relative;
    overflow: hidden;
}

#contatti::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--verde-aurora), transparent);
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contatti-info h2 {
    color: var(--bianco-lunare);
    margin-bottom: 1rem;
}

.contatti-info > p {
    color: rgba(246,247,251,0.6);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.contatti-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contatti-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(189,239,231,0.1);
    border: 1px solid rgba(189,239,231,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contatti-item-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--verde-aurora);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contatti-item-text span {
    font-size: 0.9rem;
    color: rgba(246,247,251,0.7);
}

.contatti-form-wrap {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(189,239,231,0.12);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

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

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

.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(246,247,251,0.65);
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(189,239,231,0.18);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    color: var(--bianco-lunare);
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(246,247,251,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--verde-aurora);
    background: rgba(189,239,231,0.06);
    box-shadow: 0 0 0 3px rgba(189,239,231,0.1);
}

.form-group select option {
    background: var(--blu-notte);
    color: var(--bianco-lunare);
}

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

.form-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.form-privacy {
    font-size: 0.75rem;
    color: rgba(246,247,251,0.4);
    margin-top: 0.75rem;
    text-align: center;
}

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

/* Riga checkbox privacy */
.form-privacy-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: nowrap;
    margin-bottom: 1.25rem;
}

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

.form-privacy-row label {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(246,247,251,0.6);
    font-weight: 400;
    letter-spacing: 0;
    cursor: pointer;
}

/* =============================================
   FOOTER
============================================= */
#site-footer {
    background: var(--blu-notte);
    color: var(--bianco-lunare);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 2rem;
}

.footer-brand .nav-logo {
    font-size: 1.6rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 30ch;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--verde-aurora);
    border: 1px solid var(--verde-aurora);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--blu-notte);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--bianco-lunare);
    color: var(--blu-notte);
    border-color: var(--bianco-lunare);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bianco-lunare);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

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

.footer-col ul li a {
    font-size: 0.875rem;
    color: var(--grigio-cometa);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--verde-aurora);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

.footer-bottom a {
    transition: var(--transition);
}

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

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

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .founders-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .metodo-steps { grid-template-columns: 1fr; }
    .metodo-steps::before { display: none; }
    .servizi-panel.active { grid-template-columns: 1fr; }
    .destinazioni-grid { grid-template-columns: 1fr; }
    .contatti-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .hero-visual { display: none; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .destinazione-card { min-height: 320px; }
    .rating-summary { flex-direction: column; text-align: center; }
    .prima-dopo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .hero-trust { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .hero-divider { display: none; }
    .prima-dopo-grid { grid-template-columns: 1fr; }
}

/* =============================================
   MOBILE NAV (open state)
============================================= */
.mobile-nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blu-notte);
    z-index: 999;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    font-size: 1.3rem;
}

.mobile-nav-open .nav-cta {
    display: flex;
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

/* =============================================
   SERVIZI – PANEL LINKS (nuovi tab)
============================================= */
.servizi-panel-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.servizi-panel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(189,239,231,0.12);
    color: rgba(246,247,251,0.85);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.servizi-panel-link span {
    color: var(--verde-aurora);
    transition: var(--transition);
}

.servizi-panel-link:hover {
    background: rgba(189,239,231,0.1);
    border-color: rgba(189,239,231,0.3);
    color: var(--bianco-lunare);
    padding-left: 1.25rem;
}

/* =============================================
   METODO – PRINCIPI
============================================= */
.metodo-principi {
    margin-bottom: 3rem;
}

.metodo-principi-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.metodo-principio {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blu-notte);
    background: #fff;
    border: 1px solid rgba(13,27,42,0.08);
    border-radius: 100px;
    padding: 0.6rem 1.25rem;
    box-shadow: var(--shadow-soft);
}

.metodo-principio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--verde-aurora);
    flex-shrink: 0;
}

/* =============================================
   DESTINAZIONI – NOTA CENTRALE
============================================= */
.destinazioni-nota {
    margin-top: 3rem;
}

.destinazioni-nota-inner {
    background: linear-gradient(135deg, rgba(13,27,42,0.04), rgba(114,84,187,0.06));
    border: 1px solid rgba(114,84,187,0.18);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
}

.destinazioni-nota-text {
    font-size: 1rem;
    color: rgba(13,27,42,0.65);
    margin-bottom: 1.25rem;
    margin-inline: auto;
}

.destinazioni-nota-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.destinazioni-nota-list li {
    background: rgba(114,84,187,0.08);
    border: 1px solid rgba(114,84,187,0.2);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--viola-magnetico);
}

.destinazioni-nota-small {
    font-size: 0.875rem;
    color: var(--grigio-cometa);
    margin-bottom: 1.75rem;
    font-style: italic;
    margin-inline: auto;
}

/* =============================================
   PRIMA E DOPO – 8 items grid
============================================= */
.prima-dopo-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .prima-dopo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .prima-dopo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .prima-dopo-grid { grid-template-columns: 1fr; }
}

/* =============================================
   RECENSIONI – VIDEO YOUTUBE
============================================= */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    overflow: hidden;
    width: 100%;
}

.video-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: var(--shadow-soft);
    display: block;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    min-width: 0;
}

.video-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.video-item:hover img {
    transform: scale(1.04);
    opacity: 0.85;
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.video-play-btn svg {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.55));
    transition: transform 0.25s ease;
}

.video-item:hover .video-play-btn svg {
    transform: scale(1.12);
}

@media (max-width: 768px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* =============================================
   SCROLL TO TOP
============================================= */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--verde-aurora);
    color: var(--blu-notte);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(189,239,231,0.35);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 900;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(189,239,231,0.45);
}

/* =============================================
   SINGLE ARTICLE — bottone CTA protetto
   Sovrascrive qualsiasi regola generica su <a>
   incluso a { color: inherit } del reset base
   ============================================= */
.art-cta-btn,
.art-cta-btn:visited,
.art-cta-btn:hover {
    display: inline-block !important;
    background: #BDEFE7 !important;
    color: #0D1B2A !important;
    padding: 1rem 2.5rem !important;
    border-radius: 9999px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-bottom: 1.25rem !important;
}
.art-cta-btn:hover {
    background: #a8ddd5 !important;
    transform: translateY(-2px) !important;
}

/* =============================================
   WPForms checkbox fix
   ============================================= */
body .wpforms-form .wpforms-field-checkbox input[type=checkbox],
body .wpforms-form .wpforms-field-gdpr input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(189,239,231,0.4);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
}

body .wpforms-form .wpforms-field-checkbox input[type=checkbox]:checked,
body .wpforms-form .wpforms-field-gdpr input[type=checkbox]:checked {
  background: #BDEFE7;
  border-color: #BDEFE7;
}

/* =============================================
   AMA FORM — form-contatti.php partial
   ============================================= */
.ama-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(189,239,231,0.12);
  border-radius: 16px;
  padding: 2rem;
}
.ama-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}
.ama-form-field {
  margin-bottom: 1rem;
}
.ama-form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(246,247,251,0.65);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
.ama-form-field input,
.ama-form-field textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(189,239,231,0.15);
  border-radius: 8px;
  color: #F6F7FB;
  font-size: 0.95rem;
  font-family: 'Manrope', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}
.ama-form-field input::placeholder,
.ama-form-field textarea::placeholder {
  color: rgba(246,247,251,0.3);
}
.ama-form-field input:focus,
.ama-form-field textarea:focus {
  border-color: rgba(189,239,231,0.4);
}
.ama-form-field textarea {
  resize: vertical;
  min-height: 110px;
}
.ama-form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.ama-form-privacy input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(189,239,231,0.35);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  flex-shrink: 0;
}
.ama-form-privacy input[type="checkbox"]:checked {
  background: #BDEFE7;
  border-color: #BDEFE7;
}
.ama-form-privacy input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0D1B2A;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.ama-form-privacy label {
  font-size: 0.8rem;
  color: rgba(246,247,251,0.5);
  line-height: 1.5;
}
.ama-form-privacy label a {
  color: #BDEFE7;
  text-decoration: underline;
}
.ama-form-submit {
  width: 100%;
  padding: 0.875rem;
  background: #BDEFE7;
  color: #0D1B2A;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}
.ama-form-submit:hover {
  background: #a8ddd5;
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .ama-form-row { grid-template-columns: 1fr; }
  .ama-form-wrap { padding: 1.25rem; }
}
