/* Portado de React: CtaSection.module.css (clases con prefijo "contacto-") */
.contacto-section {
  background: var(--green-pale);
  padding: 5rem 6%;
}

.contacto-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Columna izquierda - Información */
.contacto-infoColumn {
  display: flex;
  flex-direction: column;
}

.contacto-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 1rem;
}

.contacto-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  color: var(--green-deep);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.contacto-body {
  font-size: 1rem;
  color: var(--stone);
  max-width: 46ch;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contacto-contactInfo {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contacto-infoItem {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contacto-icon {
  font-size: 1.5rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.contacto-infoItem strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 0.2rem;
}

.contacto-infoItem p {
  font-size: 0.95rem;
  color: var(--stone);
  margin: 0;
  line-height: 1.5;
}

.contacto-mapWrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 0.5rem;
}

.contacto-mapWrapper iframe {
  display: block;
}

/* Columna derecha - Formulario */
.contacto-formColumn {
  display: flex;
  flex-direction: column;
}

.contacto-formWrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(45, 106, 79, 0.12);
}

.contacto-formTitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green-deep);
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contacto-formGroup {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contacto-formGroup label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: 0.02em;
}

.contacto-formGroup input,
.contacto-formGroup textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(45, 106, 79, 0.15);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--green-deep);
  background: var(--green-pale);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contacto-formGroup input:focus,
.contacto-formGroup textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.1);
}

.contacto-formGroup input::placeholder,
.contacto-formGroup textarea::placeholder {
  color: rgba(45, 106, 79, 0.3);
}

.contacto-formGroup textarea {
  resize: vertical;
  min-height: 100px;
}

.contacto-btn {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 1rem 2.5rem;
  border-radius: 2rem;
  border: none;
  background: var(--green-mid);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(45, 106, 79, 0.25);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  cursor: pointer;
  margin-top: 0.5rem;
}

.contacto-btn:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 106, 79, 0.35);
}

.contacto-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .contacto-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contacto-infoColumn {
    order: 1;
  }

  .contacto-formColumn {
    order: 2;
  }

  .contacto-body {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .contacto-section {
    padding: 3rem 5%;
  }

  .contacto-container {
    gap: 2rem;
  }

  .contacto-formWrapper {
    padding: 1.5rem;
  }

  .contacto-infoItem {
    gap: 0.75rem;
  }

  .contacto-btn {
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
  }
}