/* ============================================
   CONTACTO - SOLVEX GROUP
   Estilos específicos de la página de contacto
   ============================================ */

/* ========================================
   LAYOUT CONTACTO
======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.page-title {
  padding: 4rem 0 1.5rem;
  text-align: center;
}

.page-title h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.lead {
  max-width: 70ch;
  margin: .75rem auto 0;
  font-size: 1.05rem;
  color: var(--text-dark);
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.6rem;
  border: 1px solid #eef2f5;
  box-shadow: 0 8px 30px rgba(3,10,30,0.03);
}

.info-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.info-text a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
}

.muted {
  color: #6b7280;
  font-size: 0.95rem;
}

/* ========================================
   FORM
======================================== */
form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.row {
  display: flex;
  gap: 1rem;
}

.row .field {
  flex: 1;
}

label {
  display: block;
  font-size: .95rem;
  margin-bottom: .4rem;
  color: var(--primary-dark);
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-dark);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.small-note {
  font-size: .9rem;
  color: #6b7280;
  margin-top: .25rem;
}

.consent {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}

.consent input {
  margin-top: .2rem;
}

/* Required field indicator */
.required {
  color: #e53e3e;
  font-weight: bold;
}

.required-note {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #f7fafc;
  border-radius: 4px;
  border-left: 3px solid #e53e3e;
}

.required-note small {
  color: #666;
  font-size: 0.85rem;
}

/* Service Options - Professional button-style checkboxes */
.service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.service-option {
  position: relative;
}

.service-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.service-option label {
  display: block;
  padding: 0.75rem 1rem;
  border: 2px solid #e6e9ef;
  border-radius: 8px;
  background: white;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  margin-bottom: 0;
}

.service-option label:hover {
  border-color: var(--primary-blue);
  background: #f8fafc;
  transform: translateY(-1px);
}

.service-option input[type="checkbox"]:checked + label {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
  font-weight: 600;
}

.service-option input[type="checkbox"]:focus + label {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-options {
    grid-template-columns: 1fr;
  }
}

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: .5rem;
}

.btn {
  display: inline-block;
  padding: .9rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary-blue);
  color: #fff;
}

.btn-accent {
  background: var(--accent-green);
  color: #fff;
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.status {
  margin-top: .5rem;
  font-size: .95rem;
}

.status.success {
  color: green;
}

.status.error {
  color: #d14343;
}

/* ========================================
   MAP / EXTRAS
======================================== */
.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eef2f5;
  height: 300px;
}

.foot-cta {
  margin-top: 2rem;
  text-align: center;
}


/* ========================================
   COOKIE BANNER
======================================== */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 18px;
  max-width: 360px;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  z-index: 9999;
  border-radius: 8px;
}

#cookie-banner button {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-right: 8px;
}

#cookie-banner button:hover {
  background-color: #0066cc;
}

#cookie-settings-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-dark);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: none;
}

/* ========================================
   ICON STYLES
======================================== */
.fas {
  display: inline-block;
  vertical-align: middle;
}

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

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  .footer-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .row {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .row {
    flex-direction: column;
  }
}