/* BASE RESETS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Lato', sans-serif;
    color: #2d3748;
    background-color: #f7fafc;
    line-height: 1.6;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    color: #1A3A78;
    margin-bottom: 15px;
    font-weight: 700;
}
h2 { font-size: 2.2rem; }
.nowrap-headline { font-size: 1.9rem; white-space: nowrap; letter-spacing: -0.5px; }
@media (max-width: 1100px) {
    .nowrap-headline { font-size: 1.6rem; }
}
@media (max-width: 768px) {
    .nowrap-headline { white-space: normal; font-size: 1.8rem; }
}
p { font-size: 1.1rem; color: #4a5568; margin-bottom: 1.2rem; }
.text-white h2, .text-white p, .text-white h4 { color: #ffffff; }

/* LAYOUT CLASSES */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.flex-row { display: flex; flex-wrap: wrap; }
.align-center { align-items: center; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.gap-40 { gap: 40px; }
.mt-20 { margin-top: 20px; }
.pl-40 { padding-left: 40px; }
.text-half, .img-half { flex: 1 1 45%; }

/* SPACING */
.section-padding { padding: 80px 0; }
.bg-light { background-color: #f7fafc; }
.bg-white { background-color: #ffffff; }
.bg-dark { background-color: #1A3A78; }
.offset-bg { background-color: #edf2f7; }

/* HEADER */
.main-header {
    background-color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-container {
    display: flex;
    align-items: center;
    color: #25499c;
    gap: 10px;
}
.logo-container svg { width: 40px; height: auto; }
.logo-text { font-weight: 900; font-size: 1.2rem; letter-spacing: 1px; }

.main-nav, .lang-switcher { display: none; /* Removed from regular header */ }

/* BURGER MENU & MOBILE NAV */
.burger-menu {
    display: flex; flex-direction: column; gap: 6px; cursor: pointer; z-index: 2000; position: relative;
}
.burger-menu span {
    display: block; width: 33px; height: 3px; background-color: #25499c;
    transition: all 0.3s ease; border-radius: 2px;
}
.mobile-nav-panel {
    position: fixed; top: 0; right: -100%; width: 100%; max-width: 320px; height: 100vh;
    background: #ffffff; box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    display: flex; flex-direction: column; padding: 120px 30px 30px;
    transition: right 0.4s ease; z-index: 1500;
}
.mobile-nav-panel.open { right: 0; }
.mobile-nav-panel .main-nav { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; margin-bottom: 40px; }
.mobile-nav-panel .main-nav a { font-size: 1.4rem; margin: 0; display: block; width: 100%; color: #2d3748;}
.mobile-nav-panel .main-nav a:hover, .mobile-nav-panel .main-nav a.active { color: #25499c; }
.mobile-nav-panel .main-nav a.active::after { display: none; }
.mobile-nav-panel .lang-switcher { display: block; text-align: left; font-size: 1.2rem; margin-top: auto;}

.lang-switcher a {
    text-decoration: none; font-weight: 600; font-size: 0.9rem; color: #a0aec0; transition: 0.2s;
}
.lang-switcher a.active { color: #25499c; }
.lang-switcher a.dis { pointer-events: none; }

/* HERO SECTION */
/* HERO BACKGROUND SLIDER */
.hero-section {
    position: relative;
    color: white;
    padding: 130px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease-in-out;
    z-index: 1;
}
.hero-bg.bg-active { opacity: 1; }
.hero-content { z-index: 2; position: relative; width: 100%; }
.hero-text-box {
    max-width: 650px;
}
.hero-text-box h1 {
    color: #ffffff;
    font-size: 3.2rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.6rem; font-weight: 700; color: #63b3ed; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px;
}
.hero-desc { font-size: 1.2rem; color: #e2e8f0; font-weight: 300; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary { background: #25499c; color: #fff; }
.btn-primary:hover { background: #1A3A78; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,73,156,0.3); }
.btn-large { padding: 15px 35px; font-size: 1.1rem; }
.btn-outline { background: transparent; border-color: #25499c; color: #25499c; }
.btn-outline:hover { background: #25499c; color: #fff; }

/* SECTION COMPONENTS */
.section-header { text-align: center; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
.divider { width: 60px; height: 3px; background: #25499c; margin: 0 auto 20px auto; }
.divider-white { background: #fff; }
.divider.left { margin-left: 0; }

.grid-4, .grid-3 { display: grid; gap: 30px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* FEATURE CARDS */
.feature-card {
    background: #fff; padding: 40px 30px; border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid transparent;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-bottom-color: #25499c; }
.icon-circle { font-size: 2.5rem; margin-bottom: 20px; line-height: 1; }
.icon-svg { width: 42px; height: 42px; color: #25499c; margin-bottom: 15px; display: inline-block; }
.icon-svg-white { width: 32px; height: 32px; color: #63b3ed; margin-bottom: 15px; display: inline-block; }

.service-box {
    background: rgba(255,255,255,0.05); padding: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
}
.service-box h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.service-box p { color: #cbd5e0; font-size: 1rem; margin-bottom: 0; }

/* UTILITY LIST & IMAGES */
.custom-list { list-style: none; }
.custom-list li { margin-bottom: 15px; font-weight: 600; color: #2d3748; display: flex; align-items: flex-start; gap: 10px;}
.custom-list li span { color: #25499c; font-weight: 900; }

.br-10 { border-radius: 10px; }
.shadow-lg { box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

/* PHOTO GRID TRICK */
.photo-grid { position: relative; min-height: 450px; }
.img-top { width: 80%; position: absolute; top: 0; left: 0; z-index: 1; }
.img-btm { width: 60%; position: absolute; bottom: 0; right: 0; z-index: 2; border: 10px solid #edf2f7; }

/* ANIMATIONS */
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
.float-anim { animation: float 6s ease-in-out infinite; }

.cta-footer { background: #cbd5e0; padding: 60px 0; border-top: 5px solid #25499c; }
.cta-footer h2 { margin-bottom: 10px; }
.cta-footer p { font-size: 1.2rem; color: #2d3748; }

/* WHATSAPP PULSE */
@keyframes pulseWa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.btn-whatsapp {
    background-color: #25D366; color: white; border-color: #25D366;
    animation: pulseWa 2s infinite; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; border-radius: 50px; padding: 12px 30px;
}
.btn-whatsapp:hover { background-color: #1ebe5d; color: white; transform: scale(1.02); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-text-box h1 { font-size: 2.2rem; }
    .flex-row { flex-direction: column; }
    .pl-40 { padding-left: 0; margin-top: 30px; }
    .photo-grid { min-height: 300px; }
    .reverse-mobile { flex-direction: column-reverse; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .close-lightbox { top: 10px !important; right: 20px !important; font-size: 35px !important; }
    .prev-lightbox, .next-lightbox { font-size: 25px !important; padding: 10px !important; }
}

/* GALLERY GRID & LIGHTBOX */
.custom-divider-center { width: 60px; height: 3px; background: #ecc94b; margin: 0 auto; display: block; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 15px; margin-top: 30px; }
.gallery-item { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.1); position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease, filter 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(0.85); }
.gallery-item::after { content: '+'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); color: white; font-size: 3rem; opacity: 0; transition: 0.3s ease; pointer-events: none;}
.gallery-item:hover::after { transform: translate(-50%, -50%) scale(1); opacity: 1; }

.lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(0,0,0,0.9); }
.lightbox-img { margin: auto; display: block; max-width: 90%; max-height: 90%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 30px rgba(0,0,0,0.5); object-fit: contain; border-radius: 4px;}
.close-lightbox { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 50px; font-weight: bold; cursor: pointer; transition: 0.3s; z-index: 10000; user-select: none; }
.prev-lightbox, .next-lightbox { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); padding: 16px; color: white; font-weight: bold; font-size: 30px; transition: 0.3s ease; user-select: none; z-index: 10000; background: rgba(0,0,0,0.2); border-radius: 5px; }
.next-lightbox { right: 10px; }
.prev-lightbox { left: 10px; }
.prev-lightbox:hover, .next-lightbox:hover, .close-lightbox:hover { color: #fff; background: rgba(255,255,255,0.2); }
