/* =============================================
   FOOTER.CSS — GulfTech MEP Contact Page
   Redesigned to match reference layout
   ============================================= */

.site-footer {
  background: #041e59;
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(10,77,161,.18) 0%, transparent 70%),
    linear-gradient(rgba(26,127,212,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,127,212,.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  color: rgba(255,255,255,.7);
  position: relative;
}

/* ---- TOP STRIP: logo + branch pills ---- */
.footer-topstrip {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-topstrip-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.footer-logo-icon {
  width: 212px;
  height: 46px; 
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.footer-logo-name {
  
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .01em;
}
.footer-logo-name sup {
  font-size: .45em;
  vertical-align: super;
  color: rgba(255,255,255,.45);
}
.footer-logo-sub {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-top: 4px;
}

/* Branch pills */
 .brand-name { display: flex; flex-direction: column; gap: 1px; }
.brand-name .main { font-weight: 800; font-size: 20px; letter-spacing: 2px; color: #fff; line-height: 1; }
.brand-name .main sup { font-size: 8px; vertical-align: super; }
.brand-name .sub { font-size: 8.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.branch-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.branch-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); margin-right: 4px; }
.pill { font-size: 12px; font-weight: 500; color: var(--f-blue2); background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.2); border-radius: 20px; padding: 4px 12px; text-decoration: none; transition: background .2s, border-color .2s; }
.pill:hover { background: rgba(14,165,233,0.2); border-color: rgba(14,165,233,0.4); color: #fff; }

/* ---- MAIN FOOTER GRID ---- */
.footer-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 32px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 40px 48px;
}

/* Section headings */
.footer-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #60b8f5;
  margin-bottom: 22px;
}
.footer-section-title::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: #1A7FD4;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Quick links — two-column sub-grid */
.footer-quicklinks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  list-style: none;
}
.footer-quicklinks-grid a,
.footer-linklist a {
  font-size: .86rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.footer-quicklinks-grid a::before,
.footer-linklist a::before {
  content: '•';
  font-size: .55rem;
  color: #1A7FD4;
  flex-shrink: 0;
}
.footer-quicklinks-grid a:hover,
.footer-linklist a:hover { color: #fff; }

.footer-linklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---- SOCIAL ICONS — square with glow effect ---- */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid rgba(26,127,212,.4);
  background: rgba(26,127,212,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
.footer-social a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A7FD4, #0A4DA1);
  opacity: 0;
  transition: opacity .25s;
}
.footer-social a:hover {
  border-color: #1A7FD4;
  box-shadow: 0 0 16px rgba(26,127,212,.6), 0 0 4px rgba(26,127,212,.25);
  transform: translateY(-3px) scale(1.08);
}
.footer-social a:hover::before { opacity: 1; }
.footer-social a svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: rgba(255,255,255,.65);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
  transition: stroke .25s;
}
.footer-social a:hover svg { stroke: #fff; }

/* ---- CONTACT COLUMN ---- */
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(26,127,212,.15);
  border: 1px solid rgba(26,127,212,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-icon svg {
  width: 16px;
  height: 16px;
  fill: #60b8f5;
}
.footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-contact-text a {
  font-size: .87rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
  line-height: 1.55;
}
.footer-contact-text a:hover { color: #fff; }

/* ---- BOTTOM BAR ---- */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.28);
}
.footer-bottom-copy strong {
  color: rgba(255,255,255,.48);
  font-weight: 400;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: .78rem;
  color: rgba(255,255,255,.28);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.65); }

/* ---- FLOATING ACTION BUTTONS ---- */
.fab-group {
  position: fixed;
  right: 24px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.fab:hover { transform: scale(1.12); }
.fab-phone { background: #1A7FD4; box-shadow: 0 4px 18px rgba(26,127,212,.55); }
.fab-wa    { background: #25D366; box-shadow: 0 4px 18px rgba(37,211,102,.5); }
.fab svg { width: 22px; height: 22px; fill: #fff; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 40px;
  }
}
@media (max-width: 640px) {
  .footer-topstrip-inner { flex-direction: column; align-items: flex-start; padding: 20px; }
  .footer-main { grid-template-columns: 1fr; padding: 36px 20px 32px; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 20px; }
}
