@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2A4365; /* Azul menos corporativo */
    --secondary-color: #48BB78; /* Verde más fresco y personal */
    --accent-color: #F6AD55; /* Naranja cálido en lugar de oro */
    --bg-light: #F7FAFC; /* Fondo más suave */
    --text-dark: #2D3748;
    --text-medium: #4A5568;
    --text-light: #718096; /* Redefined to match lawyer.html context */
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 20px rgba(0, 0, 0, 0.12);
    --text-on-dark-bg: #E2E8F0;
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Open Sans', sans-serif;
    --transition-speed: 0.4s;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
}

/* Estilos para la sección Perfil Profesional */
.professional-profile {
    display: flex;
    align-items: flex-start; /* Alinea los items al inicio verticalmente */
    gap: 30px; /* Espacio entre la imagen y el texto */
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9; /* Un fondo sutil */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
    font-family: 'Montserrat', sans-serif; /* Aplicando Montserrat */
}

.professional-profile-image-container {
    /* flex: 0 0 200px; */ /* Eliminado para permitir tamaño flexible */
    /* height: 200px; */  /* Eliminado para permitir tamaño flexible */
    max-width: 300px; /* Establece un ancho máximo para la imagen */
    width: 100%; /* Hace que la imagen sea responsive hasta su max-width */
    border-radius: 15px; /* Esquinas redondeadas */
    overflow: hidden; /* Asegura que la imagen se mantenga dentro del contenedor */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra para la imagen */
    position: relative; /* Para el overlay */
}

.professional-profile-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1); /* Overlay oscuro sutil */
    border-radius: 15px; /* Mismas esquinas redondeadas para el overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.professional-profile-image-container:hover::before {
    opacity: 1;
}

.professional-profile-image {
    width: 100%;
    /* height: 100%; */ /* Eliminado */
    /* object-fit: cover; */ /* Eliminado para mostrar imagen completa */
    display: block;
    height: auto; /* Permite que la altura se ajuste automáticamente a la proporción de la imagen */
}

.professional-profile-text {
    flex: 1; /* El texto ocupa el espacio restante */
    font-size: 1rem; /* Ajustado para Montserrat */
    line-height: 1.8; /* Aumentado para mejor legibilidad con Montserrat */
    color: #444; /* Color de texto ligeramente más oscuro para contraste */
    font-weight: 400; /* Peso de fuente normal */
}

.professional-profile-text p {
    margin-bottom: 18px; /* Espaciado entre párrafos */
    font-weight: 400; /* Asegurar peso normal para párrafos */
}

.professional-profile-contact {
    margin-top: 25px; /* Aumentar espacio superior */
    margin-bottom: 20px; /* Aumentar espacio inferior */
    text-align: left;
    font-size: 0.9rem; /* Ajustado para Montserrat */
    color: #555;
    font-weight: 500; /* Un poco más de peso para la info de contacto */
}

.professional-profile-contact p {
    margin-bottom: 10px; /* Espaciado para items de contacto */
    display: flex;
    align-items: center; /* Alinea íconos y texto */
    font-weight: 500;
}

.professional-profile-contact i {
    margin-right: 12px; /* Espacio entre ícono y texto */
    color: #007bff; /* Color para los íconos */
    width: 20px; /* Ancho fijo para alinear los textos */
    text-align: center;
    font-size: 1.1rem; /* Iconos ligeramente más grandes */
}

.professional-profile-social {
    text-align: left;
    margin-top: 25px;
}

.professional-profile-social .social-icon {
    display: inline-flex; /* Para alinear ícono y texto */
    align-items: center;
    margin-right: 18px;
    color: #007bff;
    text-decoration: none;
    font-size: 0.95rem; /* Ajustado para Montserrat */
    transition: color 0.3s ease;
    font-weight: 600; /* Texto del enlace social más destacado */
}

.professional-profile-social .social-icon i {
    margin-right: 8px;
    font-size: 1.2rem; /* Tamaño del ícono un poco más grande */
}

.professional-profile-social .social-icon:hover {
    color: #0056b3; /* Color al pasar el mouse */
    text-decoration: underline;
}

/* Ajustes para que about-content también use flex y mejore alineación general */
.about-content.professional-profile {
    display: flex;
    flex-direction: row; /* Por defecto, pero para ser explícitos */
    align-items: flex-start;
}

.about-image.professional-profile-image-container {
    /* Los estilos ya están en .professional-profile-image-container,
       solo aseguramos que no haya conflictos de especificidad si es necesario */
    margin-right: 30px; /* Espacio entre la imagen y el bloque de texto */
}

.about-text.professional-profile-text {
    /* Los estilos ya están en .professional-profile-text */
    /* max-width: calc(100% - 230px); */ /* Ajusta el ancho máximo del texto considerando la imagen y el gap */
    /* Se ajustará dinámicamente con flexbox, pero podemos añadir un min-width si es necesario */
     min-width: 250px; /* Asegura un ancho mínimo para el texto */
}

/* Estilos para la línea de tiempo de experiencia profesional */
.experience-timeline {
    margin-top: 10px;
    margin-bottom: 15px;
}

.timeline-duration {
    font-size: 0.85rem;
    color: #666;
    display: block;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif; /* Asegurar Montserrat */
    font-weight: 500;
}

.timeline-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden; /* Para que la barra interna no se salga del radio */
}

.timeline-bar {
    height: 100%;
    background-color: #007bff; /* Color principal de la barra */
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
}

/* Niveles de duración para la barra */
.timeline-bar.level-1 { width: 20%; } /* Para duraciones cortas (ej. 2 meses) */
.timeline-bar.level-2 { width: 40%; } /* Para duraciones medias-cortas (ej. 3-5 meses) */
.timeline-bar.level-3 { width: 60%; } /* Podrías añadir más niveles si es necesario */
.timeline-bar.level-4 { width: 80%; }
.timeline-bar.level-5 { width: 100%; }

/* Ajustes específicos para la lista de experiencia en info-box */
.info-box-content ul li .item-title {
    font-weight: 600; /* Un poco más de énfasis en el título del puesto */
}

.info-box-content ul li .item-subtitle {
    font-style: italic;
    color: #555;  /* Un color un poco más suave para el subtítulo */
    margin-bottom: 5px; /* Pequeño espacio antes de la barra de tiempo */
} 

/* Estilos para la política de privacidad */
.privacy-policy-section {
    background-color: #ffffff;
    padding: 60px 0;
    font-family: var(--font-sans); /* Use Open Sans as primary font */
    color: #333333;
}

.privacy-policy-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-policy-section .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: left;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.privacy-policy-section .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #007bff; /* Un azul profesional */
    border-radius: 2px;
}

.privacy-policy-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
}

.privacy-policy-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-policy-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555555;
    text-align: justify; /* Justificar el texto */
}

.privacy-policy-section ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.privacy-policy-section ul li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #555555;
}

.privacy-policy-section strong {
    font-weight: 700;
    color: #333333;
}

.privacy-policy-section a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy-section a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Estilos para el footer en la página de privacidad (similar al header principal) */
.privacy-policy-section + footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 30px 0;
    font-family: var(--font-sans); /* Ensure Open Sans is used in the footer */
    font-size: 0.9rem;
    text-align: center;
}

.privacy-policy-section + footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.privacy-policy-section + footer p {
    font-family: var(--font-sans); /* Explicitly set font for footer paragraphs */
    color: var(--text-on-dark-bg); /* Ensure consistent text color */
}

.privacy-policy-section + footer .social-links a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.privacy-policy-section + footer .social-links a:hover {
    color: #007bff;
}

/* Global Container */
.container {
    width: 90%;
    max-width: 1100px; /* Adjusted to match lawyer.html */
    margin: 0 auto;
    padding: 30px 0; /* Adjusted to match lawyer.html */
}

/* Header - Lawyer.html style */
header {
    background-color: var(--primary-color); /* From lawyer.html theme */
    color: var(--text-on-dark-bg); /* From lawyer.html theme */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2); /* From lawyer.html theme */
}
header .container {
    display: flex;
    justify-content: space-between; /* Space between logo, nav, and lang switcher */
    align-items: center;
    padding: 5px 0; /* From lawyer.html theme */
}

.logo-lawyer.ambidex-logo {
    font-family: var(--font-sans);
    font-size: 1.8rem; /* Ensured to be 1.8rem */
    color: var(--text-on-dark-bg);
    font-weight: 600;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color var(--transition-speed);
}
.logo-lawyer.ambidex-logo i.fa-yin-yang {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.7rem;
    transition: transform 0.4s ease, color var(--transition-speed);
}
.logo-lawyer.ambidex-logo:hover {
    color: var(--accent-color);
}
.logo-lawyer.ambidex-logo:hover i.fa-yin-yang {
    color: white;
    transform: rotate(180deg);
}

nav.main-nav-lawyer ul.nav-list-lawyer {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
nav.main-nav-lawyer ul.nav-list-lawyer li {
    margin-left: 20px;
}
nav.main-nav-lawyer ul.nav-list-lawyer li a {
    color: var(--text-on-dark-bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 10px;
    border-radius: 20px;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}
nav.main-nav-lawyer ul.nav-list-lawyer li a:hover,
nav.main-nav-lawyer ul.nav-list-lawyer li a.active {
    color: var(--primary-color);
    background-color: var(--accent-color);
}

.lang-switcher-lawyer {
    display: flex;
    gap: 10px;
}
.lang-switcher-lawyer button {
    background-color: #ffffff; /* White background for buttons */
    border: 1px solid #dddddd;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: var(--text-dark); /* Dark text for buttons */
}
.lang-switcher-lawyer button:hover {
    background-color: #f0f0f0;
}

/* --- END OF LAWYER HEADER/NAV STYLES --- */

/* --- REMOVE OLD HEADER/SIDEBAR STYLES --- */
/* Remove Hamburger Menu, Sidebar, and related styles */
.hamburger-menu,
.sidebar,
.close-sidebar,
.sidebar-nav-list,
.sidebar-lang-switcher {
    display: none !important;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    /* No horizontal navigation on smaller screens */
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
    .privacy-policy-section .section-title {
        font-size: 2.2rem;
    }

    .privacy-policy-section h2 {
        font-size: 1.5rem;
    }

    .privacy-policy-section p,
    .privacy-policy-section ul li {
        font-size: 0.95rem;
    }

    .privacy-policy-section + footer .container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .privacy-policy-section .section-title {
        font-size: 1.8rem;
    }

    .privacy-policy-section h2 {
        font-size: 1.3rem;
    }
} 
