/* ======================================================
   Footer — Premium Enhanced
   ====================================================== */

:root {
  --black:      #0b0b0e;
  --navy:       #0e1628;
  --navy-light: #131e35;
  --red:        #c8202f;
  --red-hover:  #e0242f;
  --red-glow:   rgba(200, 32, 47, 0.18);
  --white:      #ffffff;
  --muted:      rgba(255, 255, 255, 0.62);
  --border:     rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
}

/* ======================================================
   Base
   ====================================================== */
.footer {
  background: var(--navy);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  position: relative;
  overflow: hidden;
}

/* Subtle top accent line */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 40%, var(--red) 60%, transparent 100%);
  opacity: 0.7;
}

/* Decorative background glow */
.footer::after {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 32, 47, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ======================================================
   Grid
   ====================================================== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1.4fr 1fr;
  gap: 52px;
  padding: 60px 0 52px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

/* ======================================================
   Column base
   ====================================================== */
.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-col:hover h4::after {
  width: 48px;
}

/* ======================================================
   Brand Column
   ====================================================== */
.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 250px;
  border-radius: 14px;
  display: block;
  transition: opacity 0.2s;
}

.footer-logo:hover img {
  opacity: 0.88;
}

.tagline {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 250px;
  line-height: 1.7;
}

/* ======================================================
   Newsletter
   ====================================================== */
.nl-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: block;
}

.newsletter-form {
  display: flex;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: rgba(255, 255, 255, 0.03);
  max-width: 290px;
}

.newsletter-form:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.newsletter-form input {
  flex: 1;
  padding: 11px 14px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 13px;
  outline: none;
  min-width: 0;
}

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

.newsletter-form button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0 18px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.newsletter-form button:hover {
  background: var(--red-hover);
}

.newsletter-form button:hover .fa-arrow-right-long {
  transform: translateX(3px);
}

.newsletter-form button .fa-arrow-right-long {
  transition: transform 0.2s;
}

/* ======================================================
   Services List
   ====================================================== */
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s, transform 0.2s;
  cursor: default;
}

.footer ul li:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(3px);
}

.footer ul li .fa-check {
  color: var(--red);
  font-size: 10px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ======================================================
   Contact List
   ====================================================== */
.footer ul.contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  cursor: default;
}

.footer ul.contact li:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: none;
}

.footer ul.contact li i {
  font-size: 14px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.85;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ======================================================
   Social Column
   ====================================================== */
.social-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 200px;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.2s;
  background: rgba(255, 255, 255, 0.03);
}

.social-links a:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(200, 32, 47, 0.12);
  transform: translateY(-2px);
}

.social-links i {
  font-size: 16px;
}

/* ======================================================
   Bottom Bar
   ====================================================== */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  position: relative;
  z-index: 1;
}

.footer-bottom-copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
}

.footer-bottom-copy .highlight {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-copy .highlight:hover {
  color: var(--red-hover);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ======================================================
   Responsive
   ====================================================== */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px 0 40px;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }

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

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 0 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 0;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .social-links a {
    width: 42px;
    height: 42px;
  }
}
