/* =======================================================
   CONTACT PAGE STYLES (INDUSTRIAL PREMIUM)
   ======================================================= */

/* 1. Hero Contact */
.contact-hero {
  padding: 160px 0 100px;
  background-color: #050d1a;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.contact-hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
}

/* 2. Quick Contact Cards */
.quick-contact-section {
  padding-bottom: 100px;
  background: #050d1a;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: -50px;
  /* Overlap effect */
  position: relative;
  z-index: 10;
}

.c-card {
  background: rgba(16, 42, 86, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 30px;
  text-align: center;
  transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.c-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-yellow);
}

.c-icon {
  width: 60px;
  height: 60px;
  background: var(--color-blue);
  color: var(--color-yellow);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.c-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.c-card p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.c-link {
  color: var(--color-yellow);
  font-weight: 800;
  text-decoration: none;
  font-size: 1.1rem;
}

/* 3. Service Areas (Texas Map) */
.service-areas-section {
  padding: 120px 0;
  background-color: #0A1930;
}

.areas-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.cities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0 40px;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #CBD5E1;
  font-weight: 600;
  font-size: 1rem;
}

.city-item .dot {
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  border-radius: 50%;
}

.areas-map-visual {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  height: 500px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.areas-map-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.5);
}

.map-pulse-point {
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--color-yellow);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--color-yellow);
  animation: pulse-map 2s infinite;
}

@keyframes pulse-map {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* 4. Main Form Section */
.contact-form-main {
  padding: 120px 0;
  background: #050d1a;
}

.form-container-glass {
  background: rgba(16, 42, 86, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 80px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.form-header-side h2 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 25px;
}

.form-header-side p {
  font-size: 1.2rem;
  color: #94A3B8;
  line-height: 1.6;
}

.form-trust-icons {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.t-icon {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--color-yellow);
  font-weight: 700;
}

.t-icon span:first-child {
  font-size: 2rem;
}

/* Form Elements */
.premium-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: #94A3B8;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 5px;
}

.form-group input,
.form-group textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 15px 20px;
  color: #fff;
  font-family: inherit;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-yellow);
  background: rgba(0, 0, 0, 0.5);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 20px;
  font-size: 1.1rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .areas-wrapper,
  .form-container-glass {
    grid-template-columns: 1fr;
  }

  .form-container-glass {
    padding: 40px 25px;
  }

  .areas-map-visual {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* =======================================================
   CONTACT PAGE - ARCHITECTURAL TECH STYLES
   ======================================================= */

.contact-hero-modern {
  position: relative;
  padding: 160px 0 140px;
  /* Más espacio abajo para el solape */
  background-color: #050C18;
  text-align: center;
  overflow: hidden;
}

/* Background Elements */
.hero-tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(23, 60, 122, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 60, 122, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}

.hero-light-flare.blue {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, rgba(23, 60, 122, 0.1) 0%, transparent 70%);
  z-index: 2;
}

.contact-hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.hero-eyebrow .line {
  width: 40px;
  height: 2px;
  background-color: var(--color-orange);
}

.hero-eyebrow .text {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #94A3B8;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.95;
  color: #fff;
  margin-bottom: 25px;
}

.hero-title .weight-400 {
  font-weight: 400;
}

.hero-title .weight-900 {
  font-weight: 900;
}

.hero-description {
  max-width: 650px;
  color: #CBD5E1;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Shuttle Badge */
.hero-status-shuttle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 25px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.shuttle-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot.blink {
  width: 8px;
  height: 8px;
  background: var(--color-yellow);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.s-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-align: left;
}

.shuttle-divider {
  width: 1px;
  height: 25px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 20px;
}

.shuttle-item .material-symbols-rounded {
  color: var(--color-yellow);
  font-size: 1.2rem;
}

/* --- QUICK CONTACT CARDS --- */
.quick-contact-section {
  background-color: #0A1930;
  padding-bottom: 100px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: -80px;
  /* Solape perfecto */
  position: relative;
  z-index: 20;
}

.c-card {
  background: rgba(16, 42, 86, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-card:hover {
  transform: translateY(-15px);
  background: rgba(16, 42, 86, 0.95);
  border-color: var(--color-yellow);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.c-card-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--color-yellow);
  transition: 0.5s ease;
}

.c-card:hover .c-card-border {
  width: 100%;
}

.c-icon-box {
  width: 65px;
  height: 65px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-yellow);
  margin-bottom: 25px;
  transition: 0.4s;
}

.c-icon-box.emergency {
  color: var(--color-orange);
  background: rgba(232, 93, 37, 0.1);
}

.c-card:hover .c-icon-box {
  background: var(--color-yellow);
  color: #050C18;
  transform: rotate(-10deg);
}

.c-card h3 {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 15px;
}

.c-card p {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 25px;
}

.c-link {
  font-size: 1.1rem;
  color: var(--color-yellow);
  font-weight: 800;
  transition: 0.3s;
  margin-top: auto;
}

.c-card:hover .c-link {
  color: #fff;
}

/* Shine Effect Fix */
.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-25deg);
  transition: 0.8s;
}

.c-card:hover .card-shine {
  left: 150%;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .contact-hero-modern {
    padding: 120px 0 60px;
  }
}

/* =======================================================
   SERVICE AREAS - TACTICAL RADAR STYLE
   ======================================================= */

.service-areas-modern {
  padding: 120px 0;
  background-color: #0A1930;
  /* Azul institucional profundo */
  position: relative;
  overflow: hidden;
}

.areas-tech-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 182, 0, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
}

.areas-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* --- INFO SIDE --- */
.areas-info h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.areas-lead {
  font-size: 1.15rem;
  color: #94A3B8;
  max-width: 500px;
  margin-bottom: 40px;
}

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.city-node {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #CBD5E1;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.city-node:hover {
  color: var(--color-yellow);
  padding-left: 5px;
}

.status-pulse {
  width: 6px;
  height: 6px;
  background-color: var(--color-orange);
  border-radius: 50%;
  position: relative;
}

.status-pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-orange);
  border-radius: 50%;
  animation: pulseCity 2s infinite;
}

@keyframes pulseCity {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* --- RADAR VISUAL SIDE --- */
.areas-visual-radar {
  position: relative;
}

.radar-container {
  position: relative;
  width: 100%;
  height: 500px;
  background: #050C18;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.map-base-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) grayscale(1) contrast(1.2);
  opacity: 0.6;
}

/* Efecto de Rejilla de Mapa Blueprint */
.map-overlay-blueprint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(23, 60, 122, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 60, 122, 0.2) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 2;
}

.radar-point {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--color-yellow);
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 0 15px var(--color-yellow);
}

.radar-point::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-yellow);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: radarRipple 3s infinite;
}

@keyframes radarRipple {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.radar-point .label {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-yellow);
  color: var(--color-blue-dark);
  font-size: 0.6rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Línea de escaneo vertical */
.scanner-line {
  position: absolute;
  top: 0;
  left: -10%;
  width: 10%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 182, 0, 0.1), transparent);
  z-index: 3;
  animation: scanMove 4s linear infinite;
}

@keyframes scanMove {
  0% {
    left: -10%;
  }

  100% {
    left: 110%;
  }
}

.radar-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 25px;
}

.l-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94A3B8;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.yellow {
  background: var(--color-yellow);
  box-shadow: 0 0 10px var(--color-yellow);
}

.dot.blue {
  background: var(--color-blue);
  border: 1px solid #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .areas-split-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .areas-lead {
    margin: 0 auto 40px;
  }

  .logistics-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
    margin: 0 auto 50px;
  }

  .radar-container {
    height: 350px;
  }
}

@media (max-width: 600px) {
  .logistics-grid {
    grid-template-columns: 1fr;
  }
}