/* Footer Only Styles - For proyectos.html */

/* AGENT WIDGET STYLES */
.agent-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
}

.agent-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    font-family: inherit;
    outline: none;
    opacity: 0.7;
}

.agent-pill:hover {
    gap: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #0A0F19;
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    opacity: 1;
    transform: scale(1.05);
}

.agent-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.agent-pill:hover .agent-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.agent-text {
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 600;
    white-space: nowrap;
    color: inherit;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.agent-pill:hover .agent-text {
    font-size: clamp(14px, 2vw, 18px);
    opacity: 1;
    color: inherit;
}

.agent-arrow-wrapper {
    margin-left: 4px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.agent-pill:hover .agent-arrow-wrapper {
    margin-left: 8px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: #0A0F19;
    border: 1px solid rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.agent-arrow {
    width: 14px;
    height: 14px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.7;
}

.agent-pill:hover .agent-arrow {
    width: 18px;
    height: 18px;
    opacity: 1;
    transform: translateX(2px);
}

/* AGENT CARD */
.agent-card {
    position: absolute;
    bottom: 84px;
    right: 0;
    width: 340px;
    max-width: 86vw;
    background: rgba(255, 255, 255, 0.95);
    color: #0A0F19;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.agent-card.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.agent-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.agent-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.agent-info {
    flex: 1;
}

.agent-name {
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #0A0F19;
}

.agent-role {
    font-size: 13px;
    color: rgba(10, 15, 25, 0.7);
    margin: 0;
    line-height: 1.3;
}

.agent-linkedin {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(220, 181, 151, 0.1);
    color: rgba(10, 15, 25, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.agent-linkedin:hover {
    background: rgba(220, 181, 151, 0.2);
    color: #0A0F19;
    transform: scale(1.05);
}

.agent-description {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(10, 15, 25, 0.8);
    margin: 0 0 16px 0;
}

.agent-actions {
    display: flex;
    gap: 8px;
}

.agent-contact-button,
.agent-iris-button {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.agent-contact-button {
    background: #0A0F19;
    color: white;
}

.agent-contact-button:hover {
    background: rgba(10, 15, 25, 0.9);
    transform: translateY(-1px);
}

.agent-iris-button {
    background: rgba(220, 181, 151, 0.1);
    color: #0A0F19;
    border: 1px solid rgba(220, 181, 151, 0.3);
}

.agent-iris-button:hover {
    background: rgba(220, 181, 151, 0.2);
    transform: translateY(-1px);
}

/* RESPONSIVE AGENT WIDGET */
@media (max-width: 768px) {
    .agent-widget {
        bottom: 20px;
        right: 20px;
    }

    .agent-pill {
        padding: 6px 10px;
        gap: 10px;
    }

    .agent-pill:hover {
        padding: 10px 14px;
        gap: 12px;
    }

    .agent-avatar {
        width: 32px;
        height: 32px;
    }

    .agent-pill:hover .agent-avatar {
        width: 40px;
        height: 40px;
    }

    .agent-text {
        font-size: 12px;
    }

    .agent-pill:hover .agent-text {
        font-size: 14px;
    }

    .agent-arrow-wrapper {
        width: 28px;
        height: 36px;
    }

    .agent-card {
        width: 320px;
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .agent-widget {
        bottom: 16px;
        right: 16px;
    }

    .agent-card {
        width: 300px;
        max-width: 90vw;
        bottom: 65px;
    }

    .agent-pill {
        padding: 6px 8px;
        gap: 8px;
    }

    .agent-pill:hover {
        padding: 8px 12px;
        gap: 10px;
    }

    .agent-avatar {
        width: 28px;
        height: 28px;
    }

    .agent-pill:hover .agent-avatar {
        width: 36px;
        height: 36px;
    }

    .agent-text {
        font-size: 11px;
    }

    .agent-pill:hover .agent-text {
        font-size: 13px;
    }

    .agent-arrow-wrapper {
        width: 26px;
        height: 32px;
    }
}

/* Footer Variables */
:root {
    --footer-bg: #1a1a1a;
    --footer-text: #ffffff;
    --footer-accent: #dcb597;
    --footer-border: rgba(255, 255, 255, 0.1);
}

/* Main Footer */
.main-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 0;
    margin-top: 120px;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Footer Content Top */
.footer-content-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Newsletter Section */
.footer-content-left {
    display: flex;
    flex-direction: column;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.newsletter-title {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--footer-text);
    margin: 0;
}

.newsletter-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--footer-border);
    border-radius: 12px;
    color: var(--footer-text);
    font-size: 16px;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--footer-accent);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-submit {
    position: absolute;
    right: 8px;
    width: 44px;
    height: 44px;
    background: var(--footer-accent);
    border: none;
    border-radius: 8px;
    color: var(--footer-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    background: #c4a082;
    transform: translateY(-2px);
}

/* Footer Links Section */
.footer-content-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-links-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--footer-accent);
    margin: 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-link-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-link:hover {
    color: var(--footer-accent);
    transform: translateX(5px);
}

/* Contact Section */
.footer-contact-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--footer-accent);
}

.footer-office-name {
    color: var(--footer-text);
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.footer-address {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.footer-address:hover {
    color: var(--footer-accent);
}

/* Footer Content Center - Social */
.footer-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid var(--footer-border);
}

.footer-social-list {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 8px;
    border: 1px solid var(--footer-border);
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    color: var(--footer-text);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social-link:hover {
    background: var(--footer-accent);
    color: var(--footer-bg);
    transform: translateY(-2px);
}

.social-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.social-text {
    font-weight: 500;
    font-size: 16px;
}

.social-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-social-link:hover .social-arrow {
    opacity: 1;
    transform: translateX(0);
}

.social-divider {
    width: 1px;
    height: 40px;
    background: var(--footer-border);
    margin: 0 8px;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    justify-content: center;
}

.footer-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-brand-link:hover .footer-logo {
    filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(30deg);
}

/* Footer Content Bottom - Copyright */
.footer-content-bottom {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 0;
    border-top: 1px solid var(--footer-border);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--footer-border), transparent);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-credits {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.credits-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.credits-link {
    color: var(--footer-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.credits-link:hover {
    color: #c4a082;
    text-decoration: underline;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

.legal-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: var(--footer-accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 0;
        margin-top: 80px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content {
        gap: 40px;
    }
    
    .footer-content-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-social-list {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-social-link {
        justify-content: center;
        padding: 20px;
    }
    
    .social-divider {
        width: 100%;
        height: 1px;
        margin: 8px 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-heading {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 40px 0 0;
        margin-top: 60px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-content-top {
        gap: 40px;
    }
    
    .newsletter-heading {
        font-size: 24px;
    }
    
    .newsletter-input {
        padding: 14px 50px 14px 16px;
    }
    
    .newsletter-submit {
        width: 40px;
        height: 40px;
        right: 6px;
    }
}
