/* ===============================================
   VARIABLES Y PALETA DE COLORES INSTITUCIONAL
   =============================================== */
:root {
    /* Colores UCM Style */
    --ucm-primary: #8B4789;
    --ucm-secondary: #6B3568;
    --ucm-accent: #FF9900;
    --ucm-dark: #2C2C2C;
    --ucm-gray: #6D6E71;
    --ucm-light-gray: #F5F5F5;
    --ucm-white: #FFFFFF;
    
    /* Colores ISALUD */
    --azul-isalud: #004A99;
    --azul-marino: #002850;
    --cielo-suave: #E6F0F9;
    --gris-tecnico: #6D6E71;
    --blanco-puro: #FFFFFF;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Tipografía */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-small: 0.875rem;
    --font-size-large: 1.25rem;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.75rem;
    --font-size-h4: 1.5rem;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    
    /* Transiciones */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===============================================
   RESET Y BASE
   =============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    /* Misma base que textos tipo testimonio (p.lead institucional) */
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--azul-marino);
    background-color: var(--blanco-puro);
    overflow-x: hidden;
}

/* Bootstrap .lead por defecto ~1.25rem; alineado al cuerpo de texto del sitio */
.lead {
    font-size: 1.05rem;
    line-height: 1.65;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* ===============================================
   MAIN CONTENT AREA
   =============================================== */
main {
    display: block;
    width: 100%;
    min-height: calc(100vh - 120px);
    position: relative;
    z-index: 1;
}

/* ===============================================
   HEADER MINIMALISTA PARA DEBUG
   =============================================== */
.main-header {
    background: linear-gradient(to right, #2c3f90 25%, #930b6e 75%);
    padding: 10px 0;
    border-bottom: 2px solid #004A99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.main-header .navbar {
    opacity: 1 !important;
    position: relative !important;
}

.main-header .navbar-nav li a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-header .navbar-nav li a:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2);
}

.main-header .navbar-nav li a.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.25);
}


.timlogo {
    width: 200px;
    display: block;
    margin: 0 auto;
    padding-top: 15px;
}

.head {
    position: absolute;
    top: 35px;
    right: 50px;
}

.head .tile {
    display: inline-block;
    height: 50px;
    width: 50px;
    margin-left: 5px;
    transition: all 0.3s ease-in;
}

.head .tile.socialmedia {
    color: #0b253e;
    font-size: 50px;
    text-align: center;
    line-height: 50px;
    position: relative;
    top: -6px;
}

header.clicked .head .tile.socialmedia {
    color: white;
}

.head .burger {
    margin-left: 25px;
    padding: 5px;
    cursor: pointer;
    background-color: transparent;
}

.meat {
    height: 40px;
    width: 40px;
    position: relative;
    transition: all 0.3s ease-in;
}

header.clicked .head .burger .meat {
    transform: rotate(180deg);
}

.meat .line {
    height: 4px;
    width: 40px;
    background-color: #0b253e;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease-in;
}

.meat .line.one {
    top: 5px;
    left: 0px;
}

.meat .line.two {
    top: 18px;
    left: 0px;
}

.meat .line.three {
    top: 31px;
    left: 0px;
}

header.clicked .burger .line {
    background-color: white;
}

header.clicked .burger .line.one {
    transform: rotate(45deg);
    top: 18px;
}

header.clicked .burger .line.two {
    transform: rotate(-45deg);
    top: 18px;
}

header.clicked .burger .line.three {
    opacity: 0;
}

header.clicked .burger:hover .meat {
    transform: rotate(270deg);
}

/* NAV MODAL */
.nav-modal {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in;
    pointer-events: none;
    z-index: 9999;
}

header.clicked .nav-modal {
    visibility: visible;
    opacity: 1;
    pointer-events: initial;
}

.nav-modal .blob {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin: 0 auto;
    background-color: #0b253e;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in;
}

header.clicked .nav-modal .blob {
    width: 100vw;
    height: 100vh;
    border-radius: 0px;
}

.nav-modal nav {
    position: fixed;
    left: 20%;
    top: 30%;
    color: white;
    opacity: 0;
    transition: all 0.3s ease-in;
    transition-delay: 0.3s;
}

header.clicked .nav-modal nav {
    opacity: 1;
}

.nav-modal nav a {
    color: white;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
}

.nav-modal nav ul li {
    list-style: none;
    text-align: right;
    border-right: 6px solid white;
    padding-bottom: 10px;
    padding-right: 10px;
    position: relative;
}

.nav-modal nav ul li ul {
    position: absolute;
    right: -300px;
    top: -4px;
    display: none;
}

.nav-modal nav ul li ul li {
    border: none;
    padding-bottom: 10px;
    padding-left: 10px;
    height: 50px;
    width: 300px;
}

.nav-modal nav ul li ul li a {
    display: block;
    height: 50px;
    font-size: 20px;
    text-align: left;
    padding: 10px;
}

.nav-modal nav ul li.selected ul {
    display: block;
}

.nav-modal nav ul li.notselected a {
    opacity: 0.5;
}

.nav-modal nav ul li.selected ul li a {
    opacity: 1;
}

/* RESPONSIVE HEADER */
@media screen and (max-width: 820px) {
    .timlogo {
        margin-left: 50px;
    }
}

@media screen and (max-width: 580px) {
    .timlogo {
        width: 130px;
        padding-top: 30px;
    }
    
    .nav-modal nav ul li a {
        font-size: 16px;
    }
    
    .nav-modal nav ul li ul {
        top: -9px;
    }
    
    .nav-modal nav ul li ul li {
        height: 40px;
    }
    
    .nav-modal nav ul li ul li a {
        font-size: 16px;
        height: 40px;
    }
}

@media screen and (max-width: 500px) {
    .timlogo {
        display: none;
    }
}

@media screen and (max-width: 320px) {
    header .head .tile.socialmedia {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .tech-icon {
        font-size: 2.5rem;
    }
    
    .tech-title {
        font-size: 1.5rem;
    }
    
    .tech-subtitle {
        font-size: 1rem;
    }
    
    .stat-item {
        min-width: 150px;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

.ucm-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.ucm-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ucm-logo-img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

.ucm-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ucm-dark);
    letter-spacing: 0.05em;
}

.ucm-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.ucm-mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--ucm-dark);
    border-radius: 2px;
    transition: var(--transition-base);
}

.ucm-nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
}

.ucm-nav-item a,
.ucm-nav-item button {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ucm-dark);
    text-transform: none;
    padding: 0.5rem 0;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.ucm-nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ucm-accent);
    transition: width 0.3s ease;
}

.ucm-nav-item a:hover::after,
.ucm-nav-item.active a::after {
    width: 100%;
}

.ucm-nav-item a:hover,
.ucm-nav-item button:hover {
    color: var(--ucm-accent);
}

.ucm-search button {
    font-size: 1.1rem;
}

/* ===============================================
   RESPONSIVE UCM HEADER
   =============================================== */
@media (max-width: 992px) {
    .ucm-nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 70px);
        background: var(--ucm-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .ucm-nav-menu.active {
        right: 0;
    }
    
    .ucm-mobile-toggle {
        display: flex;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-item a {
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--azul-marino);
    font-weight: 500;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.nav-item a:hover,
.nav-item.active a {
    background: var(--azul-isalud);
    color: var(--blanco-puro);
    transform: translateY(-2px);
}

.nav-item a i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-item a:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* ===============================================
   FOOTER STYLES
   =============================================== */
.main-footer {
    background: linear-gradient(135deg, var(--azul-marino), var(--azul-isalud));
    color: var(--blanco-puro);
    margin-top: var(--spacing-xl);
}

.footer-top {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-col h3::after,
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--cielo-suave);
    border-radius: 2px;
}

.footer-col p {
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--blanco-puro);
    color: var(--azul-isalud);
    transform: scale(1.15) rotate(10deg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
    transition: var(--transition-base);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.7rem;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.footer-contact i {
    color: var(--cielo-suave);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--spacing-md) 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-small);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

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

/* ===============================================
   HERO SECTION
   =============================================== */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--azul-isalud), var(--azul-marino));
    color: var(--blanco-puro);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(100px) translateY(100px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: var(--font-size-h1);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: var(--font-size-large);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out 0.4s backwards;
}

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

/* ===============================================
   BUTTONS
   =============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    font-size: 1rem;
}

.btn-primary {
    background: var(--blanco-puro);
    color: var(--azul-isalud);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--blanco-puro);
    border: 2px solid var(--blanco-puro);
}

.btn-outline:hover {
    background: var(--blanco-puro);
    color: var(--azul-isalud);
    transform: translateY(-3px);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/* ===============================================
   CARDS
   =============================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
}

.card {
    background: var(--blanco-puro);
    border-radius: 10px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--azul-isalud), var(--azul-marino));
    color: var(--blanco-puro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 74, 153, 0.1); }
}

.card h3 {
    color: var(--azul-isalud);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-h4);
}

.card p {
    color: var(--gris-tecnico);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

/* ===============================================
   SECTIONS
   =============================================== */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    font-size: var(--font-size-h2);
    color: var(--azul-isalud);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--azul-isalud), var(--azul-marino));
    border-radius: 2px;
}

.section-bg {
    background: var(--cielo-suave);
}

/* ===============================================
   ANIMATIONS
   =============================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 991px) {
    .navbar-content {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 500px;
        margin-top: var(--spacing-sm);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.5rem;
        --font-size-h4: 1.25rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================================
   FOOTER STYLES - NEW DESIGN
   =============================================== */
.card-0 {
    overflow-x: hidden !important;
    padding: auto 0px auto 0px !important;
    background-color: #000F2E !important;
    color: #FFFFFF !important;
    border-radius: 0;
    margin: 0 !important;
    background: url('https://i.imgur.com/4uwpRtg.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right calc(70px + (120 - 70) * ((100vw - 320px) / (1600 - 320))) bottom !important;
}

footer h5 {
    font-size: calc(16px + (21 - 16) * ((100vw - 360px) / (1600 - 360))) !important;
}

footer h6 {
    font-size: calc(13px + (15 - 13) * ((100vw - 360px) / (1600 - 360))) !important;
    color: #3f3d3d !important;
}

.fa {
    cursor: pointer;
    font-size: 21px;
    margin: 5px 10px 5px 10px !important;
    padding: calc(10px + (10 - 10) * ((100vw - 360px) / (1600 - 360))) !important;
    font-size: calc(15px + (20 - 15) * ((100vw - 360px) / (1600 - 360))) !important;
    width: calc(30px + (38 - 30) * ((100vw - 360px) / (1600 - 360))) !important;
    text-align: center;
    text-decoration: none;
    border-radius: 50px !important;
    margin: 6px !important;
}

footer button:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline-width: 0;
}

footer li {
    margin-top: 8px;
    margin-bottom: 8px;
}

footer input {
    border-radius: 2px !important;
    background: transparent !important;
    color: #FFFFFF !important;
}

footer input:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline-width: 0;
    border-color: #FFFFFF !important;
}

footer img {
    vertical-align: middle !important;
    width: 100%;
    width: calc(30px + 6 * ((100vw - 320px) / 680)) !important;
}

footer li:first-child {
    font-size: 20px !important;
    font-weight: bold;
}

footer small {
    font-size: calc(12px + (14 - 12) * ((100vw - 360px) / (1600 - 360))) !important;
    color: #777 !important;
}

footer p {
    font-size: calc(14px + (16 - 14) * ((100vw - 360px) / (1600 - 360))) !important;
    color: rgb(78, 77, 77) !important;
}

.card-1 {
    border-left: 3px solid green !important;
    border-radius: 0;
}

/* Misma paleta que .main-header (azul institucional → magenta ISALUD + borde #004A99) */
hr.colored {
    border: 0;
    height: 6px;
    margin: 0;
    max-width: 100%;
    background: linear-gradient(to right, #2c3f90 25%, #930b6e 75%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #004A99;
    box-sizing: content-box;
}

/* Footer: alineado al container del header, sin desbordes horizontales */
.site-footer {
    overflow-x: hidden;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 74, 153, 0.12);
}

.site-footer .footer-links-row {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.site-footer .footer-link-list a {
    color: #444;
    font-size: 0.9rem;
    word-break: break-word;
}

.site-footer .footer-link-list a:hover {
    color: #004A99;
    text-decoration: none;
}

.site-footer .footer-link-heading {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #002850;
    margin-bottom: 0.65rem !important;
}

.site-footer .footer-social-in {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0077b5;
    color: #fff;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.site-footer .footer-social-in:hover {
    background: #005f8d;
    color: #fff;
    transform: scale(1.06);
    text-decoration: none;
}

.site-footer .footer-brand-row {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-footer img.footer-brand-img {
    height: 59px !important;
    width: auto !important;
    max-width: 100% !important;
    vertical-align: middle !important;
}

.site-footer .footer-brand-divider {
    display: inline-block;
    width: 1px;
    height: 35px;
    background: rgba(0, 0, 0, 0.2);
    margin: 0.5rem 15px;
    vertical-align: middle;
}

.site-footer .footer-brand-text {
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    text-align: left;
    display: inline-block;
    vertical-align: middle;
}

.footer-bottom-legal {
    font-size: 0.75rem;
    color: #888;
}

.footer-bottom-legal p {
    color: #888 !important;
    font-size: 0.75rem !important;
}

.social-icon {
    padding: calc(10px + (10 - 10) * ((100vw - 360px) / (1600 - 360))) !important;
    font-size: calc(15px + (20 - 15) * ((100vw - 360px) / (1600 - 360))) !important;
    width: calc(30px + (38 - 30) * ((100vw - 360px) / (1600 - 360))) !important;
    height: calc(30px + (38 - 30) * ((100vw - 360px) / (1600 - 360))) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    border-radius: 50px !important;
    margin: 6px !important;
    cursor: pointer;
}

.social-icon.fa-facebook {
    background: #3B5998;
    color: white;
}

.social-icon:hover {
    background-color: transparent !important;
}

.social-icon.fa-twitter {
    background: #55ACEE;
    color: white;
}

.social-icon.fa-instagram {
    background: #3f729b;
    color: white;
}

.social-icon.fa-linkedin {
    background: #0e76a8;
    color: white;
}

.fa-facebook {
    background: #3B5998;
    color: white;
}

.fa:hover {
    background-color: transparent !important;
}

.fa-twitter {
    background: #55ACEE;
    color: white;
}

.fa-instagram {
    background: #3f729b;
    color: white;
}

.fa-linkedin {
    background: #0e76a8;
    color: white;
}

.form-row {
    position: relative;
    left: calc(30px + (50 - 30) * ((100vw - 320px) / (1600 - 320)));
}

@media screen and (max-width: 726px) {
    .form-row {
        position: relative;
        left: 0px !important;
    }
}

@media screen and (max-width: 1143px) {
    .card-0 {
        background: none;
    }
}
