/**
 * Main Footer Section - 4 Columns with Orange Icons
 * Left-aligned text with orange icons in last two columns
 */

:root {
  --color-primary-700: #093855;
  --color-neutral-50: #faf7f5;
  --color-accent: #ff6b35;
}

.site-footer {
  background-color: #1a1a1a !important;
  color: #ffffff;
  padding: 80px 0 16px;
  margin-top: 0;
}

.site-footer .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}

.footer-main {
  margin-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  align-items: flex-start;
  width: 100%;
}

/* All Footer Columns - Left Aligned Text */
.footer-column {
  text-align: left;
}
.footer-contact-item-container {
  display: flex;
  gap: 1rem;
}
.footer-column .footer-title {
  font-family: var(--font-body);
  font-weight: bold;
  font-size: 18px;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 24px 0;
  text-align: left;
}
.footer-wrap-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-nav,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-nav li,
.footer-links li {
  margin-bottom: 8px;
  text-align: left;
}

.footer-nav li:last-child,
.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-nav a,
.footer-links a,
.footer-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  text-align: left;
}

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

/* Column 1: Enlaces Rápidos */
.footer-column:nth-child(1) .footer-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 24px 0;
}

/* Column 2: Servicios */
.footer-column:nth-child(2) .footer-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 24px 0;
}

/* Column 3: Contacto - Orange Icons */
.contact-info {
  margin-top: 8px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: #ff6b35 !important;
  flex-shrink: 0;
  margin-top: 2px;
  object-fit: contain;
}

.contact-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 4px;
}

.contact-email {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Column 3: Contacto - Orange Icons */
.footer-column:nth-child(3) .footer-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 24px 0;
}

.footer-contact-info {
  text-align: left;
}

.contact-item {
  margin-bottom: 16px;
  text-align: left;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

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

.contact-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Column 4: INERCIA Brand - Orange Social Icon */
.footer-column:nth-child(4) .footer-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 24px 0;
}

.footer-brand {
  margin-bottom: 16px;
  text-align: left;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
}

.footer-brand-name,
.footer-brand-title {
  font-family: var(--font-body);
  font-weight: bold;
  font-size: 24px;
  color: #ffffff;
  margin: 0;
}

.footer-description {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px 0;
  text-align: left;
}

.footer-social {
  text-align: left;
}

.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
}

.social-link:hover {
  background: rgba(255, 107, 53, 0.2);
  transform: scale(1.1);
}

.social-link:hover svg {
  color: #ffffff;
  fill: #ffffff;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

/* Footer Bottom - Full Width */
.footer-bottom {
  border-top: 1px solid #5f6976 !important;
  margin-top: 40px;
  width: 100%;
}

.footer-bottom .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}

/* PIXEL-PERFECT ENFORCEMENT */
.site-footer,
#site-footer {
  background-color: #1a1a1a !important;
}

/* Orange Email Icons - Contact Column */
.footer-column:nth-child(3) .contact-icon,
.footer-column:nth-child(3) svg {
  color: #ff6b35 !important;
  fill: #ff6b35 !important;
}

/* Orange LinkedIn Icon - Brand Column */
.footer-column:nth-child(4) .social-icon,
.footer-column:nth-child(4) .social-link svg {
  color: #ff6b35 !important;
  fill: #ff6b35 !important;
}

/* White Titles */
.footer-title,
.footer-column h4 {
  color: #ffffff !important;
}

/* Light Text for Links */
.footer-link,
.footer-links a,
.footer-nav a {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Ensure Adrianna Font */
.site-footer,
.site-footer * {
  font-family: var(--font-body) !important;
}

.copyright,
.copyright-text {
  text-align: center;
  color: #faf7f5;
}

.copyright p,
.copyright-text p {
  font-family: var(--font-body);
  font-size: 14px;
  color: #faf7f5;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .site-footer .container,
  .footer-bottom .container {
    padding: 0 40px;
  }

  .footer-grid {
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .site-footer .container,
  .footer-bottom .container {
    padding: 0 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-column:nth-child(1),
  .footer-column:nth-child(2) {
    grid-column: span 1;
  }

  .footer-column:nth-child(3),
  .footer-column:nth-child(4) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 60px 0 30px;
  }

  .site-footer .container,
  .footer-bottom .container {
    padding: 0 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column .footer-title {
    text-align: center;
  }

  .footer-nav {
    text-align: center;
  }

  .footer-nav li {
    text-align: center;
  }

  .footer-nav a {
    text-align: center;
  }

  .footer-contact-info {
    text-align: center;
  }

  .contact-item {
    text-align: center;
  }

  .contact-link {
    justify-content: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-description {
    text-align: center;
  }

  .footer-social {
    text-align: center;
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 40px 0 20px;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-column .footer-title {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .footer-nav a {
    font-size: 14px;
    line-height: 1.6;
  }

  .contact-link {
    font-size: 14px;
  }

  .footer-description {
    font-size: 14px;
  }
}
