/* =========================================================================
   CONTACTO CSS
========================================================================= */

/* 1. CURSOR Y HERO CONTENEDOR */
body, * {
  cursor: auto !important;
}

.contact-page-hero {
  background: #ffffff;
  padding: 22vh var(--gutter) 10vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.cp-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left Side: Typography and Socials */
.cp-left {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 11rem);
  transform: scaleY(1.15);
  transform-origin: left bottom;
  line-height: 0.85; 
  letter-spacing: -0.04em;
  margin: 0 0 2rem 0;
  display: block;
  text-transform: uppercase;
  text-shadow: 0px 10px 25px rgba(0,0,0,0.08), 0px 2px 4px rgba(0,0,0,0.04); 
}

.title-black {
  color: #111;
}

.title-gray {
  color: #a3a3a3;
}

.cp-desc {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: #555;
  margin-bottom: 3rem;
  max-width: 85%;
}

.cp-social {
  display: flex;
  gap: 1rem;
}

.cp-social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cp-social-btn:hover {
  transform: translateY(-5px);
  background: var(--primary-color, #ff3333); /* or whatever accent color Tomato King uses, usually red/green */
}

/* Right Side: Contact Form */
.cp-right {
  flex: 0 0 45%;
  max-width: 45%;
}

.cp-form-card {
  background: #161616;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.05);
}

.cp-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cp-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cp-form-group label {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cp-form-group input,
.cp-form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: none;
}

.cp-form-group input:focus,
.cp-form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.05);
}

.cp-form-group input::placeholder,
.cp-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cp-submit-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 12px;
  padding: 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.cp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .cp-container {
    flex-direction: column;
    gap: 4rem;
  }
  .cp-left, .cp-right {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .cp-title {
    font-size: clamp(3rem, 12vw, 6rem);
    transform: none; /* remove scale on mobile to avoid breaking */
  }
  .cp-desc {
    max-width: 100%;
  }
  .contact-page-hero {
    padding-top: 18vh;
  }
  .cp-form-card {
    box-sizing: border-box;
    width: 100%;
    padding: 2rem;
  }
  .cp-form {
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .cp-form-card {
    padding: 1.5rem;
  }
  .cp-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  .cp-container {
    gap: 3rem; /* Espaciado extra de separacion entre redes y formulario */
  }
  .cp-form {
    gap: 0.8rem;
  }
  .cp-form-group {
    gap: 0.3rem;
  }
  .cp-form-group textarea {
    height: 60px;
    min-height: 60px;
  }
  .cp-submit-btn {
    width: 100%;
    padding: 1rem;
  }
}

/* Footer Light Theme (Exclusive for Contacto) */
.footer-light {
  background: #ffffff !important;
}

.footer-light .footer-links-title,
.footer-light .footer-link,
.footer-light .footer-copy p {
  color: #111111 !important;
}

.footer-light .footer-link:hover {
  color: #ff3333 !important;
}

/* Mantener el efecto desvanecido en el Marquee pero para fondo blanco */
.footer-light .marquee-text {
  color: rgba(0, 0, 0, 0.03) !important;
}

.footer-light .marquee-logo {
  filter: invert(1); /* Convierte el logo blanco en negro */
  opacity: 0.03 !important;
}

/* Redes Sociales del Footer Invertido (Burbujas Negras) */
.footer-light .footer-social {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
}

.footer-light .footer-social:hover {
  background: var(--primary-color, #ff3333) !important;
  border-color: var(--primary-color, #ff3333) !important;
}
