.footer {
    background: linear-gradient(135deg, #1a3c4d 0%, var(--secondary-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(238, 94, 49, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
    position: relative;
    z-index: 2;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 400px;
}

.footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
}

.newsletter-form {
    max-width: 350px;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(238, 94, 49, 0.2);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.2rem;
    color: var(--white);
    font-size: 0.9rem;
}

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

.input-group input:focus {
    outline: none;
}

.input-group button {
    background: var(--primary-color);
    border: none;
    padding: 0.8rem 1.2rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group button:hover {
    background: #e8552a;
    transform: scale(1.05);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.links-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
    position: relative;
}

.links-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.links-column li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 0.3rem 0;
}

.links-column li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.links-column li a i {
    font-size: 0.7rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.links-column li a:hover i {
    transform: translateX(3px);
}

.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
    position: relative;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}


.contact-item:hover .contact-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 1rem;
    color: var(--white);
}

.contact-details strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--white);
}

.contact-details p {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.8;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-social h5 {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}



.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 94, 49, 0.4);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: var(--white);
}

.emergency-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.emergency-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e8552a 100%);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(238, 94, 49, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    animation: pulseEmergency 2s infinite;
}

.emergency-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(238, 94, 49, 0.6);
}

@keyframes pulseEmergency {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(238, 94, 49, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(238, 94, 49, 0.8);
    }
}


@media (max-width: 1024px) {
    .footer-main {
        gap: 2.5rem;
    }
    
    .footer-logo img {
        max-width: 180px;
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 3rem 0 2rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .footer-main > * {
        scroll-snap-align: start;
        min-width: 280px;
    }
    
    .footer-brand,
    .footer-links,
    .footer-contact {
        padding: 1rem;
    }
    
    .footer-logo img {
        max-width: 160px;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-newsletter h4 {
        font-size: 1rem;
    }
    
    .input-group {
        flex-direction: column;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .input-group input {
        padding: 0.8rem;
        text-align: center;
    }
    
    .input-group button {
        border-radius: 0 0 8px 8px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .links-column h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .links-column li a {
        font-size: 0.9rem;
    }
    
    .footer-contact h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-item {
        gap: 0.8rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-icon i {
        font-size: 0.9rem;
    }
    
    .contact-details strong {
        font-size: 0.85rem;
    }
    
    .contact-details p {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        flex-direction: row;
        gap: 1.5rem;
        padding: 1.5rem 0;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .footer-legal {
        align-items: flex-end;
    }
    
    .legal-links {
        gap: 1rem;
    }
    
    .emergency-btn span {
        display: inline;
    }
}

@media (max-width: 480px) {
    .footer-main {
        gap: 1.5rem;
        grid-template-columns: repeat(3, 260px);
    }
    
    .footer-brand,
    .footer-links,
    .footer-contact {
        padding: 0.8rem;
    }
    
    .footer-logo img {
        max-width: 140px;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-newsletter h4 {
        font-size: 0.95rem;
    }
    
    .input-group input {
        font-size: 0.85rem;
    }
    
    .links-column h4,
    .footer-contact h4 {
        font-size: 0.95rem;
    }
    
    .links-column li a {
        font-size: 0.85rem;
    }
    
    .contact-details strong {
        font-size: 0.8rem;
    }
    
    .contact-details p {
        font-size: 0.75rem;
    }
    
    .footer-bottom {
        gap: 1rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .legal-links {
        gap: 0.8rem;
    }
    
    .legal-links a {
        font-size: 0.75rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .emergency-floating {
        bottom: 20px;
        right: 20px;
    }
    
    .emergency-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Móvil Muy Pequeño */
@media (max-width: 375px) {
    .footer-main {
        grid-template-columns: repeat(3, 240px);
        gap: 1rem;
    }
    
    .footer-brand,
    .footer-links,
    .footer-contact {
        padding: 0.6rem;
    }
    
    .footer-logo img {
        max-width: 120px;
    }
}
.footer-developer {
  margin-top: 2rem;
}

.developer-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.developer-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  background-color: white;
}

.developer-info {
  font-size: 0.9rem;
  color: #ffffff;
}

.developer-name {
  font-weight: bold;
  font-size: 1rem;
}

.developer-email, .developer-phone {
  margin: 0.2rem 0;
}
