@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');
:root {
  --sage: #7A9E7E; --sage-light: #A8C5AB; --sage-dark: #4A6B4E;
  --sand: #E8DDD0; --sand-dark: #C9B99F;
  --charcoal: #2C2C2C; --warm-white: #FAF8F4;
  --terracotta: #C4714A; --ocean: #3A6E8A; --gold: #B8965A;
  --bg-profile: #f9fcfb;
}

[data-theme="dark"] {
  --warm-white: #0a0a0a;
  --charcoal: #FAF8F4;
  --bg-profile: #121212;
  --shadow-lux: 0 30px 60px rgba(0,0,0,0.5);
}

:root {
  --shadow-lux: 0 20px 50px rgba(0,0,0,0.08);
  --shadow-button: 0 10px 25px rgba(196,113,74,0.25);
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { 
    font-family:'DM Sans',sans-serif; 
    background:var(--warm-white); 
    color:var(--charcoal); 
    line-height:1.6; 
    -webkit-overflow-scrolling: touch;
}
h1,h2,h3,h4,.serif { font-family:'Cormorant Garamond',serif; font-weight:300; line-height:1.15; }
em { font-style:italic; color:var(--sage-dark); }
a { text-decoration:none; color:inherit; }
.container { max-width:1280px; margin:0 auto; padding:0 5%; }
.btn { display:inline-flex; align-items:center; justify-content:center; padding:1rem 2.2rem; border-radius:100px; font-size:0.8rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; transition:all 0.3s ease; cursor:pointer; border:1px solid transparent; }
.btn-terra { background:var(--terracotta); color:#fff; box-shadow: var(--shadow-button); }
.btn-terra:hover { background:#A65B39; transform:translateY(-3px); box-shadow: 0 15px 35px rgba(196,113,74,0.35); }
.btn-ocean { background:var(--ocean); color:#fff; }
.btn-ocean:hover { background:#2D5870; transform:translateY(-3px); }
.btn-outline { border-color:var(--charcoal); color:var(--charcoal); background:transparent; }

/* ---- TOP MISSION WOW (v35) ---- */
.top-mission-wow {
    width: auto !important;
    height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin: 6rem 1.5rem 0;
    border-radius: 30px;
    transition: 0.5s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
@media(min-width: 1024px) {
    .top-mission-wow { height: 580px; margin: 6rem 1.5rem 0; border-radius: 36px; }
    .top-mission-wow .bg { background-position: center 30% !important; }
}
@media(max-width: 768px) {
    .top-mission-wow { margin: 5rem 1rem 0; border-radius: 22px; height: 360px; }
}
.top-mission-wow .bg {
    position: absolute;
    inset: 0;
    background: url('./assets/yogalloret-1.jpg') center/cover no-repeat;
    filter: brightness(0.55);
    z-index: 1;
    transition: 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.top-mission-wow:hover .bg { transform: scale(1.08); }
.top-mission-wow .content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 5%;
}
.top-mission-wow span {
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.9;
    display: block;
    margin-bottom: 1.5rem;
    color: #fff !important;
}
.top-mission-wow h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.top-mission-wow h1 em { font-style: italic; color: #fff; font-weight: 400; }
.btn-outline:hover { background:var(--charcoal); color:var(--warm-white); transform:translateY(-2px); }

nav.navbar {
    position:fixed; top:1rem; left:1.5rem; right:1.5rem; width:auto;
    padding:0.75rem 2rem; z-index:10000;
    background:rgba(250,248,244,0.92); backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
    border:1px solid rgba(44,44,44,0.07);
    border-radius:20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    display:flex; justify-content:space-between; align-items:center; min-height: 64px;
}
@media (max-width: 991px) {
    nav.navbar.search-open .logo {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}
[data-theme="dark"] nav.navbar {
    background: rgba(14,14,14,0.88);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.2);
}
.logo { font-size:1.8rem; font-weight:600; font-family:'Cormorant Garamond',serif; display: flex; align-items: center; height: 44px; }
.logo em { color:var(--sage-dark); font-style:italic; }
.nav-links { display:flex; gap:2.5rem; align-items:center; height: 44px; }
.nav-links a { 
    text-decoration:none; color:var(--charcoal); font-size:0.85rem; font-weight:600; 
    letter-spacing:0.1em; text-transform:uppercase; transition:0.3s; 
    display: flex; align-items: center; height: 100%;
}
.nav-links a:hover { color:var(--sage); }

.hero { display:grid; grid-template-columns:1fr 1fr; min-height:100vh; padding-top:80px; }
.hero-half { padding:6rem 10%; display:flex; flex-direction:column; justify-content:center; position:relative; }
.hero-user { background:linear-gradient(135deg, var(--warm-white) 0%, rgba(196,113,74,0.08) 100%); border-right:1px solid rgba(44,44,44,0.05); }
.hero-pro { background:linear-gradient(135deg, var(--warm-white) 0%, rgba(58,110,138,0.08) 100%); }
.hero-tag { font-size:0.75rem; font-weight:600; letter-spacing:0.25em; text-transform:uppercase; color:var(--sage-dark); margin-bottom:2rem; display:inline-flex; align-items:center; gap:1rem; }
.hero-tag::before { content:''; width:35px; height:1px; background:var(--sage-dark); }
.hero-title { font-size:clamp(3rem, 5vw, 4.5rem); margin-bottom:1.5rem; }
.hero-desc { font-size:1.1rem; color:rgba(44,44,44,0.7); margin-bottom:2.5rem; max-width:90%; }
.hero-btns { display:flex; gap:1rem; }

.sec-p { padding:8rem 5%; max-width:1280px; margin:0 auto; }
.sec-tag { font-family:'DM Sans',sans-serif; display:inline-flex; align-items:center; gap:0.75rem; font-size:0.75rem; font-weight:600; letter-spacing:0.25em; text-transform:uppercase; color:var(--sage-dark); margin-bottom:1.5rem; }
.sec-tag::before { content:''; width:24px; height:1px; background:var(--sage-dark); }
.sec-title { font-size:clamp(2.5rem, 5vw, 3.5rem); margin-bottom:3rem; max-width:700px; }
.steps-grid { display:grid; grid-template-columns:1fr 1fr; gap:9rem; }
@media(max-width:768px) {
    .hero { grid-template-columns: 1fr; }
    .hero-half { padding: 4rem 5%; }
    .steps-grid { grid-template-columns: 1fr; gap: 3rem; }
    .sec-p { padding: 4rem 5%; }
    .pro-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; gap: 1.5rem !important; }
}
/* (Step styles moved to v36 section below) */


.banner { margin:0 5% 5rem; background:linear-gradient(135deg, var(--sage-dark), var(--ocean)); border-radius:32px; padding:6rem 5%; text-align:center; color:#fff; }
.banner h2 { color:#fff; font-size:clamp(2.5rem, 5vw, 4rem); margin-bottom:1.5rem; }
.b-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:2rem; max-width:1000px; margin:3rem auto 0; text-align:left; }
.b-card { background:rgba(255,255,255,0.1); backdrop-filter:blur(10px); padding:2rem; border-radius:20px; border:1px solid rgba(255,255,255,0.15); }
.b-card h4 { font-family:'DM Sans',sans-serif; font-size:1.1rem; font-weight:600; margin-bottom:0.5rem; }
.b-card p { font-size:0.95rem; opacity:0.9; }

@media(max-width:1024px){
  .hero { grid-template-columns:1fr; }
  .hero-half { padding:6rem 5%; min-height:60vh; border-right:none; border-bottom:1px solid rgba(44,44,44,0.05); }
  .steps-grid { grid-template-columns:1fr; gap:3rem; }
  .nav-links { display:none; }
  .b-grid { grid-template-columns:1fr; }
  nav.navbar { left:1rem; right:1rem; padding:0.7rem 1.2rem; border-radius:16px; }
  .footer { margin: 0 1rem 1rem; border-radius: 22px; }
}

/* ---- DARK MODE VARIABLES ---- */
[data-theme="dark"] {
  --warm-white: #1A1A1A;
  --charcoal: #FAF8F4;
  --sage-dark: #A8C5AB;
  --sage-light: #4A6B4E;
}

[data-theme="dark"] .navbar {
  background: rgba(26, 26, 26, 0.9);
  border-bottom: 1px solid rgba(250, 248, 244, 0.1);
}

[data-theme="dark"] .hero-user {
  background: linear-gradient(135deg, #1A1A1A 0%, rgba(196,113,74,0.15) 100%);
  border-right: 1px solid rgba(250,248,244,0.1);
}

[data-theme="dark"] .hero-pro {
  background: linear-gradient(135deg, #1A1A1A 0%, rgba(58,110,138,0.15) 100%);
}

[data-theme="dark"] .step-card { border-bottom-color: rgba(250,248,244,0.1); }
[data-theme="dark"] .page-hero { background: #1A1A1A; border-bottom-color: rgba(250,248,244,0.1); }
[data-theme="dark"] .event-card { background: #242424; border-color: rgba(250,248,244,0.1); }
[data-theme="dark"] .search-input { background: #242424; color: #FAF8F4; border-color: rgba(250,248,244,0.2); }
[data-theme="dark"] .filters-bar { background: rgba(26,26,26,0.9); border-bottom-color: rgba(250,248,244,0.1); }
[data-theme="dark"] .filter-btn { color: rgba(250,248,244,0.7); border-color: rgba(250,248,244,0.2); }
[data-theme="dark"] .pro-card { background: #242424; border-color: rgba(250,248,244,0.1); }
[data-theme="dark"] .pro-avatar { border-color: #242424; }
[data-theme="dark"] .btn-outline { border-color: #FAF8F4; color: #FAF8F4; }
[data-theme="dark"] .btn-outline:hover { background: #FAF8F4; color: #1A1A1A; }

/* ---- NAVBAR ACTIONS & BUTTONS ---- */
.actions-nav { display: flex; align-items: center; gap: 1rem; margin-left: 1.5rem; flex-shrink: 0; }
@media(max-width: 768px) {
    .actions-nav { margin-left: 0.5rem; gap: 0.6rem; }
}

.search-trigger, .theme-btn, .user-btn { 
    background: transparent; border: none; cursor: pointer; transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); transform-origin: center; 
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
    color: var(--charcoal); text-decoration: none; padding: 0; font-size: 0; flex-shrink: 0; position: relative;
    /* overflow: hidden; REMOVED TO PREVENT ICON DISTORTION */
}
.search-trigger svg, .theme-btn svg, .user-btn svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; transition: 0.3s; flex-shrink: 0; }
.search-trigger:hover, .theme-btn:hover, .user-btn:hover { background: rgba(0,0,0,0.04); transform: translateY(-2px); }

[data-theme="dark"] .search-trigger, [data-theme="dark"] .theme-btn, [data-theme="dark"] .user-btn { color: white; }
[data-theme="dark"] .search-trigger:hover, [data-theme="dark"] .theme-btn:hover, [data-theme="dark"] .user-btn:hover { background: rgba(255,255,255,0.1); }

/* ---- SEARCH BAR INTEGRATED (v5.1 Fixed) ---- */
.search-bar-integrated {
    display: flex; align-items: center; justify-content: flex-end;
    flex: 0 0 auto; position: relative; width: 44px; transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: visible; gap: 0; margin-right: 0.5rem;
}
@media (max-width: 991px) {
    .search-bar-integrated.open {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw !important;
        height: 72px; /* Coincide con la altura de la navbar */
        max-width: none !important;
        background: var(--warm-white);
        z-index: 20001;
        display: flex;
        align-items: center;
        padding: 0 5%;
        border-radius: 0; /* Pantalla completa, no necesita bordes redondeados */
        border-bottom: 1px solid rgba(44,44,44,0.05);
        animation: searchSlideIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    
    [data-theme="dark"] .search-bar-integrated.open {
        background: #0a0a0a;
        border-bottom-color: rgba(255,255,255,0.05);
    }

    /* Ocultar elementos de fondo cuando la búsqueda está abierta */
    .search-bar-integrated.open + .user-btn,
    .search-bar-integrated.open ~ .theme-toggle-btn,
    .search-bar-integrated.open ~ .hb {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

@keyframes searchSlideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@media (min-width: 992px) {
    .search-bar-integrated.open { width: 400px; }
}
 .search-input-wrap {
    width: 0; opacity: 0; height: 44px; overflow: hidden;
    display: flex; align-items: center; background: rgba(0,0,0,0.03); 
    border-radius: 100px; padding: 0; border: 1px solid transparent;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.search-bar-integrated.open .search-input-wrap {
    width: 100% !important; 
    opacity: 1; 
    padding: 0 1.2rem; 
    border-color: rgba(0,0,0,0.05); 
    background: rgba(255,255,255,0.05);
    display: flex;
}

.search-query { 
    border: none; background: transparent; padding: 0.7rem 0; width: 100% !important; font-size: 0.95rem; 
    font-family: 'DM Sans', sans-serif; outline: none; color: var(--charcoal);
}

.search-box { 
    position: absolute; top: calc(100% + 15px); right: 0; width: 400px; max-width: calc(100vw - 40px);
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-radius: 20px; border: 1px solid rgba(0,0,0,0.08); 
    visibility: hidden; opacity: 0; transform: translateY(10px); transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12); z-index: 2000; pointer-events: none;
    display: none;
}
.search-box.open { display: block; visibility: visible; opacity: 1; transform: translateY(0); pointer-events: all; }

[data-theme="dark"] .search-input-wrap { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .search-bar-integrated.open .search-input-wrap { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .search-box { background: rgba(20,20,20,0.9); border-color: rgba(255,255,255,0.1); }

.search-trigger { flex-shrink: 0; }

.hb { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 101; background: transparent; border: none;}
.hb span { width: 25px; height: 2px; background: var(--charcoal); transition: 0.3s; }

/* ---- SEARCH DROPDOWN & RESULTS (v34) ---- */
/* Quitamos el .search-box antiguo que estaba definido aqui */
.search-dropdown { max-height: 400px; overflow-y: auto; padding: 0.5rem; }

.search-item { 
    display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1rem; 
    border-radius: 12px; transition: 0.2s; text-decoration: none; color: inherit;
}
.search-item:hover { background: rgba(0,0,0,0.03); transform: translateX(5px); }
.search-item img { width: 45px; height: 45px; border-radius: 8px; object-fit: cover; background: #eee; }
.search-info h5 { margin: 0; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem; }
.search-info span { font-size: 0.75rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.05em; }

[data-theme="dark"] .search-box { background: #222; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .search-item:hover { background: rgba(255,255,255,0.05); }

.mobile-menu {
    position: fixed;
    top: calc(1rem + 64px + 0.5rem); /* justo debajo de la navbar flotante */
    left: 0;
    width: 280px !important;
    height: calc(100dvh - 1rem - 64px - 0.5rem);
    max-height: calc(100dvh - 1rem - 64px - 0.5rem);
    background: rgba(250,248,244,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: var(--charcoal);
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 1.5rem 0.75rem 2rem; z-index: 11000;
    border-radius: 0 24px 24px 0;
    border: 1px solid rgba(44,44,44,0.07);
    border-left: none;
    box-shadow: 20px 0 60px rgba(0,0,0,0.12), 4px 0 12px rgba(0,0,0,0.05);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    opacity: 0; pointer-events: none;
    transform: translateX(-100%);
    transition: opacity 0.25s ease, transform 0.32s cubic-bezier(0.165, 0.84, 0.44, 1);
}
[data-theme="dark"] .mobile-menu {
    background: rgba(15,15,15,0.97);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 20px 0 60px rgba(0,0,0,0.5), 4px 0 12px rgba(0,0,0,0.3);
    color: white;
}
.mobile-menu.open {
    opacity: 1; pointer-events: auto;
    transform: translateX(0);
}

.mobile-menu a, .mobile-menu button {
    width: 100%; display: flex; align-items: center; gap: 12px;
    padding: 0.8rem 1rem; border-radius: 12px;
    font-size: 0.95rem; font-weight: 500; font-family: 'DM Sans', sans-serif;
    color: var(--charcoal); text-decoration: none; transition: 0.2s;
    background: transparent; border: none; cursor: pointer;
    text-transform: none; letter-spacing: normal; margin-bottom: 0.2rem; flex-shrink: 0;
}
.mobile-menu a:hover, .mobile-menu button:hover { background: rgba(0,0,0,0.05); }
.mobile-menu a svg, .mobile-menu button svg { width: 20px; height: 20px; opacity: 0.6; flex-shrink: 0; }

[data-theme="dark"] .mobile-menu a, [data-theme="dark"] .mobile-menu button { color: rgba(255,255,255,0.85); }
[data-theme="dark"] .mobile-menu a:hover, [data-theme="dark"] .mobile-menu button:hover { background: rgba(255,255,255,0.07); color: white; }
[data-theme="dark"] .mobile-menu a svg, [data-theme="dark"] .mobile-menu button svg { opacity: 0.8; }
[data-theme="dark"] .menu-divider { background: rgba(255,255,255,0.07) !important; }

.mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.3);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    z-index: 9998; /* Por debajo de la navbar (10000) para que no la tape */
    opacity: 0; pointer-events: none;
    transition: 0.25s ease;
}
.mobile-overlay.active { opacity: 1; pointer-events: auto; }

/* Bloquear scroll cuando sidebar está abierto */
body.menu-open { overflow: hidden; }

@media(max-width:1024px){
  .hb { display: flex; }
}

/* ---- UTOPI DESIGN SYSTEM (V19) ---- */
:root {
    --glass: rgba(255, 255, 255, 0.7);
    --glass-dark: rgba(0, 0, 0, 0.4);
    --blur: blur(20px);
    --shadow-premium: 0 20px 50px rgba(0,0,0,0.1);
}
[data-theme="dark"]:root {
    --glass: rgba(26, 26, 26, 0.7);
    --glass-dark: rgba(0, 0, 0, 0.6);
}

.glass { background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid rgba(255,255,255,0.1); }
.shadow-lux { box-shadow: var(--shadow-premium); }

/* PUBLIC PROFILE SPECIFIC (v21) */
.profile-view { padding-top: 120px; max-width: 1000px; margin: 0 auto; padding-inline: 5%; }
.profile-nav-back { margin-bottom: 2rem; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--sage-dark); font-weight: 700; font-size: 0.9rem; }
.profile-nav-back:hover { color: var(--terracotta); }

/* ---- FOOTER & WHATSAPP ---- */
.footer { background:var(--sage-dark); color:white; padding:5rem 5% 3rem; margin: 0 1.5rem 1.5rem; border-radius: 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; max-width: 1300px; margin: 0 auto; }
.footer-brand .logo { color: white !important; margin-bottom: 0; height: auto; background: none !important; border: none !important; padding: 0 !important; box-shadow: none !important; }
.footer-brand em { color: var(--sage-light); }
.footer-nav { display: flex; gap: 6rem; }
.footer-col h4 { margin-bottom: 2rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--sage-light); font-family: 'DM Sans', sans-serif; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 1rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; font-size: 1rem; }
.footer-links a:hover { color: white; transform: translateX(5px); }
.footer-socials { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.5rem; }
.footer-socials a { color: white; opacity: 0.7; transition: 0.3s; display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.footer-socials a:hover { opacity: 1; transform: translateX(5px); }
.footer-socials svg { flex-shrink: 0; }
.footer-socials span { font-size: 0.95rem; font-weight: 500; }

.footer-bottom { 
    margin-top: 6rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); 
    display: flex; justify-content: space-between; align-items: center; 
    font-size: 0.9rem; opacity: 0.7; flex-wrap: wrap; gap: 1.5rem;
}
.footer-legal { display: flex; align-items: center; gap: 2rem; }
.footer-legal a { color: white; text-decoration: none; transition: 0.3s; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; }
.dedication { font-weight: 500; display: flex; align-items: center; gap: 0.5rem; }
.heart { color: #ff4d4d; animation: pulse 1.5s infinite; display: inline-block; }

[data-theme="dark"] .footer { background: #111; border-top: 1px solid rgba(250,248,244,0.1); }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr; gap: 4rem; }
    .footer-nav { gap: 4rem; flex-wrap: wrap; }
}
@media (max-width: 768px) {
    .footer-bottom { flex-direction: column; gap: 2rem; text-align: center; justify-content: center; }
    .footer-legal { flex-direction: column; gap: 1rem; }
}

/* ---- MOBILE MENU HOTFIX ---- */
@media(max-width: 1024px) {
  .nav-links { display: none !important; }
  .navbar { flex-wrap: nowrap; padding: 0.8rem 5%; min-height: 72px; gap: 0.5rem; justify-content: space-between; }
  .logo { font-size: 1.4rem; flex-shrink: 0; }
  .actions-nav { display: flex !important; align-items: center; gap: 0.8rem; margin-left: auto; flex-shrink: 0; }
  .hb { display: flex !important; z-index: 105; flex-shrink: 0; }
  .theme-btn { z-index: 105; position: relative; }
  .theme-btn, .user-btn { width: 40px; height: 40px; margin: 0; flex-shrink: 0; }
}

[data-theme="dark"] .mobile-menu a { color: var(--charcoal); }
[data-theme="dark"] .close-menu { color: var(--charcoal); }

/* ---- DARK MODE TEXT VISIBILITY FIX ---- */
[data-theme="dark"] p { color: rgba(250, 248, 244, 0.85) !important; }
[data-theme="dark"] strong { color: #FAF8F4 !important; }
[data-theme="dark"] .sec-tag { color: rgba(250, 248, 244, 0.7) !important; border-color: rgba(250, 248, 244, 0.2) !important; }
[data-theme="dark"] .filter-btn { color: rgba(250, 248, 244, 0.8) !important; border-color: rgba(250, 248, 244, 0.3) !important; }
[data-theme="dark"] .ev-meta, [data-theme="dark"] .pro-meta { color: rgba(250, 248, 244, 0.65) !important; }
[data-theme="dark"] .ev-title, [data-theme="dark"] .pro-name { color: #FAF8F4 !important; }
[data-theme="dark"] h2 { color: #FAF8F4 !important; }
[data-theme="dark"] h3 { color: #FAF8F4 !important; }
[data-theme="dark"] h4 { color: #FAF8F4 !important; }
[data-theme="dark"] .step-n { color: rgba(250, 248, 244, 0.3) !important; }

/* ---- SECURE IMAGE BLOCK RESPONSIVENESS ---- */
.img-block {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 16px;
    width: 100% !important;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ---- CAROUSEL ---- */
/* ---- CAROUSEL (v36 Atmospheric) ---- */
.carousel-section { position: relative; padding: 6rem 0;  background: var(--warm-white); }
[data-theme="dark"] .carousel-section { background: #0a0a0a; }

/* Lateral Fade Effect (v36 Atmospheric Refinement) */
.carousel-section::before, .carousel-section::after {
    content: ''; position: absolute; top:0; bottom:0; width: 18%; z-index: 20; pointer-events: none;
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-section::before { left: 0; background: linear-gradient(to right, var(--warm-white) 0%, transparent 100%); }
.carousel-section::after { right: 0; background: linear-gradient(to left, var(--warm-white) 0%, transparent 100%); }

[data-theme="dark"] .carousel-section::before { background: linear-gradient(to right, #0a0a0a 0%, transparent 100%); }
[data-theme="dark"] .carousel-section::after { background: linear-gradient(to left, #0a0a0a 0%, transparent 100%); }

.carousel-wrapper { 
    display: flex; gap: 2rem; overflow-x: auto; 
    padding: 3rem 1.5rem;
    max-width: 1280px; margin: 0 auto;
    scroll-snap-type: x mandatory; scrollbar-width: none; 
    -ms-overflow-style: none;
    border-radius: 40px; 
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.carousel-wrapper::-webkit-scrollbar { display: none; }

.car-card { 
    min-width: 320px; flex: 0 0 320px; height: 480px; border-radius: 28px; 
    scroll-snap-align: center; position: relative; overflow: hidden;
    display: flex; align-items: flex-end; padding: 2.5rem; color: white; 
    background-size: cover; background-position: center; 
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.12); 
    text-decoration: none;
    z-index: 1;
}

.car-card:hover { 
    transform: scale(1.04) translateY(-15px); 
    box-shadow: 0 40px 80px rgba(122, 158, 126, 0.3);
    z-index: 10;
    filter: brightness(1.1);
}

.car-card::before { 
    content: ''; position: absolute; inset: 0; 
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 40%, transparent 100%); 
    z-index: 1; transition: 0.4s;
}
.car-card:hover::before { background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%); }

.car-content { position: relative; z-index: 2; width: 100% !important; transition: 0.3s; }
.car-card:hover .car-content { transform: translateY(-5px); }
/* Imagen real en lugar de background-image para garantizar carga en Hostinger */
.car-img-real { position: absolute; inset: 0; width: 100% !important; height: 100%; object-fit: cover; border-radius: 28px; z-index: 0; }

.car-title { font-size: 2.4rem; font-family: 'Cormorant Garamond', serif; margin-bottom: 0.8rem; color: #fff !important; font-weight: 600; }
.car-desc { font-size: 1.05rem; opacity: 0.9; color: #fff !important; line-height: 1.5; }
/* SECCIÓN HERO PARA PÁGINAS INTERNAS v41 */
.page-hero {
    padding: 10rem 5% 5rem;
    background: var(--warm-white);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 5;
    margin: 6rem 1.5rem 0;
    border-radius: 30px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.05);
    overflow: hidden;
}
@media(max-width: 768px) {
    .page-hero { margin: 5rem 1rem 0; border-radius: 22px; padding: 8rem 5% 3rem; }
}

/* TÍTULOS Y ETIQUETAS ESTRUCTURALES */
.sec-tag { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2rem; color: var(--terracotta); margin-bottom: 1rem; display: block; }
.page-title { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; color: var(--charcoal); margin: 0; }
.page-title em { font-style: italic; color: var(--sage-dark); font-weight: 400; }

/* PESTAÑAS DE NAVEGACIÓN (TABS) v41 PREMIUM */
.agenda-controls { display: flex; align-items: center; justify-content: flex-end; margin-top: 2rem; }
.view-tabs { 
    display: inline-flex; background: rgba(0,0,0,0.05); padding: 5px; 
    border-radius: 100px; border: 1px solid rgba(0,0,0,0.04);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}
.view-tab { 
    padding: 0.8rem 2rem; border-radius: 100px; border: none; 
    background: transparent; font-weight: 700; font-size: 0.85rem; 
    color: var(--charcoal); cursor: pointer; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.6;
}
.view-tab:hover { opacity: 1; background: rgba(255,255,255,0.4); }
.view-tab.active { background: white; color: var(--sage-dark); opacity: 1; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }

@media(max-width: 900px) {
    .page-hero { padding: 8rem 5% 3rem; text-align: center; }
    .agenda-controls { justify-content: center; margin-top: 2.5rem; }
    .view-tab { padding: 0.6rem 1.2rem; font-size: 0.75rem; }
}

/* AGENDA: CONTENEDORES Y ESTRUCTURA */
.agenda-wrapper { 
    padding: 6rem 5%; max-width: 1400px; margin: 0 auto; 
    min-height: 60vh; /* Estabiliza el footer */
}

/* AGENDA SEMANAL: COMPONENTES v41 PREMIUM */
.day-head { 
    padding: 2.5rem 1.5rem; text-align: center; border-bottom: 2px solid rgba(0,0,0,0.03); 
    background: var(--warm-white); border-radius: 35px 35px 0 0;
}
.day-head h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--charcoal); margin: 0.5rem 0 0; font-weight: 500; }
.day-head span { font-size: 0.85rem; font-weight: 800; color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.15em; }

.event-list { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 15px; }

.event-item { 
    padding: 1.5rem; border-radius: 25px; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: white; border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02); cursor: pointer; position: relative;
    display: flex; flex-direction: column;
}
.event-item:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: var(--sage-light); }

.event-item.is-regional { border-left: 6px solid var(--ocean); background: rgba(58, 110, 138, 0.02); }
.event-item.is-pro { border-left: 6px solid var(--sage-dark); }


/* HERO & NAVIGATION TABS v40 PREMIUM */
.sec-tag { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; color: var(--terracotta); margin-bottom: 1rem; display: block; }
.page-title { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--charcoal); margin: 0; }
.page-title em { font-style: italic; color: var(--sage-dark); }

.view-tabs { 
    display: inline-flex; background: rgba(0,0,0,0.04); padding: 5px; 
    border-radius: 100px; border: 1px solid rgba(0,0,0,0.05);
}
.view-tab { 
    padding: 0.7rem 1.8rem; border-radius: 100px; border: none; 
    background: transparent; font-weight: 700; font-size: 0.85rem; 
    color: var(--charcoal); cursor: pointer; transition: 0.4s;
}
.view-tab.active { background: white; color: var(--sage-dark); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.view-tab:hover:not(.active) { background: rgba(255,255,255,0.5); }

/* AGENDA SEMANAL: COMPONENTES INTERNOS v40 PREMIUM */
.day-head { 
    padding: 2.5rem 1rem; text-align: center; border-bottom: 2px solid rgba(0,0,0,0.03); 
    background: var(--warm-white); border-radius: 35px 35px 0 0;
}
.day-head h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--charcoal); margin: 0.5rem 0 0; font-weight: 500; }
.day-head span { font-size: 0.85rem; font-weight: 800; color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.15em; }


.event-list { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; gap: 12px; }

.event-item { 
    padding: 1.2rem; border-radius: 20px; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: white; border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); cursor: pointer; position: relative;
}
.event-item:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); border-color: var(--sage-light); }

.event-item.is-regional { border-left: 5px solid var(--ocean); background: rgba(58, 110, 138, 0.02); }
.event-item.is-pro { border-left: 5px solid var(--sage-dark); }

.ev-time { font-size: 0.8rem; font-weight: 800; color: var(--terracotta); margin-bottom: 5px; display: block; }
.ev-title { font-size: 1rem; font-weight: 600; color: var(--charcoal); margin: 0 0 10px; line-height: 1.3; }

.ev-tag { 
    display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 0.7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.tag-regional { background: var(--ocean); color: white; }
.tag-clase { background: var(--sage-light); color: var(--sage-dark); }

.agenda-container { 
    position: relative; width: 100% !important; 
    padding: 1rem 5%; /* Ajuste responsivo base */
}
@media(min-width: 1024px) {
    .agenda-container { padding: 1rem 60px; } /* Espacio para flechas solo en desktop */
}
#agenda-grid { width: 100% !important;  }

.agenda-week-grid { 
    display: flex !important; gap: 20px; 
    overflow-x: auto; padding: 1rem 0 2rem;
    scrollbar-width: thin; scrollbar-color: var(--sage-light) transparent;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.agenda-day-col { 
    flex: 0 0 calc(100% / 7 - 15px);
    min-width: 250px;
    background: white; border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.04); display: flex; flex-direction: column; 
    scroll-snap-align: start; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
}
.agenda-day-col:hover { border-color: var(--sage-light); box-shadow: var(--shadow-premium); }

@media(max-width: 1000px) {
    .agenda-day-col { flex: 0 0 85%; }
    .agenda-container { gap: 0.5rem; }
}


[data-theme="dark"] .agenda-day-col { background: #1a1a1a; }
[data-theme="dark"] .day-head { background: #111; }
[data-theme="dark"] .event-item { background: #222; border-color: rgba(255,255,255,0.05); }

@media(max-width: 768px) {
    .car-card { min-width: 290px; flex: 0 0 290px; height: 420px; padding: 1.8rem; border-radius: 20px; }
    .car-title { font-size: 2rem; }
}

/* ---- CALENDARIO ---- */
.calendar-wrapper { max-width: 1000px; margin: 4rem auto; padding: 0 5%; }
.cal-month { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; color: var(--terracotta); margin-bottom: 2rem; border-bottom: 2px solid rgba(44,44,44,0.05); padding-bottom: 1rem; }
.cal-list { display: flex; flex-direction: column; gap: 1rem; }
.cal-item { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 2rem; background: white; padding: 1.5rem 2rem; border-radius: 12px; border: 1px solid rgba(44,44,44,0.08); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; }
.cal-item:hover { transform: translateX(8px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-left: 4px solid var(--ocean); }
.cal-date { text-align: center; color: var(--sage-dark); }
.cal-day { font-size: 2.2rem; font-weight: 700; line-height: 1; font-family: 'DM Sans', sans-serif;}
.cal-m { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; display: block; margin-top: 0.2rem;}
.cal-info h4 { font-size: 1.4rem; color: var(--charcoal); margin-bottom: 0.3rem; }
.cal-info p { font-size: 0.95rem; color: rgba(44,44,44,0.6); margin: 0; }
.cal-btn { font-size: 0.85rem; padding: 0.6rem 1.2rem; border-radius: 100px; background: rgba(44,44,44,0.05); color: var(--charcoal); font-weight: 600; transition: 0.3s; white-space: nowrap;}
.cal-item:hover .cal-btn { background: var(--ocean); color: white; }

@media(max-width: 768px) {
    .cal-item { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; border-left: 4px solid var(--sage-light); }
    .cal-date { display: flex; align-items: baseline; gap: 0.5rem; text-align: left; border-bottom: 1px solid rgba(44,44,44,0.05); padding-bottom: 0.5rem;}
}

[data-theme="dark"] .cal-item { background: #242424; border-color: rgba(250,248,244,0.1); }
[data-theme="dark"] .cal-month { color: #FAF8F4 !important; border-color: rgba(250,248,244,0.1); }
[data-theme="dark"] .cal-info h4 { color: #FAF8F4 !important; }
[data-theme="dark"] .cal-info p { color: rgba(250,248,244,0.6) !important; }
[data-theme="dark"] .cal-btn { background: rgba(250,248,244,0.1); color: #FAF8F4 !important; }
[data-theme="dark"] .cal-item:hover .cal-btn { background: var(--ocean); color: white !important; }

/* ---- B2B LANDING STYLES ---- */
.b2b-hero { padding: 10rem 5% 6rem; text-align: center; background: var(--sage-light); color: var(--charcoal); position: relative;  }
.b2b-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 2rem; font-family: 'Cormorant Garamond', serif; }
.b2b-hero p { max-width: 700px; margin: 0 auto 3rem; font-size: 1.2rem; opacity: 0.8; }
.b2b-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; max-width: 1200px; margin: 4rem auto; padding: 0 5%; }
.b2b-card { background: white; padding: 3rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; transition: 0.3s; border: 1px solid rgba(0,0,0,0.02); }
.b2b-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.b2b-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; margin-bottom: 1rem; color: var(--sage-dark); }
.b2b-icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; }

.pricing-section { background: var(--charcoal); color: white; padding: 8rem 5%; text-align: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1000px; margin: 4rem auto; }
.price-card { background: rgba(255,255,255,0.05); padding: 3rem; border-radius: 24px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; text-align: left; }
.price-card.featured { background: white; color: var(--charcoal); transform: scale(1.05); z-index: 2; border: none; }
.price-card h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; opacity: 0.7; }
.price-val { font-size: 3.5rem; font-family: 'DM Sans', sans-serif; font-weight: 700; margin-bottom: 2rem; }
.price-val span { font-size: 1rem; opacity: 0.6; font-weight: 400; }
.price-features { list-style: none; padding: 0; margin-bottom: 2.5rem; }
.price-features li { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; font-size: 0.95rem; }
.price-features li::before { content: '✓'; color: var(--ocean); font-weight: bold; }

[data-theme="dark"] .b2b-hero { background: #1a1a1a; color: white; }
[data-theme="dark"] .b2b-card { background: #242424; border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .b2b-card h3 { color: var(--sage-light); }
[data-theme="dark"] .price-card.featured { background: #fff; color: #000; }

/* OLD PRO-VERIFIED REMOVED IN FAVOR OF PREMIUM CLASS BELOW */


/* DASHBOARD & PUBLIC PROFILE HEADER (PREMIUM) */
.profile-header-premium {
    position: relative; margin-bottom: 4rem; width: 100% !important;
}

.prof-banner-wrap {
    height: 320px; border-radius: 40px;  position: relative;
    background: var(--sage-light); border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
@media(max-width: 768px) { .prof-banner-wrap { height: 200px; border-radius: 0 0 30px 30px; } }

.prof-banner-img { width: 100% !important; height: 100%; object-fit: cover; transition: 0.5s ease; }

.prof-banner-edit {
    position: absolute; bottom: 1.5rem; right: 2rem; background: rgba(255,255,255,0.9);
    padding: 0.7rem 1.4rem; border-radius: 100px; font-size: 0.8rem; font-weight: 700;
    cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.1); backdrop-filter: blur(5px);
    z-index: 10;
}

.prof-avatar-box {
    position: absolute; bottom: -60px; left: 3rem; width: 180px; height: 180px;
    border-radius: 50%; border: 8px solid white; background: white;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); 
    z-index: 20; display: flex; align-items: center; justify-content: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
@media(max-width: 768px) { .prof-avatar-box { left: 50%; transform: translateX(-50%); width: 140px; height: 140px; bottom: -50px; } }

.prof-avatar-img { width: 100% !important; height: 100%; object-fit: cover; border-radius: 50%; z-index: 10; position: relative; }

.prof-avatar-edit {
    position: absolute; inset: 0; background: rgba(0,0,0,0.4); color: white;
    display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s;
    cursor: pointer; font-size: 0.8rem; font-weight: 700; z-index: 21;
}
.prof-avatar-box:hover .prof-avatar-edit { opacity: 1; }

.axis-indent-master { 
    padding-left: 16rem !important; 
    text-align: left !important;
}
@media(max-width: 768px) { 
    .axis-indent-master { padding-left: 0 !important; text-align: center !important; } 
}

.prof-meta-top { 
    margin-top: 5.5rem; margin-bottom: 2rem; 
    position: relative; z-index: 10;
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
}
@media(max-width: 768px) { .prof-meta-top { margin-top: 6rem; align-items: center; text-align: center; } }

.prof-meta-top h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; color: var(--charcoal); font-weight: 500; display: flex; align-items: center; gap: 1rem; line-height: 1.1; }
.prof-meta-top span { color: var(--sage-dark); font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.95rem; display: block; }

/* SOCIAL LINKS MICRO (UTOPI Style) */
.social-links-micro { display: flex; gap: 0.8rem; align-items: center; }
.social-icon-micro { 
    width: 22px; height: 22px; opacity: 0.6; transition: 0.3s; color: var(--charcoal); 
    display: flex; align-items: center; justify-content: center;
}
.social-icon-micro:hover { opacity: 1; transform: scale(1.1); color: #25D366; }
.social-icon-micro svg { width: 100% !important; height: 100%; }

.profile-bio { 
    font-size: 1.15rem; line-height: 1.8; color: var(--charcoal); opacity: 0.9; 
    margin-bottom: 2rem; max-width: 100% !important; text-align: left !important;
}
@media(max-width: 768px) { .profile-bio { text-align: center !important; } }

/* PREMIUM DIRECTORY CARDS (v51) */
.pro-card-premium {
    background: white; border-radius: 35px; 
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.05);
    display: flex; flex-direction: column; position: relative;
}
.pro-card-premium:hover { transform: translateY(-12px); box-shadow: var(--shadow-premium); border-color: var(--sage-light); }

.pro-banner-mini { height: 120px; background: var(--sage-light); background-size: cover; background-position: center; border-radius: 35px 35px 0 0; }
.pro-avatar-mini-wrap {
    width: 100px; height: 100px; border-radius: 50%; border: 5px solid white;
    margin: -50px 0 1rem 1.5rem; position: relative; z-index: 5; background: #eee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-shrink: 0;
}
.pro-avatar { 
    width: 100% !important; height: 100%; object-fit: cover; 
    display: block; border-radius: 0; /* el clip lo hace el wrap */
}
.pro-avatar-init {
    font-size: 2.5rem; font-weight: 700; color: white;
    background: var(--sage-dark); width: 100% !important; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
/* BADGE AZUL — debe ir FUERA del overflow:hidden del wrap */
.badge-ok {
    position: absolute;
    background: #0095f6 !important;
    color: white !important;
    border-radius: 50%;
    display: flex !important; align-items: center; justify-content: center;
    font-weight: bold;
    border: 4px solid white !important;
    box-shadow: 0 4px 14px rgba(0,149,246,0.45);
    z-index: 100;
    /* Tamaño por defecto (tarjeta directorio) */
    width: 30px; height: 30px; font-size: 0.85rem;
    bottom: -4px; right: -4px;
}
/* Tamaño grande para perfil expandido */
.badge-ok.badge-lg {
    width: 46px; height: 46px; font-size: 1.4rem;
    bottom: 8px; right: 8px; border-width: 4px;
}
.pro-info-premium { padding: 0 2rem 2.5rem; text-align: left; }
.pro-name-premium { font-family: 'Cormorant Garamond', serif; font-size: 2rem; margin-bottom: 0.2rem; color: var(--charcoal); }
.pro-role-premium { font-size: 0.8rem; font-weight: 800; color: var(--sage-dark); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.5rem; }

/* SHARED SOCIAL LINKS */
.social-links-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
@media(max-width: 768px) { .social-links-row { justify-content: center; } }

.social-icon-sm { 
    width: 44px; height: 44px; border-radius: 50%; background: white; 
    display: flex; align-items: center; justify-content: center; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.06); transition: 0.3s; color: var(--charcoal);
    border: 1px solid rgba(0,0,0,0.05);
}
.social-icon-sm:hover { transform: translateY(-3px) scale(1.1); box-shadow: 0 10px 20px rgba(0,0,0,0.1); color: #25D366; }
.social-icon-sm svg { width: 22px; height: 22px; }

/* CONTACT SECTION PREMIUM (Shared) */
.contact-form-section { 
    max-height: 0;  opacity: 0; 
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    width: 100% !important;
}
.contact-form-section.is-open { max-height: 2500px; opacity: 1; margin: 3rem 0; }

.contact-trigger-btn { 
    padding: 1.2rem 2.5rem; border-radius: 100px; background: var(--sage-dark); color: white; 
    font-weight: 800; font-size: 1rem; border: none; cursor: pointer; transition: 0.4s;
    box-shadow: 0 15px 35px rgba(122, 158, 126, 0.25);
    text-transform: uppercase; letter-spacing: 0.15em;
}
.contact-trigger-btn:hover { background: #5f7a62; transform: translateY(-3px); box-shadow: 0 20px 45px rgba(122, 158, 126, 0.4); }
.contact-trigger-btn.hidden { display: none; }

.u-input-group { margin-bottom: 1.5rem; text-align: left; }
.u-input-group label { display: block; margin-bottom: 0.8rem; font-weight: 700; font-size: 0.85rem; color: var(--sage-dark); text-transform: uppercase; letter-spacing: 0.05em; }
.u-input { width: 100% !important; padding: 1.2rem; border-radius: 20px; border: 1.5px solid rgba(0,0,0,0.06); background: white; font-size: 1rem; transition: 0.3s; }
.u-input:focus { border-color: var(--sage-dark); outline: none; box-shadow: 0 0 0 4px rgba(122, 158, 126, 0.1); }
.btn-send { width: 100% !important; padding: 1.5rem; border-radius: 20px; border: none; background: var(--sage-dark); color: white; font-weight: 800; cursor: pointer; transition: 0.3s; font-size: 1rem; letter-spacing: 0.1em; }
.btn-send:hover { background: #5f7a62; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(122, 158, 126, 0.3); }

@media(max-width: 768px) {
    .prof-banner-wrap { height: 150px; }
    .prof-avatar-box { left: 50%; transform: translateX(-50%); width: 120px; height: 120px; bottom: -40px; }
    .prof-meta-top { text-align: center; padding-left: 0; margin-top: 5rem; }
}

[data-theme="dark"] .prof-banner-wrap { background: #222; }
[data-theme="dark"] .prof-avatar-box { border-color: #111; }
[data-theme="dark"] .prof-banner-edit { background: rgba(0,0,0,0.7); }
.search-info h5 { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--charcoal); }
.search-info span { font-size: 0.75rem; color: var(--sage-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

[data-theme="dark"] .search-box { background: rgba(26, 26, 26, 0.95); border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .search-query { background: rgba(255,255,255,0.05); color: white; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .search-info h5 { color: white; }

/* ---- CAROUSEL SNAP DISABLER ---- */
.no-snap { scroll-snap-type: none !important; }

@media (max-width: 768px) {
  .search-box { position: fixed; top: 76px; left: 5%; right: 5%; width: 90%; }
}

/* ---- MOSAIC GRID (v36 Contrast Fix) ---- */
.mosaic-section { padding: 10rem 5% 6rem; background: var(--warm-white); }
.mosaic-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 2rem; max-width: 1300px; margin: 0 auto; }
.mosaic-item { position: relative; border-radius: 40px; overflow: hidden; min-height: 500px; display: flex; align-items: flex-end; padding: 3.5rem; text-decoration: none; color: white !important; transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.mosaic-item:hover { transform: translateY(-12px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.mosaic-img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.6); transition: 1s; }
.mosaic-img-real { position: absolute; inset: 0; width: 100% !important; height: 100%; object-fit: cover; filter: brightness(0.6); transition: 1s; border-radius: 0; z-index: 0; }
.mosaic-item:hover .mosaic-img { filter: brightness(0.4); }
.mosaic-item:hover .mosaic-img-real { filter: brightness(0.4); }
.mosaic-content { position: relative; z-index: 10; width: 100% !important; text-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.mosaic-content { position: relative; z-index: 10; width: 100% !important; text-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.mosaic-content h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 2rem; color: #fff !important; font-weight: 500; text-shadow: 0 4px 20px rgba(0,0,0,0.6); }
.mosaic-content span { 
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.75rem; 
    margin-bottom: 1.2rem; display: inline-block; 
    color: #fff !important; 
    background: var(--sage-dark); 
    padding: 0.4rem 1.2rem; border-radius: 100px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-shadow: none;
}
.mosaic-content h2 em { color: #fff !important; font-style: italic; opacity: 0.95; }

/* ---- COMO FUNCIONA (v36 Dynamic Icons & Animations) ---- */
.step { 
    margin-bottom: 3.5rem; 
    position: relative; 
    display: flex; gap: 1.8rem; 
    padding: 2rem; border-radius: 32px;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    border: 1px solid transparent;
    animation: fadeInUp 0.8s ease backwards;
}
.step:nth-child(2) { animation-delay: 0.2s; }

.step:hover { 
    background: white; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.06); 
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0,0,0,0.05);
}
[data-theme="dark"] .step:hover { background: #111; border-color: rgba(255,255,255,0.05); }

.step-icon-box { 
    flex: 0 0 60px; height: 60px; 
    background: var(--warm-white); border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    color: var(--sage-dark); transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}
[data-theme="dark"] .step-icon-box { background: #1a1a1a; }
.step:hover .step-icon-box { 
    color: #fff; background: var(--terracotta); 
    transform: rotate(12deg) scale(1.1); 
    box-shadow: 0 15px 30px rgba(196, 113, 74, 0.3);
}
.step:nth-child(even):hover .step-icon-box { background: var(--ocean); box-shadow: 0 15px 30px rgba(58, 110, 138, 0.3); }

.step-content { flex: 1; }
.step-n { font-size: 0.85rem; font-weight: 800; opacity: 0.2; margin-bottom: 0.6rem; display: block; letter-spacing: 0.1em; }
.step h4 { margin-bottom: 0.6rem; font-size: 1.4rem; font-weight: 600; }
.step p { font-size: 1rem; opacity: 0.7; line-height: 1.6; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media(max-width: 1024px) { 
    .mosaic-grid { grid-template-columns: 1fr; } 
    .mosaic-item { min-height: 400px; padding: 2.5rem; } 
    .mosaic-section { padding-top: 8rem; }
}

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


/* VISTA MENSUAL (CALENDARIO) v40 ROBUST */
.agenda-month-view { 
    display: grid !important; 
    grid-template-columns: repeat(7, 1fr) !important; 
    gap: 2px; 
    background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.08); border-radius: 40px;  
    width: 100% !important; box-shadow: var(--shadow-premium);
}
.month-head-title { font-size: 3rem; font-family: 'Cormorant Garamond', serif; color: var(--sage-dark); margin-bottom: 1.5rem; text-transform: capitalize; }

.month-cell { 
    background: white; aspect-ratio: 1.1; padding: 1.2rem; display: flex; flex-direction: column; 
    align-items: center; justify-content: center; position: relative; cursor: pointer; transition: 0.3s ease;
}
.month-cell:hover { background: var(--warm-white); z-index: 5; transform: scale(1.05); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* VISTA ANUAL (PLANIFICACIÓN) v40 COMPACT */
.agenda-year-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; 
    padding: 2rem 0; width: 100% !important;
}
.year-month-card { 
    background: white; padding: 2rem 1.5rem; border-radius: 30px; 
    border: 1px solid rgba(0,0,0,0.04); transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer;
    text-align: center; position: relative;
}
.year-month-card:hover { transform: translateY(-12px); border-color: var(--sage-dark); box-shadow: var(--shadow-lux); }

@media(max-width: 1200px) { .agenda-year-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width: 800px) { .agenda-year-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 500px) { .agenda-year-grid { grid-template-columns: 1fr; } }


/* BOTONES DE NAVEGACIÓN v40 */
.btn-circle, .nav-arrow {
    width: 45px; height: 45px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1);
    background: white; color: var(--charcoal); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s; font-size: 1.2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.btn-circle:hover, .nav-arrow:hover { background: var(--sage-dark); color: white; border-color: var(--sage-dark); transform: scale(1.1); }

/* BOTONES DE NAVEGACIÓN v40 FINAL FIX */
.nav-arrow { 
    width: 45px; height: 45px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1);
    background: white; color: var(--charcoal); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s; font-size: 1.2rem; box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 50;
}
.nav-arrow:hover { background: var(--sage-dark); color: white; border-color: var(--sage-dark); transform: translateY(-50%) scale(1.1); }
.nav-arrow.prev { left: 0; }
.nav-arrow.next { right: 0; }


@media(max-width: 1000px) {
    .nav-arrow { display: none !important; }
}


.agenda-week-grid { 
    display: flex; gap: 15px; 
    overflow-x: auto; padding-bottom: 2rem;
    scrollbar-width: thin; 
    scrollbar-color: var(--sage-light) transparent;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
}
.agenda-week-grid::-webkit-scrollbar { height: 6px; }
.agenda-week-grid::-webkit-scrollbar-track { background: transparent; }
.agenda-week-grid::-webkit-scrollbar-thumb { background: var(--sage-light); border-radius: 10px; }

#day-detail-panel { transition: 0.5s ease;  }


/* ==========================================================================
   AGENDA DE EVENTOS PREMIUM v41.5 (ESTABILIDAD TOTAL)
   ========================================================================== */

/* 1. ENCABEZADO HERO INTERNO */
.page-hero { 
    padding: 12rem 5% 5rem; 
    background: var(--warm-white); 
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative; z-index: 10;
}
.sec-tag { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2rem; color: var(--terracotta); margin-bottom: 1rem; display: block; }
.page-title { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; color: var(--charcoal); margin: 0; }
.page-title em { font-style: italic; color: var(--sage-dark); font-weight: 400; }

/* 2. PESTAÑAS DE NAVEGACIÓN (TABS) */
.agenda-controls { display: flex; align-items: center; justify-content: flex-end; margin-top: 2rem; }
.view-tabs { 
    display: inline-flex; background: rgba(0,0,0,0.05); padding: 5px; 
    border-radius: 100px; border: 1px solid rgba(0,0,0,0.06);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}
.view-tab { 
    padding: 0.8rem 2rem; border-radius: 100px; border: none; 
    background: transparent; font-weight: 700; font-size: 0.85rem; 
    color: var(--charcoal); cursor: pointer; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.view-tab.active { background: white; color: var(--sage-dark); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.view-tab:hover:not(.active) { background: rgba(255,255,255,0.4); }

/* 3. ESTRUCTURA Y COMPONENTES DE LA AGENDA */
.agenda-wrapper { padding: 6rem 5%; max-width: 1400px; margin: 0 auto; min-height: 70vh; }
.agenda-container { position: relative; width: 100% !important; padding: 1rem 60px; }

.day-head { 
    padding: 2.5rem 1.5rem; text-align: center; border-bottom: 2px solid rgba(0,0,0,0.03); 
    background: var(--warm-white); border-radius: 35px 35px 0 1px;
}
.day-head h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--charcoal); margin: 0.5rem 0 0; font-weight: 500; }
.day-head span { font-size: 0.85rem; font-weight: 800; color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.15em; }

.event-list { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 15px; }
.event-item { 
    padding: 1.5rem; border-radius: 25px; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: white; border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02); cursor: pointer;
}
.event-item:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: var(--sage-light); }
.event-item.is-regional { border-left: 6px solid var(--ocean); background: rgba(58, 110, 138, 0.02); }
.event-item.is-pro { border-left: 6px solid var(--sage-dark); }

/* 4. RESPONSIVIDAD */
@media(max-width: 900px) {
    .page-hero { padding: 8rem 5% 3.5rem; text-align: center; }
    .agenda-controls { justify-content: center; margin-top: 2.5rem; }
    .view-tab { padding: 0.7rem 1.5rem; font-size: 0.8rem; }
    .agenda-wrapper { padding: 4rem 3%; }
    .agenda-container { padding: 1rem 10px; }
    .nav-arrow { display: none !important; }
}

[data-theme="dark"] .page-hero, [data-theme="dark"] .day-head { background: #111; border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .page-title { color: #fff; }
[data-theme="dark"] .view-tabs { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .event-item { background: #1a1a1a; }
[data-theme="dark"] .day-head h4 { color: #fff; }

/* ==========================================================================
   UTOPI STYLE EXTENSIONS (v57) - PREMIUM GLASS & MULTI-SELECT
   ========================================================================== */

.glass-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .glass-premium {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.utopi-card {
    border-radius: 40px;
    padding: 3rem;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.utopi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.15);
}

/* MULTI-SELECT TAGS UI */
.tag-input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-height: 56px;
    transition: 0.3s;
}

[data-theme="dark"] .tag-input-container {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255,255,255,0.1);
}

.tag-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--sage-dark);
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: 0.3s;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tag-pill .remove-tag {
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.7;
    transition: 0.2s;
}

.tag-pill .remove-tag:hover {
    opacity: 1;
    transform: scale(1.2);
}

.specialty-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.specialty-badge {
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(122, 158, 126, 0.1);
    color: var(--sage-dark);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(122, 158, 126, 0.2);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* DASHBOARD UX FIXES */
.nav-tab.active {
    background: var(--sage-dark) !important;
    color: white !important;
    box-shadow: 0 15px 30px rgba(74, 107, 78, 0.25) !important;
}

.dash-viewport {
    scroll-padding-top: 100px;
}


/* DASHBOARD UPGRADE: UTOPI STYLE */
.dash-header-smart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.cal-nav-premium {
    display: flex;
    gap: 10px;
}

.btn-outline-sm {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.btn-outline-sm:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.cal-layout-utopi {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
}

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

.calendar-grid-modern {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    background: white;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0,0,0,0.03);
}

.cal-day-header {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: 10px;
    opacity: 0.6;
}

.calendar-grid-modern div.cal-cell-mod {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    border: 1px solid transparent;
}

.calendar-grid-modern div.cal-cell-mod:hover {
    background: var(--warm-white);
    transform: scale(1.05);
    border-color: rgba(0,0,0,0.05);
}

.cal-cell-mod.active {
    background: var(--sage-dark);
    color: white;
    box-shadow: 0 10px 20px rgba(122, 158, 126, 0.3);
}

.cal-cell-mod.today {
    border: 2px solid var(--terracotta);
}

.cal-dot-premium {
    width: 6px;
    height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
    position: absolute;
    bottom: 8px;
}

.calendar-grid-modern div.empty-cell {
    opacity: 0.2;
}

/* HUB HERRAMIENTAS */
.tools-grid-utopi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.5rem;
}

.tool-card-box {
    background: white;
    padding: 1.5rem;
    border-radius: 25px;
    text-align: center;
    cursor: pointer;
    transition: 0.4s;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tool-card-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--sage-dark);
}

.tool-card-box.active {
    background: var(--sage-dark);
    color: white;
    border-color: var(--sage-dark);
}

.tool-icon {
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.03);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.tool-card-box.active .tool-icon {
    background: rgba(255,255,255,0.2);
}

.tool-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.tool-card-box h4 {
    font-size: 0.85rem;
    font-weight: 700;
}

.tool-subview {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tool-subview.active {
    display: block;
}

.collab-card-micro {
    background: var(--warm-white);
    padding: 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.collab-card-micro:hover {
    background: white;
    border-color: var(--sage-light);
    transform: translateX(5px);
}

.collab-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.sales-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pro-avatar { width: 100% !important; height: 100%; object-fit: cover; border-radius: 50%; z-index: 10; position: relative; }
.gallery-img { width: 100% !important; height: 100%; object-fit: cover; border-radius: 30px; }

/* UNIFIED PREMIUM VERIFIED BADGE */
.verified-badge-premium { 
    position: absolute; background: #0095f6 !important; color: white !important; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    font-weight: bold; border: 3.5px solid white !important; 
    box-shadow: 0 4px 15px rgba(0, 149, 246, 0.4); z-index: 500 !important; 
}
[data-theme="dark"] .verified-badge-premium { border-color: #1a1a1a !important; }

/* Dashboard / Cards size */
/* --- UTILS: BACKGROUND IMAGES --- */
.bg-car-1   { background-image: url('./assets/yogalloret-1.jpg')  !important; }
.bg-car-11  { background-image: url('./assets/yogalloret-11.jpg') !important; }
.bg-car-dsc { background-image: url('./assets/dsc-0058.jpg')      !important; }
.bg-car-8   { background-image: url('./assets/yogalloret-8.jpg')  !important; }
.bg-car-4   { background-image: url('./assets/yogalloret-4.jpg')  !important; }
.bg-car-9   { background-image: url('./assets/yogalloret-9.jpg')  !important; }
.bg-mos-11  { background-image: url('./assets/yogalloret-11.jpg') !important; }
.bg-mos-5   { background-image: url('./assets/yogalloret-5.jpg')  !important; }

/* --- BRAND VERIFIED BADGE (BLUE) --- */
.blue-check { 
    background: #0095f6 !important; color: white !important; 
    border-radius: 50%; display: flex !important; align-items: center; justify-content: center; 
    font-weight: bold; border: 3px solid white !important; 
    box-shadow: 0 4px 15px rgba(0, 149, 246, 0.4); 
}
.check-lg { width: 50px; height: 50px; font-size: 1.6rem; position: absolute; bottom: 10px; right: 10px; z-index: 100; }
.check-sm { width: 30px; height: 30px; font-size: 0.9rem; position: absolute; bottom: -5px; right: -5px; z-index: 100; }

/* --- PROFILE HEADER STABLE --- */
.prof-new-header { 
    display: flex; flex-direction: column; align-items: center; text-align: center; 
    margin-bottom: 3rem; position: relative; padding-top: 80px;
}
.prof-new-banner { 
    width: 100% !important; height: 350px; border-radius: 0 0 50px 50px; 
    overflow: hidden; position: relative; 
}
.prof-new-avatar-wrap { 
    position: relative; z-index: 10; width: 180px; height: 180px; 
    margin-top: -90px;
    flex-shrink: 0;
}
.prof-new-avatar { 
    width: 100% !important; height: 100%; border-radius: 50%; 
    border: 7px solid var(--warm-white, #f9fcfb); 
    background: white; overflow: hidden; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.15); 
}
[data-theme="dark"] .prof-new-avatar { border-color: #1a1a1a; background: #1a1a1a; }
.prof-new-avatar img { width: 100% !important; height: 100%; object-fit: cover; }

@media(max-width: 768px) {
    .prof-new-header { padding-top: 70px; margin-bottom: 2rem; }
    .prof-new-banner { height: 220px; border-radius: 0 0 30px 30px; }
    .prof-new-avatar-wrap { width: 130px; height: 130px; margin-top: -65px; }
    .check-lg { width: 38px !important; height: 38px !important; font-size: 1.1rem !important; }
}


/* ---- EVENT DETAIL BADGES v4.3 ---- */
.detail-badges-row { display: flex; gap: 10px; margin-bottom: 2rem; flex-wrap: wrap; }
.d-badge { 
    padding: 0.6rem 1.2rem; border-radius: 12px; font-size: 0.85rem; 
    background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.03); 
    color: var(--charcoal); display: flex; align-items: center; gap: 6px;
}
.d-badge strong { font-weight: 800; color: var(--sage-dark); }
.price-badge { background: rgba(196,113,74,0.08); border-color: rgba(196,113,74,0.1); }
.price-badge strong { color: var(--terracotta); }

[data-theme="dark"] .d-badge { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.05); color: #ccc; }
[data-theme="dark"] .d-badge strong { color: var(--sage-light); }
[data-theme="dark"] .price-badge strong { color: var(--terracotta); }
/* --- RESPONSIVE HELPERS (v4.6) --- */
@media(max-width: 991px) {
    .hide-mobile { display: none !important; }
}
@media(min-width: 992px) {
    .hide-desktop { display: none !important; }
}

/* Fix Iconos Tema */
.theme-toggle-btn svg {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.theme-toggle-btn span {
    vertical-align: middle;
}


/* --- PEAK PREMIUM: COMO FUNCIONA SYSTEM (v6.0) --- */
.step-highlight-group {
    padding: 3.5rem !important;
    border-radius: 40px !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px dashed rgba(0,0,0,0.08); /* Unified Dashed Aesthetic */
}

.step-highlight-group:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border-color: transparent;
    background: white !important;
}

/* Specific Tinting */
.shg-alumnos { background: rgba(196,113,74,0.02); }
.shg-pros { background: rgba(58,110,138,0.02); }
.shg-surya { background: rgba(74,107,78,0.02); }

.shg-alumnos:hover { border-color: var(--terracotta); }
.shg-pros:hover { border-color: var(--ocean); }
.shg-surya:hover { border-color: var(--sage-dark); }

.shg-alumnos h3 { color: var(--terracotta) !important; }
.shg-pros h3 { color: var(--ocean) !important; }
.shg-surya h3 { color: var(--sage-dark) !important; }

/* Desktop Grid Adjustments */
@media(min-width: 1024px) {
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
        align-items: stretch;
    }
}

@media(max-width: 1023px) {
    .steps-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .step-highlight-group {
        padding: 2.5rem !important;
    }
}

[data-theme="dark"] .step-highlight-group {
    border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .step-highlight-group:hover {
    background: #1a1c1a !important;
}
[data-theme="dark"] .shg-alumnos { background: rgba(196,113,74,0.05); }
[data-theme="dark"] .shg-pros { background: rgba(58,110,138,0.05); }
[data-theme="dark"] .shg-surya { background: rgba(74,107,78,0.05); }


@media(max-width: 1200px) {
    #s-tab-planner > div {
        grid-template-columns: 1fr !important;
    }
}
/* --- DISCIPLINES GRID (Restoration v7.5) --- */
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 5%;
    max-width: 1280px;
    margin: 0 auto;
}

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

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

.car-card.glass:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* ============================================================
   ULTRA-PREMIUM PEAK RESTORATION (v7.2)
   ============================================================ */

/* --- SURYA ENERGY PILL (Sidebar) --- */
.surya-energy-wrap {
    margin: 2rem 1.5rem !important;
    padding: 1.2rem;
    border-radius: 25px;
    background: rgba(122, 158, 126, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(122, 158, 126, 0.15);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.surya-energy-wrap:hover {
    background: rgba(122, 158, 126, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.energy-pulsing-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--sage-light) 0%, transparent 70%);
    opacity: 0.1;
    animation: energyPulse 3s infinite;
}

@keyframes energyPulse {
    0% { transform: scale(0.8); opacity: 0.1; }
    50% { transform: scale(1.5); opacity: 0.2; }
    100% { transform: scale(0.8); opacity: 0.1; }
}

.energy-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.energy-icon {
    width: 40px;
    height: 40px;
    background: var(--sage-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(74, 107, 78, 0.3);
}

.energy-info {
    display: flex;
    flex-direction: column;
}

.energy-label {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0.5;
    text-transform: uppercase;
}

.energy-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sage-dark);
}

/* --- GLASSMORPHISM & PREMIUM CARDS --- */
.glass {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .glass {
    background: rgba(26, 26, 26, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* VERIFIED BADGE BLUE (v7.0) */
.verified-badge-premium {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #0095f6 !important;
    color: white !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 3.5px solid white !important;
    box-shadow: 0 4px 15px rgba(0, 149, 246, 0.4);
    z-index: 50;
    font-weight: 900;
    font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════
   PWA — Install Banner & Update Toast
══════════════════════════════════════════════════════ */
#pwa-install-banner {
    position: fixed;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 480px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 99999;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#pwa-install-banner.visible { bottom: 1.5rem; }
[data-theme="dark"] #pwa-install-banner {
    background: #1c1c1c;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
}
.pwa-banner-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #7A9E7E, #4A6B4E);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}
.pwa-banner-text { flex: 1; min-width: 0; }
.pwa-banner-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 2px;
}
[data-theme="dark"] .pwa-banner-text strong { color: #FAF8F4; }
.pwa-banner-text span {
    font-size: 0.75rem;
    opacity: 0.5;
    line-height: 1.4;
}
.pwa-install-btn {
    background: linear-gradient(135deg, #7A9E7E, #4A6B4E);
    color: white;
    border: none;
    padding: 0.65rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
    flex-shrink: 0;
}
.pwa-install-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(74,107,78,0.35); }
.pwa-dismiss-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    opacity: 0.3;
    cursor: pointer;
    padding: 4px;
    color: var(--charcoal);
    flex-shrink: 0;
    line-height: 1;
    transition: opacity 0.2s;
}
.pwa-dismiss-btn:hover { opacity: 0.7; }

/* Update toast */
#pwa-update-toast {
    position: fixed;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sage-dark);
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 99999;
    box-shadow: 0 8px 30px rgba(74,107,78,0.4);
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
#pwa-update-toast.visible { top: 1.5rem; }
#pwa-update-toast button {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
}
#pwa-update-toast button:hover { background: rgba(255,255,255,0.3); }

/* ── Navbar notification bell & dropdown ── */
.notif-wrap { position: relative; }
.notif-badge { position: relative; }
.notif-dot {
    position: absolute;
    top: 4px; right: 4px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--terracotta);
    border: 2px solid var(--warm-white);
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}
.notif-dot.active { opacity: 1; transform: scale(1); }
[data-theme="dark"] .notif-dot { border-color: #111; }

.notif-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: var(--warm-white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95) translateY(-8px);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}
.notif-dropdown.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: all; }
[data-theme="dark"] .notif-dropdown { background: #1a1a1a; border-color: rgba(255,255,255,0.08); }

.nd-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.2rem 0.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-weight: 700; font-size: 0.95rem;
}
[data-theme="dark"] .nd-header { border-color: rgba(255,255,255,0.06); }
.nd-clear-btn {
    font-size: 0.72rem; color: var(--terracotta); background: none; border: none;
    cursor: pointer; font-family: inherit; padding: 2px 6px; border-radius: 6px;
    transition: background 0.15s;
}
.nd-clear-btn:hover { background: rgba(183,83,75,0.08); }

.nd-list { max-height: 300px; overflow-y: auto; }
.nd-empty { padding: 1.5rem 1.2rem; text-align: center; opacity: 0.4; font-size: 0.85rem; }
.nd-item {
    display: flex; align-items: flex-start; gap: 0.8rem;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    cursor: default;
    transition: background 0.15s;
}
.nd-item:last-child { border-bottom: none; }
.nd-item:hover { background: rgba(0,0,0,0.03); }
[data-theme="dark"] .nd-item { border-color: rgba(255,255,255,0.04); }
[data-theme="dark"] .nd-item:hover { background: rgba(255,255,255,0.04); }
.nd-item.clickable { cursor: pointer; }
.nd-icon {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    background: rgba(74,107,78,0.12); display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.nd-body { flex: 1; min-width: 0; }
.nd-title { font-weight: 600; font-size: 0.85rem; margin-bottom: 2px; }
.nd-msg { font-size: 0.78rem; opacity: 0.6; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-time { font-size: 0.72rem; opacity: 0.4; margin-top: 3px; }
.nd-del {
    flex-shrink: 0; background: none; border: none; cursor: pointer;
    opacity: 0.3; padding: 2px 4px; border-radius: 6px; font-size: 1rem;
    color: inherit; transition: opacity 0.15s;
}
.nd-del:hover { opacity: 0.7; }
.nd-link-hint { font-size: 0.72rem; color: var(--sage-dark); font-weight: 600; margin-top: 3px; display: block; }
