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

:root {
    --primary: #1e3a8a;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --dark: #0a0a0a;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, #0a3d62 100%);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

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

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary);
}

.mobile-only {
    display: none;
}

.cta-button {
    margin-left: 20px;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #d91e63;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #152d5c;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* BANNER */
.banner {
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary) 0%, #0a3d62 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.swiper-container {
    width: 100%;
    height: 600px;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #0a3d62 100%);
}

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    gap: 50px;
}

.slide-text {
    flex: 1;
    animation: slideInLeft 0.8s ease;
}

.slide-text h1 {
    font-family: 'Rubik', sans-serif;
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-text p {
    font-size: 18px;
    font-weight: 300;
    text-align: justify;
}

.slide-image {
    flex: 1;
    animation: slideInRight 0.8s ease;
}

.slide-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.5) !important;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background-color: var(--secondary) !important;
}

/* SERVICES */
.services {
    padding: 80px 0;
    background-color: var(--light);
}

.services h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.subtitle {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.description {
    text-align: center;
    color: #555;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
}

.tabs-container {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    min-width: 150px;
}

.tab-btn:hover {
    background-color: #f5f5f5;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tabs-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

.tab-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tab-text h3 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--text);
    font-weight: 700;
}

.tab-text p {
    color: #666;
    margin-bottom: 25px;
    text-align: justify;
    line-height: 1.8;
}

.tab-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, #1a2332 0%, #0a0a0a 100%);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col img {
    max-width: 195px;
    height: auto;
    margin-bottom: 10px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-col p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ANIMATIONS */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        right: -300px;
        top: 60px;
        flex-direction: column;
        background-color: var(--primary);
        width: 300px;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        transition: background-color 0.3s ease;
    }

    .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

    .hamburger {
        display: flex;
    }

    .mobile-only {
        display: block;
    }

    .cta-button {
        display: none;
    }

    .slide-content {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }

    .slide-text h1 {
        font-size: 28px;
    }

    .slide-text p {
        font-size: 16px;
    }

    .swiper-container {
        height: auto;
    }

    .tab-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tabs-header {
        flex-wrap: wrap;
    }

    .tab-btn {
        min-width: 100%;
        padding: 15px;
    }

    .tab-pane {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-col img {
        margin: 0 auto 10px;
        display: block;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .slide-text h1 {
        font-size: 20px;
    }

    .slide-text p {
        font-size: 14px;
    }

    .services {
        padding: 40px 0;
    }

    .tabs-header {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .tab-btn {
        min-width: auto;
        padding: 12px;
        font-size: 13px;
    }

    .services h2 {
        font-size: 22px;
    }
}

/* MODAL LOGIN */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: transparent;
    border-radius: 20px;
    max-width: 630px;
    width: 90%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 20;
}

.modal-close {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
    background-color: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.modal-image {
    display: none;
}

.modal-form {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    padding: 35px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    z-index: 2;
}

.modal-form h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    text-align: center;
    font-family: 'Rubik', sans-serif;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: var(--text);
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: white;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.15);
}

.form-group input::placeholder {
    color: #999;
    font-weight: 500;
}

.btn-login {
    width: 100%;
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--secondary) 0%, #d91e63 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.35);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.5);
}

.btn-login:active {
    transform: translateY(-1px);
}

/* Modal responsivo */
@media (max-width: 768px) {
    .modal-body {
        height: auto;
        min-height: 300px;
    }

    .modal-image {
        display: none;
    }

    .modal-form {
        position: static;
        width: 100%;
        padding: 40px 25px;
        background: white;
    }

    .modal-form h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
    }

    .modal-form {
        padding: 30px 20px;
    }

    .modal-form h2 {
        font-size: 18px;
    }

    .form-group input {
        padding: 12px 14px;
        font-size: 16px;
    }

    .btn-login {
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* DETAILS MODALS */
.details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.details-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-content {
    background: white;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.details-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5f5f5;
    border: none;
    font-size: 28px;
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.details-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.details-content h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.details-content h3 {
    font-size: 20px;
    color: var(--primary);
    margin-top: 25px;
    margin-bottom: 18px;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.details-body {
    margin-top: 25px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 15px;
}

.details-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 15px;
}

.details-body table th {
    background-color: var(--primary);
    color: white;
    padding: 15px 14px;
    text-align: left;
    font-weight: 700;
    border: 1px solid #ddd;
    font-size: 15px;
    line-height: 1.5;
}

.details-body table td {
    padding: 13px 14px;
    border: 1px solid #e0e0e0;
    line-height: 1.6;
    color: #444;
}

.details-body table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.details-body table tbody tr:hover {
    background-color: #f0f0f0;
}

.details-body ul {
    list-style-position: inside;
    margin-left: 25px;
}

.details-body li {
    margin-bottom: 14px;
    line-height: 1.8;
    color: #444;
    font-size: 15px;
}

.details-body p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #444;
    font-size: 15px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .details-content {
        padding: 25px;
    }

    .details-content h2 {
        font-size: 20px;
    }

    .details-body {
        max-height: 400px;
    }

    .details-body table {
        font-size: 12px;
    }

    .details-body table th,
    .details-body table td {
        padding: 8px;
    }
}