/* Custom Styles for A&R Estudio Jurídico */
/* HERO SLIDER STYLES */
.hero-slider {
position: relative;
height: 100vh;
min-height: 600px;
overflow: hidden;
}
.slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 2s ease-in-out;
}
.slide.active {
opacity: 1;
}
.slide-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
animation: kenBurns 25s ease-in-out infinite;
}
@keyframes kenBurns {
0% { transform: scale(1) translate(0, 0); }
50% { transform: scale(1.08) translate(-1%, -1%); }
100% { transform: scale(1) translate(0, 0); }
}
.slide-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(4, 4, 4, 0.75) 0%, rgba(85, 26, 33, 0.6) 100%);
}
/* DIAGONAL CUT */
.hero-diagonal-cut {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 150px;
background: white;
clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 50%);
z-index: 10;
}
/* SLIDE INDICATORS */
.slide-indicators {
position: absolute;
bottom: 180px;
right: 50px;
z-index: 20;
display: flex;
gap: 12px;
}
.indicator {
width: 12px;
height: 12px;
border-radius: 50%;
background: rgba(236, 231, 228, 0.5);
cursor: pointer;
transition: all 0.3s ease;
}
.indicator.active {
background: #ece7e4;
transform: scale(1.3);
}
.indicator:hover {
background: #ece7e4;
}
/* SLIDE CONTENT ANIMATION */
.slide-content {
position: relative;
z-index: 15;
opacity: 0;
transform: translateY(40px);
transition: all 1.2s ease 0.5s;
}
.slide.active .slide-content {
opacity: 1;
transform: translateY(0);
}
/* HERO TEXT STYLES */
.hero-slider .slide-content h1 {
font-family: 'Playfair Display', serif;
font-weight: 600;
letter-spacing: -0.01em;
line-height: 1.3;
}
.hero-slider .slide-content .uppercase {
font-weight: 500;
letter-spacing: 0.15em;
}
.hero-slider .slide-content .border-2 {
border-radius: 50px;
transition: all 0.5s ease;
font-weight: 500;
letter-spacing: 0.05em;
}
.hero-slider .slide-content .border-2:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
/* NAVBAR STYLES */
.navbar-transparent {
background: transparent;
transition: all 0.3s ease;
}
.navbar-solid {
background: #551a21;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* NOSOTROS & EQUIPO SECTIONS */
#nosotros-intro,
#equipo {
position: relative;
}
/* Animaciones */
@keyframes slideInLeft {
from { opacity: 0; transform: translateX(-80px); }
to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(50px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes spinSlow {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@keyframes bounceSlow {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
@keyframes arrowDown {
0%, 100% { opacity: 0.3; transform: translateY(0); }
50% { opacity: 1; transform: translateY(5px); }
}
.animate-slide-in-left { animation: slideInLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.animate-fade-in-up { animation: fadeInUp 1s ease-out 0.3s both; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-spin-slow { animation: spinSlow 30s linear infinite; }
.animate-bounce-slow { animation: bounceSlow 2s ease-in-out infinite; }
.animate-arrow-down { animation: arrowDown 1.5s ease-in-out infinite; }
/* Reveal animations on scroll */
.reveal-text {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-text.visible {
opacity: 1;
transform: translateY(0);
}
.reveal-text:nth-child(1) { transition-delay: 0.1s; }
.reveal-text:nth-child(2) { transition-delay: 0.3s; }
.reveal-text:nth-child(3) { transition-delay: 0.5s; }
.reveal-text:nth-child(4) { transition-delay: 0.7s; }
/* Stat items animation */
.stat-item {
opacity: 0;
transform: translateY(20px);
transition: all 0.6s ease-out;
}
.stat-item.visible {
opacity: 1;
transform: translateY(0);
}
.stat-item:nth-child(1) { transition-delay: 0.2s; }
.stat-item:nth-child(2) { transition-delay: 0.4s; }
.stat-item:nth-child(3) { transition-delay: 0.6s; }
/* Image parallax effect */
#nosotros-intro img,
#equipo img {
transition: transform 0.3s ease-out;
}
/* FADE IN SECTION */
.fade-in-section {
opacity: 0;
transform: translateY(40px);
transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in-section.is-visible {
opacity: 1;
transform: none;
}
/* SCROLLBAR */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #ece7e4; }
::-webkit-scrollbar-thumb { background: #850808; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #551a21; }
/* SMOOTH SCROLLING */
html { scroll-behavior: smooth; }
/* FOOTER PROFESIONAL */
footer.bg-ar-dark { font-family: 'Lato', sans-serif; }
footer .font-serif { font-family: 'Playfair Display', serif; }
footer a:hover svg { transform: translateY(-3px) scale(1.1); transition: transform 0.3s ease; }
/* Scroll to Top Button */
#scroll-to-top { z-index: 40; }
#scroll-to-top.visible { opacity: 1; visibility: visible; }
#scroll-to-top:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(133, 8, 8, 0.4); }
/* Footer Links Animation */
footer ul li a { position: relative; display: inline-block; }
footer ul li a::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 1px;
background-color: #850808;
transition: width 0.3s ease;
}
footer ul li a:hover::after { width: 100%; }
/* LOGO BALANZA - Animaciones sutiles */
header a:hover svg,
footer .flex.items-center:hover svg {
transform: translateY(-2px);
transition: transform 0.4s ease;
}
header svg, footer svg { flex-shrink: 0; }
/* INSIGHTS CARRUSEL */
#insights-track { display: flex; transition: transform 0.5s ease-out; }
.insights-dot.active { background-color: #850808 !important; transform: scale(1.3); }
/* ÁREAS DE PRÁCTICA - DISEÑO EMPRESARIAL */
.area-card { position: relative; min-height: 280px; }
.area-card:hover { background-color: #040404; }
.area-card .group-hover\:max-h-40 { max-height: 0; transition: max-height 0.5s ease, opacity 0.5s ease; }
.area-card:hover .group-hover\:max-h-40 { max-height: 160px; }
.area-card .absolute.top-4.right-6 { transition: all 0.6s ease; }
.area-card svg { transition: all 0.5s ease; }
.area-card:hover svg { transform: scale(1.1); }
.area-card h3 { transition: all 0.5s ease; }
/* ========================================== */
/* LOGO LINKS */
/* ========================================== */
.logo-link {
cursor: pointer;
text-decoration: none;
}
.logo-link:hover {
opacity: 0.9;
}
/* ========================================== */
/* BANNERS DE NOMBRES DE ABOGADOS */
/* ========================================== */
.lawyer-banner,
.lawyer-banner-text {
transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
z-index: 5;
}
.lawyer-banner.visible,
.lawyer-banner-text.visible {
opacity: 1 !important;
transform: translateY(0) !important;
}
.lawyer-name-banner {
background: linear-gradient(180deg, rgba(85, 26, 33, 0) 0%, rgba(85, 26, 33, 0.95) 30%, rgba(85, 26, 33, 1) 100%);
padding: 3rem 2rem 2rem 2rem;
text-align: center;
backdrop-filter: blur(2px);
}
.lawyer-name {
font-family: 'Playfair Display', serif;
font-size: 2rem;
font-weight: 400;
color: #ece7e4;
letter-spacing: 0.15em;
text-transform: uppercase;
margin-bottom: 0.5rem;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.lawyer-title {
font-family: 'Lato', sans-serif;
font-size: 0.75rem;
font-weight: 400;
color: #ece7e4;
letter-spacing: 0.25em;
text-transform: uppercase;
opacity: 0.85;
}
/* ========================================== */
/* SECCIÓN LA FIRMA */
/* ========================================== */
.la-firma-card {
min-height: 420px;
display: flex;
flex-direction: column;
justify-content: flex-start;
border: 1px solid rgba(133, 8, 8, 0.1);
}
.la-firma-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(85, 26, 33, 0.15);
}
/* ========================================== */
/* BOTÓN WHATSAPP FLOTANTE */
/* ========================================== */
.whatsapp-float-btn {
bottom: 110px;
animation: whatsappPulse 2s ease-in-out infinite;
}
.whatsapp-float-btn:hover {
animation: none;
}
.whatsapp-tooltip {
pointer-events: none;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@keyframes whatsappPulse {
0%, 100% { box-shadow: 0 0 0 0 rgba(133, 8, 8, 0.5); }
50% { box-shadow: 0 0 0 15px rgba(133, 8, 8, 0); }
}
/* ========================================== */
/* BOTÓN "DESCUBRIR MÁS" FLOTANTE */
/* ========================================== */
.discover-btn {
pointer-events: auto;
}
.discover-btn.visible {
opacity: 1 !important;
transform: translateX(-50%) translateY(0) !important;
pointer-events: auto;
}
.discover-btn:hover .animate-bounce-slow {
animation-duration: 0.8s;
}
.discover-btn:hover .animate-arrow-down {
animation-duration: 0.6s;
}
/* ========================================== */
/* RESPONSIVE */
/* ========================================== */
@media (max-width: 1024px) {
#nosotros-intro .absolute.left-0 {
clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
}
#nosotros-intro img,
#equipo img {
max-height: 60vh;
}
}
@media (max-width: 768px) {
.hero-slider { min-height: 500px; }
.hero-diagonal-cut { height: 100px; clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 30%); }
.hero-slider .slide-content h1 { font-size: 1.75rem; line-height: 1.2; }
.hero-slider .slide-content .text-sm { font-size: 0.75rem; }
.slide-indicators { bottom: 130px; right: 20px; }
#nosotros-intro, #equipo { min-height: auto; padding: 4rem 0; }
#nosotros-intro .absolute.left-0 { display: none; }
#nosotros-intro .grid, #equipo .grid { gap: 2rem; }
#nosotros-intro .order-2, #equipo .order-2 { order: -1 !important; }
#nosotros-intro img, #equipo img { max-height: 50vh; clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); }
#nosotros-intro .order-1, #equipo .order-1 { order: 0 !important; text-align: center; }
#nosotros-intro .space-y-6, #equipo .space-y-6 { text-align: left; }
#nosotros-intro .mt-12, #equipo .mt-12 { text-align: center; }
#nosotros-intro .grid.grid-cols-3, #equipo .grid.grid-cols-3 { text-align: center; }
.hero-slider .slide-content .border-2 { font-size: 0.9rem; padding: 0.6rem 1.5rem; }
footer .grid { gap: 2rem; }
header a svg { width: 2.5rem; height: 2.5rem; }
header a .text-3xl { font-size: 1.25rem; }
footer .flex.items-center svg { width: 4rem; height: 4rem; }
footer .text-5xl { font-size: 2.5rem; }
#insights-prev, #insights-next { display: none; }
.area-card .absolute.top-4.right-6 { font-size: 5rem; }
.area-card { min-height: 220px; padding: 2rem !important; }
.lawyer-name { font-size: 1.25rem; letter-spacing: 0.1em; }
.lawyer-title { font-size: 0.6rem; letter-spacing: 0.15em; }
.lawyer-name-banner { padding: 2rem 1rem 1.5rem 1rem; }
.whatsapp-float-btn { right: 1rem; bottom: 100px; padding: 0.75rem; }
.whatsapp-float-btn i { font-size: 1.5rem; }
.whatsapp-tooltip { display: none; }
.la-firma-card { min-height: auto; padding: 2rem !important; }
}
@media (max-width: 480px) {
.hero-slider .slide-content h1 { font-size: 1.5rem; }
#nosotros-intro img, #equipo img { max-height: 40vh; }
.area-card .absolute.top-4.right-6 { font-size: 4rem; }
.area-card h3 { font-size: 1.5rem !important; }
.lawyer-name { font-size: 1rem; }
.lawyer-title { font-size: 0.55rem; }
.whatsapp-float-btn { bottom: 90px; }
}
/* PRINT STYLES */
@media print {
header, footer, .no-print, #scroll-indicator, #discover-more-btn {
display: none;
}
}
/* ========================================== */
/* TEAM CARDS - Reducir espacio avatar-nombre */
/* ========================================== */

/* Desktop: reducir padding superior de la info */
.team-info {
    padding: 70px 24px 24px 24px !important;
}

/* Ajustar la altura del contenedor de la foto para que el avatar no sobresalga tanto */
.team-photo-container {
    height: 200px !important;
}

.team-photo {
    width: 130px !important;
    height: 130px !important;
}

.avatar-bg {
    width: 150px !important;
    height: 150px !important;
}

.avatar-bg::before {
    width: 170px !important;
    height: 170px !important;
}

/* Responsive: ajustar aún más en móvil */
@media (max-width: 768px) {
    .team-info {
        padding: 60px 20px 20px 20px !important;
    }
    
    .team-photo-container {
        height: 180px !important;
    }
    
    .team-photo {
        width: 120px !important;
        height: 120px !important;
    }
    
    .avatar-bg {
        width: 140px !important;
        height: 140px !important;
    }
    
    .avatar-bg::before {
        width: 160px !important;
        height: 160px !important;
    }
}

@media (max-width: 480px) {
    .team-info {
        padding: 55px 16px 16px 16px !important;
    }
    
    .team-photo-container {
        height: 170px !important;
    }
    
    .team-photo {
        width: 110px !important;
        height: 110px !important;
    }
}
/* ========================================== */
/* TEAM PAGE - Navbar siempre sólido */
/* ========================================== */
.team-page #navbar {
    background: #551a21 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team-page #navbar .navbar-transparent {
    background: #551a21 !important;
}