/* =====================================================
   Ramzff Footer Widget — ramzff-footer.css
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Exo:wght@300;400;600;700;800;900&display=swap');

.rf-footer *,
.rf-footer *::before,
.rf-footer *::after {
  box-sizing: border-box;
}

.rf-footer {
  --rf-orange: #ff7f27;
  --rf-dark:   #324a5a;
  --rf-dark2:  #253848;
  --rf-dark3:  #1b2c38;
  --rf-light:  #e8eef2;
  --rf-muted:  #7a99ae;

  font-family: 'Exo', sans-serif;
  background: var(--rf-dark3);
  position: relative;
  overflow: hidden;
}

/* diagonal accent band */
.rf-footer::before {
  content: '';
  position: absolute;
  top: 0; left: -10%;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,127,39,.07) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Top bar ── */
.rf-footer-topbar {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--rf-orange) 0%, #ffaa60 50%, transparent 100%);
}

/* ── Main grid ── */
.rf-footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 56px;
  position: relative;
  z-index: 1;
}

/* ── Brand column ── */
.rf-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}

.rf-logo-mark {
  width: 46px;
  height: 46px;
  background: var(--rf-orange);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.rf-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
}

.rf-logo-text span {
  color: var(--rf-orange);
}

.rf-brand-tagline {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--rf-muted);
  line-height: 1.7;
  max-width: 270px;
  letter-spacing: .3px;
}

.rf-brand-divider {
  width: 48px;
  height: 2px;
  background: var(--rf-orange);
  margin: 22px 0;
  border-radius: 2px;
}

/* ── Social icons ── */
.rf-social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rf-social-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rf-muted);
  text-decoration: none;
  transition: all .25s ease;
  background: rgba(255,255,255,.04);
}

.rf-social-btn:hover {
  background: var(--rf-orange);
  border-color: var(--rf-orange);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,127,39,.35);
}

.rf-social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── Nav columns ── */
.rf-nav-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rf-orange);
  margin-bottom: 22px;
  font-family: 'Exo', sans-serif;
}

.rf-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rf-nav-col ul li a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: var(--rf-muted);
  letter-spacing: .3px;
  transition: color .2s, padding-left .2s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Exo', sans-serif;
}

.rf-nav-col ul li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--rf-orange);
  transition: width .2s ease;
  display: inline-block;
}

.rf-nav-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.rf-nav-col ul li a:hover::before {
  width: 12px;
}

/* ── Contact column ── */
.rf-contact-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rf-orange);
  margin-bottom: 22px;
  font-family: 'Exo', sans-serif;
}

.rf-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.rf-contact-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,127,39,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.rf-contact-icon svg {
  width: 15px;
  height: 15px;
  fill: var(--rf-orange);
}

.rf-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rf-contact-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rf-muted);
  font-family: 'Exo', sans-serif;
}

.rf-contact-value {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--rf-light);
  letter-spacing: .2px;
  font-family: 'Exo', sans-serif;
}

.rf-contact-value a {
  color: var(--rf-light);
  text-decoration: none;
  transition: color .2s;
}

.rf-contact-value a:hover {
  color: var(--rf-orange);
}

/* ── Bottom bar ── */
.rf-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  background: var(--rf-dark3);
  position: relative;
  z-index: 1;
}

.rf-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.rf-copyright {
  font-size: 12.5px;
  color: var(--rf-muted);
  letter-spacing: .4px;
  font-weight: 300;
  font-family: 'Exo', sans-serif;
  margin: 0;
}

.rf-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: var(--rf-orange);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: 'Exo', sans-serif;
}

/* ── Decorative hexagons ── */
.rf-deco-hex {
  position: absolute;
  right: -60px;
  bottom: 60px;
  width: 320px;
  height: 320px;
  background: rgba(255,127,39,.04);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
}

.rf-deco-hex2 {
  position: absolute;
  right: 60px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  background: rgba(50,74,90,.5);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
}

/* ── Fade-up animation ── */
.rf-footer-main > * {
  opacity: 0;
  transform: translateY(18px);
  animation: rfFadeUp .5s ease forwards;
}
.rf-footer-main > *:nth-child(1) { animation-delay: .05s; }
.rf-footer-main > *:nth-child(2) { animation-delay: .15s; }
.rf-footer-main > *:nth-child(3) { animation-delay: .25s; }
.rf-footer-main > *:nth-child(4) { animation-delay: .35s; }

@keyframes rfFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .rf-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .rf-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .rf-footer-main {
    grid-template-columns: 1fr;
    padding: 48px 24px 40px;
  }
  .rf-brand-col {
    grid-column: auto;
  }
  .rf-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
