*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Montserrat',sans-serif;
}

body{
background:#ffffff;
color:#1E293B;
overflow-x:hidden;
}

.container{
width:90%;
max-width:1320px;
margin:auto;
}

/* TOPBAR */

.topbar{
background:#004B6B;
color:white;
padding:14px 0;
font-size:14px;
}

.topbar-content{
display:flex;
justify-content:space-between;
align-items:center;
}

.topbar-left,
.topbar-right{
display:flex;
align-items:center;
gap:35px;
}

.socials{
    display:flex;
    align-items:center;
    gap:14px;
}

.socials a{
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.socials img{
    width:100%;
    height:100%;
    object-fit:contain;
}

/* NAVBAR */

.navbar{
background:white;
padding:22px 0;
box-shadow:0 1px 5px rgba(0,0,0,0.04);
}

.nav-content{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
display:flex;
align-items:center;
gap:18px;
}

.logo-circle{
width:100px;
height:100px;
border-radius:50%;
background:#ffffff;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
color:white;
font-weight:700;
}

.logo h1{
font-size:54px;
line-height:1;
}

.logo h1 span:first-child{
color:#B8B8B8;
}

.logo h1 span:last-child{
color:#004B6B;
font-weight:800;
}

.logo p{
font-size:11px;
color:#64748B;
margin-top:4px;
}

nav{
display:flex;
gap:42px;
}

nav a{
text-decoration:none;
color:#1E293B;
font-weight:600;
font-size:17px;
position:relative;
}

nav a.active{
color:#004B6B;
}

nav a.active::after{
content:'';
position:absolute;
bottom:-10px;
left:0;
width:100%;
height:3px;
background:#004B6B;
}

.nav-btn{
background:#004B6B;
color:white;
padding:18px 34px;
font-weight:700;
border:none;
cursor:pointer;
font-size:16px;
}

/* HERO */

.hero{
background:#EDF3F7;
}

.hero-content{
display:grid;
grid-template-columns:1fr 1fr;
align-items:center;
min-height:760px;
gap:30px;
}

.hero-text h2{
font-size:92px;
line-height:1.05;
font-weight:800;
margin-bottom:35px;
}

.hero-text h2 span{
display:block;
color:#004B6B;
}

.hero-text p{
font-size:28px;
line-height:1.7;
color:#475569;
margin-bottom:45px;
}

.hero-buttons{
display:flex;
gap:22px;
}

.primary-btn{
background:#004B6B;
color:white;
padding:22px 38px;
font-size:18px;
font-weight:700;
border:none;
cursor:pointer;
}

.secondary-btn{
background:white;
border:2px solid #004B6B;
color:#004B6B;
padding:22px 38px;
font-size:18px;
font-weight:700;
cursor:pointer;
}

.hero-image img{
width:100%;
height:760px;
object-fit:cover;
}

/* FEATURES */

.features{
background:white;
padding:38px 0;
border-bottom:1px solid #E2E8F0;
}

.features-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:45px;
}

.feature{
display:flex;
gap:20px;
}

.feature-icon{
width:88px;
height:88px;
background:#004B6B;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:34px;
color:white;
}

.feature h3{
font-size:22px;
margin-bottom:12px;
color:#004B6B;
}

.feature p{
font-size:16px;
line-height:1.7;
color:#64748B;
}

/* ABOUT */

.about{
padding:120px 0;
background:#F8FBFD;
}

.about-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:80px;
align-items:center;
}

.section-subtitle{
font-size:14px;
font-weight:700;
letter-spacing:3px;
color:#94A3B8;
margin-bottom:20px;
}

.about h2{
font-size:72px;
line-height:1.15;
margin-bottom:35px;
font-weight:800;
}

.about h2 span{
display:block;
color:#004B6B;
}

.about p{
font-size:22px;
line-height:1.8;
color:#64748B;
margin-bottom:45px;
}

.about-btn{
background:#004B6B;
color:white;
padding:20px 36px;
font-size:17px;
font-weight:700;
border:none;
cursor:pointer;
}

.about-image img{
width:100%;
height:500px;
object-fit:cover;
border-radius:10px;
}

/* SERVICES */

.services{
background:#EEF4F8;
padding:120px 0;
}

.services-header{
text-align:center;
margin-bottom:70px;
}

.services-header h2{
font-size:66px;
color:#004B6B;
font-weight:800;
margin-top:15px;
}

.services-grid{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:28px;
}

.service-card{
background:white;
padding:55px 30px;
text-align:center;
border-radius:10px;
border:1px solid #E2E8F0;
transition:0.3s;
}

.service-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

.service-icon{
font-size:56px;
margin-bottom:28px;
}

.service-card h3{
font-size:24px;
margin-bottom:18px;
}

.service-card p{
font-size:16px;
line-height:1.7;
color:#64748B;
}

/* CTA */

.cta{
background:linear-gradient(to right,#003954,#005F86);
padding:90px 0;
color:white;
}

.cta-grid{
display:grid;
grid-template-columns:1.2fr 1fr;
gap:80px;
align-items:center;
}

.cta h2{
font-size:70px;
margin-bottom:25px;
}

.cta p{
font-size:24px;
line-height:1.8;
margin-bottom:40px;
}

.white-btn{
background:white;
color:#004B6B;
padding:22px 36px;
font-size:18px;
font-weight:700;
border:none;
cursor:pointer;
}

.cta-features{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
text-align:center;
}

.cta-item i{
font-size:50px;
display:block;
margin-bottom:20px;
}

/* FOOTER */

footer{
background:white;
padding:45px 0;
border-top:1px solid #E2E8F0;
}

.footer-content{
display:flex;
justify-content:space-between;
align-items:center;
}

.footer-logo{
display:flex;
align-items:center;
gap:15px;
}

.footer-logo-circle{
width:60px;
height:60px;
background:#004B6B;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
color:white;
}

.footer-logo h3{
font-size:50px;
}

.footer-logo p{
font-size:10px;
}

.footer-logo h3 span:first-child{
color:#B8B8B8;
}

.footer-logo h3 span:last-child{
color:#004B6B;
}

.footer-menu{
display:flex;
gap:35px;
}

.footer-menu a{
text-decoration:none;
color:#475569;
font-weight:600;
}

@media(max-width:1200px){

.hero-content,
.about-grid,
.cta-grid{
grid-template-columns:1fr;
}

.services-grid{
grid-template-columns:1fr 1fr;
}

.features-grid{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:768px){

nav{
display:none;
}

.services-grid,
.features-grid,
.cta-features{
grid-template-columns:1fr;
}

.hero-text h2{
font-size:52px;
}

.footer-content{
flex-direction:column;
gap:30px;
}

}

/* IMAGES */

img{
max-width:100%;
display:block;
}

/* FLEX WRAP */

.topbar-content,
.nav-content,
.footer-content{
flex-wrap:wrap;
}

/* TABLET */

@media (max-width:1200px){

.container{
width:92%;
}

/* HERO */

.hero-content{
grid-template-columns:1fr;
padding:60px 0;
gap:50px;
}

.hero-text{
text-align:center;
}

.hero-text p{
margin:auto;
margin-bottom:40px;
}

.hero-buttons{
justify-content:center;
flex-wrap:wrap;
}

.hero-image img{
height:550px;
}

/* FEATURES */

.features-grid{
grid-template-columns:1fr 1fr;
gap:35px;
}

/* ABOUT */

.about-grid{
grid-template-columns:1fr;
gap:60px;
}

.about-text{
text-align:center;
}

.about p{
margin:auto;
margin-bottom:40px;
}

/* SERVICES */

.services-grid{
grid-template-columns:1fr 1fr;
}

/* CTA */

.cta-grid{
grid-template-columns:1fr;
text-align:center;
}

.cta p{
margin:auto;
margin-bottom:40px;
}

}

/* MOBILE */

@media (max-width:768px){

/* CONTAINER */

.container{
width:94%;
}

/* TOPBAR */

.topbar-content{
flex-direction:column;
gap:15px;
text-align:center;
}

.topbar-left,
.topbar-right{
flex-direction:column;
gap:12px;
}

/* NAVBAR */

.navbar{
padding:18px 0;
}

.nav-content{
flex-direction:column;
gap:25px;
}

.logo{
flex-direction:column;
text-align:center;
}

.logo-circle{
width:120px;
height:120px;

}

.logo h1{
font-size:38px;
}

.logo p{
font-size:10px;
}

nav{
display:none;
}

.nav-btn{
width:100%;
padding:18px;
}

/* HERO */

.hero{
padding:0;
}

.hero-content{
min-height:auto;
padding:60px 0;
}

.hero-text h2{
font-size:48px;
line-height:1.1;
margin-bottom:25px;
}

.hero-text p{
font-size:18px;
line-height:1.8;
}

.hero-buttons{
flex-direction:column;
align-items:center;
}

.primary-btn,
.secondary-btn{
width:100%;
max-width:340px;
padding:18px;
font-size:16px;
}

.hero-image img{
height:400px;
}

/* FEATURES */

.features{
padding:60px 0;
}

.features-grid{
grid-template-columns:1fr;
gap:30px;
}

.feature{
flex-direction:column;
align-items:center;
text-align:center;
}

.feature-icon{
width:70px;
height:70px;
font-size:28px;
}

/* ABOUT */

.about{
padding:80px 0;
}

.about h2{
font-size:42px;
}

.about p{
font-size:18px;
}

.about-btn{
width:100%;
padding:18px;
}

.about-image img{
height:350px;
}

/* SERVICES */

.services{
padding:80px 0;
}

.services-header h2{
font-size:40px;
line-height:1.2;
}

.services-grid{
grid-template-columns:1fr;
}

.service-card{
padding:40px 25px;
}

/* CTA */

.cta{
padding:70px 0;
}

.cta h2{
font-size:40px;
line-height:1.2;
}

.cta p{
font-size:18px;
}

.white-btn{
width:100%;
padding:18px;
}

.cta-features{
grid-template-columns:1fr;
gap:40px;
margin-top:30px;
}

/* FOOTER */

footer{
padding:40px 0;
}

.footer-content{
flex-direction:column;
gap:30px;
text-align:center;
}

.footer-logo{
flex-direction:column;
}

.footer-menu{
flex-wrap:wrap;
justify-content:center;
gap:18px;
}

}

/* SMALL MOBILE */

@media (max-width:480px){

.hero-text h2{
font-size:38px;
}

.about h2,
.services-header h2,
.cta h2{
font-size:34px;
}

.hero-text p,
.about p,
.cta p{
font-size:16px;
}

.logo h1{
font-size:32px;
}

.service-card h3{
font-size:20px;
}

}

/* ULTRA WIDE */

@media (min-width:1600px){

.container{
max-width:1500px;
}

.hero-text h2{
font-size:110px;
}

.hero-image img{
height:850px;
}

}
/* BOTONES */

button{
transition:all 0.3s ease;
}

button:hover{
transform:translateY(-3px);
filter:brightness(1.08);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

button:active{
transform:scale(0.98);
}
/* NAV LINKS */

nav a{
text-decoration:none;
color:#1E293B;
font-weight:600;
font-size:17px;
position:relative;
transition:all 0.3s ease;
}

/* HOVER */

nav a:hover{
color:#004B6B;
transform:translateY(-2px);
}

/* LINEA ANIMADA */

nav a::after{
content:'';
position:absolute;
left:0;
bottom:-8px;

width:0%;
height:3px;

background:#004B6B;

transition:0.3s ease;
}

nav a:hover::after{
width:100%;
}

/* MENU HAMBURGUESA */

.menu-toggle{
display:none;
font-size:34px;
cursor:pointer;
color:#004B6B;
font-weight:700;
}

/* MOBILE */

@media(max-width:768px){

.menu-toggle{
display:block;
}

nav{
display:none;
flex-direction:column;
width:100%;
text-align:center;
padding-top:20px;
gap:20px;
}

nav.active{
display:flex;
}

.nav-content{
align-items:center;
}

}
/* =========================
ABOUT HERO
========================= */

.about-hero{
position:relative;
background:url('images/about-banner.jpg') center/cover;
padding:180px 0;
color:white;
overflow:hidden;
}

.about-overlay{
position:absolute;
inset:0;
background:rgba(0,43,61,0.75);
}

.about-hero-content{
position:relative;
z-index:2;
text-align:center;
}

.breadcrumb{
font-size:14px;
letter-spacing:2px;
margin-bottom:25px;
opacity:0.85;
}

.about-hero h1{
font-size:90px;
line-height:1.1;
font-weight:800;
margin-bottom:30px;
}

.about-hero h1 span{
color:#B8B8B8;
}

.about-hero p{
font-size:24px;
line-height:1.8;
max-width:900px;
margin:auto;
margin-bottom:45px;
}

/* =========================
HISTORY
========================= */

.history-section{
padding:140px 0;
background:white;
}

.history-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:90px;
align-items:center;
}

.history-image{
overflow:hidden;
border-radius:16px;
}

.history-image img{
width:100%;
height:700px;
object-fit:cover;
transition:0.4s;
}

.history-image:hover img{
transform:scale(1.05);
}

.history-text h2{
font-size:72px;
line-height:1.15;
margin-bottom:30px;
color:#004B6B;
}

.history-text p{
font-size:21px;
line-height:1.9;
color:#64748B;
margin-bottom:35px;
}

.history-features{
display:flex;
flex-direction:column;
gap:18px;
margin-top:35px;
}

.history-item{
display:flex;
align-items:center;
gap:15px;
font-weight:600;
font-size:18px;
color:#004B6B;
}

.history-item img{
width:24px;
height:24px;
}

/* =========================
STATS
========================= */

.stats-section{
background:#004B6B;
padding:100px 0;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.stat-card{
background:white;
padding:60px 30px;
text-align:center;
border-radius:16px;
transition:0.3s;
}

.stat-card:hover{
transform:translateY(-8px);
}

.stat-card h2{
font-size:72px;
color:#004B6B;
margin-bottom:12px;
}

.stat-card p{
font-size:18px;
color:#64748B;
}

/* =========================
MISSION
========================= */
.mission-section{
padding:140px 0;
background:#F8FBFD;
}

.mission-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}


/* =========================
MISION
========================= */

.mission-card{
background:white;
padding:70px;
border-radius:16px;
box-shadow:0 10px 35px rgba(0,0,0,0.05);
text-align:center;
transition:0.3s;
}

.mission-card:hover{
transform:translateY(-10px);
}

.mission-card img{
width:90px;
margin-bottom:30px;
}

.mission-card h3{
font-size:40px;
margin-bottom:20px;
color:#004B6B;
}

.mission-card p{
font-size:18px;
line-height:1.9;
color:#475569;
margin-bottom:18px;
}

/* MISION */

.mission-card{
background:white;
padding:70px;
border-radius:16px;
box-shadow:0 10px 35px rgba(0,0,0,0.05);
text-align:center;
transition:0.3s;
}

.mission-card:hover{
transform:translateY(-10px);
}

.mission-card img{
width:90px;
margin-bottom:30px;
}

.mission-card h3{
font-size:40px;
margin-bottom:20px;
color:#004B6B;
}

.mission-card p{
font-size:18px;
line-height:1.9;
color:#475569;
margin-bottom:18px;
}

/* =========================
VALUES
========================= */

.values-section{
padding:140px 0;
background:white;
}

.values-grid{
display:grid;
grid-template-columns:repeat(8,1fr);
gap:30px;
margin-top:60px;
}

/* FILA SUPERIOR */

.value-card:nth-child(1){
grid-column:1 / span 2;
}

.value-card:nth-child(2){
grid-column:3 / span 2;
}

.value-card:nth-child(3){
grid-column:5 / span 2;
}

.value-card:nth-child(4){
grid-column:7 / span 2;
}

/* FILA INFERIOR CENTRADA */

.value-card:nth-child(5){
grid-column:2 / span 2;
}

.value-card:nth-child(6){
grid-column:4 / span 2;
}

.value-card:nth-child(7){
grid-column:6 / span 2;
}

/* CARDS */

.value-card{
background:#F8FBFD;
padding:55px 35px;
border-radius:16px;
text-align:center;
transition:0.3s;

height:340px;

display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
}

.value-card:hover{
transform:translateY(-10px);
box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

.value-card img{
width:80px;
height:80px;
object-fit:contain;
margin-bottom:25px;
}

.value-card h3{
font-size:30px;
margin-bottom:15px;
color:#004B6B;
}

.value-card p{
font-size:17px;
line-height:1.7;
color:#64748B;
}

/* RESPONSIVE */

@media(max-width:992px){

.values-grid{
grid-template-columns:1fr 1fr;
}

.value-card{
grid-column:auto !important;
height:auto;
min-height:320px;
}

}

@media(max-width:700px){

.values-grid{
grid-template-columns:1fr;
}

}

/* =========================
TEAM
========================= */

.team-section{
padding:140px 0;
background:#EDF3F7;
}

.team-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:35px;
margin-top:60px;
}

.team-card{
background:white;
border-radius:16px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
transition:0.3s;
}

.team-card:hover{
transform:translateY(-10px);
}

.team-card img{
width:100%;
height:420px;
object-fit:cover;
}

.team-card h3{
font-size:28px;
padding:30px 30px 10px;
color:#004B6B;
}

.team-card p{
padding:0 30px 35px;
color:#64748B;
font-size:17px;
}

/* =========================
PREMIUM CTA
========================= */

.premium-cta{
position:relative;
background:url('images/cta-bg.jpg') center/cover;
padding:160px 0;
color:white;
text-align:center;
overflow:hidden;
}

.cta-overlay{
position:absolute;
inset:0;
background:rgba(0,43,61,0.78);
}

.premium-cta-content{
position:relative;
z-index:2;
}

.premium-cta h2{
font-size:76px;
line-height:1.2;
margin-bottom:25px;
}

.premium-cta p{
font-size:24px;
line-height:1.8;
max-width:900px;
margin:auto;
margin-bottom:45px;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:992px){

.history-grid,
.mission-grid,
.team-grid,
.values-grid,
.stats-grid{
grid-template-columns:1fr;
}

.about-hero{
padding:120px 0;
}

.about-hero h1{
font-size:52px;
}

.about-hero p{
font-size:18px;
}

.history-text h2{
font-size:46px;
}

.history-image img{
height:450px;
}

.premium-cta{
padding:120px 0;
}

.premium-cta h2{
font-size:48px;
}

.premium-cta p{
font-size:18px;
}

}

/* =========================
CONTACTO
========================= */

.contact-hero{
background:#EDF3F7;
padding:120px 0;
text-align:center;
}

.contact-hero h2{
font-size:72px;
color:#004B6B;
font-weight:800;
margin-bottom:10px;
}

.contact-hero p{
font-size:22px;
color:#64748B;
}

.contact-section{
padding:100px 0;
background:white;
}

.contact-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:start;
}

/* FORM */

.contact-form h3,
.contact-info h3{
font-size:32px;
color:#004B6B;
margin-bottom:25px;
}

.contact-form form{
display:flex;
flex-direction:column;
gap:18px;
}

.contact-form input,
.contact-form textarea{
padding:16px;
border:1px solid #E2E8F0;
border-radius:8px;
font-size:16px;
outline:none;
transition:0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
border-color:#004B6B;
box-shadow:0 0 0 2px rgba(0,75,107,0.1);
}

/* INFO */

.contact-info{
background:#F8FBFD;
padding:30px;
border-radius:12px;
}

.info-box{
margin-bottom:20px;
padding-bottom:15px;
border-bottom:1px solid #E2E8F0;
}

.info-box p{
font-weight:700;
color:#004B6B;
margin-bottom:5px;
}

.info-box span{
color:#64748B;
}

/* MAP */

.map-section{
margin-top:60px;
}

/* RESPONSIVE */

@media(max-width:992px){

.contact-grid{
grid-template-columns:1fr;
}

.contact-hero h2{
font-size:48px;
}

}

.contact-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:start;
}

.contact-form,
.contact-info{
height:100%;
}

.contact-form h3,
.contact-info h3{
margin-top:0;
}

/* BLOG GRID */

.services-grid{
display:grid;
grid-template-columns:repeat(8,1fr);
gap:30px;
margin-top:60px;
}

/* 4 ARRIBA */

.service-card:nth-child(1){
grid-column:1 / span 2;
}

.service-card:nth-child(2){
grid-column:3 / span 2;
}

.service-card:nth-child(3){
grid-column:5 / span 2;
}

.service-card:nth-child(4){
grid-column:7 / span 2;
}

/* ABAJO CENTRADO */

.service-card:nth-child(5){
grid-column:3 / span 2;
}

.service-card:nth-child(6){
grid-column:5 / span 2;
}

/* CARD */

.service-card{
height:100%;
min-height:420px;

display:flex;
flex-direction:column;
}

/* RESPONSIVE */

@media(max-width:992px){

.services-grid{
grid-template-columns:1fr 1fr;
}

.service-card{
grid-column:auto !important;
min-height:auto;
}

}

@media(max-width:700px){

.services-grid{
grid-template-columns:1fr;
}

}

/* BLOG CARD */

.service-card{
background:white;
border-radius:26px;
padding:22px;
box-shadow:0 10px 35px rgba(0,0,0,.06);
transition:.35s;
position:relative;
overflow:hidden;
display:flex;
flex-direction:column;
height:100%;
}

.service-card:hover{
transform:translateY(-10px);
box-shadow:0 18px 45px rgba(0,0,0,.12);
}

/* IMAGE */

.service-card img{
width:100%;
height:240px;
object-fit:cover;
border-radius:20px;
margin-bottom:22px;
transition:.4s;
}

.service-card:hover img{
transform:scale(1.04);
}

/* CATEGORY */

.service-card .section-subtitle{
margin-bottom:12px;
font-size:13px;
letter-spacing:2px;
}

/* TITLE */

.service-card h3{
font-size:24px;
line-height:1.35;
margin-bottom:16px;
color:#13233c;
font-weight:700;
}

/* TEXT */

.service-card p{
font-size:15px;
line-height:1.8;
color:#64748b;
}

/* BUTTON */

.service-card .secondary-btn{
margin-top:auto;
width:100%;
padding:15px;
border-radius:14px;
font-size:15px;
}

/* RESPONSIVE */

@media(max-width:768px){

.services-grid{
grid-template-columns:1fr;
gap:25px;
}

.service-card{
padding:18px;
border-radius:22px;
}

.service-card img{
height:220px;
}

.service-card h3{
font-size:22px;
}

}

/* =========================
HOME SERVICES GRID
========================= */

.home-services-grid{
display:grid;
grid-template-columns:repeat(6,1fr);
gap:30px;
margin-top:60px;
}

/* 3 ARRIBA */

.home-services-grid .service-card:nth-child(1){
grid-column:1 / span 2;
}

.home-services-grid .service-card:nth-child(2){
grid-column:3 / span 2;
}

.home-services-grid .service-card:nth-child(3){
grid-column:5 / span 2;
}

/* 2 ABAJO CENTRADAS */

.home-services-grid .service-card:nth-child(4){
grid-column:2 / span 2;
}

.home-services-grid .service-card:nth-child(5){
grid-column:4 / span 2;
}

/* RESPONSIVE */

@media(max-width:992px){

.home-services-grid{
grid-template-columns:1fr 1fr;
}

.home-services-grid .service-card{
grid-column:auto !important;
}

}


/* HOME SERVICES */

.home-services-grid .service-card{
min-height:380px;
padding:35px 30px;
}

.home-services-grid .service-icon{
width:200px;
height:200px;
margin:0 auto 15px;
}

.home-services-grid .service-icon img{
width:100%;
height:100%;
object-fit:contain;
}

@media(max-width:700px){

.home-services-grid{
grid-template-columns:1fr;
}

}
/* ARTICLE PAGE */

.article-image{
width:100%;
height:520px;
object-fit:cover;
border-radius:30px;
box-shadow:0 18px 50px rgba(0,0,0,.10);
display:block;
}

/* ARTICLE CARD */

.article-card{
background:white;
padding:60px;
border-radius:32px;
box-shadow:0 15px 50px rgba(0,0,0,.06);
position:relative;
overflow:hidden;
}

/* TITLE */

.article-card h3{
font-size:34px;
line-height:1.3;
margin-bottom:25px;
color:#13233c;
font-weight:700;
}

/* TEXT */

.article-card p{
font-size:17px;
line-height:2;
color:#64748b;
margin-bottom:25px;
}

/* LIST */

.article-card ul{
margin-top:20px;
padding-left:22px;
}

.article-card li{
margin-bottom:16px;
font-size:16px;
line-height:1.8;
color:#64748b;
}

/* SMALL SUBTITLE */

.article-card .section-subtitle{
margin-bottom:18px;
font-size:13px;
letter-spacing:2px;
}

/* SECTION SPACING */

.article-section{
padding:90px 0;
}

/* ARTICLE BUTTON */

.article-card .primary-btn{
margin-top:25px;
padding:16px 28px;
border-radius:14px;
}

/* RESPONSIVE */

@media(max-width:992px){

.article-card{
padding:40px;
}

.article-card h3{
font-size:28px;
}

.article-image{
height:420px;
}

}

@media(max-width:768px){

.article-section{
padding:60px 0;
}

.article-card{
padding:28px;
border-radius:24px;
}

.article-card h3{
font-size:24px;
}

.article-card p{
font-size:15px;
line-height:1.9;
}

.article-card li{
font-size:15px;
}

.article-image{
height:260px;
border-radius:22px;
}

}

/* =========================
SERVICES HERO
========================= */

.cinematic-services-hero{
background:#EDF3F7;
padding:40px 0;
overflow:hidden;
}

.cinematic-hero-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:80px;
align-items:center;
}

.cinematic-hero-text h1{
font-size:82px;
line-height:1.05;
font-weight:800;
margin-bottom:30px;
color:#004B6B;
}

.cinematic-hero-text p{
font-size:22px;
line-height:1.9;
color:#64748B;
margin-bottom:40px;
max-width:700px;
}

.cinematic-hero-image img{
width:100%;
height:760px;
object-fit:cover;
border-radius:24px;
}

/* =========================
LABS
========================= */

.labs-section{
padding:140px 0;
background:#F8FBFD;
}

.labs-header{
text-align:center;
margin-bottom:60px;
}

.labs-header h2{
font-size:72px;
color:#004B6B;
margin-bottom:20px;
}

.labs-header p{
font-size:22px;
color:#64748B;
max-width:850px;
margin:auto;
line-height:1.9;
}

/* SEARCH */

.labs-search{
margin-bottom:50px;
display:flex;
justify-content:center;
}

.labs-search input{
width:100%;
max-width:700px;
padding:24px;
border:none;
border-radius:20px;
background:white;
font-size:18px;
box-shadow:0 10px 35px rgba(0,0,0,.05);
outline:none;
}

/* GRID */

.labs-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:35px;
margin-bottom:70px;
}

/* CARD */

.lab-card{
background:white;
border-radius:28px;
overflow:hidden;
box-shadow:0 15px 40px rgba(0,0,0,.05);
transition:.35s;
}

.lab-card:hover{
transform:translateY(-10px);
box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.lab-card img{
width:100%;
height:260px;
object-fit:cover;
}

.lab-card-content{
padding:30px;
}

.lab-card-content h3{
font-size:30px;
margin-bottom:18px;
color:#004B6B;
}

.lab-price{
font-size:24px;
font-weight:700;
margin-bottom:25px;
color:#13233c;
}

.lab-card button{
width:100%;
padding:18px;
background:#004B6B;
color:white;
border:none;
border-radius:16px;
font-size:16px;
font-weight:700;
cursor:pointer;
}

/* QUOTE */

.quote-box{
background:white;
padding:50px;
border-radius:30px;
box-shadow:0 15px 45px rgba(0,0,0,.05);
}

.quote-box h3{
font-size:42px;
margin-bottom:30px;
color:#004B6B;
}

.quote-box ul{
list-style:none;
display:flex;
flex-direction:column;
gap:18px;
}

.quote-box li{
padding:20px;
background:#EDF3F7;
border-radius:14px;
font-weight:600;
color:#004B6B;
}

/* STRIP */

.services-strip{
background:#004B6B;
padding:80px 0;
}

.services-strip-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
text-align:center;
color:white;
}

.services-strip-grid h3{
font-size:28px;
margin-bottom:12px;
}

.services-strip-grid p{
font-size:17px;
opacity:.9;
}

/* RESPONSIVE */

@media(max-width:992px){

.cinematic-hero-grid{
grid-template-columns:1fr;
}

.cinematic-hero-text{
text-align:center;
}

.cinematic-hero-text h1{
font-size:54px;
}

.labs-grid{
grid-template-columns:1fr 1fr;
}

.labs-header h2{
font-size:52px;
}

.services-strip-grid{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:768px){

.cinematic-services-hero{
padding:90px 0;
}

.cinematic-hero-text h1{
font-size:42px;
}

.cinematic-hero-text p{
font-size:17px;
}

.cinematic-hero-image img{
height:420px;
}

.labs-section{
padding:90px 0;
}

.labs-grid{
grid-template-columns:1fr;
}

.labs-header h2{
font-size:38px;
}

.labs-header p{
font-size:17px;
}

.lab-card-content h3{
font-size:24px;
}

.quote-box{
padding:30px;
}

.quote-box h3{
font-size:30px;
}

.services-strip-grid{
grid-template-columns:1fr;
gap:30px;
}

}
/* CART BUTTON */

.cart-button{
position:relative;
display:flex;
align-items:center;
justify-content:center;
width:60px;
height:60px;
background:#004B6B;
border-radius:50%;
text-decoration:none;
font-size:26px;
color:white;
}

#cart-count{
position:absolute;
top:-5px;
right:-5px;
background:#EF4444;
width:24px;
height:24px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:13px;
font-weight:700;
}

/* QUOTE PAGE */

.quote-page{
padding:140px 0;
background:#F8FBFD;
min-height:100vh;
}

.quote-page-box{
background:white;
padding:70px;
border-radius:30px;
box-shadow:0 15px 45px rgba(0,0,0,.05);
}

.quote-page-box h1{
font-size:72px;
color:#004B6B;
margin-bottom:50px;
}

.quote-item{
display:flex;
justify-content:space-between;
align-items:center;
padding:25px;
background:#EDF3F7;
border-radius:18px;
margin-bottom:20px;
}

.quote-item h3{
font-size:24px;
color:#004B6B;
}

.quote-item p{
font-size:22px;
font-weight:700;
}

.quote-total{
margin-top:40px;
font-size:38px;
font-weight:800;
color:#004B6B;
margin-bottom:40px;
}

@media(max-width:768px){

.quote-page-box{
padding:35px 25px;
}

.quote-page-box h1{
font-size:42px;
}

.quote-item{
flex-direction:column;
gap:10px;
text-align:center;
}

.quote-total{
font-size:28px;
}

}
/* REMOVE BUTTON */

.remove-btn{
background:#EF4444;
color:white;
border:none;
padding:14px 22px;
border-radius:12px;
font-weight:700;
cursor:pointer;
transition:.3s;
}

.remove-btn:hover{
transform:translateY(-3px);
box-shadow:0 10px 20px rgba(0,0,0,.12);
}

.quote-item{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
flex-wrap:wrap;
}

.quote-item div{
flex:1;
}
/* TOAST */

#toast{
position:fixed;
bottom:30px;
right:30px;
background:#004B6B;
color:white;
padding:18px 28px;
border-radius:14px;
font-weight:700;
box-shadow:0 15px 35px rgba(0,0,0,.18);
opacity:0;
pointer-events:none;
transform:translateY(20px);
transition:.35s;
z-index:9999;
}

#toast.show{
opacity:1;
transform:translateY(0);
}

@media(max-width:768px){

#toast{
left:20px;
right:20px;
bottom:20px;
text-align:center;
}

}

/* QUOTE BUTTONS */

.quote-buttons{
display:flex;
gap:20px;
flex-wrap:wrap;
margin-top:30px;
}

.quote-buttons button{
flex:1;
min-width:260px;
}

@media print{

.topbar,
.navbar,
footer,
.services-strip,
.remove-btn,
.quote-buttons{
display:none;
}

body{
background:white;
}

.quote-page{
padding:0;
}

.quote-page-box{
box-shadow:none;
padding:0;
}

}
/* CART BUTTON */

.cart-button{
display:flex;
align-items:center;
justify-content:center;

width:68px;
height:68px;

background:#004B6B;
color:white;

border-radius:50%;

font-size:30px;
text-decoration:none;

position:relative;

transition:.35s;

box-shadow:0 12px 30px rgba(0,0,0,.15);
}

/* FIXED WHEN SCROLL */

.cart-button.fixed-cart{
position:fixed;
right:30px;
bottom:30px;
z-index:9999;
animation:cartFade .35s ease;
}

@keyframes cartFade{

from{
opacity:0;
transform:translateY(20px);
}

to{
opacity:1;
transform:translateY(0);
}

}

.cart-button:hover{
transform:translateY(-5px) scale(1.05);
background:#006C9C;
}

#cart-count{
position:absolute;
top:-5px;
right:-5px;

width:28px;
height:28px;

background:#EF4444;
color:white;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

font-size:13px;
font-weight:700;
}

@media(max-width:768px){

.cart-button.fixed-cart{
right:20px;
bottom:20px;
}

}

/* =========================
PAGINACIÓN PREMIUM
========================= */

.pagination{
display:flex;
justify-content:center;
align-items:center;
gap:12px;
margin-top:60px;
flex-wrap:wrap;
}

.page-btn{
min-width:52px;
height:52px;
padding:0 18px;
border:none;
border-radius:16px;
background:#ffffff;
color:#0f172a;
font-size:15px;
font-weight:700;
font-family:'Montserrat',sans-serif;
cursor:pointer;
transition:all .25s ease;
box-shadow:0 4px 15px rgba(0,0,0,.06);
border:1px solid rgba(15,23,42,.06);
}

.page-btn:hover{
transform:translateY(-3px);
background:#0d3b66;
color:#ffffff;
box-shadow:0 12px 25px rgba(13,59,102,.25);
}

.page-btn.active{
background:linear-gradient(135deg,#0d3b66,#145da0);
color:#ffffff;
box-shadow:0 10px 25px rgba(13,59,102,.35);
transform:translateY(-2px);
}

.page-btn:disabled{
opacity:.45;
cursor:not-allowed;
box-shadow:none;
}

/* MOBILE */

@media(max-width:768px){

.pagination{
gap:8px;
margin-top:40px;
}

.page-btn{
min-width:44px;
height:44px;
padding:0 14px;
font-size:14px;
border-radius:12px;
}

}

/* =========================
CATEGORÍAS
========================= */

.study-categories{
display:flex;
justify-content:center;
align-items:center;
gap:18px;
flex-wrap:wrap;
margin:35px 0 50px;
}

.category-btn{
display:flex;
align-items:center;
gap:10px;
padding:14px 24px;
border-radius:18px;
background:#ffffff;
font-family:'Montserrat',sans-serif;
font-size:15px;
font-weight:700;
color:#0f172a;
cursor:pointer;
transition:all .25s ease;
box-shadow:0 6px 18px rgba(0,0,0,.08);
border:1px solid rgba(15,23,42,.06);
}

.category-btn span{
font-size:18px;
}

.category-btn:hover{
transform:translateY(-4px);
background:#0d3b66;
color:#ffffff;
box-shadow:0 14px 30px rgba(13,59,102,.28);
}

.category-btn.active{
background:linear-gradient(135deg,#0d3b66,#145da0);
color:#ffffff;
box-shadow:0 14px 30px rgba(13,59,102,.35);
transform:translateY(-2px);
}

/* MOBILE */

@media(max-width:768px){

.study-categories{
gap:12px;
margin:25px 0 40px;
}

.category-btn{
padding:12px 18px;
font-size:14px;
border-radius:14px;
}

.category-btn span{
font-size:16px;
}

}

.pagination-dots{
font-size:22px;
font-weight:700;
color:#0d3b66;
padding:0 4px;
display:flex;
align-items:center;
justify-content:center;
}