/* ============================================
   ULTRA MODERN FOOTER - REVOLUTIONARY DESIGN
   Card-Based Layout with Emergency CTA Hero
   ============================================ */

/* Main Footer Container */
.tr-footer-ultra {
  background: #0A0E1A;
  position: relative;
  overflow: hidden;
}

.tr-footer-ultra::before {
  content: '';
  position: absolute;
  top: 0;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 166, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50px, -50px) scale(1.1);
  }
}

/* ============================================
   EMERGENCY CTA HERO
   ============================================ */

.tr-footer-emergency-hero {
  background: linear-gradient(135deg, #0EA5A6 0%, #10B981 100%);
  padding: 50px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.tr-footer-emergency-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.tr-footer-emergency-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.tr-emergency-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.tr-emergency-hero-left {
  flex: 1;
}

.tr-emergency-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tr-emergency-hero-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  margin: 0 0 12px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tr-emergency-hero-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.6;
}

.tr-emergency-hero-right {
  flex-shrink: 0;
}

.tr-emergency-hero-phone {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tr-emergency-hero-phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 165, 166, 0.1), rgba(16, 185, 129, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tr-emergency-hero-phone:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.tr-emergency-hero-phone:hover::before {
  opacity: 1;
}

.tr-emergency-hero-phone-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  animation: pulse-phone 2s ease-in-out infinite;
}

@keyframes pulse-phone {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(14, 165, 166, 0.5);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(14, 165, 166, 0);
  }
}

.tr-emergency-hero-phone-icon img {
  filter: brightness(0) invert(1);
}

.tr-emergency-hero-phone-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.tr-emergency-hero-phone-label {
  font-size: 14px;
  color: var(--gray-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tr-emergency-hero-phone-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--dark-color);
  letter-spacing: 1px;
}

/* ============================================
   MAIN FOOTER - CARDS GRID
   ============================================ */

.tr-footer-ultra-main {
  padding: 80px 0 60px;
  position: relative;
  z-index: 2;
}

.tr-footer-cards-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 24px;
  margin-bottom: 60px;
}

/* Card Styles */
.tr-footer-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tr-footer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 165, 166, 0.05), rgba(16, 185, 129, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tr-footer-card:hover {
  border-color: rgba(14, 165, 166, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 165, 166, 0.15);
}

.tr-footer-card:hover::before {
  opacity: 1;
}

/* Primary Card (Company) */
.tr-footer-card-primary {
  background: linear-gradient(135deg, rgba(14, 165, 166, 0.08), rgba(16, 185, 129, 0.08));
  border-color: rgba(14, 165, 166, 0.2);
}

.tr-footer-card-primary::before {
  opacity: 1;
}

/* Trust Card */
.tr-footer-card-trust {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(14, 165, 166, 0.05));
}

/* Card Header */
.tr-footer-card-header {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.tr-footer-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  position: relative;
  display: inline-block;
}

.tr-footer-card-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Card Body */
.tr-footer-card-body {
  position: relative;
  z-index: 1;
}

.tr-footer-card-tagline {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 12px;
}

.tr-footer-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0 0 24px;
}

/* Card Contacts */
.tr-footer-card-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tr-footer-card-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.tr-footer-card-contact-item:hover {
  background: rgba(14, 165, 166, 0.1);
  color: var(--white);
  transform: translateX(4px);
}

.tr-footer-card-contact-item img {
  filter: brightness(0) saturate(100%) invert(54%) sepia(88%) saturate(1053%) hue-rotate(136deg) brightness(94%) contrast(87%);
  flex-shrink: 0;
}

/* Card Navigation */
.tr-footer-card-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tr-footer-card-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.tr-footer-card-link-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.tr-footer-card-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  padding-left: 16px;
}

.tr-footer-card-link:hover .tr-footer-card-link-dot {
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  transform: scale(1.3);
}

/* Trust Items */
.tr-footer-trust-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tr-footer-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tr-footer-trust-item:hover {
  background: rgba(14, 165, 166, 0.1);
  border-color: rgba(14, 165, 166, 0.3);
  transform: translateY(-4px);
}

.tr-footer-trust-item img {
  filter: brightness(0) saturate(100%) invert(54%) sepia(88%) saturate(1053%) hue-rotate(136deg) brightness(94%) contrast(87%);
}

.tr-footer-trust-item span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

/* ============================================
   SERVICE AREAS - TAG CLOUD
   ============================================ */

.tr-footer-areas {
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.tr-footer-areas::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(14, 165, 166, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.tr-footer-areas-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.tr-footer-areas-header img {
  filter: brightness(0) saturate(100%) invert(54%) sepia(88%) saturate(1053%) hue-rotate(136deg) brightness(94%) contrast(87%);
}

.tr-footer-areas-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.tr-footer-areas-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.tr-footer-area-tag {
  display: inline-block;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tr-footer-area-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.tr-footer-area-tag:hover {
  background: linear-gradient(135deg, rgba(14, 165, 166, 0.2), rgba(16, 185, 129, 0.2));
  border-color: rgba(14, 165, 166, 0.4);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(14, 165, 166, 0.3);
}

.tr-footer-area-tag:hover::before {
  left: 100%;
}

/* ============================================
   BOTTOM BAR
   ============================================ */

.tr-footer-ultra-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0;
  position: relative;
  z-index: 2;
}

.tr-footer-bottom-content {
  text-align: center;
}

.tr-footer-ultra-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .tr-footer-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .tr-footer-card-primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .tr-footer-emergency-hero {
    padding: 40px 0;
  }

  .tr-emergency-hero-content {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .tr-emergency-hero-badge {
    font-size: 12px;
    padding: 7px 18px;
  }

  .tr-emergency-hero-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .tr-emergency-hero-text {
    font-size: 15px;
  }

  .tr-emergency-hero-phone {
    padding: 18px 20px;
    gap: 16px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .tr-emergency-hero-phone-icon {
    width: 52px;
    height: 52px;
  }

  .tr-emergency-hero-phone-icon img {
    width: 26px;
    height: 26px;
  }

  .tr-emergency-hero-phone-label {
    font-size: 12px;
  }

  .tr-emergency-hero-phone-number {
    font-size: 22px;
  }

  .tr-footer-ultra-main {
    padding: 60px 0 40px;
  }

  .tr-footer-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }

  .tr-footer-card {
    padding: 24px 20px;
  }

  .tr-footer-card-primary {
    grid-column: auto;
  }

  .tr-footer-trust-items {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .tr-footer-areas {
    padding: 28px 24px;
  }

  .tr-footer-areas-cloud {
    gap: 8px;
  }

  .tr-footer-area-tag {
    padding: 8px 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .tr-footer-emergency-hero {
    padding: 32px 0;
  }

  .tr-emergency-hero-content {
    gap: 24px;
  }

  .tr-emergency-hero-badge {
    font-size: 11px;
    padding: 6px 14px;
  }

  .tr-emergency-hero-title {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .tr-emergency-hero-text {
    font-size: 14px;
  }

  .tr-emergency-hero-phone {
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px;
    text-align: center;
    max-width: 320px;
  }

  .tr-emergency-hero-phone-icon {
    width: 48px;
    height: 48px;
  }

  .tr-emergency-hero-phone-icon img {
    width: 24px;
    height: 24px;
  }

  .tr-emergency-hero-phone-label {
    font-size: 11px;
  }

  .tr-emergency-hero-phone-number {
    font-size: 20px;
  }

  .tr-footer-ultra-main {
    padding: 50px 0 30px;
  }

  .tr-footer-card {
    padding: 20px 18px;
  }

  .tr-footer-card-logo {
    width: 130px;
    height: auto;
  }

  .tr-footer-card-tagline {
    font-size: 15px;
  }

  .tr-footer-card-desc {
    font-size: 13px;
  }

  .tr-footer-card-title {
    font-size: 16px;
  }

  .tr-footer-card-nav {
    gap: 10px;
  }

  .tr-footer-card-link {
    font-size: 13px;
    padding: 6px 10px;
  }

  .tr-footer-trust-items {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tr-footer-trust-item {
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px;
  }

  .tr-footer-trust-item img {
    width: 20px;
    height: 20px;
  }

  .tr-footer-areas {
    padding: 24px 20px;
  }

  .tr-footer-areas-title {
    font-size: 14px;
  }

  .tr-footer-areas-cloud {
    gap: 6px;
  }

  .tr-footer-area-tag {
    padding: 7px 12px;
    font-size: 11px;
  }

  .tr-footer-ultra-bottom {
    padding: 24px 0;
  }

  .tr-footer-ultra-copyright {
    font-size: 12px;
  }
}

@media (max-width: 375px) {
  .tr-footer-emergency-hero {
    padding: 28px 0;
  }

  .tr-emergency-hero-content {
    gap: 20px;
  }

  .tr-emergency-hero-badge {
    font-size: 10px;
    padding: 5px 12px;
  }

  .tr-emergency-hero-title {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .tr-emergency-hero-text {
    font-size: 13px;
  }

  .tr-emergency-hero-phone {
    gap: 12px;
    padding: 14px 16px;
    max-width: 280px;
  }

  .tr-emergency-hero-phone-icon {
    width: 44px;
    height: 44px;
  }

  .tr-emergency-hero-phone-icon img {
    width: 22px;
    height: 22px;
  }

  .tr-emergency-hero-phone-label {
    font-size: 10px;
  }

  .tr-emergency-hero-phone-number {
    font-size: 18px;
  }

  .tr-footer-card {
    border-radius: 16px;
  }

  .tr-footer-card-logo {
    width: 110px;
  }

  .tr-footer-areas {
    border-radius: 16px;
  }
}
