/* =========================================================
ESTILOS DEFINITIVOS — EGJP
VERSION PREMIUM FINAL CONSOLIDADA
========================================================= */

/* =========================================================
RESET
========================================================= */

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

html{
scroll-behavior:smooth;
}

body{
font-family:'Segoe UI',sans-serif;
background:#f5f7fb;
color:#1e293b;
line-height:1.7;
overflow-x:hidden;
text-rendering:optimizeLegibility;
-webkit-font-smoothing:antialiased;
}

/* =========================================================
IMAGENES
========================================================= */

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

/* =========================================================
SCROLLBAR
========================================================= */

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-track{
background:#e2e8f0;
}

::-webkit-scrollbar-thumb{
background:#0b3d91;
border-radius:999px;
}

/* =========================================================
SELECCION
========================================================= */

::selection{
background:#0b3d91;
color:#ffffff;
}

/* =========================================================
BOTON FLOTANTE WHATSAPP
========================================================= */

.whatsapp-float{
position:fixed;
right:24px;
bottom:24px;
width:72px;
height:72px;
border-radius:50%;
background:#25d366;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 15px 40px rgba(37,211,102,.35);
z-index:9999;
transition:.3s;
animation:floatWhatsapp 2.5s infinite ease-in-out;
text-decoration:none;
font-size:2rem;
color:#ffffff;
}

.whatsapp-float:hover{
transform:scale(1.08);
}

/* =========================================================
MENU
========================================================= */

.menu{
position:fixed;
top:0;
left:0;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 7%;
background:rgba(255,255,255,.94);
backdrop-filter:blur(12px);
z-index:1000;
box-shadow:0 2px 20px rgba(0,0,0,.05);
}

.logo{
display:flex;
align-items:center;
}

.logo a{
display:flex;
align-items:center;
text-decoration:none;
}

.logo-img{
height:78px;
width:auto;
transition:.3s;
}

.logo-img:hover{
transform:scale(1.03);
}

.menu-links{
display:flex;
align-items:center;
gap:28px;
}

.menu-links a{
text-decoration:none;
font-weight:600;
color:#1e293b;
position:relative;
transition:.3s;
}

.menu-links a::after{
content:'';
position:absolute;
left:0;
bottom:-6px;
width:0;
height:2px;
background:#0b3d91;
transition:.3s;
}

.menu-links a:hover::after{
width:100%;
}

.menu-links a:hover{
color:#0b3d91;
}

.btn-menu-whatsapp{
background:#0b3d91;
color:#ffffff !important;
padding:12px 22px;
border-radius:999px;
font-weight:700;
box-shadow:0 8px 24px rgba(11,61,145,.25);
}

.btn-menu-whatsapp::after{
display:none;
}

/* =========================================================
HERO
========================================================= */

.hero{
position:relative;
min-height:100vh;
display:flex;
align-items:center;
justify-content:center;
padding:220px 7% 120px;
overflow:hidden;
}

.hero-bg-image{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:1;
}

.hero-overlay{
position:absolute;
inset:0;
background:linear-gradient(
135deg,
rgba(2,6,23,.84),
rgba(15,23,42,.72)
);
z-index:2;
}

.hero-content{
position:relative;
z-index:3;
max-width:920px;
text-align:center;
color:#ffffff;
animation:fadeUp 1s ease;
}

.hero-badge{
display:inline-block;
padding:12px 22px;
border-radius:999px;
background:rgba(255,255,255,.12);
border:1px solid rgba(255,255,255,.10);
margin-bottom:30px;
backdrop-filter:blur(10px);
}

.hero h1{
font-size:4rem;
line-height:1.08;
margin-bottom:30px;
font-weight:800;
text-align:center;
}

.hero p{
font-size:1.18rem;
max-width:760px;
margin:auto;
margin-bottom:40px;
opacity:.95;
text-align:center;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:18px;
flex-wrap:wrap;
}

.hero-microcopy{
margin-top:22px;
font-size:.95rem;
opacity:.92;
color:#e2e8f0;
text-align:center;
line-height:1.7;
font-weight:500;
}

/* =========================================================
BOTONES
========================================================= */

.btn-principal,
.btn-secundario,
.btn-cta-whatsapp,
.btn-cta-llamada{
display:inline-flex;
align-items:center;
justify-content:center;
padding:18px 36px;
border-radius:999px;
text-decoration:none;
font-weight:700;
transition:.3s;
font-size:1rem;
letter-spacing:.3px;
}

.btn-principal{
background:#0b3d91;
color:#ffffff;
box-shadow:0 10px 30px rgba(11,61,145,.35);
}

.btn-principal:hover,
.btn-cta-whatsapp:hover{
transform:translateY(-4px) scale(1.02);
}

.btn-secundario:hover,
.btn-cta-llamada:hover{
transform:translateY(-4px);
}

.btn-secundario{
background:rgba(255,255,255,.12);
border:1px solid rgba(255,255,255,.18);
color:#ffffff;
backdrop-filter:blur(10px);
}

.btn-secundario:hover{
background:rgba(255,255,255,.20);
}

.btn-cta-whatsapp{
background:#22c55e;
color:#ffffff;
}

.btn-cta-llamada{
background:rgba(255,255,255,.12);
border:1px solid rgba(255,255,255,.18);
color:#ffffff;
}

/* =========================================================
SECCIONES
========================================================= */

.autoridad-premium,
.servicios-home,
.proceso-premium,
.galeria-premium,
.testimonios-premium,
.faq-premium,
.contacto-premium{
padding:110px 7%;
}

.servicio-detalle{
padding:30px 7% 90px;
}

.autoridad-premium,
.galeria-premium,
.faq-premium,
.servicio-detalle,
.contacto-premium{
background:#ffffff;
}

.servicios-home,
.proceso-premium,
.testimonios-premium{
background:#f8fafc;
}

/* =========================================================
HEADERS
========================================================= */

.autoridad-header,
.proceso-header,
.testimonios-header,
.faq-header,
.contacto-header,
.section-intro{
max-width:900px;
margin:auto;
text-align:center;
margin-bottom:70px;
}

.autoridad-header h2,
.servicios-home h2,
.galeria-premium h2,
.proceso-header h2,
.testimonios-header h2,
.faq-header h2,
.contacto-header h2,
.cta-container h2{
font-size:3rem;
margin-bottom:28px;
line-height:1.15;
color:#0f172a;
text-align:center;
width:100%;
}

.servicio-detalle-content h2{
font-size:3rem;
margin-bottom:28px;
line-height:1.15;
color:#0f172a;
text-align:left;
}

.servicios-home h2,
.galeria-premium h2{
max-width:900px;
margin-left:auto;
margin-right:auto;
}

.autoridad-header p,
.proceso-header p,
.testimonios-header p,
.faq-header p,
.contacto-header p,
.section-intro,
.cta-container p{
font-size:1.08rem;
line-height:1.9;
color:#475569;
text-align:center;
max-width:850px;
margin-left:auto;
margin-right:auto;
}

.servicio-detalle-content p{
font-size:1.08rem;
line-height:1.9;
color:#475569;
text-align:left;
}

/* =========================================================
BADGES
========================================================= */

.autoridad-badge,
.proceso-badge,
.testimonios-badge,
.faq-badge,
.contacto-badge,
.cta-badge,
.servicio-tag{
display:inline-block;
padding:12px 22px;
border-radius:999px;
font-weight:700;
margin-bottom:24px;
}

.autoridad-badge,
.proceso-badge,
.testimonios-badge,
.faq-badge,
.contacto-badge,
.servicio-tag{
background:#dbeafe;
color:#0b3d91;
}

.cta-badge{
background:rgba(255,255,255,.12);
border:1px solid rgba(255,255,255,.10);
color:#ffffff;
}

/* =========================================================
GRIDS
========================================================= */

.autoridad-grid,
.proceso-grid,
.estadisticas-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:28px;
}

.servicios-grid,
.testimonios-grid,
.contacto-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:32px;
}

.galeria-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;
}

.faq-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:30px;
}

.servicio-detalle-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
max-width:1300px;
margin:auto;
}

/* =========================================================
CARDS
========================================================= */

.autoridad-card,
.proceso-card,
.servicio-card,
.testimonio-card,
.faq-card,
.contacto-card,
.estadistica-item{
background:#ffffff;
border-radius:30px;
border:1px solid #e2e8f0;
box-shadow:0 10px 35px rgba(15,23,42,.05);
transition:.35s;
}

.autoridad-card:hover,
.proceso-card:hover,
.servicio-card:hover,
.testimonio-card:hover,
.faq-card:hover,
.contacto-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 70px rgba(15,23,42,.12);
}

.autoridad-card,
.proceso-card,
.testimonio-card,
.faq-card,
.contacto-card{
padding:40px 30px;
}

/* =========================================================
ICONOS
========================================================= */

.autoridad-icono,
.proceso-numero,
.contacto-icono{
width:75px;
height:75px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
margin:0 auto 26px;
font-size:1.7rem;
font-weight:800;
}

.autoridad-icono,
.contacto-icono{
background:#dbeafe;
}

.proceso-numero{
background:linear-gradient(
135deg,
#0b3d91,
#2563eb
);
color:#ffffff;
}

/* =========================================================
CONTACTO
========================================================= */

.contacto-premium{
padding:110px 7%;
background:#ffffff;
}

.contacto-container{
max-width:1300px;
margin:auto;
}

.contacto-header{
max-width:900px;
margin:auto;
text-align:center;
margin-bottom:70px;
}

.contacto-badge{
display:inline-block;
padding:12px 22px;
border-radius:999px;
font-weight:700;
margin-bottom:24px;
background:#dbeafe;
color:#0b3d91;
}

.contacto-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:32px;
}

.contacto-card{
background:#ffffff;
border-radius:30px;
border:1px solid #e2e8f0;
box-shadow:0 10px 35px rgba(15,23,42,.05);
padding:40px 30px;
text-align:center;
transition:.35s;
}

.contacto-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 70px rgba(15,23,42,.12);
}

.contacto-icono{
width:75px;
height:75px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
margin:0 auto 26px;
font-size:1.7rem;
font-weight:800;
background:#dbeafe;
}

.contacto-card h3{
font-size:1.5rem;
margin-bottom:18px;
color:#0f172a;
}

.contacto-card p{
color:#64748b;
margin-bottom:26px;
}

/* =========================================================
SERVICIOS
========================================================= */

.servicio-img{
height:280px;
overflow:hidden;
}

.servicio-img img{
width:100%;
height:100%;
object-fit:cover;
transition:.6s;
}

.servicio-card:hover img{
transform:scale(1.08);
}

.servicio-card h3{
padding:28px 28px 14px;
font-size:1.4rem;
text-align:center;
}

.servicio-card p{
padding:0 28px 34px;
color:#64748b;
text-align:center;
}

.microcopy-servicio{
margin-top:18px;
font-size:.95rem;
color:#64748b;
font-weight:500;
line-height:1.7;
}

/* =========================================================
IMAGENES SERVICIOS
========================================================= */

.servicio-detalle-img img{
width:100%;
height:520px;
object-fit:cover;
border-radius:30px;
box-shadow:0 20px 60px rgba(15,23,42,.12);
}

.servicio-detalle-content ul{
list-style:none;
margin-bottom:34px;
}

.servicio-detalle-content ul li{
margin-bottom:14px;
color:#334155;
font-weight:500;
}

/* =========================================================
GALERIA
========================================================= */

.galeria-item{
overflow:hidden;
border-radius:28px;
box-shadow:0 10px 35px rgba(15,23,42,.08);
}

.galeria-item img{
width:100%;
height:320px;
object-fit:cover;
transition:.6s;
}

.galeria-item:hover img{
transform:scale(1.08);
}

/* =========================================================
FAQ
========================================================= */

.faq-card h3{
font-size:1.35rem;
margin-bottom:18px;
text-align:center;
}

.faq-card p{
text-align:center;
}

/* =========================================================
CTA
========================================================= */

.cta-premium{
padding:120px 7%;
background:linear-gradient(
135deg,
#0b3d91,
#0f172a
);
}

.cta-container{
max-width:950px;
margin:auto;
text-align:center;
color:#ffffff;
}

.cta-container p{
color:#e2e8f0;
margin-bottom:42px;
}

/* =========================================================
FOOTER
========================================================= */

.footer-premium{
background:#020617;
color:#cbd5e1;
padding:90px 7% 30px;
}

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr;
gap:40px;
margin-bottom:60px;
align-items:start;
}

.footer-logo{
height:72px;
margin-bottom:24px;
}

.footer-links{
display:flex;
flex-direction:column;
}

.footer-links h3,
.footer-contacto h3{
color:#ffffff;
margin-bottom:22px;
}

.footer-links a{
color:#cbd5e1;
text-decoration:none;
margin-bottom:12px;
transition:.3s;
}

.footer-links a:hover{
color:#ffffff;
transform:translateX(4px);
}

.footer-contacto p{
margin-bottom:12px;
}

.footer-copy{
padding-top:30px;
border-top:1px solid rgba(255,255,255,.08);
text-align:center;
font-size:.92rem;
color:#94a3b8;
}

/* =========================================================
ANIMACIONES
========================================================= */

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}

@keyframes floatWhatsapp{

0%{
transform:translateY(0);
}

50%{
transform:translateY(-6px);
}

100%{
transform:translateY(0);
}

}

/* =========================================================
RESPONSIVE TABLET
========================================================= */

@media(max-width:1100px){

.autoridad-grid,
.proceso-grid,
.estadisticas-grid,
.galeria-grid,
.footer-grid{
grid-template-columns:1fr 1fr;
}

.servicios-grid,
.testimonios-grid,
.contacto-grid,
.faq-grid,
.servicio-detalle-grid{
grid-template-columns:1fr;
}

.servicio-detalle-img img{
height:420px;
}

.hero h1{
font-size:3rem;
}

}

/* =========================================================
RESPONSIVE MOVIL
========================================================= */

@media(max-width:768px){

.menu{
padding:14px 5%;
flex-direction:column;
gap:16px;
}

.logo-img{
height:52px;
}

.menu-links{
gap:14px;
flex-wrap:wrap;
justify-content:center;
}

.btn-menu-whatsapp{
padding:10px 18px;
font-size:.95rem;
}

.hero{
padding:190px 5% 80px;
min-height:85vh;
}

.hero h1{
font-size:2.3rem;
line-height:1.15;
}

.hero p{
font-size:1rem;
line-height:1.8;
}

.hero-badge{
font-size:.95rem;
padding:10px 18px;
line-height:1.6;
max-width:100%;
}

.hero-buttons,
.cta-botones{
flex-direction:column;
align-items:center;
}

.btn-principal,
.btn-secundario,
.btn-cta-whatsapp,
.btn-cta-llamada{
width:100%;
max-width:340px;
}

.autoridad-premium,
.servicios-home,
.proceso-premium,
.cta-premium,
.galeria-premium,
.testimonios-premium,
.faq-premium,
.contacto-premium{
padding:80px 5%;
}

.servicio-detalle{
padding:30px 5% 80px;
}

.autoridad-header h2,
.servicios-home h2,
.proceso-header h2,
.galeria-premium h2,
.testimonios-header h2,
.faq-header h2,
.contacto-header h2,
.cta-container h2,
.servicio-detalle-content h2{
font-size:2.2rem;
}

.autoridad-grid,
.proceso-grid,
.estadisticas-grid,
.galeria-grid,
.footer-grid,
.contacto-grid{
grid-template-columns:1fr;
}

.servicio-img{
height:220px;
}

.galeria-item img{
height:260px;
}

.servicio-detalle-img img{
height:320px;
}

.footer-premium{
padding:80px 5% 30px;
}

.whatsapp-float{
width:56px;
height:56px;
right:14px;
bottom:14px;
font-size:1.4rem;
}

.hero-microcopy{
font-size:.9rem;
line-height:1.8;
padding:0 10px;
}

.microcopy-servicio{
font-size:.9rem;
line-height:1.8;
}

}

/* Ajustes suaves servicios complementarios */
.info-destacada{
    margin:40px auto;
    padding:20px;
    border-radius:12px;
    background:#f5f7f8;
    line-height:1.7;
}

.servicio-extra{
    padding:60px 20px;
}

.servicio-extra h2{
    margin-bottom:15px;
}
