.text-ams-primary {
    color: var(--ams-primary);
}

.text-ams-muted {
    color: var(--ams-muted);
}

.text-ams-accent {
    color: var(--ams-accent);
}

.bg-ams-primary-light {
    background-color: var(--ams-primary-light);
}

/* Buttons */
.btn-primary-ams {
    background-color: var(--ams-primary);
    border-color: var(--ams-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.btn-primary-ams:hover {
    background-color: var(--ams-primary-dark);
    border-color: var(--ams-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 22, 122, 0.25);
}

.btn-outline-ams {
    color: var(--ams-primary);
    border-color: var(--ams-primary);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.btn-outline-ams:hover {
    background-color: var(--ams-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--ams-accent);
    border-color: var(--ams-accent);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.btn-accent:hover {
    background-color: var(--ams-accent-dark);
    border-color: var(--ams-accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.3);
}

.btn-sm-ams {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* Hero - Contact */
.hero-contact {
    background: linear-gradient(165deg, var(--ams-primary) 0%, #00208f 40%, var(--ams-primary-dark) 100%);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 3rem 3rem;
    padding: 3.5rem 0 3rem;
}

.hero-contact::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-badge-prof {
    display: inline-block;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(4px);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

/* Cards */
.ams-card {
    background: var(--ams-surface);
    border-radius: var(--ams-radius);
    box-shadow: var(--ams-shadow-sm);
    border: 1px solid var(--ams-border);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.ams-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ams-shadow-md);
}

.ams-card-elevated {
    background: var(--ams-surface);
    border-radius: var(--ams-radius);
    box-shadow: var(--ams-shadow-md);
    border: 1px solid var(--ams-border);
    transition: all 0.3s ease;
    height: 100%;
}

.ams-card-elevated:hover {
    box-shadow: var(--ams-shadow-lg);
    transform: translateY(-4px);
}

/* Contact Method Cards */
.contact-method {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.contact-method .method-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ams-primary-light);
    color: var(--ams-primary);
    font-size: 1.8rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.ams-card:hover .method-icon {
    background: var(--ams-primary);
    color: #fff;
    transform: scale(1.05);
}

/* Form */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--ams-border);
    padding: 0.7rem 0.75rem;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--ams-primary);
    box-shadow: 0 0 0 3px rgba(0, 22, 122, 0.08);
}

.form-control.is-invalid {
    border-color: var(--ams-danger);
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/* Map */
.map-container {
    background: var(--ams-primary-light);
    border-radius: var(--ams-radius);
    border: 2px solid var(--ams-border);
    min-height: 300px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.map-container:hover {
    border-color: var(--ams-primary);
}

/* Branch contact cards */
.branch-contact {
    border-left: 3px solid var(--ams-primary);
    transition: all 0.3s ease;
}

.branch-contact:hover {
    border-left-color: var(--ams-accent);
    background: var(--ams-primary-light);
}

.branch-contact.hidden {
    display: none;
}

/* Filter bar */
.filter-bar-contact .form-select {
    background-color: #fff;
    border: 1px solid var(--ams-border);
    border-radius: 8px;
    font-size: 0.875rem;
    padding: 0.45rem 0.75rem;
    transition: border-color 0.2s;
}

.filter-bar-contact .form-select:focus {
    border-color: var(--ams-primary);
    box-shadow: 0 0 0 3px rgba(0, 22, 122, 0.08);
}

.filter-bar-contact .form-control {
    background-color: #fff;
    border: 1px solid var(--ams-border);
    border-radius: 8px;
    font-size: 0.875rem;
    padding: 0.45rem 0.75rem;
    transition: border-color 0.2s;
}

.filter-bar-contact .form-control:focus {
    border-color: var(--ams-primary);
    box-shadow: 0 0 0 3px rgba(0, 22, 122, 0.08);
}

/* Toast */
.toast-ams {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: var(--ams-primary);
    color: white;
    border-radius: var(--ams-radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--ams-shadow-lg);
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 400px;
}

.toast-ams.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-ams.success {
    background: var(--ams-success);
}

.toast-ams.error {
    background: var(--ams-danger);
}

/* Social links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ams-bg);
    color: var(--ams-muted);
    border: 1px solid var(--ams-border);
    transition: all 0.25s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--ams-primary);
    color: #fff;
    border-color: var(--ams-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 22, 122, 0.2);
}

.filter-tag {
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--ams-shadow-sm);
}

.filter-tag.active {
    background: var(--ams-primary) !important;
    color: #fff !important;
}

@media (max-width: 576px) {
    body {
        padding-top: 68px;
    }

    .hero-contact {
        padding: 2rem 0 1.5rem;
        border-radius: 0 0 1.5rem 1.5rem;
    }

    .hero-contact h1 {
        font-size: 2rem;
    }

    .toast-ams {
        max-width: 90%;
        right: 5%;
        bottom: 10px;
    }

    .contact-method .method-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .hero-contact {
        padding: 2rem 0 1.5rem;
    }
}