/* Global Styles */
:root {
    --primary-color: #e1261c;
    /* Red from Logo/Legacy */
    --secondary-color: #3059b2;
    /* Blue from Legacy */
    --text-dark: #212529;
    --text-muted: #6c757d;
    --light-bg: #f8f9fa;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Navbar */
#mainNav {
    background-color: rgba(33, 37, 41, 0.9);
    padding: 1rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 0 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
header.masthead {
    position: relative;
    background: linear-gradient(to bottom, rgba(3, 14, 38, 0.9) 0%, rgba(3, 14, 38, 0.8) 100%), url("../images/empresa.png");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4.5rem);
    min-height: 100vh;
}

@media (min-width: 992px) {
    header.masthead {
        height: 100vh;
        min-height: 40rem;
        padding-top: 4.5rem;
        padding-bottom: 0;
    }
}

/* Dividers */
hr.divider {
    max-width: 3.25rem;
    border-width: 0.2rem;
    border-color: var(--primary-color);
    margin: 1.5rem auto;
    opacity: 1;
}

hr.divider-light {
    border-color: #fff;
}

hr.divider-dark {
    border-color: var(--secondary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 2rem;
}

.btn-primary:hover {
    background-color: #c01c13;
    border-color: #b01911;
}

/* Cards & Services */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .15) !important;
}

.page-section {
    padding: 6rem 0;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Partners */
.partner-logo {
    max-height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%) brightness(200%);
    /* Make logos white-ish on dark bg */
}

.partner-logo:hover {
    opacity: 1;
    filter: none;
}

.logos-grid img {
    display: block;
    margin: 0 auto;
}

/* Custom Colors */
.bg-soft-blue {
    background-color: #5ac7ec !important;
}

/* Map Container */
#map-container iframe {
    width: 100%;
    height: 100%;
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-btn:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1.display-4 {
        font-size: 2.5rem;
    }
}